Full_Name: Quanah Gibson-Mount Version: 2.3.27/HEAD OS: Linux 2.6 (64-bit) URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (171.64.19.81)
The following core occurred on one of my replica systems today:
(gdb) info threads 10 process 22650 0x00002b41c03a1e2c in pthread_join () from /lib/libpthread.so.0 9 process 22652 0x00002b41c0581b2c in epoll_wait () from /lib/libc.so.6 8 process 22653 0x00002b41c03a34e4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 7 process 22654 0x00002b41c03a34e4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 6 process 22655 0x00002b41c03a34e4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 5 process 22663 0x00002b41c03a34e4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 4 process 22706 0x00002b41c03a34e4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 3 process 22707 0x00002b41c03a34e4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 2 process 22708 0x00002b41c03a34e4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 * 1 process 22705 0x00002b41c04de545 in raise () from /lib/libc.so.6
In particular:
[Switching to thread 1 (process 22705)]#3 0x00000000004271c5 in connection_close (c=0x2b42c5088358) at connection.c:655 655 assert( c->c_writewaiter == 0); (gdb) bt #0 0x00002b41c04de545 in raise () from /lib/libc.so.6 #1 0x00002b41c04dfcce in abort () from /lib/libc.so.6 #2 0x00002b41c04d8362 in __assert_fail () from /lib/libc.so.6 #3 0x00000000004271c5 in connection_close (c=0x2b42c5088358) at connection.c:655 #4 0x0000000000428a6c in connection_read_thread (ctx=0x42fff020, argv=0x68) at connection.c:1391 #5 0x00002b41bf95e522 in ldap_int_thread_pool_wrapper (xpool=0x587a) at tpool.c:478 #6 0x00002b41bf66fc93 in startMeUp () from /usr/local/lib/libhoard.so #7 0x00002b41c03a0b55 in start_thread () from /lib/libpthread.so.0 #8 0x00002b41c05817f0 in clone () from /lib/libc.so.6
(gdb) frame 3 #3 0x00000000004271c5 in connection_close (c=0x2b42c5088358) at connection.c:655 655 assert( c->c_writewaiter == 0); (gdb) l 650 assert( connections != NULL ); 651 assert( c != NULL ); 652 assert( c->c_struct_state != SLAP_C_UNUSED ); 653 assert( c->c_conn_state != SLAP_C_INVALID ); 654 assert( LDAP_STAILQ_EMPTY(&c->c_ops) ); 655 assert( c->c_writewaiter == 0); 656 657 /* only for stats (print -1 as "%lu" may give unexpected results ;) */ 658 connid = c->c_connid; 659 close_reason = c->c_close_reason;
--Quanah