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

RE: core causing bug in libldap_r (ITS#2470)




--On Sunday, April 27, 2003 11:28 PM -0700 Howard Chu <hyc@highlandsun.com> 
wrote:

> Sorry, this backtrace is invalid. You can't use core files from one
> compilation of a program with a different compilation of the same program,
> the addresses don't match.
>
>   -- Howard Chu
>   Chief Architect, Symas Corp.       Director, Highland Sun
>   http://www.symas.com               http://highlandsun.com/hyc
>   Symas: Premier OpenSource Development and Support

Howard, Kurt,

Two of our machines core-dumped at almost the same time today.  Both 
produced cores.  Both had the debug version running.  Here is the output of 
the backtraces:

Ldap1:

#0  0xa1844 in bdb_cache_find_entry_id (env=0x173888, cache=0x111b50,
    id=43376, rw=0, locker=8059, lock=0x79781710) at cache.c:960
960     cache.c: No such file or directory.
(gdb) bt
#0  0xa1844 in bdb_cache_find_entry_id (env=0x173888, cache=0x111b50,
    id=43376, rw=0, locker=8059, lock=0x79781710) at cache.c:960
#1  0xaaec0 in bdb_id2entry_rw (be=0x113010, tid=0x0, id=43376, 
e=0x79781754,
    rw=0, locker=8059, lock=0x79781710) at id2entry.c:103
#2  0x92a3c in bdb_search (be=0x113010, conn=0x18a748, op=0xa40a98,
    base=0x79801a48, nbase=0x79801a40, scope=2, deref=0, slimit=500,
    tlimit=3600, filter=0xb25278, filterstr=0x79801a38, attrs=0xb43518,
    attrsonly=0) at search.c:514
#3  0x26a74 in do_search (conn=0x18a748, op=0xa40a98) at search.c:401
#4  0x236c0 in connection_operation (ctx=0x151f2a8, arg_v=0xa40a98)
    at connection.c:952
#5  0xff32d074 in ldap_int_thread_pool_wrapper (xpool=0x101e18) at 
tpool.c:426

Ldap3:

#0  0xa1844 in bdb_cache_find_entry_id (env=0x1742e0, cache=0x112358, 
id=4521,
    rw=0, locker=313, lock=0x78f81710) at cache.c:960
960     cache.c: No such file or directory.
(gdb) bt
#0  0xa1844 in bdb_cache_find_entry_id (env=0x1742e0, cache=0x112358, 
id=4521,
    rw=0, locker=313, lock=0x78f81710) at cache.c:960
#1  0xaaec0 in bdb_id2entry_rw (be=0x113818, tid=0x0, id=4521, e=0x78f81754,
    rw=0, locker=313, lock=0x78f81710) at id2entry.c:103
#2  0x92a3c in bdb_search (be=0x113818, conn=0x18b650, op=0x1421db0,
    base=0x79001a48, nbase=0x79001a40, scope=2, deref=0, slimit=500,
    tlimit=3600, filter=0x1289bd0, filterstr=0x79001a38, attrs=0x1222c50,
    attrsonly=0) at search.c:514
#3  0x26a74 in do_search (conn=0x18b650, op=0x1421db0) at search.c:401
#4  0x236c0 in connection_operation (ctx=0x14680e0, arg_v=0x1421db0)
    at connection.c:952
#5  0xff32d074 in ldap_int_thread_pool_wrapper (xpool=0x101e18) at 
tpool.c:426

--Quanah

--
Quanah Gibson-Mount
Senior Systems Administrator
ITSS/TSS/Computing Systems
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html