WARNING: DATA RACE Write at 0x00c0023829f2 by goroutine 1504: gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).SetSockOpt() pkg/tcpip/transport/tcp/endpoint.go:1599 +0xe9c gvisor.dev/gvisor/pkg/sentry/socket/netstack.setSockOptIP() pkg/sentry/socket/netstack/netstack.go:2013 +0x184 gvisor.dev/gvisor/pkg/sentry/socket/netstack.SetSockOpt() pkg/sentry/socket/netstack/netstack.go:1548 +0x232 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*SocketOperations).SetSockOpt() pkg/sentry/socket/netstack/netstack.go:1531 +0x6a0 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SetSockOpt() pkg/sentry/syscalls/linux/sys_socket.go:541 +0x2fd gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:170 +0x44d 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:258 +0x16a4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:92 +0x320 DIAGNOSIS: I0306 22:09:02.134584 20089 main.go:305] *************************** I0306 22:09:02.134735 20089 main.go:306] 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-2] I0306 22:09:02.135013 20089 main.go:307] Version release-20200219.0-105-gb1576e533223 I0306 22:09:02.135142 20089 main.go:308] PID: 20089 I0306 22:09:02.135249 20089 main.go:309] UID: 0, GID: 0 I0306 22:09:02.135346 20089 main.go:310] Configuration: I0306 22:09:02.135483 20089 main.go:311] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root I0306 22:09:02.135595 20089 main.go:312] Platform: ptrace I0306 22:09:02.135709 20089 main.go:313] FileAccess: shared, overlay: false I0306 22:09:02.135846 20089 main.go:314] Network: sandbox, logging: false I0306 22:09:02.135978 20089 main.go:315] Strace: false, max size: 1024, syscalls: [] I0306 22:09:02.136112 20089 main.go:316] *************************** W0306 22:09:02.136225 20089 main.go:321] Block the TERM signal. This is only safe in tests! D0306 22:09:02.136527 20089 container.go:159] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-2" D0306 22:09:02.143536 20089 container.go:592] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-2": signal 0 D0306 22:09:02.143756 20089 sandbox.go:806] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2" D0306 22:09:02.143914 20089 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2" D0306 22:09:02.144356 20089 urpc.go:534] urpc: successfully marshalled 117 bytes. I0306 22:09:02.651007 20089 debug.go:122] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2", PID: 58944 I0306 22:09:02.651196 20089 debug.go:131] Retrieving sandbox stacks D0306 22:09:02.651310 20089 sandbox.go:924] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2" D0306 22:09:02.651443 20089 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2" W0306 22:09:02.651656 20089 error.go:48] FATAL ERROR: retrieving stacks: connecting to control server at PID 58944: connection refused retrieving stacks: connecting to control server at PID 58944: connection refused W0306 22:09:02.652024 20089 main.go:338] Failure to execute command, err: 1