Failed assertion during shutdown: INSIST(VALID_CCMSG(ccmsg));
Example occurrence:
https://gitlab.isc.org/isc-projects/bind9/-/jobs/1036796
D:shutdown:Program terminated with signal SIGABRT, Aborted.
D:shutdown:#0 0xf7eea069 in __kernel_vsyscall ()
D:shutdown:[Current thread is 1 (Thread 0xeea72b40 (LWP 14438))]
D:shutdown:#0 0xf7eea069 in __kernel_vsyscall ()
D:shutdown:#1 0xf75038e2 in __libc_signal_restore_set (set=0xeea6e6bc) at ../sysdeps/unix/sysv/linux/internal-signals.h:84
D:shutdown:#2 __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:48
D:shutdown:#3 0xf74ec309 in __GI_abort () at abort.c:79
D:shutdown:#4 0x565963ef in assertion_failed (file=0xf7c18598 "ccmsg.c", line=48, type=isc_assertiontype_insist, cond=0xf7c18478 "(__builtin_expect(!!((ccmsg) != ((void *)0)), 1) && __builtin_expect(!!(((const isc__magic_t *)(ccmsg))->magic == ((('C') << 24 | ('C') << 16 | ('m') << 8 | ('s')))), 1))") at main.c:253
D:shutdown:#5 0xf7e99662 in isc_assertion_failed (file=0xf7c18598 "ccmsg.c", line=48, type=isc_assertiontype_insist, cond=0xf7c18478 "(__builtin_expect(!!((ccmsg) != ((void *)0)), 1) && __builtin_expect(!!(((const isc__magic_t *)(ccmsg))->magic == ((('C') << 24 | ('C') << 16 | ('m') << 8 | ('s')))), 1))") at assertions.c:46
D:shutdown:#6 0xf7c15bc9 in recv_data (handle=0xdbe894e0, eresult=20, region=0x0, arg=0xdbe89618) at ccmsg.c:102
D:shutdown:#7 0xf7e8420a in isc__nm_tcp_shutdown (sock=0xe15c1570) at netmgr/tcp.c:1094
D:shutdown:#8 0xf7e7e6b9 in shutdown_walk_cb (handle=0xe15c1634, arg=0x0) at netmgr/netmgr.c:1451
D:shutdown:#9 0xf74a6bea in uv_walk () from /usr/lib/i386-linux-gnu/libuv.so.1
D:shutdown:#10 0xf7e802bf in isc__nm_async_shutdown (worker=0x56d50a6c, ev0=0xe1939b58) at netmgr/netmgr.c:1461
D:shutdown:#11 0xf7e81ab6 in process_queue (worker=worker@entry=0x56d50a6c, queue=0xf113a380) at netmgr/netmgr.c:640
D:shutdown:#12 0xf7e81e02 in async_cb (handle=0x56d50c44) at netmgr/netmgr.c:580
D:shutdown:#13 0xf74a79fb in ?? () from /usr/lib/i386-linux-gnu/libuv.so.1
D:shutdown:#14 0xf74b9de8 in ?? () from /usr/lib/i386-linux-gnu/libuv.so.1
D:shutdown:#15 0xf74a820e in uv_run () from /usr/lib/i386-linux-gnu/libuv.so.1
D:shutdown:#16 0xf7e81b26 in nm_thread (worker0=<optimized out>) at netmgr/netmgr.c:484
D:shutdown:#17 0xf76bb082 in start_thread (arg=<optimized out>) at pthread_create.c:479
D:shutdown:#18 0xf75d0f86 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:108
@each strongly believes this can only happen as a result of an
rndc stop
or rndc halt
.
I am marking this only with ~v9.17 as it looks like an artifact of
migrating rndc
to netmgr.
Pinging @wpk as well without assigning anyone to the issue for the time being.