Package: bind9-dnsutils
Version: 1:9.17.21-1
Severity: normal
Tags: upstream

Dear Maintainer,

Since upstream version 9.17.13, the `dig' utility crashes when using the +trace
and +tcp command-line flags together, for example:

fox@rawr ~> dig +trace +tcp -t a debian.org

; <<>> DiG 9.17.21-1-Debian <<>> +trace +tcp -t a debian.org
;; global options: +cmd
.                       510234  IN      NS      a.root-servers.net.
.                       510234  IN      NS      b.root-servers.net.
.                       510234  IN      NS      c.root-servers.net.
.                       510234  IN      NS      d.root-servers.net.
.                       510234  IN      NS      e.root-servers.net.
.                       510234  IN      NS      f.root-servers.net.
.                       510234  IN      NS      g.root-servers.net.
.                       510234  IN      NS      h.root-servers.net.
.                       510234  IN      NS      i.root-servers.net.
.                       510234  IN      NS      j.root-servers.net.
.                       510234  IN      NS      k.root-servers.net.
.                       510234  IN      NS      l.root-servers.net.
.                       510234  IN      NS      m.root-servers.net.
.                       510234  IN      RRSIG   NS 8 0 518400 20220102050000 
20211220040000 14748 . TfSR/gUwjjIz/OhH1qVcCH94JoRZL+VFLpR5MjtFB9fTxw5sRbZMZk/v 
GXpsdMgcmounzBBZWp1BjJ848ZUOxplxR8dYwZjaj50qqJ2WM36Nxb2e 
nBh4hA7ASPRwsICB/BXG4n9PqSeoH28C9i09k2CD9LadikmKFVIVV29n 
ZJQvdUpBw3U9Gw5QPz8fpXlbkhbsbUubygUvDQwrCKQJmT6URIUVmuSu 
5dDcEMch0FaFsVMNeHW0w09TkHpFRfre842pmPHy9xlirUrfKkX6q5da 
5ctz1zDOsGm9UnHMJyHm/RyVNZMKs8N39gfNNBBmoD6ZSr2pwbMub89Z 8g7atg==
dighost.c:1683: INSIST(query->readhandle == ((void *)0)) failed, back trace
/lib/x86_64-linux-gnu/libisc-9.17.21-1-Debian.so(+0x3565f)[0x7f9f0e1fd65f]
/lib/x86_64-linux-gnu/libisc-9.17.21-1-Debian.so(isc_assertion_failed+0xa)[0x7f9f0e1fd5ba]
dig(+0x11a5e)[0x55b7a18ffa5e]
dig(+0x11ba1)[0x55b7a18ffba1]
dig(+0x12059)[0x55b7a1900059]
dig(+0x15dfc)[0x55b7a1903dfc]
/lib/x86_64-linux-gnu/libisc-9.17.21-1-Debian.so(isc__nm_async_readcb+0xad)[0x7f9f0e1eaf8d]
/lib/x86_64-linux-gnu/libisc-9.17.21-1-Debian.so(isc__nm_readcb+0x97)[0x7f9f0e1eb0b7]
/lib/x86_64-linux-gnu/libisc-9.17.21-1-Debian.so(isc__nm_tcpdns_processbuffer+0x117)[0x7f9f0e1f3347]
/lib/x86_64-linux-gnu/libisc-9.17.21-1-Debian.so(isc__nm_process_sock_buffer+0x21)[0x7f9f0e1e8311]
/lib/x86_64-linux-gnu/libisc-9.17.21-1-Debian.so(isc__nm_tcpdns_read_cb+0xb4)[0x7f9f0e1f3514]
/lib/x86_64-linux-gnu/libuv.so.1(+0x1a061)[0x7f9f0dd38061]
/lib/x86_64-linux-gnu/libuv.so.1(+0x1a988)[0x7f9f0dd38988]
/lib/x86_64-linux-gnu/libuv.so.1(+0x22c75)[0x7f9f0dd40c75]
/lib/x86_64-linux-gnu/libuv.so.1(uv_run+0x114)[0x7f9f0dd2d854]
/lib/x86_64-linux-gnu/libisc-9.17.21-1-Debian.so(+0x248fa)[0x7f9f0e1ec8fa]
/lib/x86_64-linux-gnu/libisc-9.17.21-1-Debian.so(isc__trampoline_run+0x16)[0x7f9f0e224ca6]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8d80)[0x7f9f0df20d80]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f9f0de4bb6f]
fish: Job 1, 'dig +trace +tcp -t a debian.org' terminated by signal SIGABRT 
(Abort)

fox@rawr ~ [SIGABRT]> dig -v
DiG 9.17.21-1-Debian


This affects the bind9 packages currently in `unstable' and `testing'.
Dig version 9.17.12 appears to be the last release unaffected by this bug.


