dig crashed in tcp_connected() on OpenBSD
dig
crashed on OpenBSD. We don't have the core because the CI job hung.
S:zero:2020-11-09T11:02:53+0000
T:zero:1:A
A:zero:System test zero
I:zero:PORTS:15033,15034,15035,15036,15037,15038,15039,15040,15041,15042
I:zero:starting servers
I:zero:check lookups against TTL=0 records (1)
I:zero:successfully completed pass 1 of 10
I:zero:successfully completed pass 2 of 10
I:zero:successfully completed pass 3 of 10
I:zero:successfully completed pass 4 of 10
Abort trap (core dumped)
I:zero:failed
I:zero:check repeated recursive lookups of non recurring TTL=0 responses get new values (2)
I:zero:check lookups against TTL=1 records (3)
I:zero:successfully completed pass 1 of 10
I:zero:successfully completed pass 2 of 10
I:zero:successfully completed pass 3 of 10
I:zero:successfully completed pass 4 of 10
I:zero:successfully completed pass 5 of 10
I:zero:successfully completed pass 6 of 10
I:zero:successfully completed pass 7 of 10
I:zero:successfully completed pass 8 of 10
I:zero:successfully completed pass 9 of 10
I:zero:successfully completed pass 10 of 10
I:zero:exit status: 1
I:zero:stopping servers
I:zero:Core dump(s) found: zero/dig.core
D:zero:backtrace from zero/dig.core:
D:zero:--------------------------------------------------------------------------------
D:zero:Core was generated by `dig'.
D:zero:Program terminated with signal SIGABRT, Aborted.
D:zero:#0 thrkill () at /tmp/-:3
D:zero:[Current thread is 1 (process 175366)]
D:zero:#0 thrkill () at /tmp/-:3
D:zero:#1 0x00000bbe10cbb20e in _libc_abort () at /usr/src/lib/libc/stdlib/abort.c:51
D:zero:#2 0x00000bbe10c9873c in _rthread_mutex_trylock (mutex=<optimized out>, trywait=<optimized out>, abs=0x0) at /usr/src/lib/libc/thread/rthread_mutex.c:117
D:zero:#3 _rthread_mutex_timedlock (mutexp=0xbbb1b07e920 <lookup_lock>, trywait=<optimized out>, abs=0x0, timed=<optimized out>) at /usr/src/lib/libc/thread/rthread_mutex.c:167
D:zero:#4 0x00000bbb1b075a1e in tcp_connected (handle=0x0, eresult=5, arg=0xbbde14c8220) at dighost.c:3217
D:zero:#5 0x00000bbd7ecd1547 in tcpdnsconnect_cb (handle=<optimized out>, result=5, arg=<optimized out>) at netmgr/tcpdns.c:746
D:zero:#6 0x00000bbd7eccffab in failed_connect_cb (sock=0xbbdd0a42800, req=0x0, eresult=5) at netmgr/tcp.c:136
D:zero:#7 0x00000bbd7eccd453 in tcp_connect_direct (sock=0xbbdd0a42800, req=<optimized out>) at netmgr/tcp.c:208
D:zero:#8 isc__nm_async_tcpconnect (worker=<optimized out>, ev0=<optimized out>) at netmgr/tcp.c:235
D:zero:#9 0x00000bbd7eccd786 in isc_nm_tcpconnect (mgr=0xbbde14a7000, local=0xbbb1b07e690 <localaddr>, peer=<optimized out>, cb=<optimized out>, cbarg=<optimized out>, timeout=<optimized out>, extrahandlesize=0) at netmgr/tcp.c:348
D:zero:#10 0x00000bbd7ecd14b7 in isc_nm_tcpdnsconnect (mgr=0xbbde14a7000, local=0x6, peer=0x0, cb=0xbbb1b075980 <tcp_connected>, cbarg=0xbbde14c8220, timeout=985019968, extrahandlesize=0) at netmgr/tcpdns.c:802
D:zero:#11 0x00000bbb1b073c5a in start_tcp (query=0xbbde14c8220) at dighost.c:2824
D:zero:#12 0x00000bbb1b0755bc in clear_current_lookup () at dighost.c:1817
D:zero:#13 0x00000bbb1b076211 in recv_done (handle=<optimized out>, eresult=<optimized out>, region=<optimized out>, arg=<optimized out>) at dighost.c:4063
D:zero:#14 0x00000bbd7ecd2de3 in udp_recv_cb (handle=<optimized out>, nrecv=70, buf=0xbbe0731c140, addr=0xbbe0731c010, flags=<optimized out>) at netmgr/udp.c:405
D:zero:#15 0x00000bbd7ecd443b in udp_read_cb (handle=0xbbdbb6d5160, nrecv=6, buf=0x0, addr=0xbbe10cbd61a <thrkill+10>, flags=4014601344) at netmgr/udp.c:864
D:zero:#16 0x00000bbe05585104 in uv.udp_io () from /usr/local/lib/libuv.so.2.1
D:zero:#17 0x00000bbe055866d5 in uv.io_poll () from /usr/local/lib/libuv.so.2.1
D:zero:#18 0x00000bbe05575c31 in uv_run () from /usr/local/lib/libuv.so.2.1
D:zero:#19 0x00000bbd7ecc8fcb in nm_thread (worker0=0xbbde14a9000) at netmgr/netmgr.c:498
D:zero:#20 0x00000bbdaa877e21 in _rthread_start (v=<optimized out>) at /usr/src/lib/librthread/rthread.c:96
D:zero:#21 0x00000bbe10ca65b8 in __tfork_thread () at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:77
D:zero:#22 0x0000000000000000 in ?? ()
D:zero:--------------------------------------------------------------------------------
D:zero:full backtrace from zero/dig.core saved in dig.core-backtrace.txt
D:zero:core dump zero/dig.core archived as zero/dig.core.gz
R:zero:FAIL
E:zero:2020-11-09T11:03:44+0000