syzbot


panic: Watchdog goroutine is stuck

Status: fixed on 2021/04/13 18:45
Reported-by: syzbot+2eaf8a9f115edec468fe@syzkaller.appspotmail.com
Fix commit: f4f6ce337aa8 Don't grab TaskSet mu recursively when reading task state.
First crash: 1628d, last: 1323d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor panic: Watchdog goroutine is stuck (2) 1 1276d 1269d 14/26 fixed on 2021/06/11 19:31
gvisor panic: Watchdog goroutine is stuck (3) C 28 388d 1246d 0/26 moderation: reported C repro on 2021/06/29 10:13

Sample crash report:
panic: Watchdog goroutine is stuck
Stack for running G's are skipped while panicking.

goroutine 59 [running]:
panic(0xfc8ac0, 0xc00080fca0)
	GOROOT/src/runtime/panic.go:1064 +0x470 fp=0xc000718ce0 sp=0xc000718c28 pc=0x437110
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).doAction(0xc0000e4900, 0x1, 0x0, 0xc000718e08)
	pkg/sentry/watchdog/watchdog.go:385 +0x5a5 fp=0xc000718dd8 sp=0xc000718ce0 pc=0xbb6bc5
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).reportStuckWatchdog(0xc0000e4900)
	pkg/sentry/watchdog/watchdog.go:350 +0x7c fp=0xc000718e40 sp=0xc000718dd8 pc=0xbb65fc
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).runTurn(0xc0000e4900)
	pkg/sentry/watchdog/watchdog.go:283 +0x577 fp=0xc000718f40 sp=0xc000718e40 pc=0xbb61f7
gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).loop(0xc0000e4900)
	pkg/sentry/watchdog/watchdog.go:261 +0x45 fp=0xc000718fd8 sp=0xc000718f40 pc=0xbb5b85
runtime.goexit()
	src/runtime/asm_amd64.s:1374 +0x1 fp=0xc000718fe0 sp=0xc000718fd8 pc=0x470681
created by gvisor.dev/gvisor/pkg/sentry/watchdog.(*Watchdog).Start
	pkg/sentry/watchdog/watchdog.go:212 +0x1b9

