[Bug 1258003] Re: DiG crashes on +nssearch with +tcp in bind9 9.18

2022-03-15 Thread Sergio Durigan Junior
I tested on Focal and Bionic; both are OK.  This is a Jammy issue.

** Also affects: bind9 (Ubuntu Jammy)
   Importance: High
   Status: Triaged

** Bug watch added: gitlab.isc.org/isc-projects/bind9/-/issues #3144
   https://gitlab.isc.org/isc-projects/bind9/-/issues/3144

** Bug watch added: gitlab.isc.org/isc-projects/bind9/-/issues #3207
   https://gitlab.isc.org/isc-projects/bind9/-/issues/3207

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258003

Title:
  DiG crashes on +nssearch with +tcp in bind9 9.18

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1258003/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1258003] Re: DiG crashes on +nssearch with +tcp in bind9 9.18

2022-03-15 Thread Sergio Durigan Junior
I'm repurposing this bug because dig +nssearch is crashing again in
bind9 9.18:

# dig +nssearch isc.org.
SOA ns-int.isc.org. hostmaster.isc.org. 2022031252 7200 3600 24796800 3600 from 
server 149.20.1.73 in 59 ms.
SOA ns-int.isc.org. hostmaster.isc.org. 2022031252 7200 3600 24796800 3600 from 
server 199.6.1.52 in 91 ms.
SOA ns-int.isc.org. hostmaster.isc.org. 2022031252 7200 3600 24796800 3600 from 
server 51.75.79.143 in 159 ms.
SOA ns-int.isc.org. hostmaster.isc.org. 2022031252 7200 3600 24796800 3600 from 
server 199.254.63.254 in 195 ms.
dighost.c:1651: REQUIRE(targetp != ((void *)0) && *targetp == ((void *)0)) 
failed, back trace
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu3-Ubuntu.so(+0x328f3)[0x7fbb937678f3]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu3-Ubuntu.so(isc_assertion_failed+0x10)[0x7fbb93766de0]
dig(+0x16f40)[0x55929fb20f40]
dig(+0xee4e)[0x55929fb18e4e]
dig(+0x1002f)[0x55929fb1a02f]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu3-Ubuntu.so(isc__nm_async_readcb+0xb1)[0x7fbb93755f91]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu3-Ubuntu.so(isc__nm_readcb+0x9b)[0x7fbb937560cb]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu3-Ubuntu.so(+0x22645)[0x7fbb93757645]
/lib/x86_64-linux-gnu/libuv.so.1(uv_run+0xce)[0x7fbb932696de]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu3-Ubuntu.so(+0x261ce)[0x7fbb9375b1ce]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu3-Ubuntu.so(isc__trampoline_run+0x1a)[0x7fbb9378e1ca]
/lib/x86_64-linux-gnu/libc.so.6(+0x94b43)[0x7fbb93321b43]
/lib/x86_64-linux-gnu/libc.so.6(+0x126a00)[0x7fbb933b3a00]
Aborted (core dumped)

The example from the original bug report also crashes for me, with in a
different place:

# dig +time=3 +nssearch +tcp internot.info
dighost.c:1683: INSIST(query->readhandle == ((void *)0)) failed, back trace
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu3-Ubuntu.so(+0x328f3)[0x7f60f32508f3]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu3-Ubuntu.so(isc_assertion_failed+0x10)[0x7f60f324fde0]
dig(+0x1686e)[0x560ec808b86e]
dig(+0x169b9)[0x560ec808b9b9]
dig(+0xcb87)[0x560ec8081b87]
dig(+0x1152a)[0x560ec808652a]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu3-Ubuntu.so(isc__nm_async_readcb+0xb1)[0x7f60f323ef91]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu3-Ubuntu.so(isc__nm_readcb+0x9b)[0x7f60f323f0cb]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu3-Ubuntu.so(isc__nm_tcpdns_processbuffer+0x11b)[0x7f60f32460db]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu3-Ubuntu.so(isc__nm_process_sock_buffer+0x25)[0x7f60f323c0f5]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu3-Ubuntu.so(isc__nm_tcpdns_read_cb+0xbc)[0x7f60f32499dc]
/lib/x86_64-linux-gnu/libuv.so.1(+0x1fe88)[0x7f60f2d63e88]
/lib/x86_64-linux-gnu/libuv.so.1(+0x204d8)[0x7f60f2d644d8]
/lib/x86_64-linux-gnu/libuv.so.1(+0x2511e)[0x7f60f2d6911e]
/lib/x86_64-linux-gnu/libuv.so.1(uv_run+0x678)[0x7f60f2d52c88]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu3-Ubuntu.so(+0x261ce)[0x7f60f32441ce]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu3-Ubuntu.so(isc__trampoline_run+0x1a)[0x7f60f32771ca]
/lib/x86_64-linux-gnu/libc.so.6(+0x94b43)[0x7f60f2e0ab43]
/lib/x86_64-linux-gnu/libc.so.6(+0x126a00)[0x7f60f2e9ca00]

There are a few upstream bugs opened about this; I will link them here.

** Summary changed:

- DiG crashes on +nssearch with +tcp [Outdated in Ubuntu repo]
+ DiG crashes on +nssearch with +tcp in bind9 9.18

** Changed in: bind9 (Ubuntu)
   Status: Confirmed => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258003

Title:
  DiG crashes on +nssearch with +tcp in bind9 9.18

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1258003/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1258003] Re: DiG crashes on +nssearch with +tcp in bind9 9.18

2022-03-15 Thread Sergio Durigan Junior
Upstream bugs:

https://gitlab.isc.org/isc-projects/bind9/-/issues/3144

https://gitlab.isc.org/isc-projects/bind9/-/issues/3207 (somewhat
related; the crash happens at the same place)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258003

Title:
  DiG crashes on +nssearch with +tcp in bind9 9.18

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1258003/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs