Bug#419222: [Pkg-openldap-devel] Bug#419222: it crashed again

Quanah Gibson-Mount quanah at zimbra.com
Thu May 3 21:04:29 UTC 2007



--On May 3, 2007 1:45:42 PM -0700 Quanah Gibson-Mount <quanah at zimbra.com> 
wrote:

> There's something really odd about your environment.  The error about an
> unclean shutdown only occurs if slapd has been stopped in an unclean
> fashion.  Now you note that you stopped slapd and then ran slapcat.  It
> sounds then like slapd faulted on shutdown rather than shutting down
> cleanly, which means you would have to run db_recover prior to running
> slapcat.  I recall having an issue on slapd shutdown recently, let me see
> if I can go dig that up.

Okay, I found it.  ITS#4855 and ITS#4899 deal with slapd crashing on exit. 
The patches are to libldap_r/tpool.c

<http://www.openldap.org/devel/cvsweb.cgi/libraries/libldap_r/tpool.c?hideattic=1&only_on_branch=OPENLDAP_REL_ENG_2_3>



Revisions 1.30.2.18 and 1.3.2.19 respectively deal with this issue, however 
the changes made in 1.30.2.17 need to go in first.  Unfortunately, I'm not 
sure if the changes for ITS#4805 (the 1.30.2.17 commit) are isolated from 
other commits made for that ITS.

The diff for the 3 versions does apply cleanly:

<http://www.openldap.org/devel/cvsweb.cgi/libraries/libldap_r/tpool.c.diff?hideattic=1&r1=text&tr1=1.30.2.16&r2=text&tr2=1.30.2.19&f=u>

--Quanah

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




More information about the Pkg-openldap-devel mailing list