Bind 9.16.5 rdnc stop error
Summary
When stopping Bind 9.16.5 with rdnc stop the process core dumps.
BIND version used
9.16.5
Steps to reproduce
rndc stop
What is the current bug behavior?
The process does not exit gracefully
What is the expected correct behavior?
Graceful exit
Relevant configuration files
20-Jul-2020 09:04:40.531 general: received control channel command 'stop'
20-Jul-2020 09:04:40.536 network: no longer listening on 127.0.0.1#53
20-Jul-2020 09:04:40.545 network: no longer listening on 10.0.0.1#53
Jul 20 08:59:36 localhost named[27117]: starting BIND 9.16.5 (Stable Release) id:c00b458
Jul 20 08:59:36 localhost named[27117]: running on Linux x86_64 3.10.0-1127.13.1.el7.x86_64 #1 SMP Tue Jun 23 15:46:38 UTC 2020
Jul 20 08:59:36 localhost named[27117]: built with 'CFLAGS=-m64 -g -O2' '--prefix=/local' '--localstatedir=/var' '--with-openssl=yes' '--with-libtool' '--enable-static=yes' '--disable-shared' '--enable-largefile' '--sysconfdir=/etc/named' '--with-libxml2=no' '--with-tuning=large' '--with-python=/usr/bin/python3' '--with-libjson'
Jul 20 08:59:36 localhost named[27117]: running as: named -f -c /etc/named/named.conf -u named -U 6 -n 10
Jul 20 08:59:36 localhost named[27117]: compiled by GCC 4.8.5 20150623 (Red Hat 4.8.5-39)
Jul 20 08:59:36 localhost named[27117]: compiled with OpenSSL version: OpenSSL 1.0.2k-fips 26 Jan 2017
Jul 20 08:59:36 localhost named[27117]: linked to OpenSSL version: OpenSSL 1.0.2k-fips 26 Jan 2017
Jul 20 08:59:36 localhost named[27117]: compiled with json-c version: 0.11
Jul 20 08:59:36 localhost named[27117]: linked to json-c version: 0.11
Jul 20 08:59:36 localhost named[27117]: compiled with zlib version: 1.2.7
Jul 20 08:59:36 localhost named[27117]: linked to zlib version: 1.2.7
Jul 20 08:59:36 localhost named[27117]: ----------------------------------------------------
Jul 20 08:59:36 localhost named[27117]: BIND 9 is maintained by Internet Systems Consortium,
Jul 20 08:59:36 localhost named[27117]: Inc. (ISC), a non-profit 501(c)(3) public-benefit
Jul 20 08:59:36 localhost named[27117]: corporation. Support and training for BIND 9 are
Jul 20 08:59:36 localhost named[27117]: available at https://www.isc.org/support
Jul 20 08:59:36 localhost named[27117]: ----------------------------------------------------
Jul 20 08:59:36 localhost named[27117]: adjusted limit on open files from 4096 to 1048576
Jul 20 08:59:36 localhost named[27117]: command channel listening on 127.0.0.1#953
Jul 20 09:04:42 localhost systemd[1]: named.service: main process exited, code=killed, status=6/ABRT
Jul 20 09:04:42 localhost systemd[1]: Unit named.service entered failed state.
Jul 20 09:04:42 localhost systemd[1]: named.service failed.
ldd /local/sbin/named
linux-vdso.so.1 => (0x00007ffc887a1000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f8e0872a000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f8e08441000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f8e0820e000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f8e0800a000)
libuv.so.1 => /lib64/libuv.so.1 (0x00007f8e07dda000)
librt.so.1 => /lib64/librt.so.1 (0x00007f8e07bd2000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8e079b6000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f8e0779c000)
libcap.so.2 => /lib64/libcap.so.2 (0x00007f8e07597000)
libz.so.1 => /lib64/libz.so.1 (0x00007f8e07381000)
libjson-c.so.2 => /lib64/libjson-c.so.2 (0x00007f8e07176000)
libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f8e06d13000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f8e06b0f000)
libc.so.6 => /lib64/libc.so.6 (0x00007f8e06741000)
/lib64/ld-linux-x86-64.so.2 (0x00007f8e08977000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f8e06531000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f8e0632d000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f8e06113000)
libattr.so.1 => /lib64/libattr.so.1 (0x00007f8e05f0e000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f8e05ce7000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f8e05a85000)
Threads 1 and 28 assertion failure send_queue_size apparently > 0.
Thread 1 (Thread 0x7fb36e29b700 (LWP 27127)):
#0 0x00007fb372b36387 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:55.
resultvar = 0
pid = 27117
selftid = 27127
#1 0x00007fb372b37a78 in __GI_abort () at abort.c:90
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x7ffc50e8ff68, sa_sigaction = 0x7ffc50e8ff68}, sa_mask = {__val = {140408701615600, 140408723862800, 119, 140408624098624, 140408700210083, 140408624098256, 4, 47279400320, 19104546066, 0, 0, 0, 0, 21474836480, 140408738095104, 140408701627616}}, sa_flags = 1947989349, sa_restorer = 0x7fb3741bf7b0 <PRETTY_FUNCTION.9843>}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007fb372b2f1a6 in __assert_fail_base (fmt=0x7fb372c8ace0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7fb3741bf565 "handle->send_queue_size == 0", file=file@entry=0x7fb3741bf510 "src/unix/udp.c", line=line@entry=119, function=function@entry=0x7fb3741bf7b0 <PRETTY_FUNCTION.9843> "uv__udp_finish_close") at assert.c:92.
str = 0x7fb3005a0890 ""
total = 4096.
for core files and backtrace see ticket RT #16013.