[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slapd crashes after successful search (ITS#3224)



I suspect the process loads a libsasl that differs from the one it was
linked to; or, some threading issue.  Please check.

p.


> Hi!
>
> Here's the backtrace from gdb:
>
> #0  0x4023e9ad in pthread_mutex_lock () from /lib/libpthread.so.0
> No symbol table info available.
> #1  0x080c1c88 in ldap_pvt_sasl_mutex_lock (mutex=0x1) at cyrus.c:1164
> No locals.
> #2  0x400eaf28 in sasl_dispose (pconn=0xbf3ff7fc) at common.c:462
>         result = 0
> #3  0x0808959c in slap_sasl_close (conn=0x407515c8) at sasl.c:1395
>         ctx = (sasl_conn_t *) 0x817b098
> #4  0x080571a3 in connection_destroy (c=0x817b098) at connection.c:714
>         sd = 134575898
>         connid = 0
> #5  0x080576ce in connection_close (c=0x407515c8) at connection.c:852
>         sd = 16
> #6  0x08058d20 in connection_resched (conn=0x407515c8) at
> connection.c:1730
>         rc = 16
>         sd = 16
>         op = (Operation *) 0x817b098
> #7  0x08057c06 in connection_operation (ctx=0xbf3ff93c, arg_v=0x817c018)
>     at connection.c:1163
>         rc = 0
>         rs = {sr_type = REP_RESULT, sr_tag = 101, sr_msgid = 4, sr_err =
> 0,
>   sr_matched = 0x0, sr_text = 0x0, sr_ref = 0x0, sr_ctrls = 0x0, sr_un = {
>     sru_sasl = {r_sasldata = 0x0}, sru_extended = {r_rspoid = 0x0,
>       r_rspdata = 0x0}, sru_search = {r_entry = 0x0, r_attrs = 0x0,
>       r_nentries = 0, r_v2ref = 0x0}}, sr_flags = 0}
>         tag = 100
>         oldtag = 99
>         conn = (Connection *) 0x407515c8
>         memctx = (void *) 0x817c2b0
>         memctx_null = (void *) 0x0
> #8  0x080bc0a1 in ldap_int_thread_pool_wrapper (xpool=0x812ad98) at
> tpool.c:467
>         ctx = (ldap_int_thread_ctx_t *) 0x817ac70
>         ltc_key = {{ltk_key = 0x808b120, ltk_data = 0x817c2b0,
>     ltk_free = 0x808b0f0 <sl_mem_destroy>}, {ltk_key = 0x8173428,
>     ltk_data = 0xe7, ltk_free = 0x80a77d0 <bdb_locker_id_free>}, {
>     ltk_key = 0x809ee60, ltk_data = 0x411ab008,
>     ltk_free = 0x809ee40 <search_stack_free>}, {ltk_key = 0x0,
>     ltk_data = 0xffffffff, ltk_free = 0xffffffff}, {ltk_key = 0x0,
>     ltk_data = 0xffffffff, ltk_free = 0xffffffff}, {ltk_key = 0x0,
>     ltk_data = 0xffffffff, ltk_free = 0xffffffff}, {ltk_key = 0x0,
>     ltk_data = 0xffffffff, ltk_free = 0xffffffff}, {ltk_key = 0x0,
>     ltk_data = 0xffffffff, ltk_free = 0xffffffff}, {ltk_key = 0x0,
>     ltk_data = 0x0, ltk_free = 0} <repeats 19 times>, {ltk_key = 0x0,
>     ltk_data = 0xbf3ffaa4, ltk_free = 0x4024080e <thread_self+14>}, {
>     ltk_key = 0x0, ltk_data = 0x403bbd24, ltk_free = 0xbf3ffaa4}, {
>     ltk_key = 0x0, ltk_data = 0x403bbd24,
>     ltk_free = 0x403bbd24 <__DTOR_END__+4>}, {ltk_key = 0x0,
>     ltk_data = 0x402411eb, ltk_free = 0xbf3ffadc}, {ltk_key = 0x0,
>     ltk_data = 0xbf3ffad4, ltk_free = 0x402ab83b <uselocale+203>}}
>         tid = 49156
>         i = 135769200
>         keyslot = 196
>         hash = 135770264
> #9  0x4023dca3 in pthread_start_thread () from /lib/libpthread.so.0
> No symbol table info available.
> #10 0x4023dd1f in pthread_start_thread_event () from /lib/libpthread.so.0
> No symbol table info available.
>
>
>


-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497