Issue 7906 - segv when changing olcDbDirectory with ppolicy running
Summary: segv when changing olcDbDirectory with ppolicy running
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
: 7822 (view as issue list)
Depends on:
Blocks:
 
Reported: 2014-07-24 22:08 UTC by ebackes@symas.com
Modified: 2020-08-28 22:18 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Howard Chu 2014-07-24 17:05:49 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 1 ebackes@symas.com 2014-07-24 22:08:30 UTC
Full_Name: Emily Backes
Version: RE24
OS: Any
URL: 
Submission from: (NULL) (50.113.67.84)


While testing out the new mdb_copy compaction, I tried switching a live instance
to use a different db path via MOD to change olcDbDirectory.

This results in repeatable segv in ppolicy.c:ppolicy_connection_destroy, where
conn refers to the correction making the change that is likely in the process of
disconnecting, and pwcons is NULL.
Comment 2 Quanah Gibson-Mount 2014-07-25 11:41:12 UTC
changed notes
changed state Test to Release
Comment 3 ebackes@symas.com 2014-08-06 01:58:16 UTC
> While testing out the new mdb_copy compaction, I tried switching a live instance
> to use a different db path via MOD to change olcDbDirectory.

> This results in repeatable segv in ppolicy.c:ppolicy_connection_destroy, where
> conn refers to the correction making the change that is likely in the process of
> disconnecting, and pwcons is NULL.

There are more pwcons hits than just ppolicy_connection_destroy,
looking for the others but at a minimum ppolicy_restrict.

--
Emily Backes
Symas Corporation
ebackes@symas.com

Comment 4 OpenLDAP project 2014-10-23 07:32:19 UTC
fixed in master
fixed in RE25
fixed in RE24
Comment 5 Quanah Gibson-Mount 2014-10-23 07:32:19 UTC
changed notes
changed state Release to Closed
Comment 6 Quanah Gibson-Mount 2020-08-28 22:18:31 UTC
*** Issue 7822 has been marked as a duplicate of this issue. ***