-- Some local testing with upstream sources:

0. git clone https://gitlab.isc.org/isc-projects/bind9.git; cd bind9
1. git checkout <commit>
2. autoreconf -fi; env CFLAGS='-ggdb -Og' ./configure; make -j; cd bin/dig
3. ./dig +trace +tcp -t a debian.org
4. ./dig +trace +notcp -t a debian.org

   Commit  |  Result of [3]                    |  Res. of [4]    (notes)
-----------+-----------------------------------+------------------------
077f024c14 | SIGABRT: dighost.c:1683;2669;1863 | success      (git head)
    ...
0b491913df | SIGABRT: dighost.c:1698;2692;1878 | success    (2021-05-04)
2836bc1854 | SIGABRT: dighost.c:1698;2687;1873 | success    (2021-04-27)
dacf586e18 | SIGSEGV: dighost.c:1875;3998      | SIGSEGV
b5bf58b419 | SIGSEGV: dighost.c:1875;3998      | SIGSEGV
a011d42211 | SIGSEGV: dighost.c:1875;3998      | SIGSEGV
f23afce683 | SIGSEGV: dighost.c:1877;3990      | SIGSEGV
    ...
4d6408b823 | SIGSEGV: dighost.c:1877;3990      | SIGSEGV    (2021-03-29)
3793733704 | success                           | success


-- Debug:

The backtrace reveals _query_detach() raising an assertion that does not hold.

Experimenting with "latest commit, but reverting 4d6408b823" yields a dig that
can produce a trace with DNS over TCP, but not over UDP, which hangs and aborts
with leaky memory.

The resulting bodge to dighost.c can be used in debugging to skip the crash:

(ref upstream 077f024c14)

  1679     debug("%s:%u:query_detach(%p) = %" PRIuFAST32, file, line, query,
  1680           isc_refcount_current(&query->references) - 1);
  1681
+ 1682     if (lookup->tcp_mode) {
+ 1683         if (ISC_LINK_LINKED(query, link)) {
+ 1684             ISC_LIST_UNLINK(lookup->q, query, link);
+ 1685         }
+ 1686     }
+ 1687
  1688     if (isc_refcount_decrement(&query->references) == 1) {
  1689         INSIST(query->readhandle == NULL);
  1690         INSIST(query->sendhandle == NULL);


-- Backtrace:

fox@rawr:/dev/shm/hehe/zz/bin/dig$ env 
LD_LIBRARY_PATH="/dev/shm/hehe/zz/lib/isc/.libs:/dev/shm/hehe/zz/lib/dns/.libs:/dev/shm/hehe/zz/lib/isccfg/.libs:/dev/shm/hehe/zz/lib/irs/.libs:/dev/shm/hehe/zz/lib/bind9/.libs:$LD_LIBRARY_PATH"
 gdb .libs/dig
GNU gdb (Debian 10.1-2) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from .libs/dig...
(gdb) set args +trace +tcp debian.org -4
(gdb) b dighost.c:1683
Breakpoint 1 at 0x10f3a: file dighost.c, line 1683.
(gdb) run
Starting program: /dev/shm/hehe/zz/bin/dig/.libs/dig +trace +tcp debian.org -4
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff41ff640 (LWP 802748)]

