WARNING: DATA RACE Write at 0x00c0016aa958 by goroutine 121: sync/atomic.CompareAndSwapInt32() bazel-out/k8-fastbuild/bin/external/io_bazel_rules_go/linux_amd64_static_race_stripped/stdlib%/src/runtime/race_amd64.s:293 +0xb DIAGNOSIS: I0307 06:24:44.922226 64467 x:0] *************************** I0307 06:24:44.922619 64467 x:0] Args: [/syzkaller/managers/ptrace-proxy-sandbox-race/current/image -root /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root -watchdog-action=panic -network=none -debug -platform=ptrace -file-access=shared -network=sandbox debug -stacks ci-gvisor-ptrace-proxy-sandbox-race-2] I0307 06:24:44.922811 64467 x:0] Git Revision: 0b76887147820a809beaa497ede8dc4f7b7b120a I0307 06:24:44.923013 64467 x:0] PID: 64467 I0307 06:24:44.923142 64467 x:0] UID: 0, GID: 0 I0307 06:24:44.923181 64467 x:0] Configuration: I0307 06:24:44.923220 64467 x:0] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root I0307 06:24:44.923280 64467 x:0] Platform: ptrace I0307 06:24:44.923352 64467 x:0] FileAccess: shared, overlay: false I0307 06:24:44.923425 64467 x:0] Network: sandbox, logging: false I0307 06:24:44.923454 64467 x:0] Strace: false, max size: 1024, syscalls: [] I0307 06:24:44.923530 64467 x:0] *************************** D0307 06:24:44.923650 64467 x:0] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-2" D0307 06:24:44.932576 64467 x:0] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-2": signal 0 D0307 06:24:44.932725 64467 x:0] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2" D0307 06:24:44.932778 64467 x:0] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2" D0307 06:24:44.933523 64467 x:0] urpc: successfully marshalled 117 bytes. D0307 06:24:44.944351 64467 x:0] urpc: unmarshal success. I0307 06:24:44.944549 64467 x:0] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2", PID: 22707 I0307 06:24:44.944698 64467 x:0] Retrieving sandbox stacks D0307 06:24:44.944741 64467 x:0] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2" D0307 06:24:44.944813 64467 x:0] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2" D0307 06:24:44.945094 64467 x:0] urpc: successfully marshalled 36 bytes. D0307 06:24:45.319207 64467 x:0] urpc: unmarshal success. I0307 06:24:45.319639 64467 x:0] *** Stack dump *** goroutine 1482145 [running]: gvisor.googlesource.com/gvisor/pkg/log.Stacks(0x459c01, 0xc0002d13e0, 0xc001640ba0, 0xc000c61c00) pkg/log/log.go:259 +0xb6 gvisor.googlesource.com/gvisor/runsc/boot.(*debug).Stacks(0x23767e8, 0x23767e8, 0xc0016d4000, 0x0, 0x0) runsc/boot/debug.go:26 +0x38 reflect.Value.call(0xc0002d13e0, 0xc0002ce208, 0x13, 0x10eb560, 0x4, 0xc000e7beb8, 0x3, 0x3, 0x4a4dee, 0xfa25c0, ...) GOROOT/src/reflect/value.go:447 +0x63f reflect.Value.Call(0xc0002d13e0, 0xc0002ce208, 0x13, 0xc000e7beb8, 0x3, 0x3, 0x0, 0x23767e8, 0x16) GOROOT/src/reflect/value.go:308 +0xc1 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleOne(0xc0002e4840, 0xc001a4cbd0, 0x0, 0x0) pkg/urpc/urpc.go:325 +0x63f gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).handleRegistered(0xc0002e4840, 0xc001a4cbd0, 0xc0002e4840, 0xc001a4cbd0) pkg/urpc/urpc.go:420 +0x43 gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling.func1(0xc0002e4840, 0xc001a4cbd0) pkg/urpc/urpc.go:440 +0x77 created by gvisor.googlesource.com/gvisor/pkg/urpc.(*Server).StartHandling pkg/urpc/urpc.go:438 +0x6f goroutine 1 [semacquire, 18 minutes]: sync.runtime_Semacquire(0xc0002d2214) GOROOT/src/runtime/sema.go:56 +0x39 sync.(*WaitGroup).Wait(0xc0002d2214) GOROOT/src/sync/waitgroup.go:130 +0xb2 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Kernel).WaitExited(...) pkg/sentry/kernel/kernel.go:813 gvisor.googlesource.com/gvisor/runsc/boot.(*Loader).WaitExit(0xc0002e0140, 0x0, 0x0) runsc/boot/loader.go:756 +0x74 gvisor.googlesource.com/gvisor/runsc/cmd.(*Boot).Execute(0xc00026c120, 0x1270a60, 0xc00013c010, 0xc000142b40, 0xc0001c3080, 0x2, 0x2, 0x0) runsc/cmd/boot.go:236 +0x1191 github.com/google/subcommands.(*Commander).Execute(0xc000148000, 0x1270a60, 0xc00013c010, 0xc0001c3080, 0x2, 0x2, 0x203000) external/com_github_google_subcommands/subcommands.go:141 +0x522 github.com/google/subcommands.Execute(...) external/com_github_google_subcommands/subcommands.go:371 main.main() runsc/main.go:227 +0x240b