[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#4659) Core dump after MOD
--On Thursday, August 31, 2006 8:28 PM +0000 ando@sys-net.it wrote:
> quanah@stanford.edu wrote:
>> * 1 process 11385 0x00002aac5da20545 in raise () from /lib/libc.so.6
>>
>
> This seems to be where the core started (possibly as a consequence of
> throwing an assertion). Can you backtrace that?
[Switching to thread 1 (process 11385)]#0 0x00002aac5da20545 in raise ()
from /lib/libc.so.6
(gdb) bt
#0 0x00002aac5da20545 in raise () from /lib/libc.so.6
#1 0x00002aac5da21cce in abort () from /lib/libc.so.6
#2 0x00002aac5da1a362 in __assert_fail () from /lib/libc.so.6
#3 0x0000000000427142 in connection_close (c=0x2aaaaab73530) at
connection.c:655
#4 0x000000000042892c in connection_read_thread (ctx=0x40fff4e0,
argv=0x68) at connection.c:1375
#5 0x00002aac5cc6b522 in ldap_int_thread_pool_wrapper (xpool=0x2c74) at
tpool.c:478
#6 0x00002aac5cfecb55 in start_thread () from /lib/libpthread.so.0
#7 0x00002aac5dac37f0 in clone () from /lib/libc.so.6
(gdb) frame 3
#3 0x0000000000427142 in connection_close (c=0x2aaaaab73530) 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;
(gdb) frame 4
#4 0x000000000042892c in connection_read_thread (ctx=0x40fff4e0,
argv=0x68) at connection.c:1375
1375 connection_close( c );
(gdb) l
1370 "error=%d id=%lu, closing\n",
1371 s, rc, c->c_connid );
1372
1373 /* c_mutex is locked */
1374 connection_closing( c, "SASL layer install
failure" );
1375 connection_close( c );
1376 connection_return( c );
1377 return 0;
1378 }
1379 }
(gdb) frame 5
#5 0x00002aac5cc6b522 in ldap_int_thread_pool_wrapper (xpool=0x2c74) at
tpool.c:478
478 ctx->ltc_start_routine(ltc_key, ctx->ltc_arg);
(gdb) l
473
474 LDAP_SLIST_INSERT_HEAD(&pool->ltp_active_list, ctx,
ltc_next.al);
475 pool->ltp_active_count++;
476 ldap_pvt_thread_mutex_unlock(&pool->ltp_mutex);
477
478 ctx->ltc_start_routine(ltc_key, ctx->ltc_arg);
479
480 ldap_pvt_thread_mutex_lock(&pool->ltp_mutex);
481 LDAP_SLIST_REMOVE(&pool->ltp_active_list, ctx,
482 ldap_int_thread_ctx_s, ltc_next.al);
--Quanah
--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html