Issue 5503 - Openldap segmentation fault when running syncrepl.
Summary: Openldap segmentation fault when running syncrepl.
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.9
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-09 13:37 UTC by zulcss@ubuntu.com
Modified: 2014-08-01 21:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description zulcss@ubuntu.com 2008-05-09 13:37:30 UTC
Full_Name: Chuck Short
Version: 2.4.9
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (99.224.150.216)


When running the following scripts openldap crashes when trying to run a
syncrepl from a slave server. The original bug report can be found at:
http://bugs.launchpad.net/bugs/227178.

Steps to reproduce it:

1. Download the attachment in the bug report.
2. mkdir /home/amg1127/
3. Unpack the attachment in the just created directory.
4. Run the ./create-master-base.sh script.
5. In one terminal run the run-master-slapd.sh script.
6. In another terminal create the run-slave-slapd.sh script.
7. The result will be a segmentation fault in the slave server.

Thanks
chuck

Comment 1 Howard Chu 2008-05-09 22:33:00 UTC
zulcss@ubuntu.com wrote:
> Full_Name: Chuck Short
> Version: 2.4.9
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (99.224.150.216)
>
>
> When running the following scripts openldap crashes when trying to run a
> syncrepl from a slave server. The original bug report can be found at:
> http://bugs.launchpad.net/bugs/227178.
>
> Steps to reproduce it:
>
> 1. Download the attachment in the bug report.
> 2. mkdir /home/amg1127/
> 3. Unpack the attachment in the just created directory.
> 4. Run the ./create-master-base.sh script.
> 5. In one terminal run the run-master-slapd.sh script.
> 6. In another terminal create the run-slave-slapd.sh script.
> 7. The result will be a segmentation fault in the slave server.
>
> Thanks
> chuck

Thanks for the report, too bad you didn't forward it to us sooner.
This is now fixed in CVS HEAD.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 2 Howard Chu 2008-05-09 22:34:04 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 3 Chuck Short 2008-05-10 14:24:24 UTC
Howard Chu wrote:
> zulcss@ubuntu.com wrote:
>> Full_Name: Chuck Short
>> Version: 2.4.9
>> OS: Linux
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (99.224.150.216)
>>
>>
>> When running the following scripts openldap crashes when trying to run a
>> syncrepl from a slave server. The original bug report can be found at:
>> http://bugs.launchpad.net/bugs/227178.
>>
>> Steps to reproduce it:
>>
>> 1. Download the attachment in the bug report.
>> 2. mkdir /home/amg1127/
>> 3. Unpack the attachment in the just created directory.
>> 4. Run the ./create-master-base.sh script.
>> 5. In one terminal run the run-master-slapd.sh script.
>> 6. In another terminal create the run-slave-slapd.sh script.
>> 7. The result will be a segmentation fault in the slave server.
>>
>> Thanks
>> chuck
>
> Thanks for the report, too bad you didn't forward it to us sooner.
> This is now fixed in CVS HEAD.
>
I backported the patch and was still able to reproduce the crash.

Thanks
chuck

Comment 4 Howard Chu 2008-05-10 16:25:10 UTC
chuck.short@canonical.com wrote:
> Howard Chu wrote:
>> zulcss@ubuntu.com wrote:
>>> Full_Name: Chuck Short
>>> Version: 2.4.9
>>> OS: Linux
>>> URL: ftp://ftp.openldap.org/incoming/
>>> Submission from: (NULL) (99.224.150.216)
>>>
>>>
>>> When running the following scripts openldap crashes when trying to run a
>>> syncrepl from a slave server. The original bug report can be found at:
>>> http://bugs.launchpad.net/bugs/227178.
>>>
>>> Steps to reproduce it:
>>>
>>> 1. Download the attachment in the bug report.
>>> 2. mkdir /home/amg1127/
>>> 3. Unpack the attachment in the just created directory.
>>> 4. Run the ./create-master-base.sh script.
>>> 5. In one terminal run the run-master-slapd.sh script.
>>> 6. In another terminal create the run-slave-slapd.sh script.
>>> 7. The result will be a segmentation fault in the slave server.
>>>
>>> Thanks
>>> chuck
>> Thanks for the report, too bad you didn't forward it to us sooner.
>> This is now fixed in CVS HEAD.
>>
> I backported the patch and was still able to reproduce the crash.

