https://bugs.openldap.org/show_bug.cgi?id=9858
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- These threads active at startup:
Thread 7 (Thread 0x7ffae9ffb700 (LWP 11624)): #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 0x000055555562343b in monitor_cache_add (mi=mi@entry=0x5555558b07e0 <monitor_info>, e=e@entry=0x555555963328, parent=0x555555962388) at cache.c:102 #5 0x000055555561af7c in monitor_back_register_entry (e=0x555555963238, cb=0x7ffadc001230, mss=0x0, flags=0) at init.c:551 #6 0x00005555556015eb in syncrepl_monitor_add (si=0x555555a89300) at syncrepl.c:7191 #7 do_syncrepl (ctx=0x7ffae9ffaa80, arg=0x555555a8a770) at syncrepl.c:2051 #8 0x00007ffff7bc20f3 in ldap_int_thread_pool_wrapper (xpool=0x55555593a8c0) 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 6 (Thread 0x7ffaea7fc700 (LWP 11623)): #0 mdb_online_index (ctx=<optimized out>, arg=0x555555e91fd0) at config.c:225 #1 0x00007ffff7bc20f3 in ldap_int_thread_pool_wrapper (xpool=0x55555593a8c0) 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 5 (Thread 0x7ffaeaffd700 (LWP 11622)): #0 0x00007ffff6ece5ea in __lll_unlock_wake () from /usr/lib64/libpthread.so.0 #1 0x00007ffff6ecaf9e in _L_unlock_738 () from /usr/lib64/libpthread.so.0 #2 0x00007ffff6ecaf10 in pthread_mutex_unlock () from /usr/lib64/libpthread.so.0 #3 0x00007ffff7bc2a35 in ldap_pvt_thread_mutex_unlock (mutex=<optimized out>) at thr_posix.c:325 #4 0x000055555559d490 in attr_alloc (ad=ad@entry=0x555555936fa0) at attr.c:88 #5 0x000055555559e118 in attr_merge_one (e=e@entry=0x555555963288, desc=desc@entry=0x555555936fa0, val=val@entry=0x7ffaeaffbe00, nval=nval@entry=0x7ffaeaffbd70) at attr.c:578 #6 0x000055555559e1da in attr_merge_normalize_one (e=e@entry=0x555555963288, desc=0x555555936fa0, val=val@entry=0x7ffaeaffbe00, memctx=memctx@entry=0x0) at attr.c:633 #7 0x0000555555627145 in monitor_back_entry_stub (pdn=0x7ffaeaffc060, pndn=0x7ffaeaffc020, rdn=<optimized out>, oc=0x55555595fb60, create=0x0, modify=0x0) at entry.c:212 #8 0x000055555560149b in syncrepl_monitor_add (si=0x555555a87c00) at syncrepl.c:7154 #9 do_syncrepl (ctx=0x7ffaeaffca80, arg=0x555555a89040) at syncrepl.c:2051 #10 0x00007ffff7bc20f3 in ldap_int_thread_pool_wrapper (xpool=0x55555593a8c0) at tpool.c:1053 #11 0x00007ffff6ec7ea5 in start_thread () from /usr/lib64/libpthread.so.0 #12 0x00007ffff6bf0b0d in clone () from /usr/lib64/libc.so.6
Thread 4 (Thread 0x7ffaeb7fe700 (LWP 11621)): #0 0x00007ffff6b749c5 in _int_malloc () from /usr/lib64/libc.so.6 #1 0x00007ffff6b7778c in malloc () from /usr/lib64/libc.so.6 #2 0x00007ffff7973155 in ber_memalloc_x (s=<optimized out>, ctx=ctx@entry=0x0) at memory.c:228 #3 0x00007ffff7973492 in ber_dupbv_x (dst=0x7ffae0001810, src=0x7ffae0000920, ctx=ctx@entry=0x0) at memory.c:505 #4 0x00007ffff7973587 in ber_dupbv (dst=<optimized out>, src=<optimized out>) at memory.c:528 #5 0x000055555559d2da in attr_dup2 (tmp=tmp@entry=0x555555d836c0, a=a@entry=0x555555d83670) at attr.c:239 #6 0x000055555559d792 in attrs_dup (a=0x555555d83670) at attr.c:282 #7 0x00005555555a0aab in entry_dup2 (dest=0x5555559631e8, source=source@entry=0x5555559632d8) at entry.c:940 #8 0x00005555555a0b35 in entry_dup (e=e@entry=0x5555559632d8) at entry.c:949 #9 0x000055555561af3a in monitor_back_register_entry (e=0x5555559632d8, cb=0x7ffae0001230, mss=0x0, flags=0) at init.c:530 #10 0x00005555556015eb in syncrepl_monitor_add (si=0x555555a86640) at syncrepl.c:7191 #11 do_syncrepl (ctx=0x7ffaeb7fda80, arg=0x555555a85150) at syncrepl.c:2051 #12 0x00007ffff7bc20f3 in ldap_int_thread_pool_wrapper (xpool=0x55555593a8c0) at tpool.c:1053 #13 0x00007ffff6ec7ea5 in start_thread () from /usr/lib64/libpthread.so.0 #14 0x00007ffff6bf0b0d in clone () from /usr/lib64/libc.so.6
Thread 3 (Thread 0x7ffaebfff700 (LWP 11620)): #0 ldap_initialize (ldp=ldp@entry=0x7ffaebffde10, url=0x5555559e3c60 "ldaps://local.nonprod.eu1.ldap-cp.klarna.net:40000") at open.c:296 #1 0x000055555558a967 in slap_client_connect (ldp=ldp@entry=0x555555a106a8, sb=sb@entry=0x555555a10440) at config.c:1879 #2 0x0000555555601f86 in do_syncrep1 (si=0x555555a10410, op=0x7ffaebffe510) at syncrepl.c:1019 #3 do_syncrepl (ctx=<optimized out>, arg=0x555555a11af0) at syncrepl.c:2155 #4 0x00007ffff7bc20f3 in ldap_int_thread_pool_wrapper (xpool=0x55555593a8c0) at tpool.c:1053 #5 0x00007ffff6ec7ea5 in start_thread () from /usr/lib64/libpthread.so.0 #6 0x00007ffff6bf0b0d in clone () from /usr/lib64/libc.so.6
Thread 2 (Thread 0x7ffaf0faa700 (LWP 11619)): #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 11613)): #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