; <<>> DiG 9.17.21 <<>> +trace +tcp debian.org -4
;; global options: +cmd
.                       515328  IN      NS      a.root-servers.net.
.                       515328  IN      NS      b.root-servers.net.
.                       515328  IN      NS      c.root-servers.net.
.                       515328  IN      NS      d.root-servers.net.
.                       515328  IN      NS      e.root-servers.net.
.                       515328  IN      NS      f.root-servers.net.
.                       515328  IN      NS      g.root-servers.net.
.                       515328  IN      NS      h.root-servers.net.
.                       515328  IN      NS      i.root-servers.net.
.                       515328  IN      NS      j.root-servers.net.
.                       515328  IN      NS      k.root-servers.net.
.                       515328  IN      NS      l.root-servers.net.
.                       515328  IN      NS      m.root-servers.net.
.                       515328  IN      RRSIG   NS 8 0 518400 20220103050000 
20211221040000 14748 . fmrvD57QHC6MDhqdEjCrYV8n/qBWjfG1N3MFq6yFCV7kCH4Ab7tYXrH+ 
CvsYZtNBh5+Tsxr/SLxQlPUYOBdKp9JKt3C9UblSrkGIkPIPK8Taq3qg 
AuZdSPCaQYwwwqTM4dvewaqYq5C/2C1K/F7I2LhdaGUGQ2xSTjwiPpKt 
7s6WydDM6xKC/ncqVwV+ck/3IBEMuMp5JWyzPxNKg3vUygCOOsh71gPK 
6FUnwmF9QUoFa9UZ6xNmBfdIuzor0noI0jTxUWKdI/yuD3JKorez/TeA 
ccYjdPAmhRVL38oqzzrqXB+vEmSdFEFTbaOrI4IuFbs3kH+4FFZm27vE 5K81jA==
[Switching to Thread 0x7ffff41ff640 (LWP 802748)]

Thread 2 "isc-net-0000" hit Breakpoint 1, _query_detach (queryp=<optimized 
out>, file=0x55555556ce62 "dighost.c", line=2669) at dighost.c:1683
1683                    INSIST(query->readhandle == NULL);
(gdb) info locals
query = 0x7ffff3434000
lookup = 0x7ffff479f800
(gdb) p *query
$1 = {magic = 1147758449, lookup = 0x7ffff479f800, first_pass = true, 
first_soa_rcvd = false, second_rr_rcvd = false, first_repeat_rcvd = false,
  warn_id = true, first_rr_serial = 0, second_rr_serial = 0, msg_count = 0, 
rr_count = 0, ixfr_axfr = false,
  servname = 0x7ffff3412000 "1.1.1.1", userarg = 0x7ffff3412400 "1.1.1.1", 
sendbuf = {magic = 1114990113, base = 0x7ffff341c6c0, length = 65535,
    used = 40, current = 0, active = 0, link = {prev = 0xffffffffffffffff, next 
= 0xffffffffffffffff}, mctx = 0x0, autore = false},
  recvspace = 0x7ffff343b040 "", tmpsendspace = 0x7ffff344c1c0 "", lengthspace 
= "\000\000\000", references = 0, handle = 0x7ffff3430180,
  readhandle = 0x7ffff3430180, sendhandle = 0x0, link = {prev = 
0xffffffffffffffff, next = 0xffffffffffffffff}, clink = {
    prev = 0xffffffffffffffff, next = 0xffffffffffffffff}, sockaddr = {type = 
{sa = {sa_family = 2,
        sa_data = "\000\065\001\001\001\001\000\000\000\000\000\000\000"}, sin 
= {sin_family = 2, sin_port = 13568, sin_addr = {
          s_addr = 16843009}, sin_zero = "\000\000\000\000\000\000\000"}, sin6 
= {sin6_family = 2, sin6_port = 13568, sin6_flowinfo = 16843009,
        sin6_addr = {__in6_u = {__u6_addr8 = '\000' <repeats 15 times>, 
__u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}},
        sin6_scope_id = 0}, ss = {ss_family = 2, __ss_padding = 
"\000\065\001\001\001\001", '\000' <repeats 111 times>, __ss_align = 0},
      sunix = {sun_family = 2, sun_path = "\000\065\001\001\001\001", '\000' 
<repeats 101 times>}}, length = 16, link = {
      prev = 0xffffffffffffffff, next = 0xffffffffffffffff}}, time_sent = 
{seconds = 1640097286, nanoseconds = 378909904}, time_recv = {
    seconds = 1640097286, nanoseconds = 418911365}, byte_count = 0, timer = 
0x0, tlsctx = 0x0}
(gdb) p *lookup
$2 = {magic = 1147758444, references = 5, aaonly = false, adflag = true, 
badcookie = true, besteffort = true, cdflag = false, comments = false,
  dns64prefix = false, dnssec = true, doing_xfr = false, done_as_is = true, 
ednsneg = true, expandaaaa = false, expire = false,
  header_only = false, identify = true, identify_previous_line = false, idnin = 
false, idnout = false, ignore = false, mapped = true,
  multiline = false, need_search = false, new_search = true, noclass = false, 
nocrypto = false, nottl = false, ns_search_only = false,
  nsid = false, onesoa = false, pending = true, print_unknown_format = false, 
qr = false, raflag = false, recurse = true,
  section_additional = false, section_answer = true, section_authority = true, 
section_question = false, seenbadcookie = false,
  sendcookie = true, servfail_stops = true, setqid = false, showbadcookie = 
false, stats = false, tcflag = false, tcp_keepalive = false,
  tcp_mode = true, tcp_mode_set = true, tls_mode = false, trace = true, 
trace_root = true, ttlunits = false, use_usec = false,
  waiting_connect = false, zflag = false, textname = "debian.org", '\000' 
<repeats 1013 times>,
  cmdline = "\000; <<>> DiG 9.17.21 <<>> +trace +tcp debian.org -4\n;; global 
options: +cmd\n", '\000' <repeats 948 times>, rdtype = 1,
  qrdtype = 1, rdclass = 1, rdtypeset = false, rdclassset = false, name_space = 
'\000' <repeats 511 times>,
  oname_space = '\000' <repeats 511 times>, namebuf = {magic = 1114990113, base 
= 0x7ffff47a0050, length = 512, used = 0, current = 0,
    active = 0, link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}, 
mctx = 0x0, autore = false}, onamebuf = {magic = 1114990113,
    base = 0x7ffff47a0250, length = 512, used = 0, current = 0, active = 0, 
link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff},
    mctx = 0x0, autore = false}, renderbuf = {magic = 1114990113, base = 
0x7ffff341c6c0, length = 65535, used = 40, current = 0, active = 0,
    link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}, mctx = 0x0, 