Crashes (1831):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/01/23 23:26 gvisor 65594d30ad1b 52e37319 .config console log report syz C ci-gvisor-kvm panic: Watchdog goroutine is stuck
2020/12/28 23:08 gvisor d07915987631 8259d56c .config console log report syz C ci-gvisor-kvm
2021/04/12 23:25 gvisor 9c87ef53fde8 bfeda1b1 .config console log report info ci-gvisor-ptrace-2 panic: Watchdog goroutine is stuck
2021/04/12 17:28 gvisor c84ff991240c bfeda1b1 .config console log report info ci-gvisor-ptrace-2-race panic: Watchdog goroutine is stuck
2021/04/12 12:57 gvisor c84ff991240c bfeda1b1 .config console log report info ci-gvisor-ptrace-1-race panic: Watchdog goroutine is stuck
2021/04/12 12:54 gvisor c84ff991240c bfeda1b1 .config console log report info ci-gvisor-ptrace-3 panic: Watchdog goroutine is stuck
2021/04/12 10:14 gvisor c84ff991240c bfeda1b1 .config console log report info ci-gvisor-ptrace-3-race panic: Watchdog goroutine is stuck
2021/04/12 07:37 gvisor c84ff991240c bfeda1b1 .config console log report info ci-gvisor-ptrace-3-race panic: Watchdog goroutine is stuck
2021/04/11 19:32 gvisor c84ff991240c bfeda1b1 .config console log report info ci-gvisor-ptrace-3-race panic: Watchdog goroutine is stuck
2021/04/11 02:12 gvisor 2fea7d096b62 bfeda1b1 .config console log report info ci-gvisor-ptrace-3-race panic: Watchdog goroutine is stuck
2021/04/10 17:40 gvisor ea7faa50579d bfeda1b1 .config console log report info ci-gvisor-ptrace-1-race panic: Watchdog goroutine is stuck
2021/04/10 15:05 gvisor ea7faa50579d bfeda1b1 .config console log report info ci-gvisor-ptrace-1-race panic: Watchdog goroutine is stuck
2021/04/10 12:34 gvisor ea7faa50579d bfeda1b1 .config console log report info ci-gvisor-ptrace-1-race panic: Watchdog goroutine is stuck
2021/04/10 06:56 gvisor ea7faa50579d bfeda1b1 .config console log report info ci-gvisor-ptrace-3-race panic: Watchdog goroutine is stuck
2021/04/09 22:36 gvisor 1fe5dd8c68ef 6a81331a .config console log report info ci-gvisor-ptrace-1 panic: Watchdog goroutine is stuck
2021/04/09 14:49 gvisor 1fe5dd8c68ef 6a81331a .config console log report info ci-gvisor-ptrace-2-cover panic: Watchdog goroutine is stuck
2021/04/09 11:34 gvisor 496a3654e7af 6a81331a .config console log report info ci-gvisor-ptrace-3-race panic: Watchdog goroutine is stuck
2021/04/08 23:11 gvisor 192f20788b33 6a81331a .config console log report info ci-gvisor-ptrace-3-race panic: Watchdog goroutine is stuck
2021/04/08 03:21 gvisor e6133abfca2c 6a81331a .config console log report info ci-gvisor-ptrace-2 panic: Watchdog goroutine is stuck
2021/04/08 00:07 gvisor e6133abfca2c 6a81331a .config console log report info ci-gvisor-ptrace-1-cover panic: Watchdog goroutine is stuck
2021/04/07 19:19 gvisor d7fd00bad141 6a81331a .config console log report info ci-gvisor-ptrace-3-race panic: Watchdog goroutine is stuck
2021/04/07 14:41 gvisor d7fd00bad141 6a81331a .config console log report info ci-gvisor-ptrace-2-race panic: Watchdog goroutine is stuck
2021/04/07 10:28 gvisor d7fd00bad141 6a81331a .config console log report info ci-gvisor-ptrace-3 panic: Watchdog goroutine is stuck
2021/04/07 08:48 gvisor d7fd00bad141 6a81331a .config console log report info ci-gvisor-ptrace-2-race panic: Watchdog goroutine is stuck
2021/04/07 07:24 gvisor d7fd00bad141 6a81331a .config console log report info ci-gvisor-ptrace-2-race panic: Watchdog goroutine is stuck
2021/04/06 12:42 gvisor 56c69fb0e7f9 6a81331a .config console log report info ci-gvisor-ptrace-3-race panic: Watchdog goroutine is stuck
2021/04/05 23:06 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-ptrace-3-race panic: Watchdog goroutine is stuck
2021/04/05 19:43 gvisor 8161ed4110e2 6a81331a .config console log report info ci-gvisor-ptrace-3-race panic: Watchdog goroutine is stuck
2021/04/05 14:49 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-ptrace-2-race panic: Watchdog goroutine is stuck
2021/04/05 12:02 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-ptrace-1-race panic: Watchdog goroutine is stuck
2021/04/05 06:31 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-ptrace-3-race panic: Watchdog goroutine is stuck
2021/04/05 01:48 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-ptrace-3 panic: Watchdog goroutine is stuck
2021/04/04 22:12 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-ptrace-3-race panic: Watchdog goroutine is stuck
2021/04/04 17:58 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-ptrace-2 panic: Watchdog goroutine is stuck
2021/04/04 15:47 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-ptrace-1-race panic: Watchdog goroutine is stuck
2021/04/04 14:10 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-ptrace-3-race panic: Watchdog goroutine is stuck
2021/04/04 11:43 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-ptrace-3-race panic: Watchdog goroutine is stuck
2021/04/04 10:32 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-ptrace-1-race panic: Watchdog goroutine is stuck
2021/04/04 05:24 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-ptrace-2-race panic: Watchdog goroutine is stuck
2021/04/04 04:24 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-ptrace-3 panic: Watchdog goroutine is stuck
2021/04/04 03:03 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-ptrace-3-race panic: Watchdog goroutine is stuck
2021/04/03 20:34 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-ptrace-1-race-cover panic: Watchdog goroutine is stuck
2021/04/03 18:40 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-ptrace-1-race-cover panic: Watchdog goroutine is stuck
2021/04/03 16:27 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-ptrace-2-race panic: Watchdog goroutine is stuck
2021/04/03 13:54 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-ptrace-3-race panic: Watchdog goroutine is stuck
2021/04/03 12:30 gvisor 9a8692c82ac5 6a81331a .config console log report info ci-gvisor-ptrace-3-race panic: Watchdog goroutine is stuck
2021/03/21 05:07 gvisor 7fac7e32f3a8 17810eae .config console log report info ci-gvisor-ptrace-2-cover panic: Watchdog goroutine is stuck
2021/03/08 13:25 gvisor e668288fafe3 09fbf400 .config console log report info ci-gvisor-kvm-cover panic: Watchdog goroutine is stuck
2021/03/08 12:45 gvisor e668288fafe3 09fbf400 .config console log report info ci-gvisor-kvm-cover panic: Watchdog goroutine is stuck
2021/03/08 10:17 gvisor e668288fafe3 09fbf400 .config console log report info ci-gvisor-kvm-cover panic: Watchdog goroutine is stuck
2021/03/08 07:59 gvisor e668288fafe3 09fbf400 .config console log report info ci-gvisor-kvm panic: Watchdog goroutine is stuck
2021/03/08 06:57 gvisor e668288fafe3 09fbf400 .config console log report info ci-gvisor-kvm panic: Watchdog goroutine is stuck
2021/03/08 05:25 gvisor e668288fafe3 09fbf400 .config console log report info ci-gvisor-kvm-cover panic: Watchdog goroutine is stuck
2021/03/08 04:08 gvisor e668288fafe3 09fbf400 .config console log report info ci-gvisor-kvm-cover panic: Watchdog goroutine is stuck
2021/01/17 08:53 gvisor 833516c139b5 65a7a854 .config console log report info ci-gvisor-kvm-cover
2020/12/01 22:08 gvisor 6b1dbbbdc8ec 07bfe8a5 .config console log report info ci-gvisor-kvm-proxy-overlay-sandbox
2020/12/01 06:21 gvisor e813008664ff b3a34598 .config console log report info ci-gvisor-kvm-direct-sandbox
2020/10/06 15:17 gvisor a57dc67b6386 1880b4a9 .config console log report info ci-gvisor-ptrace-direct-overlay-host-race
2020/10/03 00:06 gvisor 0cea6472188e 062c9832 .config console log report info ci-gvisor-ptrace-direct-overlay-host
2020/10/01 11:19 gvisor cb41f6703160 4103fce0 .config console log report info ci-gvisor-main
2020/09/05 18:59 gvisor 2202812e074a abf9ba4f .config console log report ci-gvisor-ptrace-proxy-sandbox-race
2020/06/17 18:15 gvisor dbf786c6b33d b6c46f43 .config console log report ci-gvisor-kvm-direct-sandbox
2020/06/11 19:06 gvisor a085e562d059 5c25fdab .config console log report ci-gvisor-kvm-proxy-overlay-sandbox
* Struck through repros no longer work on HEAD.