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

Re: (ITS#5261) Samba4 can 'hang' OpenLDAP slapd



This stack trace looks a little funny, but I think this should be fixed now in 
HEAD.

Andrew Bartlett wrote:
> Loaded symbols for /usr/lib64/sasl2/libsasldb.so.2
> 0x00000035242076dd in pthread_join () from /lib64/libpthread.so.0
> (gdb) thread apply all bt
> 
> Thread 6 (Thread 1082132816 (LWP 26448)):
> #0  0x00000035236d50d8 in epoll_wait () from /lib64/libc.so.6
> #1  0x000000000042af5a in ?? ()
> #2  0x0000003524206407 in start_thread () from /lib64/libpthread.so.0
> #3  0x00000035236d4b0d in clone () from /lib64/libc.so.6
> 
> Thread 5 (Thread 1090525520 (LWP 26453)):
> #0  0x000000352420a8f9 in pthread_cond_wait@@GLIBC_2.3.2 ()
> from /lib64/libpthread.so.0
> #1  0x00002aaaaaabd300 in ldap_int_thread_pool_wrapper (xpool=0x844530)
> at tpool.c:582
> #2  0x0000003524206407 in start_thread () from /lib64/libpthread.so.0
> #3  0x00000035236d4b0d in clone () from /lib64/libc.so.6
> 
> Thread 4 (Thread 1098918224 (LWP 26455)):
> #0  0x000000352420a8f9 in pthread_cond_wait@@GLIBC_2.3.2 ()
> from /lib64/libpthread.so.0
> #1  0x000000353ac28a2d in __db_pthread_mutex_lock ()
> from /lib64/libdb-4.6.so
> #2  0x000000353ac2866f in __db_tas_mutex_lock ()
> from /lib64/libdb-4.6.so
> #3  0x000000353ac9136d in __lock_get_internal ()
> from /lib64/libdb-4.6.so
> #4  0x000000353ac9193e in __lock_vec () from /lib64/libdb-4.6.so
> #5  0x000000353ac9241b in __lock_vec_pp () from /lib64/libdb-4.6.so
> #6  0x00000000004c545f in hdb_cache_entry_db_relock ()
> #7  0x00000000004c5c00 in hdb_cache_modify ()
> #8  0x00000000004a03bd in hdb_modify ()
> #9  0x0000000000500036 in ?? ()
> #10 0x0000000000500382 in ?? ()
> #11 0x000000000043bd15 in ?? ()
> #12 0x000000000043e52f in ?? ()
> #13 0x000000000043f158 in slap_send_ldap_result ()
> #14 0x00000000004c314d in hdb_add ()
> #15 0x00000000004888d2 in overlay_op_walk ()
> #16 0x0000000000488dd5 in ?? ()
> #17 0x00000000004343d7 in fe_op_add ()
> #18 0x0000000000434bdc in do_add ()
> #19 0x000000000042dd86 in ?? ()
> #20 0x000000000042e21d in ?? ()
> #21 0x00002aaaaaabd2a7 in ldap_int_thread_pool_wrapper (xpool=0x844530)
> at tpool.c:625
> ---Type <return> to continue, or q <return> to quit---
> #22 0x0000003524206407 in start_thread () from /lib64/libpthread.so.0
> #23 0x00000035236d4b0d in clone () from /lib64/libc.so.6
> 
> Thread 3 (Thread 1107310928 (LWP 26456)):
> #0  0x000000352420a8f9 in pthread_cond_wait@@GLIBC_2.3.2 ()
> from /lib64/libpthread.so.0
> #1  0x00002aaaaaabd300 in ldap_int_thread_pool_wrapper (xpool=0x844530)
> at tpool.c:582
> #2  0x0000003524206407 in start_thread () from /lib64/libpthread.so.0
> #3  0x00000035236d4b0d in clone () from /lib64/libc.so.6
> 
> Thread 2 (Thread 1115703632 (LWP 26457)):
> #0  0x000000352420a8f9 in pthread_cond_wait@@GLIBC_2.3.2 ()
> from /lib64/libpthread.so.0
> #1  0x000000353ac28a2d in __db_pthread_mutex_lock ()
> from /lib64/libdb-4.6.so
> #2  0x000000353ac2866f in __db_tas_mutex_lock ()
> from /lib64/libdb-4.6.so
> #3  0x000000353ac9136d in __lock_get_internal ()
> from /lib64/libdb-4.6.so
> #4  0x000000353ac916fa in __lock_get_pp () from /lib64/libdb-4.6.so
> #5  0x00000000004c52c4 in ?? ()
> #6  0x00000000004c6a89 in hdb_cache_find_id ()
> #7  0x00000000004c9f99 in hdb_dn2entry ()
> #8  0x00000000004a3cd0 in hdb_referrals ()
> #9  0x00000000004888d2 in overlay_op_walk ()
> #10 0x0000000000488dd5 in ?? ()
> #11 0x0000000000438f90 in backend_check_referrals ()
> #12 0x000000000043427b in fe_op_add ()
> #13 0x0000000000434bdc in do_add ()
> #14 0x000000000042dd86 in ?? ()
> #15 0x000000000042e21d in ?? ()
> #16 0x00002aaaaaabd2a7 in ldap_int_thread_pool_wrapper (xpool=0x844530)
> at tpool.c:625
> #17 0x0000003524206407 in start_thread () from /lib64/libpthread.so.0
> #18 0x00000035236d4b0d in clone () from /lib64/libc.so.6
> 
> Thread 1 (Thread 46912500832560 (LWP 26443)):
> #0  0x00000035242076dd in pthread_join () from /lib64/libpthread.so.0
> #1  0x0000000000428ca2 in slapd_daemon ()
> #2  0x0000000000418519 in main ()
> #0  0x00000035242076dd in pthread_join () from /lib64/libpthread.so.0
> (gdb)
> 
> 


-- 
   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP     http://www.openldap.org/project/