[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
run
Once it crashes, I will be running:
thr apply all bt
After which I will upload the coredump to your FTP server.
J
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.
>=20
> Yes, there is, since OpenLDAP uses autoconf, libtool & co with =
defaults
> that get in the way of debugging:
>=20
> Openldap 'make install' strips debugging symbols, so you must either =
run
> slapd from the source tree or install with 'make install STRIP=3D:' or
> something, I don't remember at the moment.
>=20
> 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"
>=20
>> I would suggest updating =
<http://www.openldap.org/faq/data/cache/59.html>=20
>> with any information you feel specifically is lacking.
>=20
> I'll make a note to update that one a bit.
>=20
> --=20
> Hallvard