Le 29/12/2015 09:34, Jephte Clain a écrit :
Le 28/12/2015 13:28, Dieter Klünter a écrit :
Am Mon, 28 Dec 2015 10:31:35 +0400 schrieb Jephte Clain jephte.clain@univ-reunion.fr:
hello all,
I upgraded to OpenLDAP 2.4.43 three weeks ago. It runs on debian squeeze 64bits lts it is built from sources with the fix from ITS#8330
Since the upgrade, it keeps crashing regularly (I would say once every 2 to 5 days) However, there isn't anything in the logs: no message, no error, no nothing
slapd no longer runs, I restart it, and it runs ok until the next crash
now I don't know how to debug that. (...) What are your advice to track down the cause for the crash?
Check whether openldap has been built with --enable-debug=yes. If so set ulimit -c unlimited, which hopefully will create a core dump on a crash.
-Dieter
very interesting. Yes it is compiled with enable-debug I have just enabled core dumps
according to the internet (tm) [grin], this is how I get a stracktrace, right?
gdb --core /path/to/THECOREDUMP <<<"thread apply all bt full"
re- it seems that this command is better:
gdb /usr/sbin/slapd -c /path/to/core <<<"thread apply all bt full"
to associate the core with the program that generated it can someone experienced confirm this?
also, in your experience, in case of a crash, can the debugging packages (i.e. slapd-dbg and libldap-dbg on debian) be installed a posteriori to enable better traceback informations?
thanks again for any help. regards, Jephté CLAIN
thanks! regards, Jephté