https://bugs.openldap.org/show_bug.cgi?id=9858
--- Comment #9 from Quanah Gibson-Mount quanah@openldap.org --- threads are:
Thread 5 (Thread 0x7ffaeaffd700 (LWP 30534)): #0 mdb_online_index (ctx=<optimized out>, arg=0x555555eada10) at config.c:225 #1 0x00007ffff7bc20f3 in ldap_int_thread_pool_wrapper (xpool=0x55555593a880) at tpool.c:1053 #2 0x00007ffff6ec7ea5 in start_thread () from /usr/lib64/libpthread.so.0 #3 0x00007ffff6bf0b0d in clone () from /usr/lib64/libc.so.6
Thread 4 (Thread 0x7ffaeb7fe700 (LWP 30533)): #0 0x00007ffff6ece54d in __lll_lock_wait () from /usr/lib64/libpthread.so.0 #1 0x00007ffff6ec9e9b in _L_lock_883 () from /usr/lib64/libpthread.so.0 #2 0x00007ffff6ec9d68 in pthread_mutex_lock () from /usr/lib64/libpthread.so.0 #3 0x00007ffff7bc2a15 in ldap_pvt_thread_mutex_lock (mutex=<optimized out>) at thr_posix.c:313 #4 0x0000555555623148 in monitor_cache_get (mi=mi@entry=0x5555558b07e0 <monitor_info>, ndn=ndn@entry=0x7ffaeb7fce10, ep=ep@entry=0x7ffaeb7fce08) at cache.c:207 #5 0x000055555561ad29 in monitor_back_register_entry (e=0x5555559633c8, cb=0x7ffadc001230, mss=0x0, flags=0) at init.c:498 #6 0x00005555556015eb in syncrepl_monitor_add (si=0x555555a95630) at syncrepl.c:7191 #7 do_syncrepl (ctx=0x7ffaeb7fda80, arg=0x555555a93d30) at syncrepl.c:2051 #8 0x00007ffff7bc20f3 in ldap_int_thread_pool_wrapper (xpool=0x55555593a880) at tpool.c:1053 #9 0x00007ffff6ec7ea5 in start_thread () from /usr/lib64/libpthread.so.0 #10 0x00007ffff6bf0b0d in clone () from /usr/lib64/libc.so.6
Thread 3 (Thread 0x7ffaebfff700 (LWP 30532)): #0 connection_fake_init2 (conn=conn@entry=0x7ffaebffe270, opbuf=opbuf@entry=0x7ffaebffe510, ctx=ctx@entry=0x7ffaebffea80, newmem=newmem@entry=1) at connection.c:2072 #1 0x000055555559670a in connection_fake_init (conn=conn@entry=0x7ffaebffe270, opbuf=opbuf@entry=0x7ffaebffe510, ctx=ctx@entry=0x7ffaebffea80) at connection.c:2037 #2 0x00005555555fff94 in do_syncrepl (ctx=0x7ffaebffea80, arg=0x555555a2f250) at syncrepl.c:2096 #3 0x00007ffff7bc20f3 in ldap_int_thread_pool_wrapper (xpool=0x55555593a880) at tpool.c:1053 #4 0x00007ffff6ec7ea5 in start_thread () from /usr/lib64/libpthread.so.0 #5 0x00007ffff6bf0b0d in clone () from /usr/lib64/libc.so.6
Thread 2 (Thread 0x7ffaf0b72700 (LWP 30531)): #0 0x00007ffff6bf10e3 in epoll_wait () from /usr/lib64/libc.so.6 #1 0x000055555558edb4 in slapd_daemon_task (ptr=<optimized out>) at daemon.c:2845 #2 0x00007ffff6ec7ea5 in start_thread () from /usr/lib64/libpthread.so.0 #3 0x00007ffff6bf0b0d in clone () from /usr/lib64/libc.so.6
Thread 1 (Thread 0x7ffff7fe0880 (LWP 30527)): #0 0x00007ffff6ec9017 in pthread_join () from /usr/lib64/libpthread.so.0 #1 0x00007ffff7bc2975 in ldap_pvt_thread_join (thread=<optimized out>, thread_return=<optimized out>) at thr_posix.c:214 #2 0x0000555555591afa in slapd_daemon () at daemon.c:3378 #3 0x0000555555575cba in main (argc=<optimized out>, argv=<optimized out>) at main.c:873