Assertion failure in request.c:req_connected() during shutdown in checkds system test
The assertion failure popped up in the CI's system:clang:freebsd13:amd64 job for a branch based off v9_18
, but I've set the labels for now assuming that main
is also affected.
https://gitlab.isc.org/isc-projects/bind9/-/jobs/2447492
The artifacts are kept.
D:checkds:Program terminated with signal SIGABRT, Aborted.
D:checkds:Sent by thr_kill() from pid 33509 and user 1001.
D:checkds:#0 0x00000008014792ea in thr_kill () from /lib/libc.so.7
D:checkds:[Current thread is 1 (LWP 114082)]
D:checkds:#0 0x00000008014792ea in thr_kill () from /lib/libc.so.7
D:checkds:#1 0x00000008013ee064 in raise () from /lib/libc.so.7
D:checkds:#2 0x00000008014a2f29 in abort () from /lib/libc.so.7
D:checkds:#3 0x000000000023c4ed in library_fatal_error (file=0x8008ab124 "request.c", line=1018, format=0x8002e0ee3 "RUNTIME_CHECK(%s) failed", args=0x7fffdffed6d0) at main.c:277
D:checkds:#4 0x0000000800315135 in isc_error_fatal (file=0x1bda2 <error: Cannot access memory at address 0x1bda2>, line=6, line@entry=1018, format=0x0) at error.c:68
D:checkds:#5 0x0000000800315155 in isc_error_runtimecheck (file=0x1bda2 <error: Cannot access memory at address 0x1bda2>, line=6, line@entry=1018, expression=0x8014792ca <thr_self+10> "\017\202x\341\377\377\303", '\314' <repeats 15 times>, "\270\261\001") at error.c:75
D:checkds:#6 0x00000008009c4046 in req_connected (eresult=ISC_R_CANCELED, region=<optimized out>, arg=0x8036b81c0) at request.c:1018
D:checkds:#7 0x000000080090c99c in dns_dispatch_cancel (respp=respp@entry=0x8036b8210) at dispatch.c:1604
D:checkds:#8 0x00000008009c4f41 in request_cancel (request=request@entry=0x8036b81c0) at request.c:916
D:checkds:#9 0x00000008009c313c in dns_request_cancel (request=request@entry=0x8036b81c0) at request.c:929
D:checkds:#10 0x00000008009c3068 in dns_requestmgr_shutdown (requestmgr=0x8025dc5e0) at request.c:231
D:checkds:#11 0x0000000800a0132d in view_flushanddetach (viewp=<optimized out>, flush=<optimized out>) at view.c:648
D:checkds:#12 0x0000000800a014bb in dns_view_detach (viewp=0x1bda2) at view.c:707
D:checkds:#13 0x000000000023f7d5 in shutdown_server (task=<optimized out>, event=<optimized out>) at server.c:10075
D:checkds:#14 0x000000080032ea73 in task_run (task=0x801cae8c0) at task.c:821
D:checkds:#15 0x000000080032e939 in isc_task_run (task=0x1bda2) at task.c:901
D:checkds:#16 0x0000000800302812 in isc__nm_async_task (worker=<optimized out>, ev0=ev0@entry=0x801c7a600) at netmgr/netmgr.c:814
D:checkds:#17 0x00000008002fe52b in process_netievent (worker=worker@entry=0x801cb3000, ievent=ievent@entry=0x801c7a600) at netmgr/netmgr.c:886
D:checkds:#18 0x00000008003026a3 in process_queue (worker=0x1bda2, worker@entry=0x801cb3000, type=type@entry=NETIEVENT_TASK) at netmgr/netmgr.c:977
D:checkds:#19 0x0000000800302537 in process_all_queues (worker=0x801cb3000) at netmgr/netmgr.c:733
D:checkds:#20 0x00000008002fb4a5 in async_cb (handle=0x801cb32d8) at netmgr/netmgr.c:762
D:checkds:#21 0x00000008010fdb6a in ?? () from /usr/local/lib/libuv.so.1
D:checkds:#22 0x000000080110ec7b in ?? () from /usr/local/lib/libuv.so.1
D:checkds:#23 0x00000008010fe0e1 in uv_run () from /usr/local/lib/libuv.so.1
D:checkds:#24 0x00000008002fb52b in nm_thread (worker0=0x801cb3000) at netmgr/netmgr.c:664
D:checkds:#25 0x00000008003353a6 in isc__trampoline_run (arg=0x801c76700) at trampoline.c:187
D:checkds:#26 0x000000080132282b in ?? () from /lib/libthr.so.3
D:checkds:#27 0x0000000000000000 in ?? ()
D:checkds:Backtrace stopped: Cannot access memory at address 0x7fffdfffe000
D:checkds:--------------------------------------------------------------------------------
D:checkds:full backtrace from checkds/ns9/core.33509 saved in checkds/ns9/core.33509-backtrace.txt
D:checkds:core dump checkds/ns9/core.33509 archived as checkds/ns9/core.33509.gz
R:checkds:FAIL