"dig @localhost -b 127.0.0.1 ANY" hangs and triggers a crash
Summary
ISC Support Customer reports a minor problem (via support ticket #13746) with dig.
Steps to reproduce
He writes: If I run dig as follows (while not having anything listen on port 53 on "localhost"):
% dig @localhost -b 127.0.0.1 ANY
;; Connection to 127.0.0.1#53(127.0.0.1) for . failed: connection refused.
it hangs here, and if I then tries to terminate it, it crashes as follows:
^Cdighost.c:4161: INSIST(current_lookup == ((void*)0)) failed, back trace
According to his report
- "@localhost"
- "-b 127.0.0.1", and
- (qtype is) "ANY"
are all required in order to trigger the behavior
What is the current bug behavior?
Hangs and then crashes with an INSIST assertion if sent an interrupt signal.
Edited by Ondřej Surý