[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: openldap23 w/ bdb43 entryCSN eq index prob
On Mon, 27 Jun 2005, Howard Chu wrote:
> Dusty Doris wrote:
> > On Mon, 27 Jun 2005, Dusty Doris wrote:
> > >> When I restart in debug mode, I get a segmentation fault.
>
> > >> => bdb_list_candidates 0xa0 => bdb_filter_candidates GE =>
> > >> bdb_inequality_candidates (entryCSN) => key_read Segmentation
> > >> fault
>
> > > This actually gives me a core dump as well, if I wait a couple
> > > seconds. As soon as I figure out how to build a slapd binary with
> > > debugging symbols still intact, I can run gdb on that core file and
> > > post it.
>
> > > Anyway, this appears to be related to the syncprov overlay. When I
> > > initialize the syncprov overlay in slapd.conf, I see this issue.
> > > When I do not, then this doesn't happen.
>
> > Here is the core with gdb. Is this useful?
>
> Frames #7-9 in that trace look bogus. Can you do a "bt full" on this one?
>
Here is full and 20 w/ both bdb and hdb as the database.
--------
bt full w/ database bdb:
(gdb) bt full
#0 bdb_idl_fetch_key (be=0x8251300, db=0x824c000, tid=0x0,
key=0xbfb3e130,
ids=0x837e000, saved_cursor=0xbfb3e1b0, get_flag=165) at idl.c:419
bdb = (struct bdb_info *) Cannot access memory at address
0xbfafe088
--------
bt 20 w/ database bdb:
(gdb) bt 20
#0 bdb_idl_fetch_key (be=0x8251300, db=0x824c000, tid=0x0,
key=0xbfb3e140,
ids=0x837e000, saved_cursor=0xbfb3e1c0, get_flag=165) at idl.c:419
#1 0x283d9c55 in bdb_key_read (be=0x8251300, db=0x824c000, txn=0x0,
k=0x827e004, ids=0x837e000, saved_cursor=0xbfb3e1c0, get_flag=165)
at key.c:50
#2 0x283da8a4 in inequality_candidates (op=0xbfbfe750, ava=0xbfbfe650,
ids=0x83fe000, tmp=0x837e000, gtorlt=165) at filterindex.c:1047
#3 0x283dac1c in bdb_filter_candidates (op=0xbfbfe750, f=0xbfbfe670,
ids=0x83fe000, tmp=0x837e000, stack=0x847e000) at filterindex.c:168
#4 0x283dc187 in list_candidates (op=0xbfbfe750, flist=0xbfb3e510,
ftype=160,
ids=0xbfb7e5f0, tmp=0x837e000, save=0x83fe000) at filterindex.c:506
#5 0x283dae38 in bdb_filter_candidates (op=0xbfbfe750, f=0xbfb3e540,
ids=0xbfb7e5f0, tmp=0x837e000, stack=0x83fe000) at filterindex.c:189
#6 0x283d7630 in bdb_search (op=0xbfbfe750, rs=0xbfbfe710) at
search.c:1107
#7 0x080ac37a in glue_init ()
#8 0x080af494 in glue_init ()
#9 0x080a3274 in syncrepl_config ()
#10 0x0806bda2 in backend_startup_one ()
#11 0x0806bfa2 in backend_startup ()
#12 0x0805438b in main ()
------------
bt full w/ database hdb:
(gdb) bt full
#0 0x283cdf73 in bdb_cf_gen (c=0xbfbfe650) at config.c:489
re = (struct re_s *) 0x10
bdb = (struct bdb_info *) 0x8251400
rc = -1077942704
#1 0x0805c16b in config_set_vals ()
No symbol table info available.
#2 0x0805d180 in config_parse_add ()
No symbol table info available.
#3 0x08059708 in read_config ()
No symbol table info available.
#4 0x08059c2e in read_config ()
No symbol table info available.
#5 0x0806fc39 in slap_send_search_entry ()
No symbol table info available.
#6 0x080a7d81 in slapacl ()
No symbol table info available.
#7 0x080a7baf in slapacl ()
No symbol table info available.
#8 0x080a7f72 in slapacl ()
No symbol table info available.
#9 0x080a8750 in ldif_back_referrals ()
No symbol table info available.
#10 0x08058cd0 in read_config ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#11 0x080541a5 in main ()
No symbol table info available.
-----
bt 20 w/ backend hdb:
(gdb) bt 20
#0 0x283cdf73 in bdb_cf_gen (c=0xbfbfe650) at config.c:489
#1 0x0805c16b in config_set_vals ()
#2 0x0805d180 in config_parse_add ()
#3 0x08059708 in read_config ()
#4 0x08059c2e in read_config ()
#5 0x0806fc39 in slap_send_search_entry ()
#6 0x080a7d81 in slapacl ()
#7 0x080a7baf in slapacl ()
#8 0x080a7f72 in slapacl ()
#9 0x080a8750 in ldif_back_referrals ()
#10 0x08058cd0 in read_config ()
#11 0x080541a5 in main ()
Let me know if I can provide any more info - this is a lab box so I'm free
to do what I want with it for now. I can even try different hardware or
freebsd versions if you'd like (in case this is OS version specific).
-Dusty Doris