autore = false}, sendspace = 0x7ffff341c6c0 "tp\001 ",
  name = 0x7ffff3400a00, interval = {seconds = 0, nanoseconds = 0}, sendmsg = 
0x7ffff3400000, oname = 0x0, link = {prev = 0xffffffffffffffff,
    next = 0xffffffffffffffff}, q = {head = 0x7ffff34341c0, tail = 
0x7ffff3434380}, connecting = {head = 0x0, tail = 0x0}, current_query = 0x0,
  my_server_list = {head = 0x7ffff3412000, tail = 0x7ffff3413400}, origin = 
0x0, xfr_q = 0x0, retries = 3, nsfound = 1, udpsize = 1232,
  edns = 0, padding = 0, ixfr_serial = 0, rdatabuf = {magic = 0, base = 0x0, 
length = 0, used = 0, current = 0, active = 0, link = {prev = 0x0,
      next = 0x0}, mctx = 0x0, autore = false}, rdatastore = '\000' <repeats 
1023 times>, tsigctx = 0x0, querysig = 0x0, msgcounter = 0,
  fdomain = {name = {magic = 1145983854, ndata = 0x7ffff47a0b10 "", length = 0, 
labels = 0, attributes = 0, offsets = 0x7ffff47a0a50 "",
      buffer = 0x7ffff47a0ad0, link = {prev = 0xffffffffffffffff, next = 
0xffffffffffffffff}, list = {head = 0x0, tail = 0x0}},
    offsets = '\000' <repeats 127 times>, buffer = {magic = 1114990113, base = 
0x7ffff47a0b10, length = 255, used = 0, current = 0, active = 0,
      link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}, mctx = 
0x0, autore = false}, data = '\000' <repeats 254 times>},
  ecs_addr = 0x0, cookie = 0x0, ednsopts = 0x0, ednsoptscnt = 0, dscp = -1, 
ednsflags = 0, opcode = 0, rrcomments = 0, eoferr = 0, qid = 0, {
    http_plain = false, https_mode = false, https_get = false, https_path = 
0x0}}
(gdb) bt
#0  _query_detach (queryp=<optimized out>, file=0x55555556ce62 "dighost.c", 
line=2669) at dighost.c:1683
#1  0x00005555555651a3 in _cancel_lookup (lookup=0x7ffff479f800, 
file=<optimized out>, line=<optimized out>) at dighost.c:2669
#2  0x00005555555657b4 in followup_lookup (msg=0x7ffff3400c80, 
query=0x7ffff3434000, section=1) at dighost.c:1863
#3  0x0000555555569131 in recv_done (handle=0x7ffff3430180, eresult=<optimized 
out>, region=0x7ffff41fa000, arg=<optimized out>)
    at dighost.c:4007
