[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#7894) slapcat assertion on cn=config
Full_Name: Ryan Tandy
Version: master/3102cbb
OS: Debian unstable
URL:
Submission from: (NULL) (24.68.121.206)
Since commit 5ee5251 ("ITS#7212 slapmodify support for back-ldif"), "slapcat -b
cn=config" triggers an assertion after finishing its output. slapcat of a
regular database is OK.
slapcat: entry.c:493: entry_clean: Assertion `e->e_private == ((void *)0)'
failed.
(gdb) bt
#0 0x00007ffff7419407 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff741a7e8 in __GI_abort () at abort.c:89
#2 0x00007ffff7412526 in __assert_fail_base (fmt=0x7ffff7548d18 "%s%s%s:%u:
%s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0x50fb2f "e->e_private == ((void *)0)",
file=file@entry=0x533d99 "entry.c",
line=line@entry=493, function=function@entry=0x51002d
<__PRETTY_FUNCTION__.12295> "entry_clean") at assert.c:92
#3 0x00007ffff74125d2 in __GI___assert_fail (assertion=assertion@entry=0x50fb2f
"e->e_private == ((void *)0)",
file=file@entry=0x533d99 "entry.c", line=line@entry=493,
function=function@entry=0x51002d <__PRETTY_FUNCTION__.12295> "entry_clean")
at assert.c:101
#4 0x0000000000428f7b in entry_clean (e=e@entry=0x848528) at entry.c:493
#5 0x0000000000428f89 in entry_free (e=0x848528) at entry.c:524
#6 0x00000000004904ff in ldif_tool_entry_close (be=<optimized out>) at
ldif.c:1755
#7 0x00000000004884e6 in slapcat (argc=<optimized out>, argv=<optimized out>)
at slapcat.c:170
#8 0x00000000004050f0 in main (argc=5, argv=0x7fffffffe658) at main.c:665
(gdb) p e
$1 = (Entry *) 0x848528
(gdb) p *e
$2 = {e_id = 0, e_name = {bv_len = 0, bv_val = 0x0}, e_nname = {bv_len = 0,
bv_val = 0x0}, e_attrs = 0x0,
e_ocflags = 0, e_bv = {bv_len = 0, bv_val = 0x0}, e_private = 0x8484d8}