Assertion failure in isc_task_shutdown() in v9_18 when running the "stress" system test
See https://gitlab.isc.org/isc-projects/bind9/-/jobs/2972150 (artifacts are saved).
D:stress:Program terminated with signal SIGABRT, Aborted.
D:stress:#0 0x00007ff96c95355c in __pthread_kill_implementation () from /lib64/libc.so.6
D:stress:[Current thread is 1 (Thread 0x7ff96b7ff640 (LWP 1613))]
D:stress:#0 0x00007ff96c95355c in __pthread_kill_implementation () from /lib64/libc.so.6
D:stress:#1 0x00007ff96c906ce6 in raise () from /lib64/libc.so.6
D:stress:#2 0x00007ff96c8da7f3 in abort () from /lib64/libc.so.6
D:stress:#3 0x000000000042150c in assertion_failed (file=<optimized out>, line=<optimized out>, type=isc_assertiontype_require, cond=0x7ff96d518150 "((task) != ((void *)0) && ((const isc__magic_t *)(task))->magic == ((('T') << 24 | ('A') << 16 | ('S') << 8 | ('K'))))") at main.c:237
D:stress:#4 0x00007ff96d4d754b in isc_assertion_failed (file=file@entry=0x7ff96d517f1c "task.c", line=line@entry=726, type=type@entry=isc_assertiontype_require, cond=cond@entry=0x7ff96d518150 "((task) != ((void *)0) && ((const isc__magic_t *)(task))->magic == ((('T') << 24 | ('A') << 16 | ('S') << 8 | ('K'))))") at assertions.c:48
D:stress:#5 0x00007ff96d4f4e6d in isc_task_shutdown (task=<optimized out>) at task.c:726
D:stress:#6 0x00007ff96d3a5537 in dns_resolver_create (view=view@entry=0x7ff9500dc800, taskmgr=taskmgr@entry=0x7ff96bdf9000, ntasks=ntasks@entry=384, ndisp=ndisp@entry=16, nm=nm@entry=0x7ff96bc31000, timermgr=timermgr@entry=0x7ff96bdfa000, options=<optimized out>, dispatchmgr=<optimized out>, dispatchv4=<optimized out>, dispatchv6=<optimized out>, resp=<optimized out>) at resolver.c:10485
D:stress:#7 0x00007ff96d3de6da in dns_view_createresolver (view=view@entry=0x7ff9500dc800, taskmgr=0x7ff96bdf9000, ntasks=384, ndisp=16, nm=0x7ff96bc31000, timermgr=0x7ff96bdfa000, options=0, dispatchmgr=0x7ff9680fb000, dispatchv4=0x7ff9501e2200, dispatchv6=0x7ff9501e2400) at view.c:836
D:stress:#8 0x0000000000432ca6 in configure_view (view=0x7ff9500dc800, viewlist=viewlist@entry=0x7ff96b7f99d0, config=0x7ff968214820, vconfig=vconfig@entry=0x7ff9681fd940, cachelist=cachelist@entry=0x7ff96b7f9980, kasplist=kasplist@entry=0x7ff96af3e088, bindkeys=0x0, mctx=0x7ff96bc09000, actx=0x7ff9681950c0, need_hints=false) at server.c:4795
D:stress:#9 0x0000000000445512 in load_configuration (filename=<optimized out>, server=server@entry=0x7ff96af3e000, first_time=first_time@entry=false) at server.c:9395
D:stress:#10 0x0000000000446fd9 in loadconfig (server=server@entry=0x7ff96af3e000) at server.c:10516
D:stress:#11 0x00000000004470a2 in reload (server=server@entry=0x7ff96af3e000) at server.c:10539
D:stress:#12 0x0000000000447266 in named_server_reloadcommand (server=0x7ff96af3e000, lex=<optimized out>, text=text@entry=0x7ff928916ae8) at server.c:10866
D:stress:#13 0x000000000041c125 in named_control_docommand (message=<optimized out>, readonly=<optimized out>, text=text@entry=0x7ff928916ae8) at control.c:254
D:stress:#14 0x000000000041e79b in control_command (task=<optimized out>, event=<optimized out>) at controlconf.c:391
D:stress:#15 0x00007ff96d4f58cc in task_run (task=0x7ff96afa19c0) at task.c:823
D:stress:#16 isc_task_run (task=0x7ff96afa19c0) at task.c:904
D:stress:#17 0x00007ff96d4bdbc9 in isc__nm_async_task (worker=worker@entry=0x7ff96bc34700, ev0=ev0@entry=0x7ff9500b6400) at netmgr/netmgr.c:846
D:stress:#18 0x00007ff96d4c5379 in process_netievent (worker=worker@entry=0x7ff96bc34700, ievent=0x7ff9500b6400) at netmgr/netmgr.c:918
D:stress:#19 0x00007ff96d4c5d49 in process_queue (worker=worker@entry=0x7ff96bc34700, type=type@entry=NETIEVENT_TASK) at netmgr/netmgr.c:1011
D:stress:#20 0x00007ff96d4c67e9 in process_all_queues (worker=0x7ff96bc34700) at netmgr/netmgr.c:765
D:stress:#21 async_cb (handle=0x7ff96bc34a60) at netmgr/netmgr.c:794
D:stress:#22 0x00007ff96cca7b3d in uv.async_io.part () from /lib64/libuv.so.1
D:stress:#23 0x00007ff96ccc385e in uv.io_poll.part () from /lib64/libuv.so.1
D:stress:#24 0x00007ff96ccad5a8 in uv_run () from /lib64/libuv.so.1
D:stress:#25 0x00007ff96d4c6021 in nm_thread (worker0=0x7ff96bc34700) at netmgr/netmgr.c:696
D:stress:#26 0x00007ff96d4fdba1 in isc__trampoline_run (arg=0x2102bb0) at trampoline.c:189
D:stress:#27 0x00007ff96c951812 in start_thread () from /lib64/libc.so.6
D:stress:#28 0x00007ff96c8f1314 in clone () from /lib64/libc.so.6
D:stress:--------------------------------------------------------------------------------
D:stress:full backtrace from stress/ns3/core.1599 saved in stress/ns3/core.1599-backtrace.txt
D:stress:core dump stress/ns3/core.1599 archived as stress/ns3/core.1599.gz
R:stress:FAIL