mem.c:344: INSIST(ret != ((void *)0)) in mem_get()
tcp-ns1
hit INSIST
on "long TCP messages" test (#1996 (closed) / CVE-2020-8620).
Job system:gcc:bullseye:amd64cross32
failed for bind-9.18-sub
:
I:tcp:checking that BIND 9 doesn't crash on long TCP messages (10)
I:tcp:sending 300000 time(s): 00010000000100000000000003697363036f72670000fc0001
I:tcp:............................................................................................................................................................................................................................................................................................................
I:tcp:sent 1621109 bytes to 10.53.0.1:14693
I:tcp:failed
I:tcp:exit status: 1
I:tcp:stopping servers
I:tcp:ns1 crashed on shutdown
...
I:tcp:ns1 crashed on shutdown
I:tcp:ns1 didn't die when sent a SIGTERM
I:tcp:ns1 died before a SIGABRT was sent
I:tcp:stopping servers failed
I:tcp:Core dump(s) found: /builds/isc-private/bind9/bin/tests/system/tcp/ns1/core.25933
D:tcp:backtrace from /builds/isc-private/bind9/bin/tests/system/tcp/ns1/core.25933:
D:tcp:--------------------------------------------------------------------------------
D:/builds/isc-private/bind9/bin/tests/system/tcp:Core was generated by `/builds/isc-private/bind9/bin/named/.libs/named -D tcp-ns1 -X named.lock -m rec'.
D:/builds/isc-private/bind9/bin/tests/system/tcp:Program terminated with signal SIGABRT, Aborted.
D:/builds/isc-private/bind9/bin/tests/system/tcp:#0 0xf7f0d069 in __kernel_vsyscall ()
D:/builds/isc-private/bind9/bin/tests/system/tcp:[Current thread is 1 (Thread 0xef47cb40 (LWP 25984))]
D:/builds/isc-private/bind9/bin/tests/system/tcp:#0 0xf7f0d069 in __kernel_vsyscall ()
D:/builds/isc-private/bind9/bin/tests/system/tcp:#1 0xf71fbe02 in raise () from /lib/i386-linux-gnu/libc.so.6
D:/builds/isc-private/bind9/bin/tests/system/tcp:#2 0xf71e4306 in abort () from /lib/i386-linux-gnu/libc.so.6
D:/builds/isc-private/bind9/bin/tests/system/tcp:#3 0x5659c792 in assertion_failed (file=0xf7c68be3 "mem.c", line=344, type=isc_assertiontype_insist, cond=0xf7c68c02 "ret != ((void *)0)") at main.c:238
D:/builds/isc-private/bind9/bin/tests/system/tcp:#4 0xf7c2baca in isc_assertion_failed (file=0xf7c68be3 "mem.c", line=344, type=isc_assertiontype_insist, cond=0xf7c68c02 "ret != ((void *)0)") at assertions.c:48
D:/builds/isc-private/bind9/bin/tests/system/tcp:#5 0xf7c3b814 in mem_get (ctx=ctx@entry=0xf2c6f000, size=size@entry=65535, flags=<optimized out>) at mem.c:344
D:/builds/isc-private/bind9/bin/tests/system/tcp:#6 0xf7c3bcbb in isc__mem_get (ctx=0xf2c6f000, size=65535, alignment=0, file=0xf79d9000 "client.c", line=349) at mem.c:761
D:/builds/isc-private/bind9/bin/tests/system/tcp:#7 0xf79a7560 in client_allocsendbuf (client=client@entry=0x102534, buffer=buffer@entry=0xef476664, datap=datap@entry=0xef47668c) at client.c:349
D:/builds/isc-private/bind9/bin/tests/system/tcp:#8 0xf79a8cae in ns_client_send (client=0x102534) at client.c:534
D:/builds/isc-private/bind9/bin/tests/system/tcp:#9 0xf79aa5d0 in ns_client_error (client=0x102534, result=<optimized out>) at client.c:952
D:/builds/isc-private/bind9/bin/tests/system/tcp:#10 0xf79d8260 in ns_xfr_start (client=0x102534, reqtype=252) at xfrout.c:1209
D:/builds/isc-private/bind9/bin/tests/system/tcp:#11 0xf79cafad in ns_query_start (client=0x102534, handle=0x102400) at query.c:12511
D:/builds/isc-private/bind9/bin/tests/system/tcp:#12 0xf79ad59b in ns__client_request (handle=<optimized out>, eresult=<optimized out>, region=<optimized out>, arg=<optimized out>) at client.c:2256
D:/builds/isc-private/bind9/bin/tests/system/tcp:#13 0xf7c186e0 in isc__nm_async_readcb (worker=0x0, ev0=0xef47841c) at netmgr/netmgr.c:2885
D:/builds/isc-private/bind9/bin/tests/system/tcp:#14 0xf7c187f5 in isc__nm_readcb (sock=0xf000fe00, uvreq=0xe72b4600, eresult=ISC_R_SUCCESS) at netmgr/netmgr.c:2858
D:/builds/isc-private/bind9/bin/tests/system/tcp:#15 0xf7c20cfc in isc__nm_tcpdns_processbuffer (sock=0xf000fe00) at netmgr/tcpdns.c:842
D:/builds/isc-private/bind9/bin/tests/system/tcp:#16 0xf7c14e3d in processbuffer (sock=0xf000fe00) at netmgr/netmgr.c:2308
D:/builds/isc-private/bind9/bin/tests/system/tcp:#17 isc__nm_process_sock_buffer (sock=0xf000fe00) at netmgr/netmgr.c:2330
D:/builds/isc-private/bind9/bin/tests/system/tcp:#18 0xf7c20ee1 in isc__nm_tcpdns_read_cb (stream=0xf0010254, nread=65537, buf=0xef47857c) at netmgr/tcpdns.c:905
D:/builds/isc-private/bind9/bin/tests/system/tcp:#19 0xf761fad1 in ?? () from /usr/lib/i386-linux-gnu/libuv.so.1
D:/builds/isc-private/bind9/bin/tests/system/tcp:#20 0xf76203df in ?? () from /usr/lib/i386-linux-gnu/libuv.so.1
D:/builds/isc-private/bind9/bin/tests/system/tcp:#21 0xf7627056 in ?? () from /usr/lib/i386-linux-gnu/libuv.so.1
D:/builds/isc-private/bind9/bin/tests/system/tcp:#22 0xf761496e in uv_run () from /usr/lib/i386-linux-gnu/libuv.so.1
D:/builds/isc-private/bind9/bin/tests/system/tcp:#23 0xf7c1a8de in nm_thread (worker0=0xf4e43bc0) at netmgr/netmgr.c:698
D:/builds/isc-private/bind9/bin/tests/system/tcp:#24 0xf7c545a6 in isc__trampoline_run (arg=0x57751e80) at trampoline.c:189
D:/builds/isc-private/bind9/bin/tests/system/tcp:#25 0xf73bb0b4 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
D:/builds/isc-private/bind9/bin/tests/system/tcp:#26 0xf72cb2c6 in clone () from /lib/i386-linux-gnu/libc.so.6
D:tcp:--------------------------------------------------------------------------------
D:tcp:full backtrace from /builds/isc-private/bind9/bin/tests/system/tcp/ns1/core.25933 saved in /builds/isc-private/bind9/bin/tests/system/tcp/ns1/core.25933-backtrace.txt
D:tcp:core dump /builds/isc-private/bind9/bin/tests/system/tcp/ns1/core.25933 archived as /builds/isc-private/bind9/bin/tests/system/tcp/ns1/core.25933.gz