I have tried reproducing the crash using the steps provided by you (inside a Jammy amd64 container), but I got the same results as Lucas: "dig google.com +nssearch" would hang there indefinitely, but won't crash.
I was able to make it crash when I appended "+tcp" to the command:
but the assertion that's been triggered is different than the one you're seeing.
Unfortunately there are several problems with dig on bind9 9.18.1, so it's hard to determine if these two errors are the same. I'd like to ask for your help in testing a possible fix for this problem. If I prepare a PPA with a candidate fix, would you be able to give it a try and let me know the results?
Thanks for the bug report, Fedon.
I have tried reproducing the crash using the steps provided by you (inside a Jammy amd64 container), but I got the same results as Lucas: "dig google.com +nssearch" would hang there indefinitely, but won't crash.
I was able to make it crash when I appended "+tcp" to the command:
# dig google.com +nssearch +tcp query-> readhandle == ((void *)0)) failed, back trace 64-linux- gnu/libisc- 9.18.1- 1ubuntu1- Ubuntu. so(+0x32083) [0x7f193d786083 ] 64-linux- gnu/libisc- 9.18.1- 1ubuntu1- Ubuntu. so(isc_ assertion_ failed+ 0x10)[0x7f193d7 85570]
dighost.c:1683: INSIST(
/lib/x86_
/lib/x86_
...
but the assertion that's been triggered is different than the one you're seeing.
Unfortunately there are several problems with dig on bind9 9.18.1, so it's hard to determine if these two errors are the same. I'd like to ask for your help in testing a possible fix for this problem. If I prepare a PPA with a candidate fix, would you be able to give it a try and let me know the results?
Thanks in advance.