Works fine here...
Jonathan Clarke wrote:
I get this on two different boxes, and have observed similar behaviour with RE24 yesterday while testing on yet another box (not the test suite). If it works OK for you, let me know what data I can provide from my hanging slapd. GDB backtraces are below - dunno if they'll help.
In thread 3 frame 4 (syncrepl_updateCookie) print *si print *si->si_cookieState
Regards, Jonathan
From GDB: (gdb) thread apply all bt
Thread 4 (Thread 0x40b7cb90 (LWP 16444)): #0 0x4001a430 in __kernel_vsyscall () #1 0x40170075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x0818d44f in ldap_pvt_thread_pool_destroy (tpool=0x82917e4, run_pending=1) at tpool.c:570 #3 0x080634d7 in slapd_daemon_task (ptr=0x0) at daemon.c:2598 #4 0x4016c50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #5 0x4044ea0e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 3 (Thread 0x40f7db90 (LWP 16447)): #0 0x4001a430 in __kernel_vsyscall () #1 0x40172d09 in __lll_lock_wait () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x4016e114 in _L_lock_89 () from /lib/tls/i686/cmov/libpthread.so.0 #3 0x4016da42 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0 #4 0x080c8e11 in syncrepl_updateCookie (si=0x8fe4720, op=0x40f7cd44, pdn=<value optimized out>, syncCookie=0x40f7c9ec) at syncrepl.c:2891 #5 0x080cf40a in do_syncrep2 (op=0x40f7cd44, si=0x8fe4720) at syncrepl.c:894 #6 0x080d1e76 in do_syncrepl (ctx=0x40f7d218, arg=0x8fe3a88) at syncrepl.c:1333 #7 0x0806907b in connection_read_thread (ctx=0x40f7d218, argv=0x8) at connection.c:1225 #8 0x0818d93e in ldap_int_thread_pool_wrapper (xpool=0x8f97580) at tpool.c:663 #9 0x4016c50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #10 0x4044ea0e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 2 (Thread 0x4147fb90 (LWP 16449)): #0 0x4001a430 in __kernel_vsyscall () #1 0x40172d09 in __lll_lock_wait () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x4016e114 in _L_lock_89 () from /lib/tls/i686/cmov/libpthread.so.0 #3 0x4016da42 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0 #4 0x080d1c56 in do_syncrepl (ctx=0x4147f218, arg=0x8fe3a88) at syncrepl.c:1250 #5 0x0818d93e in ldap_int_thread_pool_wrapper (xpool=0x8f97580) at tpool.c:663 #6 0x4016c50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0x4044ea0e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 1 (Thread 0x405a9c00 (LWP 16443)): #0 0x4001a430 in __kernel_vsyscall () #1 0x4016cbf7 in pthread_join () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x080620eb in slapd_daemon () at daemon.c:2663 #3 0x0804edf9 in main (argc=8, argv=0xbfd9ddf4) at main.c:948 #0 0x4001a430 in __kernel_vsyscall ()