https://bugs.openldap.org/show_bug.cgi?id=9045
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|TEST |--- Status|RESOLVED |CONFIRMED
--- Comment #7 from Quanah Gibson-Mount quanah@openldap.org --- Still hitting this crash even with this fix in place in openldap-head:
(gdb) bt [2/19314] #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007f623066b535 in __GI_abort () at abort.c:79 #2 0x00007f623066b40f in __assert_fail_base (fmt=0x7f62307ccef0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x559bb9d494bf "a->a_nvals != NULL", file=0x559bb9d494b8 "attr.c", line=230, function=<optimized out>) at assert.c:92 #3 0x00007f62306791a2 in __GI___assert_fail (assertion=0x559bb9d494bf "a->a_nvals != NULL", file=0x559bb9d494b8 "attr.c", line=230, function=0x559bb9d495b0 <__PRETTY_FUNCTION__.12465> "attr_dup2") at assert.c:101 #4 0x0000559bb9c70227 in attr_dup2 (tmp=0x559bbb005068, a=0x559bbb005c08) at attr.c:230 #5 0x0000559bb9c70440 in attrs_dup (a=0x559bbb005c08) at attr.c:282 #6 0x0000559bb9c742bd in entry_dup2 (dest=0x559bbaff0658, source=0x559bbaff02e8) at entry.c:940 #7 0x0000559bb9c74301 in entry_dup (e=0x559bbaff02e8) at entry.c:949 #8 0x0000559bb9c4d635 in config_back_entry_get (op=0x7f622f541400, ndn=0x7f622f541448, oc=0x0, at=0x0, rw=0, ent=0x7f622f540998) at bconfig.c:6923 #9 0x0000559bb9d042ac in overlay_entry_get_ov (op=0x7f622f541400, dn=0x7f622f541448, oc=0x0, ad=0x0, rw=0, e=0x7f622f540998, on=0x0) at backover.c:378 #10 0x00007f622d52e577 in syncprov_matchops (op=0x7f622f541400, opc=0x7f6220002f98, saveit=1) at syncprov.c:1312 #11 0x00007f622d5343ff in syncprov_op_mod (op=0x7f622f541400, rs=0x7f622f540eb0) at syncprov.c:2810 #12 0x0000559bb9d04cbe in overlay_op_walk (op=0x7f622f541400, rs=0x7f622f540eb0, which=op_modify, oi=0x7f62201de3a0, on=0x7f62201dde50) at backover.c:691 #13 0x0000559bb9d04fe1 in over_op_func (op=0x7f622f541400, rs=0x7f622f540eb0, which=op_modify) at backover.c:766 #14 0x0000559bb9d0516e in over_op_modify (op=0x7f622f541400, rs=0x7f622f540eb0) at backover.c:808 #15 0x0000559bb9cf5fb7 in syncrepl_updateCookie (si=0x7f622410b130, op=0x7f622f541400, syncCookie=0x7f622f541190, save=1) at syncrepl.c:5366 #16 0x0000559bb9ce9ba2 in do_syncrep2 (op=0x7f622f541400, si=0x7f622410b130) at syncrepl.c:1953 #17 0x0000559bb9ceabcb in do_syncrepl (ctx=0x7f622f541b10, arg=0x7f622410c690) at syncrepl.c:2219 #18 0x0000559bb9c5d43a in slapd_rtask_trampoline (ctx=0x7f622f541b10, arg=0x7f622410c690) at daemon.c:2432 #19 0x00007f6230f5337f in ldap_int_thread_pool_wrapper (xpool=0x559bbafc69c0) at tpool.c:1053 #20 0x00007f6230810fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486 #21 0x00007f623074206f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 (gdb) frame 8 #8 0x0000559bb9c4d635 in config_back_entry_get (op=0x7f622f541400, ndn=0x7f622f541448, oc=0x0, at=0x0, rw=0, ent=0x7f622f540998) at bconfig.c:6923 6923 *ent = entry_dup( e ); (gdb) print locked $1 = 0