[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#4271) slapo-unique crashs slapd: schema_check.c:87
On Tue, 2005-12-20 at 20:52 +0000, michael@stroeder.com wrote:
> --------------------------------------------------------------------------------
> (gdb) bt full
> #0 0xffffe410 in __kernel_vsyscall ()
> No symbol table info available.
> #1 0xb7bce541 in raise () from /lib/tls/libc.so.6
> No symbol table info available.
> #2 0xb7bcfdbb in abort () from /lib/tls/libc.so.6
> No symbol table info available.
> #3 0xb7bc7925 in __assert_fail () from /lib/tls/libc.so.6
> No symbol table info available.
> #4 0x080a3fb0 in entry_schema_check ()
> No symbol table info available.
> #5 0xb79968ae in bdb_add (op=0xb261f868, rs=0xb261f938) at add.c:59
> bdb = (struct bdb_info *) 0x81c4c48
> pdn = <value optimized out>
> p = <value optimized out>
> ei = <value optimized out>
> textbuf =
> "????8?,\000\000\000\210\025?000\000\000\000,\000\000\000A????\00021?8?\020\000\000\000\210\025??\b????2???$\b??\b\020\000\000\000?8?\000\000\000\000\000\000\000\000??????$???224?A???8?\030??\0329\021\bA??v??\002\000\000\000?????8??037??8?\030\000\000\000?8?\000\000\000\000\020\000\000\000\020\000\000\000?8?\000\000\000\000\003\000\000\000x????003\000\000\000?8?"...
> children = (AttributeDescription *) 0x8179048
> entry = (AttributeDescription *) 0x8178eb8
> ltid = (DB_TXN *) 0x0
> lt2 = <value optimized out>
> opinfo = {boi_bdb = 0x0, boi_txn = 0x0, boi_err = 0, boi_locker
> = 0, boi_acl_cache = 0,
> boi_locks = 0x0}
> locker = <value optimized out>
> lock = {off = 20, ndx = 0, gen = 2992764936, mode = 134778794}
> num_retries = <value optimized out>
> postread_ctrl = <value optimized out>
> ctrls = {0x0, 0x14, 0xb261f7c8, 0xb7edcdcd, 0x14, 0x8}
> num_ctrls = <value optimized out>
> #6 0x080d61eb in overlay_init ()
> No symbol table info available.
> #7 0x080ca75b in overlay_is_over ()
> No symbol table info available.
> #8 0x0807e317 in slap_attr_flags ()
> No symbol table info available.
> #9 0x0807f276 in slap_send_ldap_result ()
> No symbol table info available.
> #10 0xb790840f in unique_modify (op=0x823ed18, rs=0xb2621234) at
> unique.c:484
> on = (slap_overinst *) 0x81c8250
> ud = (unique_data *) 0x81c1758
> nop = {o_hdr = 0x823ede8, o_tag = 102, o_time = 1135111245,
> o_tincr = 7, o_bd = 0xb261fe1c,
> o_req_dn = {bv_len = 52,
> bv_val = 0xb0d1e22c "cn=Michael Str
Your stack looks heavily corrupted, since there is no way
slap_attr_flags() can call overlay_is_over(); moreover, it shouldn't be
possible to have it called directly by slap_send_ldap_result() from
inside unique_modify(). I fear the corruption started way before,
because you shouldn't get to the point where a NULL modlist gets to
calling the unique overlay modify function. I'd suggest you step back
to a fresh build, without optimization, full debugging symbols and no
dynamic modules.
p.
Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team
SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office: +39.02.23998309
Mobile: +39.333.4963172
Email: pierangelo.masarati@sys-net.it
------------------------------------------