Public bug reported:

LP: #1964264 reported `host` intermittent crashes when performing
numeric lookups.

I could reproduce the issue by running the command below a few times in
a new jammy installation. I was also able to reproduce the issue in
Debian.

Since LP: #1964264 is private and contains a user's core dump. I am
filing a new bug report so we can publicly address the issue.

# host -v 192.108.254.91
Trying "91.254.108.192.in-addr.arpa"
netmgr/netmgr.c:1731: REQUIRE((((handle) != ((void *)0) && ((const isc__magic_t 
*)(handle))->magic == ((('N') << 24 | ('M') << 16 | ('H') << 8 | ('D')))) && 
__extension__ ({ __auto_type __atomic_load_ptr = (&(handle)->references); 
__typeof__ ((void)0, *__atomic_load_ptr) __atomic_load_tmp; __atomic_load 
(__atomic_load_ptr, &__atomic_load_tmp, (5)); __atomic_load_tmp; }) > 0)) 
failed, back trace
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu2-Ubuntu.so(+0x32953)[0x7fbb5b941953]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu2-Ubuntu.so(isc_assertion_failed+0x10)[0x7fbb5b940e40]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu2-Ubuntu.so(isc__nmhandle_attach+0x67)[0x7fbb5b92a7e7]
host(+0xea22)[0x55e9ea129a22]
host(+0xee85)[0x55e9ea129e85]
host(+0x117c0)[0x55e9ea12c7c0]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu2-Ubuntu.so(isc__nm_async_readcb+0xb1)[0x7fbb5b92fff1]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu2-Ubuntu.so(isc__nm_readcb+0x9b)[0x7fbb5b93012b]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu2-Ubuntu.so(+0x2f980)[0x7fbb5b93e980]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu2-Ubuntu.so(isc__nm_udp_read_cb+0x4a)[0x7fbb5b93eb1a]
/lib/x86_64-linux-gnu/libuv.so.1(+0x23e6b)[0x7fbb5b457e6b]
/lib/x86_64-linux-gnu/libuv.so.1(+0x2511e)[0x7fbb5b45911e]
/lib/x86_64-linux-gnu/libuv.so.1(uv_run+0x678)[0x7fbb5b442c88]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu2-Ubuntu.so(+0x2622e)[0x7fbb5b93522e]
/lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu2-Ubuntu.so(isc__trampoline_run+0x1a)[0x7fbb5b96822a]
/lib/x86_64-linux-gnu/libc.so.6(+0x98b43)[0x7fbb5b4feb43]
/lib/x86_64-linux-gnu/libc.so.6(+0x12ab80)[0x7fbb5b590b80]
Aborted (core dumped)

Same in Debian unstable with bind 9.18.0-2:

# host -v 192.108.254.91
Trying "91.254.108.192.in-addr.arpa"
Host 91.254.108.192.in-addr.arpa not found: 2(SERVFAIL)
Received 45 bytes from 10.46.19.1#53 in 912 ms
Trying "91.254.108.192.in-addr.arpa"
Host 91.254.108.192.in-addr.arpa not found: 2(SERVFAIL)
Received 45 bytes from 10.46.19.1#53 in 804 ms
Trying "91.254.108.192.in-addr.arpa"
netmgr/netmgr.c:1731: REQUIRE((((handle) != ((void *)0) && ((const isc__magic_t 
*)(handle))->magic == ((('N') << 24 | ('M') << 16 | ('H') << 8 | ('D')))) && 
__extension__ ({ __auto_type __atomic_load_ptr = (&(handle)->references); 
__typeof__ ((void)0, *__atomic_load_ptr) __atomic_load_tmp; __atomic_load 
(__atomic_load_ptr, &__atomic_load_tmp, (5)); __atomic_load_tmp; }) > 0)) 
failed, back trace
/lib/x86_64-linux-gnu/libisc-9.18.0-2-Debian.so(+0x358df)[0x7fce568e68df]
/lib/x86_64-linux-gnu/libisc-9.18.0-2-Debian.so(isc_assertion_failed+0xa)[0x7fce568e683a]
/lib/x86_64-linux-gnu/libisc-9.18.0-2-Debian.so(isc__nmhandle_attach+0x63)[0x7fce568d0bd3]
host(+0xe39a)[0x559b350c939a]
host(+0xf295)[0x559b350ca295]
host(+0x1173b)[0x559b350cc73b]
/lib/x86_64-linux-gnu/libisc-9.18.0-2-Debian.so(isc__nm_async_readcb+0xad)[0x7fce568d408d]
/lib/x86_64-linux-gnu/libisc-9.18.0-2-Debian.so(isc__nm_readcb+0x97)[0x7fce568d41b7]
/lib/x86_64-linux-gnu/libisc-9.18.0-2-Debian.so(+0x31098)[0x7fce568e2098]
/lib/x86_64-linux-gnu/libisc-9.18.0-2-Debian.so(isc__nm_udp_read_cb+0x46)[0x7fce568e3876]
/lib/x86_64-linux-gnu/libuv.so.1(+0x1f08b)[0x7fce5641608b]
/lib/x86_64-linux-gnu/libuv.so.1(+0x22e65)[0x7fce56419e65]
/lib/x86_64-linux-gnu/libuv.so.1(uv_run+0x114)[0x7fce56406894]
/lib/x86_64-linux-gnu/libisc-9.18.0-2-Debian.so(+0x249fa)[0x7fce568d59fa]
/lib/x86_64-linux-gnu/libisc-9.18.0-2-Debian.so(isc__trampoline_run+0x16)[0x7fce5690e9a6]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7d80)[0x7fce56608d80]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fce5652276f]
Aborted (core dumped)

** Affects: bind9 (Ubuntu)
     Importance: High
         Status: Triaged


** Tags: server-todo

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

** Changed in: bind9 (Ubuntu)
   Importance: Undecided => High

** Tags added: server-todo

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

Title:
  host crashes with SIGABRT in isc_assertion_failed()

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to