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

Re: (ITS#4801) segfault in dynlist

--On Thursday, January 11, 2007 12:18 AM +0000 quanah@stanford.edu wrote:

> Full_Name: Quanah Gibson-Mount
> Version: 2.3.32
> OS: Linux 2.6 (64-bit)
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> I decided to start playing with the dynlist overlay, but it cores slapd:

I removed all my custom patches, and validated this happens in stock 2.3.32:

(gdb) bt
#0  0x00002b3947cbb3e3 in __db_shalloc (p=Variable "p" is not available.
) at ../dist/../env/db_salloc.c:157
#1  0x00002b3947cd8e2d in __memp_alloc (dbmp=0x2b3946abe2a0, 
memreg=0x2b3946abe1c0, mfp=0x2b3a43d2beb8, len=16543, offsetp=0x0, 
retp=0x414fc000) at ../dist/../mp/mp_alloc.c:94
#2  0x00002b3947cda2f6 in __memp_fget (dbmfp=0x2b39479af960, 
pgnoaddr=0x414fc0fc, flags=0, addrp=Variable "addrp" is not available.
) at ../dist/../mp/mp_fget.c:348
#3  0x00002b3947c66e3b in __bam_search (dbc=0x2b3947aee400, 
root_pgno=101187584, key=0x414fc310, flags=1409, stop=1, recnop=0x0, 
exactp=0x414fc224) at ../dist/../btree/bt_search.c:307
#4  0x00002b3947c5bc75 in __bam_c_search (dbc=0x2b3947aee400, root_pgno=0, 
key=0x414fc310, flags=28, exactp=0x414fc224) at 
#5  0x00002b3947c5cc86 in __bam_c_get (dbc=0x2b3947aee400, key=0x414fc310, 
data=0x414fc2f0, flags=28, pgnop=0x414fc2b4) at 
#6  0x00002b3947ca74f0 in __db_c_get (dbc_arg=0x2b3947aee740, 
key=0x414fc310, data=0x414fc2f0, flags=28) at ../dist/../db/db_cam.c:643
#7  0x00002b3947b1b92e in hdb_id2entry (be=Variable "be" is not available.
) at id2entry.c:125
#8  0x00002b3947b20911 in hdb_cache_find_id (op=0x4167cd30, tid=0x0, 
id=376099, eip=0x4167c890, islocked=1, locker=26, lock=0x4167c820) at 
#9  0x00002b3947b14034 in hdb_search (op=0x4167cd30, rs=0x4167cf00) at 
#10 0x0000000000477c6b in overlay_op_walk (op=0x4167cd30, rs=0x4167cf00, 
which=op_search, oi=0x2b39479ca530, on=0x0) at backover.c:508
#11 0x0000000000477fc5 in over_op_func (op=0x4167cd30, rs=0x4167cf00, 
which=op_search) at backover.c:560
#12 0x00002b394802c336 in dynlist_response (op=0x2aaaab0e03c8, 
rs=0x417feee0) at dynlist.c:463
#13 0x0000000000477afa in over_back_response (op=0x2aaaab0e03c8, 
rs=0x417feee0) at backover.c:236
#14 0x0000000000434eea in slap_send_search_entry (op=0x2aaaab0e03c8, 
rs=0x417feee0) at result.c:717
#15 0x00002b3947b14714 in hdb_search (op=0x2aaaab0e03c8, rs=0x417feee0) at 
#16 0x0000000000477c6b in overlay_op_walk (op=0x2aaaab0e03c8, 
rs=0x417feee0, which=op_search, oi=0x2b39479ca530, on=0x0) at backover.c:508
#17 0x0000000000477fc5 in over_op_func (op=0x2aaaab0e03c8, rs=0x417feee0, 
which=op_search) at backover.c:560
#18 0x00000000004293d2 in fe_op_search (op=0x2aaaab0e03c8, rs=0x417feee0) 
at search.c:355
#19 0x0000000000429c12 in do_search (op=0x2aaaab0e03c8, rs=0x417feee0) at 
#20 0x00000000004278b9 in connection_operation (ctx=dwarf2_read_address: 
Corrupted DWARF expression.
) at connection.c:1132
#21 0x0000000000427ca6 in connection_read_thread (ctx=0x417ff030, 
argv=Variable "argv" is not available.
) at connection.c:1260
#22 0x00002b3945688794 in ldap_int_thread_pool_wrapper 
(xpool=0x2b3946ee0080) at tpool.c:478

Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html