bind 9.16.19 assertion failure
Summary
bind 9.16.19 assertion failure
BIND version used
BIND 9.16.19 (Stable Release) <id:df0e751>
running on FreeBSD amd64 12.2-RELEASE-p7 FreeBSD 12.2-RELEASE-p7 GENERIC
built by make with '--disable-linux-caps' '--localstatedir=/var' '--sysconfdir=/usr/local/etc/namedb' '--with-dlopen=yes' '--with-libxml2' '--with-openssl=/usr/local' '--with-readline=-L/usr/local/lib -ledit' '--with-dlz-filesystem=yes' '--disable-dnstap' '--enable-fixed-rrset' '--disable-geoip' '--without-maxminddb' '--without-gssapi' '--with-libidn2=/usr/local' '--with-json-c' '--disable-largefile' '--with-lmdb=/usr/local' '--disable-native-pkcs11' '--without-python' '--disable-querytrace' '--enable-tcp-fastopen' '--disable-symtable' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/share/info/' '--build=amd64-portbld-freebsd12.2' 'build_alias=amd64-portbld-freebsd12.2' 'CC=cc' 'CFLAGS=-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing ' 'LDFLAGS= -L/usr/local/lib -ljson-c -Wl,-rpath,/usr/local/lib -fstack-protector-strong ' 'LIBS=-L/usr/local/lib' 'CPPFLAGS=-DLIBICONV_PLUG -isystem /usr/local/include' 'CPP=cpp' 'PKG_CONFIG=pkgconf'
compiled by CLANG FreeBSD Clang 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2)
compiled with OpenSSL version: OpenSSL 1.1.1k 25 Mar 2021
linked to OpenSSL version: OpenSSL 1.1.1k 25 Mar 2021
compiled with libuv version: 1.41.0
linked to libuv version: 1.41.0
compiled with libxml2 version: 2.9.12
linked to libxml2 version: 20912
compiled with json-c version: 0.15
linked to json-c version: 0.15
compiled with zlib version: 1.2.11
linked to zlib version: 1.2.11
threads support is enabled
default paths:
named configuration: /usr/local/etc/namedb/named.conf
rndc configuration: /usr/local/etc/namedb/rndc.conf
DNSSEC root key: /usr/local/etc/namedb/bind.keys
nsupdate session key: /var/run/named/session.key
named PID file: /var/run/named/pid
named lock file: /var/run/named/named.lock
Steps to reproduce
(How one can reproduce the issue - this is very important.)
What is the current bug behavior?
Bind was crashed after 2 days of runtine
What is the expected correct behavior?
(What you should see instead.)
Relevant configuration files
(Paste any relevant configuration files - please use code blocks (```)
to format console output. If submitting the contents of your
configuration file in a non-confidential Issue, it is advisable to
obscure key secrets: this can be done automatically by using
named-checkconf -px
.)
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code, as it's very hard to read otherwise.)
25-Jul-2021 21:13:52.057 general: client.c:798: INSIST(rcode != ((dns_rcode_t)dns_rcode_noerror) && rcode != ((dns_rcode_t)dns_rcode_nxdomain)) failed, back trace
25-Jul-2021 21:13:52.057 general: #0 0x2d8a65 in ??
25-Jul-2021 21:13:52.057 general: #1 0x4c2f2a in ??
25-Jul-2021 21:13:52.057 general: #2 0x3135f3 in ??
25-Jul-2021 21:13:52.057 general: #3 0x317efd in ??
25-Jul-2021 21:13:52.057 general: #4 0x4de376 in ??
25-Jul-2021 21:13:52.057 general: #5 0x4dc3a1 in ??
25-Jul-2021 21:13:52.057 general: #6 0x800ae7d42 in ??
25-Jul-2021 21:13:52.057 general: #7 0x800ae92b2 in ??
25-Jul-2021 21:13:52.057 general: #8 0x800ada684 in ??
25-Jul-2021 21:13:52.057 general: #9 0x4d6fcb in ??
25-Jul-2021 21:13:52.057 general: #10 0x4f4b44 in ??
25-Jul-2021 21:13:52.057 general: exiting (due to assertion failure)
25-Jul-2021 21:13:52.057 general: client.c:798: INSIST(rcode != ((dns_rcode_t)dns_rcode_noerror) && rcode != ((dns_rcode_t)dns_rcode_nxdomain)) failed, back trace
25-Jul-2021 21:13:52.057 general: #0 0x2d8a65 in ??
25-Jul-2021 21:13:52.057 general: #1 0x4c2f2a in ??
25-Jul-2021 21:13:52.057 general: #2 0x3135f3 in ??
25-Jul-2021 21:13:52.057 general: #3 0x317efd in ??
25-Jul-2021 21:13:52.057 general: #4 0x4de376 in ??
25-Jul-2021 21:13:52.057 general: #5 0x4dc3a1 in ??
25-Jul-2021 21:13:52.057 general: #6 0x800ae7d42 in ??
25-Jul-2021 21:13:52.057 general: #7 0x800ae92b2 in ??
25-Jul-2021 21:13:52.057 general: #8 0x800ada684 in ??
25-Jul-2021 21:13:52.057 general: #9 0x4d6fcb in ??
25-Jul-2021 21:13:52.057 general: #10 0x4f4b44 in ??
25-Jul-2021 21:13:52.057 general: exiting (due to assertion failure)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem.)
See #2856 (closed)
Edited by Michał Kępień