https://bugs.openldap.org/show_bug.cgi?id=9561
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- gdb ../servers/slapd/slapd
(gdb) set args -Ta -d 0 -f testrun/slapadd.conf -l data/test-ordered.ldif (gdb) run Starting program: /usr/home/build/git/openldap/servers/slapd/slapd -Ta -d 0 -f testrun/slapadd.conf -l data/test-ordered.ldif Fatal error 'mutex 0x801018060 own 0x0 is on list 0x5952414e49422d58 0x0' at line 154 in file /usr/src/lib/libthr/thread/thr_mutex.c (errno = 0)
Program received signal SIGABRT, Aborted. 0x00000008008f32ea in thr_kill () from /lib/libc.so.7
Thread 1 (LWP 100123 of process 17783): #0 0x00000008008f32ea in thr_kill () from /lib/libc.so.7 No symbol table info available. #1 0x0000000800868064 in raise () from /lib/libc.so.7 No symbol table info available. #2 0x000000080091cf29 in abort () from /lib/libc.so.7 No symbol table info available. #3 0x000000080079ccea in ?? () from /lib/libthr.so.3 No symbol table info available. #4 0x00000008007a1714 in ?? () from /lib/libthr.so.3 No symbol table info available. #5 0x00000008007a1653 in pthread_mutex_destroy () from /lib/libthr.so.3 No symbol table info available. #6 0x0000000000391a3a in ldap_pvt_thread_mutex_destroy (mutex=0x1871b) at thr_posix.c:307 No locals. #7 0x00000000002d2ba2 in slap_destroy () at init.c:282 rc = 0 #8 0x0000000000312f08 in slap_tool_destroy () at slapcommon.c:934 rc = 0 #9 0x0000000000310fd9 in slapadd (argc=<optimized out>, argv=<optimized out>) at slapadd.c:523 textbuf = '\000' <repeats 255 times> erec = {e = 0x80174e448, lineno = 412, nextline = 411} bvtext = {bv_len = 256, bv_val = 0x7fffffffe6b0 ""} stat_buf = {st_dev = 140737488348416, st_ino = 30064771079, st_nlink = 140737488348712, st_mode = 59096, st_padding0 = -1, st_uid = 32767, st_gid = 31, st_padding1 = 0, st_rdev = 34363686920, st_atim = {tv_sec = 0, tv_nsec = 34363703352}, st_mtim = {tv_sec = 140737488348864, tv_nsec = 34363586408}, st_ctim = {tv_sec = 34376589716, tv_nsec = 2110432}, st_birthtim = {tv_sec = 179915312, tv_nsec = 2936815564}, st_size = 34363703352, st_blocks = 1, st_blksize = 16850944, st_flags = 8, st_gen = 1, st_spare = {34376589716, 0, 140737488348816, 34367753436, 1, 34376589312, 140737488348864, 34367750100, 34369733824, 34369733824}} rc = 0 prev = 0x80174e448 textlen = 256 thr = <optimized out> ldifrc = <optimized out> id = <optimized out> #10 0x000000000028b38e in main (argc=8, argv=0x7fffffffe980) at main.c:797 waitfds = {32767, 8} rc = 1 no_detach = <optimized out> firstopt = <optimized out> slapd_args_file_unlink = 0 slapd_pid_file_unlink = 0 scp_entry = <optimized out> scp = <optimized out> serverMode = 1 configdir = <optimized out> configfile = <optimized out> g_argv = 0x7fffffffe980 g_argc = 8 syslogUser = <optimized out> sandbox = <optimized out> groupname = <optimized out> username = <optimized out> urls = <optimized out> serverName = 0x7fffffffecd3 "slapd" i = <optimized out> l = <optimized out> serverNamePrefix = <optimized out> pid = <optimized out>