Backported to 2.4.7? I see no crash with the patch applied to 2.4.9. If you're 
using 2.4.9, please post your backtrace.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 5 Quanah Gibson-Mount 2008-05-14 19:18:43 UTC
--On Saturday, May 10, 2008 4:28 PM +0000 hyc@symas.com wrote:

> chuck.short@canonical.com wrote:
>> Howard Chu wrote:
>>> zulcss@ubuntu.com wrote:
>>>> Full_Name: Chuck Short
>>>> Version: 2.4.9
>>>> OS: Linux
>>>> URL: ftp://ftp.openldap.org/incoming/
>>>> Submission from: (NULL) (99.224.150.216)
>>>>
>>>>
>>>> When running the following scripts openldap crashes when trying to run
>>>> a syncrepl from a slave server. The original bug report can be found
>>>> at: http://bugs.launchpad.net/bugs/227178.
>>>>
>>>> Steps to reproduce it:
>>>>
>>>> 1. Download the attachment in the bug report.
>>>> 2. mkdir /home/amg1127/
>>>> 3. Unpack the attachment in the just created directory.
>>>> 4. Run the ./create-master-base.sh script.
>>>> 5. In one terminal run the run-master-slapd.sh script.
>>>> 6. In another terminal create the run-slave-slapd.sh script.
>>>> 7. The result will be a segmentation fault in the slave server.
>>>>
>>>> Thanks
>>>> chuck
>>> Thanks for the report, too bad you didn't forward it to us sooner.
>>> This is now fixed in CVS HEAD.
>>>
>> I backported the patch and was still able to reproduce the crash.
>
> Backported to 2.4.7? I see no crash with the patch applied to 2.4.9. If
> you're  using 2.4.9, please post your backtrace.

Chuck,

Please provide feedback.  Thanks.

--Quanah


--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration

Comment 6 Quanah Gibson-Mount 2008-05-20 00:19:35 UTC
changed notes
changed state Test to Release
Comment 7 Chuck Short 2008-06-03 18:12:50 UTC
With this patch applied I was unable to reproduce this crash.

Thanks
chuck

openldap-its@OpenLDAP.org wrote:
> *** THIS IS AN AUTOMATICALLY GENERATED REPLY ***
>
> Thanks for your report to the OpenLDAP Issue Tracking System.  Your
> report has been assigned the tracking number ITS#5503.
>
> One of our support engineers will look at your report in due course.
> Note that this may take some time because our support engineers
> are volunteers.  They only work on OpenLDAP when they have spare
> time.
>
> If you need to provide additional information in regards to your
> issue report, you may do so by replying to this message.  Note that
> any mail sent to openldap-its@openldap.org with (ITS#5503)
> in the subject will automatically be attached to the issue report.
>
> 	mailto:openldap-its@openldap.org?subject=(ITS#5503)
>
> You may follow the progress of this report by loading the following
> URL in a web browser:
>     http://www.OpenLDAP.org/its/index.cgi?findid=5503
>
> Please remember to retain your issue tracking number (ITS#5503)
> on any further messages you send to us regarding this report.  If
> you don't then you'll just waste our time and yours because we
> won't be able to properly track the report.
>
> Please note that the Issue Tracking System is not intended to
> be used to seek help in the proper use of OpenLDAP Software.
> Such requests will be closed.
>
> OpenLDAP Software is user supported.
> 	http://www.OpenLDAP.org/support/
>
> --------------
> Copyright 1998-2007 The OpenLDAP Foundation, All Rights Reserved.
>
>   

Comment 8 Howard Chu 2008-06-10 20:05:57 UTC
changed notes
changed state Release to Closed
Comment 9 OpenLDAP project 2014-08-01 21:04:15 UTC
fixed in HEAD
fixed in RE24