The dig and host commands give incomplete results or (sometimes) give core dump on Ubuntu 22.04. Both commands are on version "9.18.1-1ubuntu1-Ubuntu."
When I run them like this:
$ dig google.com +nssearch
$ host -C google.com
most of the times the output is incomplete (no output or only a single line) and the other times they core dump. This happens on x86_64 systems. On aarch64 systems, they output some lines and then they hang.
All systems are Ubuntu 22.04 and command versions are the same as given above. Previous versions do not exhibit this problem.
Sample run:
$ dig google.com +nssearch
$ dig google.com +nssearch
$ dig google.com +nssearch
SOA ns1.google.com. dns-admin.google.com. 444034222 900 900 1800 60 from server 216.239.38.10 in 0 ms.
$ dig google.com +nssearch
SOA ns1.google.com. dns-admin.google.com. 444217784 900 900 1800 60 from server 216.239.32.10 in 8 ms.
$ dig google.com +nssearch
SOA ns1.google.com. dns-admin.google.com. 444034222 900 900 1800 60 from server 216.239.34.10 in 0 ms.
dighost.c:1517: INSIST((uint_fast32_t) __extension__ ({ __auto_type __atomic_load_ptr = ((&recvcount)); __typeof__ ((void)0, *__atomic_load_ptr) __atomic_load_tmp; __atomic_load (__atomic_load_ptr, &__atomic_load_tmp, (memory_order_acquire)); __atomic_load_tmp; }) == 0) failed, back trace
/lib/x86_64-linux-gnu/libisc-9.18.1-1ubuntu1-Ubuntu.so(+0x32083)[0x7f821fafc083]
/lib/x86_64-linux-gnu/libisc-9.18.1-1ubuntu1-Ubuntu.so(isc_assertion_failed+0x10)[0x7f821fafb570]
dig(+0x11de1)[0x55afb566fde1]
dig(+0xc7cd)[0x55afb566a7cd]
dig(+0xfdc2)[0x55afb566ddc2]
/lib/x86_64-linux-gnu/libisc-9.18.1-1ubuntu1-Ubuntu.so(isc__nm_async_readcb+0xb1)[0x7f821faeac41]
/lib/x86_64-linux-gnu/libisc-9.18.1-1ubuntu1-Ubuntu.so(isc__nm_readcb+0x9b)[0x7f821faead7b]
/lib/x86_64-linux-gnu/libisc-9.18.1-1ubuntu1-Ubuntu.so(+0x2b0d0)[0x7f821faf50d0]
/lib/x86_64-linux-gnu/libisc-9.18.1-1ubuntu1-Ubuntu.so(isc__nm_udp_read_cb+0x4a)[0x7f821faf526a]
/lib/x86_64-linux-gnu/libuv.so.1(+0x23e6b)[0x7f821f612e6b]
/lib/x86_64-linux-gnu/libuv.so.1(+0x2511e)[0x7f821f61411e]
/lib/x86_64-linux-gnu/libuv.so.1(uv_run+0x678)[0x7f821f5fdc88]
/lib/x86_64-linux-gnu/libisc-9.18.1-1ubuntu1-Ubuntu.so(+0x25eae)[0x7f821faefeae]
/lib/x86_64-linux-gnu/libisc-9.18.1-1ubuntu1-Ubuntu.so(isc__trampoline_run+0x1a)[0x7f821fb1f7ba]
/lib/x86_64-linux-gnu/libc.so.6(+0x94b43)[0x7f821f6b5b43]
/lib/x86_64-linux-gnu/libc.so.6(+0x126a00)[0x7f821f747a00]
Aborted (core dumped)
The dig and host commands give incomplete results or (sometimes) give core dump on Ubuntu 22.04. Both commands are on version "9.18.1- 1ubuntu1- Ubuntu. "
When I run them like this:
$ dig google.com +nssearch
$ host -C google.com
most of the times the output is incomplete (no output or only a single line) and the other times they core dump. This happens on x86_64 systems. On aarch64 systems, they output some lines and then they hang.
All systems are Ubuntu 22.04 and command versions are the same as given above. Previous versions do not exhibit this problem.
Sample run:
$ dig google.com +nssearch google. com. 444034222 900 900 1800 60 from server 216.239.38.10 in 0 ms. google. com. 444217784 900 900 1800 60 from server 216.239.32.10 in 8 ms. google. com. 444034222 900 900 1800 60 from server 216.239.34.10 in 0 ms. (uint_fast32_ t) __extension__ ({ __auto_type __atomic_load_ptr = ((&recvcount)); __typeof__ ((void)0, *__atomic_load_ptr) __atomic_load_tmp; __atomic_load (__atomic_load_ptr, &__atomic_load_tmp, (memory_ order_acquire) ); __atomic_load_tmp; }) == 0) failed, back trace 64-linux- gnu/libisc- 9.18.1- 1ubuntu1- Ubuntu. so(+0x32083) [0x7f821fafc083 ] 64-linux- gnu/libisc- 9.18.1- 1ubuntu1- Ubuntu. so(isc_ assertion_ failed+ 0x10)[0x7f821fa fb570] [0x55afb566fde1 ] [0x55afb566a7cd ] [0x55afb566ddc2 ] 64-linux- gnu/libisc- 9.18.1- 1ubuntu1- Ubuntu. so(isc_ _nm_async_ readcb+ 0xb1)[0x7f821fa eac41] 64-linux- gnu/libisc- 9.18.1- 1ubuntu1- Ubuntu. so(isc_ _nm_readcb+ 0x9b)[0x7f821fa ead7b] 64-linux- gnu/libisc- 9.18.1- 1ubuntu1- Ubuntu. so(+0x2b0d0) [0x7f821faf50d0 ] 64-linux- gnu/libisc- 9.18.1- 1ubuntu1- Ubuntu. so(isc_ _nm_udp_ read_cb+ 0x4a)[0x7f821fa f526a] 64-linux- gnu/libuv. so.1(+0x23e6b) [0x7f821f612e6b ] 64-linux- gnu/libuv. so.1(+0x2511e) [0x7f821f61411e ] 64-linux- gnu/libuv. so.1(uv_ run+0x678) [0x7f821f5fdc88 ] 64-linux- gnu/libisc- 9.18.1- 1ubuntu1- Ubuntu. so(+0x25eae) [0x7f821faefeae ] 64-linux- gnu/libisc- 9.18.1- 1ubuntu1- Ubuntu. so(isc_ _trampoline_ run+0x1a) [0x7f821fb1f7ba ] 64-linux- gnu/libc. so.6(+0x94b43) [0x7f821f6b5b43 ] 64-linux- gnu/libc. so.6(+0x126a00) [0x7f821f747a00 ]
$ dig google.com +nssearch
$ dig google.com +nssearch
SOA ns1.google.com. dns-admin.
$ dig google.com +nssearch
SOA ns1.google.com. dns-admin.
$ dig google.com +nssearch
SOA ns1.google.com. dns-admin.
dighost.c:1517: INSIST(
/lib/x86_
/lib/x86_
dig(+0x11de1)
dig(+0xc7cd)
dig(+0xfdc2)
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
Aborted (core dumped)