[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
test020-proxycache segfaults (ITS#3180)
Full_Name: Luca Scamoni
Version: HEAD
OS: RH 7.3
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (193.227.212.131)
test020 consistently fails with a segfault as shown below when using BDB or HDB
(LDBM works)
[luca@luca-nb tests]$ ./run -b bdb test020-proxycache
Cleaning up test run directory leftover from previous run.
Running ./scripts/test020-proxycache...
Starting master slapd on TCP/IP port 9011...
Using ldapsearch to check that master slapd is running...
Waiting 5 seconds for slapd to start...
Using ldapadd to populate the master directory...
Starting proxy cache on TCP/IP port 9012...
Using ldapsearch to check that proxy slapd is running...
Waiting 5 seconds for slapd to start...
Making queries on the proxy cache...
Query 1: filter:(sn=Jon) attrs: all
Query 2: filter:(|(cn=*Jon*)(sn=Jon*)) attrs:cn sn title uid
./scripts/test020-proxycache: line 111: 32174 Segmentation fault $SLAPD -f
$CONF2 -h $URI2 -d $LVL >$LOG2 2>&1
ldapsearch failed (255)!
./scripts/test020-proxycache: kill: (32174) - No such process
[luca@luca-nb tests]$
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2051 (LWP 7950)]
0x080c0656 in slap_get_commit_csn (op=0x4085914c, csn=0x40858c34) at
ctxcsn.c:44
44 LDAP_TAILQ_FOREACH( csne, op->o_bd->be_pending_csn_list,
ce_csn_link ) {
(gdb) bt
#0 0x080c0656 in slap_get_commit_csn (op=0x4085914c, csn=0x40858c34) at
ctxcsn.c:44
#1 0x08104b39 in bdb_csn_commit (op=0x4085914c, rs=0x40858edc, tid=0x820b218,
ei=0x81fb858, suffix_ei=0x40858d0c, ctxcsn_e=0x40858d08,
ctxcsn_added=0x40858d04,
locker=2147483654) at ctxcsn.c:68
#2 0x08100f99 in bdb_add (op=0x4085914c, rs=0x40858edc) at add.c:455
#3 0x080beb0f in syncrepl_add_glue (op=0x4085914c, e=0x820b4c8) at
syncrepl.c:1548
#4 0x40348ab0 in merge_entry (op=0x4085914c, e=0x820b4c8,
query_uuid=0x40859334) at pcache.c:185
#5 0x4034afb2 in cache_entries (op=0x820a818, rs=0x4085a8bc,
query_uuid=0x40859334) at pcache.c:1163
#6 0x4034b2a1 in proxy_cache_response (op=0x820a818, rs=0x4085a8bc) at
pcache.c:1229
#7 0x0807b699 in send_ldap_response (op=0x820a818, rs=0x4085a8bc) at
result.c:308
#8 0x0807c4a7 in slap_send_ldap_result (op=0x820a818, rs=0x4085a8bc) at
result.c:634
#9 0x080e2eea in ldap_back_search (op=0x820a818, rs=0x4085a8bc) at
search.c:286
#10 0x080c0160 in over_op_func (op=0x820a818, rs=0x4085a8bc, which=op_search) at
backover.c:215
#11 0x080c0204 in over_op_search (op=0x820a818, rs=0x4085a8bc) at
backover.c:240
#12 0x0806ebad in do_search (op=0x820a818, rs=0x4085a8bc) at search.c:405
#13 0x0806be8f in connection_operation (ctx=0x4085a94c, arg_v=0x820a818) at
connection.c:1042
#14 0x40020978 in ldap_int_thread_pool_wrapper (xpool=0x81dfc28) at tpool.c:467
#15 0x4030efaf in pthread_start_thread () from /lib/i686/libpthread.so.0
(gdb)