WARNING: DATA RACE
Write at 0x00c0001c0b50 by goroutine 157:
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 +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
DIAGNOSIS:
I0302 23:03:23.806212 2573 main.go:305] ***************************
I0302 23:03:23.806355 2573 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]
I0302 23:03:23.806516 2573 main.go:307] Version release-20200219.0-72-gce4d1e45bb88
I0302 23:03:23.806618 2573 main.go:308] PID: 2573
I0302 23:03:23.806728 2573 main.go:309] UID: 0, GID: 0
I0302 23:03:23.806825 2573 main.go:310] Configuration:
I0302 23:03:23.806911 2573 main.go:311] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root
I0302 23:03:23.807023 2573 main.go:312] Platform: ptrace
I0302 23:03:23.807093 2573 main.go:313] FileAccess: shared, overlay: false
I0302 23:03:23.807186 2573 main.go:314] Network: sandbox, logging: false
I0302 23:03:23.807291 2573 main.go:315] Strace: false, max size: 1024, syscalls: []
I0302 23:03:23.807383 2573 main.go:316] ***************************
W0302 23:03:23.807468 2573 main.go:321] Block the TERM signal. This is only safe in tests!
D0302 23:03:23.807648 2573 container.go:159] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-2"
D0302 23:03:23.814091 2573 container.go:592] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-2": signal 0
D0302 23:03:23.814274 2573 sandbox.go:806] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2"
D0302 23:03:23.814391 2573 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2"
D0302 23:03:23.814804 2573 urpc.go:534] urpc: successfully marshalled 117 bytes.
I0302 23:03:23.869045 2573 debug.go:122] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2", PID: 60862
I0302 23:03:23.869274 2573 debug.go:131] Retrieving sandbox stacks
D0302 23:03:23.869452 2573 sandbox.go:924] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2"
D0302 23:03:23.869573 2573 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2"
W0302 23:03:23.869748 2573 error.go:48] FATAL ERROR: retrieving stacks: connecting to control server at PID 60862: connection refused
retrieving stacks: connecting to control server at PID 60862: connection refused
W0302 23:03:23.870129 2573 main.go:338] 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-2"]: exit status 128
I0302 23:03:23.806212 2573 main.go:305] ***************************
I0302 23:03:23.806355 2573 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]
I0302 23:03:23.806516 2573 main.go:307] Version release-20200219.0-72-gce4d1e45bb88
I0302 23:03:23.806618 2573 main.go:308] PID: 2573
I0302 23:03:23.806728 2573 main.go:309] UID: 0, GID: 0
I0302 23:03:23.806825 2573 main.go:310] Configuration:
I0302 23:03:23.806911 2573 main.go:311] RootDir: /syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root
I0302 23:03:23.807023 2573 main.go:312] Platform: ptrace
I0302 23:03:23.807093 2573 main.go:313] FileAccess: shared, overlay: false
I0302 23:03:23.807186 2573 main.go:314] Network: sandbox, logging: false
I0302 23:03:23.807291 2573 main.go:315] Strace: false, max size: 1024, syscalls: []
I0302 23:03:23.807383 2573 main.go:316] ***************************
W0302 23:03:23.807468 2573 main.go:321] Block the TERM signal. This is only safe in tests!
D0302 23:03:23.807648 2573 container.go:159] Load container "/syzkaller/managers/ptrace-proxy-sandbox-race/workdir/gvisor_root" "ci-gvisor-ptrace-proxy-sandbox-race-2"
D0302 23:03:23.814091 2573 container.go:592] Signal container "ci-gvisor-ptrace-proxy-sandbox-race-2": signal 0
D0302 23:03:23.814274 2573 sandbox.go:806] Signal sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2"
D0302 23:03:23.814391 2573 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2"
D0302 23:03:23.814804 2573 urpc.go:534] urpc: successfully marshalled 117 bytes.
I0302 23:03:23.869045 2573 debug.go:122] Found sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2", PID: 60862
I0302 23:03:23.869274 2573 debug.go:131] Retrieving sandbox stacks
D0302 23:03:23.869452 2573 sandbox.go:924] Stacks sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2"
D0302 23:03:23.869573 2573 sandbox.go:318] Connecting to sandbox "ci-gvisor-ptrace-proxy-sandbox-race-2"
W0302 23:03:23.869748 2573 error.go:48] FATAL ERROR: retrieving stacks: connecting to control server at PID 60862: connection refused
retrieving stacks: connecting to control server at PID 60862: connection refused
W0302 23:03:23.870129 2573 main.go:338] Failure to execute command, err: 1
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute()
pkg/sentry/kernel/task_run.go:232 +0x1aaa
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run()
pkg/sentry/kernel/task_run.go:92 +0x320