This appears to be a dup of #5733.
quanah@OpenLDAP.org wrote:
Full_Name: Quanah Gibson-Mount Version: 2.4.14 OS: Linux 2.6 URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (75.111.29.239)
When running test039 in a loop of 200 iterations, I consistently get a segfault somewhere in the run (after around 100 iterations). The generated core shows:
#0 0x000000397a32e2ed in raise () from /lib64/tls/libc.so.6 (gdb) thr apply all bt
Thread 18 (process 8852): #0 0x000000397ae06ffb in pthread_join () from /lib64/tls/libpthread.so.0
Thread 1 (process 9152): #0 0x000000397a32e2ed in raise () from /lib64/tls/libc.so.6 #1 0x000000397a32fa3e in abort () from /lib64/tls/libc.so.6 #2 0x000000397a327ba1 in __assert_fail () from /lib64/tls/libc.so.6 #3 0x0000002a974c19db in ldap_back_conn_delete (li=0x714ba0, lc=0x7b5430) at bind.c:157 #4 0x0000002a974c241f in ldap_back_freeconn (li=0x714ba0, lc=0x7b5430, dolock=0) at bind.c:467 #5 0x0000002a974c3d21 in ldap_back_release_conn_lock (li=0x714ba0, lcp=0x4680b700, dolock=1) at bind.c:1144 #6 0x0000002a974c2108 in ldap_back_bind (op=0x8356d0, rs=0x4680bd40) at bind.c:355 #7 0x00000000004b72e1 in overlay_op_walk (op=0x8356d0, rs=0x4680bd40, which=op_bind, oi=0x6cebc0, on=0x0) at backover.c:672 #8 0x00000000004b74a9 in over_op_func (op=0x8356d0, rs=0x4680bd40, which=op_bind) at backover.c:724 #9 0x00000000004b74f7 in over_op_bind (op=0x8356d0, rs=0x4680bd40) at backover.c:734 #10 0x000000000045990d in fe_op_bind (op=0x8356d0, rs=0x4680bd40) at bind.c:383 #11 0x00000000004b72e1 in overlay_op_walk (op=0x8356d0, rs=0x4680bd40, which=op_bind, oi=0x70f940, on=0x0) at backover.c:672 #12 0x00000000004b74a9 in over_op_func (op=0x8356d0, rs=0x4680bd40, which=op_bind) at backover.c:724 #13 0x00000000004b74f7 in over_op_bind (op=0x8356d0, rs=0x4680bd40) at backover.c:734 #14 0x000000000045905e in do_bind (op=0x8356d0, rs=0x4680bd40) at bind.c:205 #15 0x0000000000433adb in connection_operation (ctx=0x4680bea0, arg_v=0x8356d0) at connection.c:1097 #16 0x000000000043400a in connection_read_thread (ctx=0x4680bea0, argv=0x14) at connection.c:1223 #17 0x0000002a9556aac0 in ldap_int_thread_pool_wrapper (xpool=0x6b02c0) at tpool.c:663 #18 0x000000397ae0610a in start_thread () from /lib64/tls/libpthread.so.0 #19 0x000000397a3c6003 in clone () from /lib64/tls/libc.so.6 #20 0x0000000000000000 in ?? ()