rbtdb.c:582: INSIST(!cds_lfht_destroy(rbtdb->common.update_listeners, ((void *)0))) failed
Employing rr
chaos mode on system tests of the main
branch, I got a shutdown crash in catz
:
Core was generated by `/home/newman/isc/ws/bind9/bin/named/.libs/named -D catz_tmp_8__h0mh7-ns4 -m rec'.
Program terminated with signal SIGABRT, Aborted.
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
[Current thread is 1 (Thread 0x756a4d1e8680 (LWP 187005))]
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1 0x00007ff3f03228f3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78 #2 0x00007ff3f02d1afe in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007ff3f02ba87f in __GI_abort () at abort.c:79
#4 0x0000000000417b4a in assertion_failed (file=0x7fffea179e8b "rbtdb.c", line=582, type=isc_assertiontype_insist, cond=0x7fffea178fb8 "!cds_lfht_destroy(rbtdb->common.update_listeners, ((void *)0))") at main.c:234
#5 0x000022cf17dba56a in isc_assertion_failed (file=file@entry=0x7fffea179e8b "rbtdb.c", line=line@entry=582, type=type@entry=isc_assertiontype_insist, cond=cond@entry=0x7fffea178fb8 "!cds_lfht_destroy(rbtdb->common.update_listeners, ((void *)0))") at assertions.c:48
#6 0x00007fffea086b75 in free_rbtdb (rbtdb=rbtdb@entry=0x12675bcbd000, log=log@entry=true) at rbtdb.c:582
#7 0x00007fffea0879fe in dns__rbtdb_destroy (arg=0x12675bcbd000) at rbtdb.c:646
#8 0x00007fffea00d708 in dns__catz_done_cb (data=0x3aff36a446c0) at catz.c:2527
#9 0x000022cf17de247d in isc__after_work_cb (req=<optimized out>, status=0) at work.c:42
#10 0x00007ff3f02268a9 in uv__work_done (handle=0x3aff36a77a50) at src/threadpool.c:329
#11 0x00007ff3f021de63 in uv__async_io (loop=0x3aff36a779a0, w=<optimized out>, events=<optimized out>) at src/unix/async.c:176
#12 0x00007ff3f023bfae in uv__io_poll (loop=0x3aff36a779a0, timeout=<optimized out>) at src/unix/linux.c:1476
#13 0x00007ff3f0223558 in uv_run (loop=loop@entry=0x3aff36a779a0, mode=mode@entry=UV_RUN_DEFAULT) at src/unix/core.c:447
#14 0x000022cf17dcce8c in loop_thread (arg=arg@entry=0x3aff36a77980) at loop.c:282
#15 0x000022cf17ddc1d1 in thread_body (wrap=0x3aff36a9b2e0) at thread.c:85
#16 thread_run (wrap=0x3aff36a9b2e0) at thread.c:100
#17 0x00007ff3f0320947 in start_thread (arg=<optimized out>) at pthread_create.c:444
#18 0x00007ff3f03a6764 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100
rr_trace.txz (rr pack
for rr replay
, if needed, from Fedora 38 but should work everywhere)