BIND 9.16.1 does core dump when stopped
Hi,
this ticket should be reopened as 9.16.1 still core dump when stopped.
ti0275o821(root) named 2984# /local/sbin/named -v
BIND 9.16.1 (Stable Release) <id:d497c32>
ti0275o821(root) named 2985# ls -la /root/core.1271
-rw------- 1 named named 7287529472 Apr 4 06:22 /root/core.1271
ti0275o821(root) named 2983# file /root/core.1271
/root/core.1271: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/local/sbin/named -f -c /etc/named/named.conf -u named', real uid: 0, effective uid: 0, real gid: 0, effective gid: 0, execfn: '/local/sbin/named', platform: 'x86_64'
06-Apr-2020 13:35:09.725 general: shutting down: flushing changes
06-Apr-2020 13:35:09.725 general: stopping statistics channel on 10.43.16.94#80
06-Apr-2020 13:35:09.725 general: stopping statistics channel on 127.0.0.1#80
06-Apr-2020 13:35:09.725 general: stopping command channel on 127.0.0.1#953
06-Apr-2020 13:35:09.737 general: interfacemgr.c:343: REQUIRE((__builtin_expect(!!((mgr) != ((void *)0)), 1) && __builtin_expect(!!(((const isc__magic_t *)(mgr))->magic == ((('I') << 24 | ('F') << 16 | ('M') << 8 | ('G')))), 1))) failed, back trace
06-Apr-2020 13:35:09.737 general: #0 0x44b9fd in ??
06-Apr-2020 13:35:09.737 general: #1 0x61bd8a in ??
06-Apr-2020 13:35:09.737 general: #2 0x47d5a7 in ??
06-Apr-2020 13:35:09.737 general: #3 0x4489d5 in ??
06-Apr-2020 13:35:09.737 general: #4 0x63f49a in ??
06-Apr-2020 13:35:09.737 general: #5 0x7f8798dbbdd5 in ??
06-Apr-2020 13:35:09.737 general: #6 0x7f87986c6ead in ??
06-Apr-2020 13:35:09.737 general: exiting (due to assertion failure)
--cut--
ti0016o825(root) named 3517# /usr/bin/gdb /local/sbin/named /etc/named/core.29242
--cut--
Reading symbols from /local/sbin/named...done.
[New LWP 29267]
[New LWP 29268]
--cut--
[New LWP 29249]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/local/sbin/named -c /etc/named/named.conf -u named'.
Program terminated with signal 6, Aborted.
#0 0x00007f87985ff207 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.17-260.el7_6.5.x86_64 json-c-0.11-4.el7_0.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-37.el7_6.x86_64 libattr-2.4.46-13.el7.x86_64 libcap-2.22-9.el7.x86_64 libcom_err-1.42.9-13.el7.x86_64 libgcc-4.8.5-36.el7_6.2.x86_64 libselinux-2.5-14.1.el7.x86_64 libuv-1.34.0-1.el7.x86_64 openssl-libs-1.0.2k-16.el7_6.1.x86_64 pcre-8.32-17.el7.x86_64 sssd-client-1.16.2-13.el7_6.8.x86_64 zlib-1.2.7-18.el7.x86_64
(gdb)
...
Edited by Ondřej Surý