assertion failure: critical: query.c:5541: REQUIRE(qtype != 0) failed
Description
Last night one of our bind caching resolvers crashed several times with error
15-May-2018 23:56:35.904 general: critical: query.c:5541: REQUIRE(qtype != 0) failed, back trace
15-May-2018 23:56:35.904 general: critical: #0 0x429210 in ??
15-May-2018 23:56:35.904 general: critical: #1 0x7f561c9ee17a in ??
15-May-2018 23:56:35.904 general: critical: #2 0x7f561e069cde in ??
15-May-2018 23:56:35.904 general: critical: #3 0x7f561e07814d in ??
15-May-2018 23:56:35.904 general: critical: #4 0x7f561e074f10 in ??
15-May-2018 23:56:35.904 general: critical: #5 0x7f561e077dea in ??
15-May-2018 23:56:35.904 general: critical: #6 0x7f561e070374 in ??
15-May-2018 23:56:35.904 general: critical: #7 0x7f561e07b8e7 in ??
15-May-2018 23:56:35.904 general: critical: #8 0x7f561e07bcef in ??
15-May-2018 23:56:35.904 general: critical: #9 0x7f561e05ba09 in ??
15-May-2018 23:56:35.904 general: critical: #10 0x7f561ca12d6b in ??
15-May-2018 23:56:35.904 general: critical: #11 0x7f561bd4be25 in ??
15-May-2018 23:56:35.904 general: critical: #12 0x7f561aff334d in ??
15-May-2018 23:56:35.904 general: critical: exiting (due to assertion failure)
Version information
BIND 9.12.1-P1 (with patches CVE-2018-5736 and CVE-2018-5737 )
BIND 9.12.1-P1-RedHat-9.12.1_P1-1.el7.0 <id:f729b2b>
running on Linux x86_64 3.10.0-693.11.6.el7.x86_64 #1 SMP Thu Dec 28 14:23:39 EST 2017
built by make with '--build=x86_64-koji-linux-gnu' '--host=x86_64-koji-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/opt/named' '--bindir=/opt/named/bin' '--sbindir=/opt/named/sbin' '--sysconfdir=/etc' '--datadir=/opt/named/share' '--includedir=/opt/named/include' '--libdir=/opt/named/lib64' '--libexecdir=/opt/named/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/opt/named/share/man' '--infodir=/opt/named/share/info' '--exec-prefix=/opt/named' '--with-libtool' '--enable-threads' '--enable-ipv6' '--enable-largefile' '--with-randomdev=/dev/urandom' '--with-tuning=large' '--enable-dnstap' '--disable-crypto-rand' '--disable-static' '--disable-openssl-version-check' '--includedir=/opt/named/include/bind9' '--with-docbook-xsl=/opt/named/share/sgml/docbook/xsl-stylesheets' 'build_alias=x86_64-koji-linux-gnu' 'host_alias=x86_64-koji-linux-gnu' 'CFLAGS= -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' 'LDFLAGS=-Wl,-z,relro ' 'CPPFLAGS= -DDIG_SIGCHASE'
compiled by GCC 4.8.5 20150623 (Red Hat 4.8.5-28)
compiled with OpenSSL version: OpenSSL 1.0.2k 26 Jan 2017
linked to OpenSSL version: OpenSSL 1.0.2k-fips 26 Jan 2017
compiled with libxml2 version: 2.9.1
linked to libxml2 version: 20901
compiled with zlib version: 1.2.7
linked to zlib version: 1.2.7
threads support is enabled
OS: Red Hat Enterprise Linux Server release 7.4 (Maipo)