WARNING: DATA RACE Write at 0x00c0003feb50 by goroutine 765: DIAGNOSIS: I0227 16:00:51.251021 40576 main.go:296] *************************** I0227 16:00:51.251183 40576 main.go:297] 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 -alsologtostderr -platform=ptrace -file-access=shared -network=sandbox -TESTONLY-unsafe-nonroot debug -stacks --ps ci-gvisor-ptrace-proxy-sandbox-race-0] I0227 16:00:51.251376 40576 main.go:298] Version release-20200219.0-47-gde0b2ebf8635 I0227 16:00:51.251481 40576 main.go:299] PID: 40576 I0227 16:00:51.251572 40576 main.go:300] UID: 0, GID: 0 I0227 16:00:51.251675 40576 main.go:301] Configuration: I0227 16:00:51.251746 40576 main.go:302] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root I0227 16:00:51.251826 40576 main.go:303] Platform: ptrace I0227 16:00:51.251920 40576 main.go:304] FileAccess: shared, overlay: false I0227 16:00:51.252010 40576 main.go:305] Network: sandbox, logging: false I0227 16:00:51.252088 40576 main.go:306] Strace: false, max size: 1024, syscalls: [] I0227 16:00:51.252161 40576 main.go:307] *************************** W0227 16:00:51.252260 40576 main.go:312] Block the TERM signal. This is only safe in tests! D0227 16:00:51.252898 40576 container.go:158] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-0" D0227 16:00:51.261671 40576 container.go:591] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-0": signal 0 D0227 16:00:51.261833 40576 sandbox.go:788] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0" D0227 16:00:51.261935 40576 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0" D0227 16:00:51.262381 40576 urpc.go:534] urpc: successfully marshalled 117 bytes. I0227 16:00:51.419610 40576 debug.go:122] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0", PID: 33860 I0227 16:00:51.420561 40576 debug.go:131] Retrieving sandbox stacks D0227 16:00:51.420694 40576 sandbox.go:906] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0" D0227 16:00:51.420796 40576 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0" W0227 16:00:51.420964 40576 error.go:48] FATAL ERROR: retrieving stacks: connecting to control server at PID 33860: connection refused retrieving stacks: connecting to control server at PID 33860: connection refused W0227 16:00:51.421336 40576 main.go:329] Failure to execute command, err: 1 Error collecting stacks: failed to run ["/syzkaller/managers/ptrace-proxy-sandbox-race/current/image" "-root" "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "-watchdog-action=panic" "-network=none" "-debug" "-alsologtostderr" "-platform=ptrace" "-file-access=shared" "-network=sandbox" "-TESTONLY-unsafe-nonroot" "debug" "-stacks" "--ps" "ci-gvisor-ptrace-proxy-sandbox-race-0"]: exit status 128 I0227 16:00:51.251021 40576 main.go:296] *************************** I0227 16:00:51.251183 40576 main.go:297] 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 -alsologtostderr -platform=ptrace -file-access=shared -network=sandbox -TESTONLY-unsafe-nonroot debug -stacks --ps ci-gvisor-ptrace-proxy-sandbox-race-0] I0227 16:00:51.251376 40576 main.go:298] Version release-20200219.0-47-gde0b2ebf8635 I0227 16:00:51.251481 40576 main.go:299] PID: 40576 I0227 16:00:51.251572 40576 main.go:300] UID: 0, GID: 0 I0227 16:00:51.251675 40576 main.go:301] Configuration: I0227 16:00:51.251746 40576 main.go:302] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root I0227 16:00:51.251826 40576 main.go:303] Platform: ptrace I0227 16:00:51.251920 40576 main.go:304] FileAccess: shared, overlay: false I0227 16:00:51.252010 40576 main.go:305] Network: sandbox, logging: false I0227 16:00:51.252088 40576 main.go:306] Strace: false, max size: 1024, syscalls: [] I0227 16:00:51.252161 40576 main.go:307] *************************** W0227 16:00:51.252260 40576 main.go:312] Block the TERM signal. This is only safe in tests! D0227 16:00:51.252898 40576 container.go:158] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-0" D0227 16:00:51.261671 40576 container.go:591] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-0": signal 0 D0227 16:00:51.261833 40576 sandbox.go:788] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0" D0227 16:00:51.261935 40576 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0" D0227 16:00:51.262381 40576 urpc.go:534] urpc: successfully marshalled 117 bytes. I0227 16:00:51.419610 40576 debug.go:122] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0", PID: 33860 I0227 16:00:51.420561 40576 debug.go:131] Retrieving sandbox stacks D0227 16:00:51.420694 40576 sandbox.go:906] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0" D0227 16:00:51.420796 40576 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-0" W0227 16:00:51.420964 40576 error.go:48] FATAL ERROR: retrieving stacks: connecting to control server at PID 33860: connection refused retrieving stacks: connecting to control server at PID 33860: connection refused W0227 16:00:51.421336 40576 main.go:329] Failure to execute command, err: 1 gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*endpoint).Connect() pkg/tcpip/transport/udp/endpoint.go:1053 +0x46a gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*SocketOperations).Connect() pkg/sentry/socket/netstack/netstack.go:698 +0x4c5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Connect() pkg/sentry/syscalls/linux/sys_socket.go:280 +0x251 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:170 +0x455 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:291 +0xb4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:252 +0x109 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:227 +0x1b3 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:232 +0x1aaf gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:92 +0x308