[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#6455) Able to crash slapd while using back_ldap

I am currently in debug mode with slapd-dbg 2.4.20:

Having run these commands:

sudo gdb
handle SIGPIPE nostop=20
handle SIGPIPE noprint
file /usr/sbin/slapd
set args -d -1 -u openldap -g openldap -h ldapi:/// ldaps:/// ldap:/// =
-f /etc/ldap/slapd.conf

Once it crashes, I will be running:

thr apply all bt

After which I will upload the coredump to your FTP server.


On Jan 18, 2010, at 00:58 , Hallvard B Furuseth wrote:

> quanah@zimbra.com writes:
>> Building unix software with debugging symbols is basic system
>> administrator knowledge.  There is nothing "openldap" specific about
>> doing so.
> Yes, there is, since OpenLDAP uses autoconf, libtool & co with =
> that get in the way of debugging:
> Openldap 'make install' strips debugging symbols, so you must either =
> slapd from the source tree or install with 'make install STRIP=3D:' or
> something, I don't remember at the moment.
> Also it helps debugging to remove the optimize option which OpenLDAP
> uses by default if it can compiler-specific, but with gcc that's
>     ./configure CFLAGS=3D"-g"
>> I would suggest updating =
>> with any information you feel specifically is lacking.
> I'll make a note to update that one a bit.
> --=20
> Hallvard