NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-amd64/50730: Go test panics the kernel (kqueue related?)
On Jan 30, 5:10pm, bsiegert%NetBSD.org@localhost (bsiegert%NetBSD.org@localhost) wrote:
-- Subject: port-amd64/50730: Go test panics the kernel (kqueue related?)
This is still racy sometimes when the process exits.
crash> ps
1662 5 3 2 1000000 fffffe83f7aff700 http.test lwpwait
1662 > 4 7 7 1100000 fffffe83f853f540 http.test
1662 1 2 7 1100000 fffffe83f823f920 http.test
This thread tries to close the socket:
crash> t/a fffffe83f853f540
trace: pid 1662 lid 4 at 0xfffffe810330bd68
knote_detach() at knote_detach+0x23f
knote_fdclose() at knote_fdclose+0x68
fd_close() at fd_close+0x246
sys_close() at sys_close+0x3a
sy_call() at sy_call+0x40
sy_invoke() at sy_invoke+0xd5
syscall() at syscall+0xfe
--- syscall (number 6) ---
This thread is exiting:
crash> t/a fffffe83f7aff700
trace: pid 1662 lid 5 at 0xfffffe8103d8bc68
sleepq_block() at sleepq_block+0xf6
cv_wait() at cv_wait+0x116
lwp_wait() at lwp_wait+0x34a
exit_lwps() at exit_lwps+0x13b
exit1() at exit1+0x146
exit1() at exit1
sy_call() at sy_call+0x40
sy_invoke() at sy_invoke+0xd5
syscall() at syscall+0xfe
--- syscall (number 1) ---
This thread is trying to lock the socket which we are trying to close:
crash> t/a fffffe83f823f920
trace: pid 1662 lid 1 at 0xfffffe81042919c8
sleepq_block() at sleepq_block+0xf6
turnstile_block() at turnstile_block+0x4e6
mutex_enter() at mutex_enter+0x51d
solock() at solock+0x23
filt_soread() at filt_soread+0x36
kqueue_scan() at kqueue_scan+0x4c2
kevent1() at kevent1+0x315
sys___kevent50() at sys___kevent50+0x5b
sy_call() at sy_call+0x40
sy_invoke() at sy_invoke+0xd5
syscall() at syscall+0xfe
--- syscall (number 435) ---
So we deadlock.
Home |
Main Index |
Thread Index |
Old Index