#4  0x00007ffff7a5b1ff in isc__nm_async_readcb (worker=worker@entry=0x0, 
ev0=ev0@entry=0x7ffff41fa040) at netmgr/netmgr.c:2807
#5  0x00007ffff7a5b334 in isc__nm_readcb (sock=sock@entry=0x7ffff3413e00, 
uvreq=uvreq@entry=0x7ffff34b1800, eresult=eresult@entry=ISC_R_SUCCESS)
    at netmgr/netmgr.c:2780
#6  0x00007ffff7a62523 in isc__nm_tcpdns_processbuffer (sock=0x7ffff3413e00) at 
netmgr/tcpdns.c:816
#7  0x00007ffff7a55a7f in processbuffer (sock=sock@entry=0x7ffff3413e00) at 
netmgr/netmgr.c:2306
#8  0x00007ffff7a58396 in isc__nm_process_sock_buffer 
(sock=sock@entry=0x7ffff3413e00) at netmgr/netmgr.c:2331
#9  0x00007ffff7a626f5 in isc__nm_tcpdns_read_cb (stream=<optimized out>, 
nread=1099, buf=0x7ffff41fa140) at netmgr/tcpdns.c:878
#10 0x00007ffff75b2061 in ?? () from /lib/x86_64-linux-gnu/libuv.so.1
#11 0x00007ffff75b2988 in ?? () from /lib/x86_64-linux-gnu/libuv.so.1
#12 0x00007ffff75bac75 in ?? () from /lib/x86_64-linux-gnu/libuv.so.1
#13 0x00007ffff75a7854 in uv_run () from /lib/x86_64-linux-gnu/libuv.so.1
#14 0x00007ffff7a5bf15 in nm_thread (worker0=0x7ffff462c000) at 
netmgr/netmgr.c:689
#15 0x00007ffff7a90a19 in isc__trampoline_run (arg=0x5555555a7e60) at 
trampoline.c:185
#16 0x00007ffff779ad80 in start_thread (arg=0x7ffff41ff640) at 
pthread_create.c:481
#17 0x00007ffff76c5b6f in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) next
dighost.c:1683: INSIST(query->readhandle == ((void *)0)) failed, back trace
/dev/shm/hehe/zz/lib/isc/.libs/libisc-9.17.21.so(+0x338c9)[0x7ffff7a6b8c9]
/dev/shm/hehe/zz/lib/isc/.libs/libisc-9.17.21.so(isc_assertion_failed+0xa)[0x7ffff7a6b839]
/dev/shm/hehe/zz/bin/dig/.libs/dig(+0x10ff8)[0x555555564ff8]
/dev/shm/hehe/zz/bin/dig/.libs/dig(+0x111a3)[0x5555555651a3]
/dev/shm/hehe/zz/bin/dig/.libs/dig(+0x117b4)[0x5555555657b4]
/dev/shm/hehe/zz/bin/dig/.libs/dig(+0x15131)[0x555555569131]
/dev/shm/hehe/zz/lib/isc/.libs/libisc-9.17.21.so(isc__nm_async_readcb+0xa5)[0x7ffff7a5b1ff]
/dev/shm/hehe/zz/lib/isc/.libs/libisc-9.17.21.so(isc__nm_readcb+0xab)[0x7ffff7a5b334]
/dev/shm/hehe/zz/lib/isc/.libs/libisc-9.17.21.so(isc__nm_tcpdns_processbuffer+0x107)[0x7ffff7a62523]
/dev/shm/hehe/zz/lib/isc/.libs/libisc-9.17.21.so(+0x1da7f)[0x7ffff7a55a7f]
/dev/shm/hehe/zz/lib/isc/.libs/libisc-9.17.21.so(isc__nm_process_sock_buffer+0x18)[0x7ffff7a58396]
/dev/shm/hehe/zz/lib/isc/.libs/libisc-9.17.21.so(isc__nm_tcpdns_read_cb+0xc2)[0x7ffff7a626f5]
/lib/x86_64-linux-gnu/libuv.so.1(+0x1a061)[0x7ffff75b2061]
/lib/x86_64-linux-gnu/libuv.so.1(+0x1a988)[0x7ffff75b2988]
/lib/x86_64-linux-gnu/libuv.so.1(+0x22c75)[0x7ffff75bac75]
/lib/x86_64-linux-gnu/libuv.so.1(uv_run+0x114)[0x7ffff75a7854]
/dev/shm/hehe/zz/lib/isc/.libs/libisc-9.17.21.so(+0x23f15)[0x7ffff7a5bf15]
/dev/shm/hehe/zz/lib/isc/.libs/libisc-9.17.21.so(isc__trampoline_run+0x15)[0x7ffff7a90a19]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8d80)[0x7ffff779ad80]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7ffff76c5b6f]

