[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#3456) test018 consumer segfault
Also segfaults with hdb...
where
#0 0x80dc185 in hdb_dn2idl (op=0xbfbfed04, e=0xbfb3eb58, ids=0xbfb7eb80,
stack=0x832c000) at dn2id.c:972
#1 0x80b93df in search_candidates (stackop=0xbfbfed04, op=0xbfbfed04,
rs=0xbfbfecc8, e=0xbfb3eb58, locker=16, ids=0xbfb7eb80, scopes=0xbfb3eb80)
at search.c:2085
#2 0x80b85bb in hdb_do_search (op=0xbfbfed04, rs=0xbfbfecc8, sop=0xbfbfed04,
ps_e=0x0, ps_type=0) at search.c:984
#3 0x80b7dc6 in hdb_search (op=0xbfbfed04, rs=0xbfbfecc8) at search.c:603
#4 0x813521b in syncprov_findcsn (op=0xbfbfeeb0, mode=1) at syncprov.c:694
#5 0x8137cd2 in syncprov_db_open (be=0x820ce00) at syncprov.c:2053
#6 0x80a3258 in over_db_func (be=0x820ce00, which=db_open) at backover.c:55
#7 0x80a34a7 in over_db_open (be=0x820ce00) at backover.c:143
#8 0x806f7e9 in backend_startup_one (be=0x820ce00) at backend.c:194
#9 0x806fb1f in backend_startup (be=0x0) at backend.c:277
#10 0x8085be4 in slap_startup (be=0x0) at init.c:174
#11 0x805dcea in main (argc=8, argv=0xbfbff314) at main.c:730
At 01:22 PM 12/29/2004, kurt@OpenLDAP.org wrote:
>Full_Name: Kurt Zeilenga
>Version: HEAD
>OS: FreeBSD4
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (198.144.202.244)
>Submitted by: kurt
>
>
>test018's consumer slapd (w/ provider overlay) is segfaulting upon restart:
>
>./run test018
>Cleaning up test run directory leftover from previous run.
>Running ./scripts/test018-syncreplication-persist...
>running defines.sh
>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 create the context prefix entry in the master...
>Starting slave slapd on TCP/IP port 9014...
>Using ldapsearch to check that slave slapd is running...
>Waiting 5 seconds for slapd to start...
>Using ldapadd to populate the master directory...
>Waiting 15 seconds for syncrepl to receive changes...
>Using ldapmodify to modify master directory...
>Waiting 15 seconds for syncrepl to receive changes...
>Stopping consumer to test recovery...
>Modifying more entries on the master...
>Restarting consumer...
>Waiting 25 seconds for syncrepl to receive changes...
>Segmentation fault (core dumped)
>Using ldapsearch to read all the entries from the master...
>Using ldapsearch to read all the entries from the slave...
>ldapsearch failed at slave (1)!
>kill: 72396: No such process
>
>(gdb) thread apply all bt
>
>Thread 1 (process 203424):
>#0 0x80d3af5 in bdb_idl_fetch_key (be=0x820be00, db=0x8b2c000, tid=0x0,
> key=0xbfb3e7d8, ids=0x832c000, saved_cursor=0x0, get_flag=0) at idl.c:408
>#1 0x80d5bbf in bdb_key_read (be=0x820be00, db=0x8b2c000, txn=0x0,
> k=0x822c004, ids=0x832c000, saved_cursor=0x0, get_flag=0) at key.c:50
>#2 0x80d1bd6 in equality_candidates (op=0xbfbfecc4, ava=0xbfb3e9e4,
> ids=0x842c000, tmp=0x832c000) at filterindex.c:642
>#3 0x80d0956 in bdb_filter_candidates (op=0xbfbfecc4, f=0xbfb3ea08,
> ids=0x842c000, tmp=0x832c000, stack=0x84ac000) at filterindex.c:117
>#4 0x80d14fc in list_candidates (op=0xbfbfecc4, flist=0xbfb3ea08, ftype=161,
> ids=0x83ac000, tmp=0x832c000, save=0x842c000) at filterindex.c:454
>#5 0x80d0c5e in bdb_filter_candidates (op=0xbfbfecc4, f=0xbfb3e9fc,
> ids=0x83ac000, tmp=0x832c000, stack=0x842c000) at filterindex.c:166
>#6 0x80d14fc in list_candidates (op=0xbfbfecc4, flist=0xbfb3e9f0, ftype=160,
> ids=0xbfb7eb40, tmp=0x832c000, save=0x83ac000) at filterindex.c:454
>#7 0x80d0bf2 in bdb_filter_candidates (op=0xbfbfecc4, f=0xbfb3ea14,
> ids=0xbfb7eb40, tmp=0x832c000, stack=0x83ac000) at filterindex.c:160
>#8 0x80b02e1 in search_candidates (stackop=0xbfbfecc4, op=0xbfbfecc4,
> rs=0xbfbfec88, e=0xbfb3eb18, locker=28, ids=0xbfb7eb40, scopes=0xbfb3eb40)
> at search.c:2089
>#9 0x80af49f in bdb_do_search (op=0xbfbfecc4, rs=0xbfbfec88, sop=0xbfbfecc4,
> ps_e=0x0, ps_type=0) at search.c:984
>#10 0x80aecaa in bdb_search (op=0xbfbfecc4, rs=0xbfbfec88) at search.c:603
>#11 0x8134dd7 in syncprov_findcsn (op=0xbfbfee70, mode=1) at syncprov.c:694
>#12 0x813788e in syncprov_db_open (be=0x820be00) at syncprov.c:2053
>#13 0x80a323c in over_db_func (be=0x820be00, which=db_open) at backover.c:55
>#14 0x80a348b in over_db_open (be=0x820be00) at backover.c:143
>#15 0x806f7cd in backend_startup_one (be=0x820be00) at backend.c:194
>#16 0x806fb03 in backend_startup (be=0x0) at backend.c:277
>#17 0x8085bc8 in slap_startup (be=0x0) at init.c:174
>#18 0x805dcce in main (argc=8, argv=0xbfbff2dc) at main.c:730
>
>When I modify the consumer's configuration file to comment out
>"overlay syncprovider", test018 will pass.