mem.c:869: INSIST(!ctx->checkfree || dl->ptr == ((void *)0)) failed, back trace
The dyndb
test failed with mem.c:869: INSIST(!ctx->checkfree || dl->ptr == ((void *)0)) failed, back trace
. @wpk seems to say it's "a memory leak in ADB".
18-Aug-2020 10:05:38.878 dispatch 0x7fc53d4ab8c0: shutting down; detaching from sock (nil), task 0x7fc590697be8
18-Aug-2020 10:05:38.878 dispatchmgr 0x7fc5a098fe58: destroy_mgr_ok: shuttingdown=1, listnonempty=1, depool=9, rpool=0, dpool=9
18-Aug-2020 10:05:38.878 dispatch 0x7fc53d4a8ac0: shutting down; detaching from sock (nil), task 0x7fc5905f5db8
18-Aug-2020 10:05:38.878 dispatchmgr 0x7fc5a098fe58: destroy_mgr_ok: shuttingdown=1, listnonempty=1, depool=8, rpool=0, dpool=8
18-Aug-2020 10:05:38.878 dispatch 0x7fc53c0392c0: shutting down; detaching from sock (nil), task 0x7fc5906ba760
18-Aug-2020 10:05:38.878 dispatchmgr 0x7fc5a098fe58: destroy_mgr_ok: shuttingdown=1, listnonempty=1, depool=7, rpool=0, dpool=7
18-Aug-2020 10:05:38.878 dispatch 0x7fc53d4a3480: shutting down; detaching from sock (nil), task 0x7fc5905ad590
18-Aug-2020 10:05:38.878 dispatchmgr 0x7fc5a098fe58: destroy_mgr_ok: shuttingdown=1, listnonempty=1, depool=6, rpool=0, dpool=6
18-Aug-2020 10:05:38.878 dispatch 0x7fc53c035f00: shutting down; detaching from sock (nil), task 0x7fc5906dd590
18-Aug-2020 10:05:38.878 dispatchmgr 0x7fc5a098fe58: destroy_mgr_ok: shuttingdown=1, listnonempty=1, depool=5, rpool=0, dpool=5
18-Aug-2020 10:05:38.882 mem.c:869: INSIST(!ctx->checkfree || dl->ptr == ((void *)0)) failed, back trace
18-Aug-2020 10:05:38.882 #0 0x56450e36ee3e in _fini()+0x56450e0d902a
18-Aug-2020 10:05:38.882 #1 0x56450e561a4d in _fini()+0x56450e2cbc39
18-Aug-2020 10:05:38.882 #2 0x56450e570086 in _fini()+0x56450e2da272
18-Aug-2020 10:05:38.882 #3 0x56450e574e38 in _fini()+0x56450e2df024
18-Aug-2020 10:05:38.882 #4 0x56450e574595 in _fini()+0x56450e2de781
18-Aug-2020 10:05:38.882 #5 0x56450e5837aa in _fini()+0x56450e2ed996
18-Aug-2020 10:05:38.882 #6 0x56450e4ed88e in _fini()+0x56450e257a7a
18-Aug-2020 10:05:38.882 #7 0x56450e4edf04 in _fini()+0x56450e2580f0
18-Aug-2020 10:05:38.882 #8 0x56450e4ee0ae in _fini()+0x56450e25829a
18-Aug-2020 10:05:38.882 #9 0x56450e585928 in _fini()+0x56450e2efb14
18-Aug-2020 10:05:38.882 #10 0x7fc5a6d49ea7 in _fini()+0x7fc5a6ab4093
18-Aug-2020 10:05:38.882 #11 0x7fc5a6c65dcf in _fini()+0x7fc5a69cffbb
18-Aug-2020 10:05:38.882 exiting (due to assertion failure)
S:dyndb:2020-08-18T10:04:04+0000
T:dyndb:1:A
A:dyndb:System test dyndb
I:dyndb:PORTRANGE:7600 - 7699
I:dyndb:starting servers
I:dyndb:adding test1.ipv4.example.nil. A 10.53.0.10 (1)
I:dyndb:adding test2.ipv4.example.nil. A 10.53.0.11 (2)
I:dyndb:adding test3.ipv4.example.nil. A 10.53.0.12 (3)
I:dyndb:adding test4.ipv6.example.nil. AAAA 2001:db8::1 (4)
I:dyndb:deleting test1.ipv4.example.nil. A (was 10.53.0.10) (5)
I:dyndb:deleting test2.ipv4.example.nil. A (was 10.53.0.11) (6)
I:dyndb:deleting test3.ipv4.example.nil. A (was 10.53.0.12) (7)
I:dyndb:deleting test4.ipv6.example.nil. AAAA (was 2001:db8::1) (8)
I:dyndb:checking parameter logging (9)
I:dyndb:checking dyndb still works after reload
I:dyndb:ns1 server reload successful
I:dyndb:adding test5.ipv4.example.nil. A 10.53.0.10 (10)
I:dyndb:adding test6.ipv6.example.nil. AAAA 2001:db8::1 (11)
I:dyndb:deleting test5.ipv4.example.nil. A (was 10.53.0.10) (12)
I:dyndb:deleting test6.ipv6.example.nil. AAAA (was 2001:db8::1) (13)
I:dyndb:exit status: 0
I:dyndb:stopping servers
I:dyndb:Core dump(s) found: dyndb/ns1/core.6735
R:dyndb:FAIL
D:dyndb:backtrace from dyndb/ns1/core.6735:
D:dyndb:--------------------------------------------------------------------------------
D:dyndb:Core was generated by `/builds/isc-projects/bind9/bin/named/named -D dyndb-ns1 -X named.lock -m record'.
D:dyndb:Program terminated with signal SIGABRT, Aborted.
D:dyndb:#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
D:dyndb:[Current thread is 1 (Thread 0x7fc59c309700 (LWP 6751))]
D:dyndb:#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
D:dyndb:#1 0x00007fc5a6b8d537 in __GI_abort () at abort.c:79
D:dyndb:#2 0x000056450e36efd9 in assertion_failed (file=<optimized out>, line=<optimized out>, type=<optimized out>, cond=<optimized out>) at ./main.c:261
D:dyndb:#3 0x000056450e561a4d in isc_assertion_failed (file=file@entry=0x56450e6094a1 "mem.c", line=line@entry=869, type=type@entry=isc_assertiontype_insist, cond=cond@entry=0x56450e6088d0 "!ctx->checkfree || dl->ptr == ((void *)0)") at assertions.c:46
D:dyndb:#4 0x000056450e570086 in destroy (ctx=ctx@entry=0x7fc53d449760) at mem.c:866
D:dyndb:#5 0x000056450e574e38 in isc___mem_putanddetach (ctxp=<optimized out>, ptr=0x7fc590629020, size=40, file=0x56450e5c325e "stats.c", line=88) at mem.c:998
D:dyndb:#6 0x000056450e574595 in isc__mem_putanddetach (mctxp=mctxp@entry=0x7fc590629028, ptr=ptr@entry=0x7fc590629020, size=size@entry=40, file=file@entry=0x56450e5c325e "stats.c", line=line@entry=88) at mem.c:2446
D:dyndb:#7 0x000056450e5837aa in isc_stats_detach (statsp=statsp@entry=0x7fc53c0279d8) at stats.c:88
D:dyndb:#8 0x000056450e4ed88e in destroy (view=0x7fc53c027800) at view.c:536
D:dyndb:#9 0x000056450e4edf04 in dns_view_weakdetach (viewp=viewp@entry=0x7fc59c308d68) at view.c:727
D:dyndb:#10 0x000056450e4ee0ae in resolver_shutdown (task=<optimized out>, event=<optimized out>) at view.c:744
D:dyndb:#11 0x000056450e585928 in dispatch (threadid=<optimized out>, manager=0x7fc5a097d020) at task.c:1152
D:dyndb:#12 run (queuep=<optimized out>) at task.c:1344
D:dyndb:#13 0x00007fc5a6d49ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
D:dyndb:#14 0x00007fc5a6c65dcf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
D:dyndb:--------------------------------------------------------------------------------
D:dyndb:full backtrace from dyndb/ns1/core.6735 saved in core.6735-backtrace.txt
D:dyndb:core dump dyndb/ns1/core.6735 archived as dyndb/ns1/core.6735.gz
E:dyndb:2020-08-18T10:05:42+0000