Thread 2 "isc-net-0000" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
49      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#1  0x00007ffff75ef536 in __GI_abort () at abort.c:79
#2  0x00007ffff7a6b83e in isc_assertion_failed (file=<optimized out>, 
line=<optimized out>, type=<optimized out>, cond=<optimized out>)
    at assertions.c:48
#3  0x0000555555564ff8 in _query_detach (queryp=<optimized out>, 
file=0x55555556ce62 "dighost.c", line=2669) at dighost.c:1683
#4  0x00005555555651a3 in _cancel_lookup (lookup=0x7ffff479f800, 
file=<optimized out>, line=<optimized out>) at dighost.c:2669
#5  0x00005555555657b4 in followup_lookup (msg=0x7ffff3400c80, 
query=0x7ffff3434000, section=1) at dighost.c:1863
#6  0x0000555555569131 in recv_done (handle=0x7ffff3430180, eresult=<optimized 
out>, region=0x7ffff41fa000, arg=<optimized out>)
    at dighost.c:4007
#7  0x00007ffff7a5b1ff in isc__nm_async_readcb (worker=worker@entry=0x0, 
ev0=ev0@entry=0x7ffff41fa040) at netmgr/netmgr.c:2807
#8  0x00007ffff7a5b334 in isc__nm_readcb (sock=sock@entry=0x7ffff3413e00, 
uvreq=uvreq@entry=0x7ffff34b1800, eresult=eresult@entry=ISC_R_SUCCESS)
    at netmgr/netmgr.c:2780
#9  0x00007ffff7a62523 in isc__nm_tcpdns_processbuffer (sock=0x7ffff3413e00) at 
netmgr/tcpdns.c:816
#10 0x00007ffff7a55a7f in processbuffer (sock=sock@entry=0x7ffff3413e00) at 
netmgr/netmgr.c:2306
#11 0x00007ffff7a58396 in isc__nm_process_sock_buffer 
(sock=sock@entry=0x7ffff3413e00) at netmgr/netmgr.c:2331
#12 0x00007ffff7a626f5 in isc__nm_tcpdns_read_cb (stream=<optimized out>, 
nread=1099, buf=0x7ffff41fa140) at netmgr/tcpdns.c:878
#13 0x00007ffff75b2061 in ?? () from /lib/x86_64-linux-gnu/libuv.so.1
#14 0x00007ffff75b2988 in ?? () from /lib/x86_64-linux-gnu/libuv.so.1
#15 0x00007ffff75bac75 in ?? () from /lib/x86_64-linux-gnu/libuv.so.1
#16 0x00007ffff75a7854 in uv_run () from /lib/x86_64-linux-gnu/libuv.so.1
#17 0x00007ffff7a5bf15 in nm_thread (worker0=0x7ffff462c000) at 
netmgr/netmgr.c:689
#18 0x00007ffff7a90a19 in isc__trampoline_run (arg=0x5555555a7e60) at 
trampoline.c:185
#19 0x00007ffff779ad80 in start_thread (arg=0x7ffff41ff640) at 
pthread_create.c:481
#20 0x00007ffff76c5b6f in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb)


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.15.0-2-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bind9-dnsutils depends on:
ii  bind9-host [host]  1:9.17.21-1
ii  bind9-libs         1:9.17.21-1
ii  libc6              2.33-1
ii  libedit2           3.1-20210910-1
ii  libidn2-0          2.3.2-2
ii  libkrb5-3          1.18.3-7
ii  libprotobuf-c1     1.3.3-1+b2

bind9-dnsutils recommends no packages.

bind9-dnsutils suggests no packages.

-- no debconf information

Reply via email to