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

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



--=-vArXI+WqUCu1GDzWcahr
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


On Thu, 2007-12-06 at 05:34 -0800, Howard Chu wrote:
> This stack trace looks a little funny, but I think this should be fixed n=
ow in=20
> HEAD.

BTW, this is on Fedora 8, x86_64.

ldd shows:
      libdb-4.6.so =3D> /lib64/libdb-4.6.so (0x000000353ac00000)

I see no positive change so far.  Current backtrace looks identical to
me:

(gdb) thread apply all bt

Thread 6 (Thread 1082132816 (LWP 30533)):
#0  0x00000035236d50d8 in epoll_wait () from /lib64/libc.so.6
#1  0x000000000042af8a 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 30536)):
#0  0x000000352420a8f9 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
#1  0x00002aaaaaabd300 in ldap_int_thread_pool_wrapper (xpool=3D0x845530)
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 30538)):
#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  0x00000000004c55bf in hdb_cache_entry_db_relock ()
#7  0x00000000004c5d60 in hdb_cache_modify ()
#8  0x00000000004a03cd in hdb_modify ()
#9  0x0000000000500666 in ?? ()
#10 0x00000000005009b2 in ?? ()
#11 0x000000000043bd45 in ?? ()
#12 0x000000000043e55f in ?? ()
#13 0x000000000043f188 in slap_send_ldap_result ()
#14 0x00000000004c32ad in hdb_add ()
#15 0x00000000004888d2 in overlay_op_walk ()
#16 0x0000000000488dd5 in ?? ()
#17 0x0000000000434407 in fe_op_add ()
#18 0x0000000000434c0c in do_add ()
#19 0x000000000042ddb6 in ?? ()
#20 0x000000000042e24d in ?? ()
#21 0x00002aaaaaabd2a7 in ldap_int_thread_pool_wrapper (xpool=3D0x845530)
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 30539)):
#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  0x00000000004c5424 in ?? ()
#6  0x00000000004c6c09 in hdb_cache_find_id ()
#7  0x00000000004ca14b in hdb_dn2entry ()
#8  0x00000000004a3ce0 in hdb_referrals ()
#9  0x00000000004888d2 in overlay_op_walk ()
#10 0x0000000000488dd5 in ?? ()
#11 0x0000000000438fc0 in backend_check_referrals ()
#12 0x00000000004342ab in fe_op_add ()
#13 0x0000000000434c0c in do_add ()
#14 0x000000000042ddb6 in ?? ()
#15 0x000000000042e24d in ?? ()
#16 0x00002aaaaaabd2a7 in ldap_int_thread_pool_wrapper (xpool=3D0x845530)
at tpool.c:625
#17 0x0000003524206407 in start_thread () from /lib64/libpthread.so.0
#18 0x00000035236d4b0d in clone () from /lib64/libc.so.6

Thread 2 (Thread 1115703632 (LWP 30540)):
#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  0x00000000004c5424 in ?? ()
#6  0x00000000004c6c09 in hdb_cache_find_id ()
#7  0x00000000004ca14b in hdb_dn2entry ()
#8  0x00000000004a3ce0 in hdb_referrals ()
#9  0x00000000004888d2 in overlay_op_walk ()
#10 0x0000000000488dd5 in ?? ()
---Type <return> to continue, or q <return> to quit---
#11 0x0000000000438fc0 in backend_check_referrals ()
#12 0x0000000000443ac6 in fe_op_modify ()
#13 0x0000000000444476 in do_modify ()
#14 0x000000000042ddb6 in ?? ()
#15 0x000000000042e24d in ?? ()
#16 0x00002aaaaaabd2a7 in ldap_int_thread_pool_wrapper (xpool=3D0x845530)
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 30530)):
#0  0x00000035242076dd in pthread_join () from /lib64/libpthread.so.0
#1  0x0000000000428cd2 in slapd_daemon ()
#2  0x0000000000418549 in main ()
#0  0x00000035242076dd in pthread_join () from /lib64/libpthread.so.0


--=20
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.

--=-vArXI+WqUCu1GDzWcahr
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQBHWIVLz4A8Wyi0NrsRAhIaAJ9diePymzMaec/iazOApBBqT5LorwCeMZyO
ifzef9jmBkp9/ZDDn9y+VKY=
=4wdf
-----END PGP SIGNATURE-----

--=-vArXI+WqUCu1GDzWcahr--