Shutdown crash INSIST(__v > 0 && __v < (4294967295U)) in views system test
Job #2874705 failed for fd77c378 on shutdown with:
02-Nov-2022 07:19:46.747 zone_shutdown: zone example038.com/IN (unsigned): shutting down
02-Nov-2022 07:19:46.747 calling free_rbtdb(example038.com)
02-Nov-2022 07:19:46.747 calling free_rbtdb(example017.com)
02-Nov-2022 07:19:46.747 zone.c:5783: INSIST(__v > 0 && __v < (4294967295U)) failed, back trace
D:views:Core was generated by `/builds/isc-projects/bind9/bin/named/.libs/named -D views-ns2 -X named.lock -m'.
D:views:Program terminated with signal SIGABRT, Aborted.
D:views:#0 0x00007efe79bfdc4c in __pthread_kill_implementation () from /lib64/libc.so.6
D:views:[Current thread is 1 (Thread 0x7efe767bd640 (LWP 6646))]
D:views:#0 0x00007efe79bfdc4c in __pthread_kill_implementation () from /lib64/libc.so.6
D:views:#1 0x00007efe79bad9c6 in raise () from /lib64/libc.so.6
D:views:#2 0x00007efe79b977f4 in abort () from /lib64/libc.so.6
D:views:#3 0x00007efe7ae5fdf0 in abort () from /lib64/libtsan.so.2
D:views:#4 0x0000000000425700 in assertion_failed (file=<optimized out>, line=<optimized out>, type=<optimized out>, cond=<optimized out>) at main.c:237
D:views:#5 0x00007efe7a888345 in isc_assertion_failed (file=file@entry=0x7efe7a80a95b "zone.c", line=line@entry=5783, type=type@entry=isc_assertiontype_insist, cond=cond@entry=0x7efe7a7cf108 "__v > 0 && __v < (4294967295U)") at assertions.c:48
D:views:#6 0x00007efe7a76dd90 in dns_zone_attach (source=source@entry=0x7b7c00058600, target=target@entry=0x7b5c00054a60) at zone.c:5783
D:views:#7 0x00007efe7a77afe6 in zone_refreshkeys (zone=zone@entry=0x7b7c00058600) at zone.c:11359
D:views:#8 0x00007efe7a7a9ea0 in zone_maintenance (zone=0x7b7c00058600) at zone.c:11607
D:views:#9 zone_timer (task=<optimized out>, event=<optimized out>) at zone.c:15312
D:views:#10 0x00007efe7a8b7ad0 in task_run (task=0x7b3000000b40) at task.c:821
D:views:#11 isc_task_run (task=0x7b3000000b40) at task.c:901
D:views:#12 0x00007efe7a862e0c in isc__nm_async_task (worker=worker@entry=0x7ba400000000, ev0=ev0@entry=0x7b4800117300) at netmgr/netmgr.c:846
D:views:#13 0x00007efe7a86e11e in process_netievent (worker=worker@entry=0x7ba400000000, ievent=ievent@entry=0x7b4800117300) at netmgr/netmgr.c:918
D:views:#14 0x00007efe7a86edef in process_queue (worker=worker@entry=0x7ba400000000, type=type@entry=NETIEVENT_TASK) at netmgr/netmgr.c:1011
D:views:#15 0x00007efe7a86fb65 in process_all_queues (worker=0x7ba400000000) at netmgr/netmgr.c:765
D:views:#16 async_cb (handle=0x7ba400000360) at netmgr/netmgr.c:794
D:views:#17 0x00007efe79f6318f in uv__async_io (loop=0x7ba400000010, w=0x7ba4000001d8, events=1) at /usr/src/libuv-v1.44.1/src/unix/async.c:163
D:views:#18 0x00007efe79f7f5d7 in uv__io_poll (loop=0x7ba400000010, timeout=-1) at /usr/src/libuv-v1.44.1/src/unix/epoll.c:374
D:views:#19 0x00007efe79f63c2d in uv_run (loop=0x7ba400000010, mode=UV_RUN_DEFAULT) at /usr/src/libuv-v1.44.1/src/unix/core.c:391
D:views:#20 0x00007efe7a86f202 in nm_thread (worker0=0x7ba400000000) at netmgr/netmgr.c:696
D:views:#21 0x00007efe7a8c2fd0 in isc__trampoline_run (arg=0x7b0c00002160) at trampoline.c:189
D:views:#22 0x00007efe7ae383f0 in __tsan_thread_start_func () from /lib64/libtsan.so.2
D:views:#23 0x00007efe79bfbe2d in start_thread () from /lib64/libc.so.6
D:views:#24 0x00007efe79c80364 in clone () from /lib64/libc.so.6
Full back trace and views/ns2/named.run
are in the saved job.
#3080 (closed) is a similar but closed-fixed issue in rndc
.