Assertion failure at ENSURE(isc_mempool_getallocated(*namepoolp) == 0) in message.c:4791
See #4462 (closed) for reproducer.
Job #3740189 failed for cddd9dcb; worked fine 2 MRs prior (at 2728b810). Looks like a shutdown issue.
Core was generated by `/builds/isc-projects/bind9/.local/usr/local/sbin/named -f -c ./named.conf'.
Program terminated with signal SIGABRT, Aborted.
#0 __pthread_kill_implementation (threadid=281472872136768, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
Downloading source file /usr/src/debug/glibc-2.37-10.fc38.aarch64/nptl/pthread_kill.c...
44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
[Current thread is 1 (Thread 0xffff828ec040 (LWP 24241))]
#0 __pthread_kill_implementation (threadid=281472872136768, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1 0x0000ffff8171d958 [PAC] in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2 0x0000ffff816d4980 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x0000ffff816c0284 [PAC] in __GI_abort () at abort.c:79
#4 0x000000000042efa8 [PAC] in assertion_failed (file=<optimized out>, line=4791, type=isc_assertiontype_ensure, cond=0xffff827a2368 "isc_mempool_getallocated(*namepoolp) == 0") at main.c:234
#5 0x0000ffff828658a4 in isc_assertion_failed (file=file@entry=0xffff827a0998 "message.c", line=line@entry=4791, type=type@entry=isc_assertiontype_ensure, cond=cond@entry=0xffff827a2368 "isc_mempool_getallocated(*namepoolp) == 0") at assertions.c:48
#6 0x0000ffff82678060 in dns_message_destroypools (namepoolp=0xffff80bf8e20, rdspoolp=0xffff80bf8e40) at message.c:4791
#7 0x0000ffff827031ec in dns_resolver__destroy (res=res@entry=0xffff80b21400) at resolver.c:9891
#8 0x0000ffff8270b0e4 in dns_resolver_unref (ptr=0xffff80b21400) at resolver.c:10172
#9 0x0000ffff8270b178 in dns_resolver_detach (ptrp=ptrp@entry=0xffff80070050) at resolver.c:10172
#10 0x0000ffff826185dc in destroy (adb=adb@entry=0xffff80070000) at adb.c:1833
#11 0x0000ffff8261acd4 in dns_adb_unref (ptr=0xffff80070000) at adb.c:1841
#12 0x0000ffff8261ae6c in dns_adb_detach (ptrp=ptrp@entry=0xffffec576580) at adb.c:1841
#13 0x0000ffff8273bf74 in dns_view_detach (viewp=viewp@entry=0xffff8090ae08) at view.c:516
#14 0x0000ffff82738050 in destroy_validator (val=val@entry=0xffff8090ae00) at validator.c:3122
#15 0x0000ffff82738148 in dns_validator_unref (ptr=0xffff8090ae00) at validator.c:3226
#16 0x0000ffff82736020 in dns_validator_detach (ptrp=ptrp@entry=0xffffec576688) at validator.c:3226
#17 0x0000ffff82737ee4 in validator_done_cb (arg=<optimized out>) at validator.c:211
#18 0x0000ffff82865c1c in isc__async_cb (handle=<optimized out>) at async.c:111
#19 0x0000ffff81dda0c0 in uv__async_io (loop=0xffff80482820, w=0xffff804829f0, events=1) at /usr/src/libuv-v1.46.0/src/unix/async.c:176
#20 0x0000ffff81df6d0c in uv__io_poll (loop=0xffff80482820, timeout=11996) at /usr/src/libuv-v1.46.0/src/unix/linux.c:1476
#21 0x0000ffff81ddb084 in uv_run (loop=0xffff80482820, mode=UV_RUN_DEFAULT) at /usr/src/libuv-v1.46.0/src/unix/core.c:447
#22 0x0000ffff8287977c in loop_thread (arg=arg@entry=0xffff80482800) at loop.c:282
#23 0x0000ffff82889204 in thread_body (wrap=0x29878850) at thread.c:85
#24 0x0000ffff8288928c in isc_thread_main (func=func@entry=0xffff82879710 <loop_thread>, arg=<optimized out>) at thread.c:116
#25 0x0000ffff8287a4e0 in isc_loopmgr_run (loopmgr=0xffff808c06c0) at loop.c:454
#26 0x00000000004318a8 in main (argc=<optimized out>, argv=<optimized out>) at main.c:1580
Similar issue: #2188 (closed)
Edited by Petr Špaček