Full_Name: Quanah Gibson-Mount Version: 2.4.40 OS: Linux 3.11 URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (75.111.64.214)
After deploying OpenLDAP 2.4.40, slapd becomes completely unresponsive, and every thread but the daemon is deadlocked
Thread 10 (Thread 0x7fc4c7ba2700 (LWP 14910)): #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64%lolowlevellock.S:132 #1 0x00007fd8cc441065 in _L_lock_858 () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007fd8cc440eba in __pthread_mutex_lock (mutex=0x302bb98) at pthread_mutex_lock.c:61 #3 0x00007fd8ce078798 in ldap_pvt_thread_mutex_lock (mutex=0x302bb98) at thr_posix.c:296 #4 0x0000000000439470 in connection_get (s=10) at connection.c:278 #5 0x000000000043da27 in connection_write (s=10) at connection.c:1917 #6 0x000000000043804b in slapd_daemon_task (ptr=0x2749d38) at daemon.c:2757 #7 0x00007fd8cc43ee9a in start_thread (arg=0x7fc4c7ba2700) at pthread_create.c:308 #8 0x00007fd8cc16b3fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #9 0x0000000000000000 in ?? ()
Thread 9 (Thread 0x7fc4c73a1700 (LWP 14914)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fd8ce078745 in ldap_pvt_thread_cond_wait (cond=0x302bd38, mutex=0x302bd10) at thr_posix.c:277 #2 0x0000000000451459 in send_ldap_ber (op=0x2c483c0, ber=0x7fc4c739f800) at result.c:377 #3 0x00000000004550ca in slap_send_search_entry (op=0x2c483c0, rs=0x7fc4c73a0a00) at result.c:1433 #4 0x000000000043f4ad in fe_op_search (op=0x2c483c0, rs=0x7fc4c73a0a00) at search.c:327 #5 0x000000000043f0c1 in do_search (op=0x2c483c0, rs=0x7fc4c73a0a00) at search.c:247 #6 0x000000000043b937 in connection_operation (ctx=0x7fc4c73a0b40, arg_v=0x2c483c0) at connection.c:1132 #7 0x000000000043bec9 in connection_read_thread (ctx=0x7fc4c73a0b40, argv=0xa) at connection.c:1268 #8 0x00007fd8ce077043 in ldap_int_thread_pool_wrapper (xpool=0x2972000) at tpool.c:945 #9 0x00007fd8cc43ee9a in start_thread (arg=0x7fc4c73a1700) at pthread_create.c:308 #10 0x00007fd8cc16b3fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? ()
Thread 8 (Thread 0x7fc4c6ba0700 (LWP 14915)): #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:132 #1 0x00007fd8cc441065 in _L_lock_858 () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007fd8cc440eba in __pthread_mutex_lock (mutex=0x302bb98) at pthread_mutex_lock.c:61 #3 0x00007fd8ce078798 in ldap_pvt_thread_mutex_lock (mutex=0x302bb98) at thr_posix.c:296 #4 0x0000000000439470 in connection_get (s=10) at connection.c:278 #5 0x000000000043bfee in connection_read (s=10, cri=0x7fc4c6b9faf0) at connection.c:1310 #6 0x000000000043be2a in connection_read_thread (ctx=0x7fc4c6b9fb40, argv=0xa) at connection.c:1261 #7 0x00007fd8ce077043 in ldap_int_thread_pool_wrapper (xpool=0x2972000) at tpool.c:945 #8 0x00007fd8cc43ee9a in start_thread (arg=0x7fc4c6ba0700) at pthread_create.c:308 #9 0x00007fd8cc16b3fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () ATAThread 7 (Thread 0x7fc4c639f700 (LWP 14916)): #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:132 #1 0x00007fd8cc441065 in _L_lock_858 () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007fd8cc440eba in __pthread_mutex_lock (mutex=0x302bb98) at pthread_mutex_lock.c:61 #3 0x00007fd8ce078798 in ldap_pvt_thread_mutex_lock (mutex=0x302bb98) at thr_posix.c:296 #4 0x0000000000439470 in connection_get (s=10) at connection.c:278 #5 0x000000000043bfee in connection_read (s=10, cri=0x7fc4c639eaf0) at connection.c:1310 #6 0x000000000043be2a in connection_read_thread (ctx=0x7fc4c639eb40, argv=0xa) at connection.c:1261 #7 0x00007fd8ce077043 in ldap_int_thread_pool_wrapper (xpool=0x2972000) at tpool.c:945 #8 0x00007fd8cc43ee9a in start_thread (arg=0x7fc4c639f700) at pthread_create.c:308 #9 0x00007fd8cc16b3fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? ()
Thread 6 (Thread 0x7fc4c5b9e700 (LWP 22253)): #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:132 #1 0x00007fd8cc441065 in _L_lock_858 () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007fd8cc440eba in __pthread_mutex_lock (mutex=0x302bb98) at pthread_mutex_lock.c:61 #3 0x00007fd8ce078798 in ldap_pvt_thread_mutex_lock (mutex=0x302bb98) at thr_posix.c:296 #4 0x0000000000439470 in connection_get (s=10) at connection.c:278 #5 0x000000000043bfee in connection_read (s=10, cri=0x7fc4c5b9daf0) at connection.c:1310 #6 0x000000000043be2a in connection_read_thread (ctx=0x7fc4c5b9db40, argv=0xa) at connection.c:1261 #7 0x00007fd8ce077043 in ldap_int_thread_pool_wrapper (xpool=0x2972000) at tpool.c:945 #8 0x00007fd8cc43ee9a in start_thread (arg=0x7fc4c5b9e700) at pthread_create.c:308 #9 0x00007fd8cc16b3finin clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? ()
Thread 5 (Thread 0x7fc4c539d700 (LWP 22254)): #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:132 3231 0x000078c8cc441065 in _L_lock_858 () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007fd8cc440eba in __pthread_mutex_lock (mutex=0x302bb98) at pthread_mutex_lock.c:61 #3 0x00007fd8ce078798 in ldap_pvt_thread_mutex_lock (mutex=0x302bb98) at thr_posix.c:296 #4 0x0000000000439470 in connection_get (s=10) at connection.c:278 #5 0x000000000043bfee in connection_read (s=10, cri=0x7fc4c539caf0) at connection.c:1310 #6 0x000000000043be2a in connection_read_thread (ctx=0x7fc4c539cb40, argv=0xa) at connection.c:1261 #7 0x00007fd8ce077043 in ldap_int_thread_pool_wrapper (xpool=0x2972000) at tpool.c:945 #8 0x00007fd8cc43ee9a in start_thread (arg=0x7fc4c539d700) at pthread_create.c:308 #9 0x00007fd8cc16b3fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x7fc4c4b9c700 (LWP 22255)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fd8ce078745 in ldap_pvt_thread_cond_wait (cond=0x302bce0, mutex=0x302bcb8) at thr_posix.c:277 #2 0x000000000043ab12 in connection_wake_writers (c=0x302bb80) at connection.c:765 #3 0x000000000043acb2 in connection_closing (c=0x302bb80, why=0x0) at connection.c:800 #4 0x000000000043bbff in connection_operation (ctx=0x7fc4c4b9bb40, arg_v=0x86b6940) at connection.c:1182 #5 0x000000000043bec9 in connection_read_thread (ctx=0x7fc4c4b9bb40, argv=0xa) at connection.c:1268 #6 0x00007fd8ce077043 in ldap_int_thread_pool_wrapper (xpool=0x2972000) at tpool.c:945 #7 0x00007fd8cc43ee9a in start_thread (arg=0x7fc4c4b9c700) at pthread_create.c:308 #8 0x00007fd8cc16b3fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #9 0x0000000000000000 in ?? ()
Thread 3 (Thread 0x7fc4c439b700 (LWP 22256)): #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:132 #1 0x00007fd8cc441065 in _L_lock_858 () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007fd8cc440eba in __pthread_mutex_lock (mutex=0x302bb98) at pthread_mutex_lock.c:61 #3 0x00007fd8ce078798 in ldap_pvt_thread_mutex_lock (mutex=0x302bb98) at thr_posix.c:296 #4 0x0000000000439470 in connection_get (s=10) at connection.c:278 #5 0x000000000043bfee in connection_read (s=10, cri=0x7fc4c439aaf0) at connection.c:1310 #6 0x000000000043be2a in connection_read_thread (ctx=0x7fc4c439ab40, argv=0xa) at connection.c:1261 #7 0x00007fd8ce077043 in ldap_int_thread_pool_wrapper (xpool=0x2972000) at tpool.c:945 #8 0x00007fd8cc43ee9a in start_thread (arg=0x7fc4c439b700) at pthread_create.c:308 #9 0x00007fd8cc16b3fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7fc4c3b9a700 (LWP 22257)): #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:132 #1 0x00007fd8cc441065 in _L_lock_858 () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007fd8cc440eba in __pthread_mutex_lock (mutex=0x302bb98) at pthread_mutex_lock.c:61 #3 0x00007fd8ce078798 in ldap_pvt_thread_mutex_lock (mutex=0x302bb98) at thr_posix.c:296 #4 0x0000000000439470 in connection_get (s=10) at connection.c:278 #5 0x000000000043bfee in connection_read (s=10, cri=0x7fc4c3b99af0) at connection.c:1310 #6 0x000000000043be2a in connection_read_thread (ctx=0x7fc4c3b99b40, argv=0xa) at connection.c:1261 #7 0x00007fd8ce077043 in ldap_int_thread_pool_wrapper (xpool=0x2972000) at tpool.c:945 #8 0x00007fd8cc43ee9a in start_thread (arg=0x7fc4c3b9a700) at pthread_create.c:308 #9 0x00007fd8cc16b3fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7fd8ce727740 (LWP 14909)): #0 0x00007fd8cc440148 in pthread_join (threadid=140483141183232, thread_return=0x0) at pthread_join.c:89 #1 0x00007fd8ce078686 in ldap_pvt_thread_join (thread=140483141183232, thread_return=0x0) at thr_posix.c:197 #2 0x000000000043893a in slapd_daemon () at daemon.c:2907 #3 0x0000000000414b38 in main (argc=9, argv=0x7fff5361c928) at main.c:1012 (gdb)