On Mon, May 20, 2019 at 09:11:21AM +0000, jpayanides@prosodie.com wrote:
Hello Quanah,
what I have done:
/var/install/openldap-2.4.47/servers/slapd/slapd -h "ldap://*:390 ldaps://*= :637" -l LOCAL5 -f /appli/openldap-preprod/etc/slapd.conf -u root -g root ;= ps aux | grep ldap
gdb /var/install/openldap-2.4.47/servers/slapd/slapd 15684
(gdb) set logging on (gdb) thread apply all bt full (gdb) cont
<crashing operation>
Here is the dump.
Seems to crash when returning from libpthread
Hi Jean-Philippe, the backtrace you recorded was during normal operation, you need to do the opposite, continue to let the program crash, with gdb intercepting that. Then you can use 'thread apply all bt full' to inspect the state of slapd at the point it crashed, so what should you do:
(gdb) cont
<crashing operation> (gdb) thread apply all bt full
Regards,