Assertion failure in socket.c (9.13.5) -- INSIST(((sock->send_list).head == ((void *)0)))
Summary
A user has reported an assertion failure in socket.c [INSIST(((sock->send_list).head == ((void *)0)))] to us via security-officer mail.
BIND version used
Reported against 9.13.5.
bind: bind913-9.13.5_2 (running as caching resolver only) OS: FreeBSD 12 (amd64)
Steps to reproduce
Currently unknown.
Submitter email follows:
As per request on your gitlab instance I'm sending
this bugreport via email since it includes an assertion failure
bind: bind913-9.13.5_2 (running as caching resolver only)
OS: FreeBSD 12 (amd64)
BIND died with the following in the log:
general: critical: socket.c:2763: INSIST(((sock->send_list).head == ((void *)0))) failed, back trace
general: critical: #0 0x2ba5c0 in ??
general: critical: #1 0x48501a in ??
general: critical: #2 0x4abcdb in ??
general: critical: #3 0x34325d in ??
general: critical: #4 0x34274f in ??
general: critical: #5 0x4a17be in ??
general: critical: #6 0x800a48776 in ??
general: critical: exiting (due to assertion failure)
kernel: pid .. (named), uid 53: exited on signal 6
no dump file has been created.
some more version information:
compiled by CLANG 4.2.1 Compatible FreeBSD Clang 6.0.1 (tags/RELEASE_601/final 335540)
compiled with OpenSSL version: OpenSSL 1.1.1a-freebsd 20 Nov 2018
linked to OpenSSL version: OpenSSL 1.1.1a-freebsd 20 Nov 2018
compiled with libxml2 version: 2.9.8
linked to libxml2 version: 20908
compiled with libjson-c version: 0.13.1
linked to libjson-c version: 0.13.1
compiled with zlib version: 1.2.11
linked to zlib version: 1.2.11
excerpt from the config:
options {
directory "/usr/local/etc/namedb/working";
pid-file "/var/run/named/pid";
dump-file "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";
qname-minimization relaxed;
dnssec-validation auto;
listen-on { 127.0.0.1; };
listen-on-v6 { none; };
query-source address x.x.x.x port *;
query-source-v6 address xxx:xxxx port *;
max-cache-size 2000m;
version none;
hostname none;
disable-empty-zone "255.255.255.255.IN-ADDR.ARPA";
disable-empty-zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA";
disable-empty-zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA";
};