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

(ITS#7133) slapd dies with SIGSEGV on SIGHUP



Full_Name: Dan McGee
Version: 2.4.28
OS: Arch Linux, 3.0.2 kernel
URL: 
Submission from: (NULL) (2002:47c2:29f0:1:21f:d0ff:fea2:ee12)


Running the test suite looks like a disaster because every time the test server
is killed you see lines like this (probably 1409 times for every single test,
who knows):


>>>>> Test succeeded
./scripts/test000-rootdse: line 84:  3589 Segmentation fault      $SLAPD -f
$CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1
>>>>> test000-rootdse completed OK for bdb.


Here is a GDB backtrace of that:


Program received signal SIGHUP, Hangup.
0x00007f6a3727306f in pthread_join () from /lib/libpthread.so.0
(gdb) c
Continuing.
[Thread 0x7f6a32e0c700 (LWP 2789) exited]
[Thread 0x7f6a3260b700 (LWP 2804) exited]

Program received signal SIGSEGV, Segmentation fault.
0x00007f6a36f42a84 in free () from /lib/libc.so.6
(gdb) bt
#0  0x00007f6a36f42a84 in free () from /lib/libc.so.6
#1  0x00007f6a3440f320 in ?? () from /usr/lib/libldap-2.4.so.2
#2  0x00007f6a3850a0b8 in _dl_close_worker () from /lib/ld-linux-x86-64.so.2
#3  0x00007f6a3850ab4c in _dl_close () from /lib/ld-linux-x86-64.so.2
#4  0x00007f6a385052a6 in _dl_catch_error () from /lib/ld-linux-x86-64.so.2
#5  0x00007f6a360884cf in ?? () from /lib/libdl.so.2
#6  0x00007f6a3608800f in dlclose () from /lib/libdl.so.2
#7  0x00007f6a376d13a4 in _sasl_done_with_plugins ()
   from /usr/lib/libsasl2.so.2
#8  0x00007f6a376c935b in sasl_done () from /usr/lib/libsasl2.so.2
#9  0x0000000000481fc9 in slap_sasl_destroy ()
#10 0x000000000045f108 in slap_destroy ()
#11 0x00000000004195b9 in main ()


And given that there is SASL stuff in the backtrace, this machine is running
libsasl 2.1.23.