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

Re: (ITS#4271) slapo-unique crashs slapd: schema_check.c:87



Pierangelo Masarati wrote:
> On Tue, 2005-12-20 at 19:42 +0000, michael@stroeder.com wrote:
> 
>>slapd crashes probably due to some problem in slapo-unique since the same
>>operation works without it.
> 
> need a gdb backtrace.

See below. Hope I got it right.

> In principle, a modify should have a non-empty
> modlist,

I think it happens since something's wrong with the schema of the entry
being modified by heimdal's hdb-ldap. The object class 'krb5KDCEntry'
required for setting the Kerberos attributes with kadmin passwd is missing.

After fixing objectClass of the entry everything work's as expected also
with slapo-unique. But I'd like to see this crash also being fixed.

Ciao, Michael.

--------------------------------------------------------------------------------
(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