WARNING: DATA RACE Read at 0x00c420d36ec8 by goroutine 452: gvisor.googlesource.com/gvisor/pkg/tcpip/transport/unix.(*connectionlessEndpoint).UnidirectionalConnect() pkg/tcpip/transport/unix/connectionless.go:80 +0x40 gvisor.googlesource.com/gvisor/pkg/tcpip/transport/unix.(*connectionlessEndpoint).Connect() pkg/tcpip/transport/unix/connectionless.go:117 +0x42 gvisor.googlesource.com/gvisor/pkg/sentry/socket/unix.(*SocketOperations).Connect() pkg/sentry/socket/unix/unix.go:340 +0xe5 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Connect() pkg/sentry/syscalls/linux/sys_socket.go:278 +0x21d gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:162 +0x14e gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:278 +0x7d gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:241 +0xc3 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:216 +0x19c gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:217 +0x1501 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:95 +0x264 Previous write at 0x00c420d36ec8 by goroutine 378: gvisor.googlesource.com/gvisor/pkg/tcpip/transport/unix.(*connectionlessEndpoint).Close() pkg/tcpip/transport/unix/connectionless.go:56 +0x18d gvisor.googlesource.com/gvisor/pkg/sentry/socket/unix.(*SocketOperations).DecRef.func1() pkg/sentry/socket/unix/unix.go:73 +0x61 gvisor.googlesource.com/gvisor/pkg/refs.(*AtomicRefCount).DecRefWithDestructor() pkg/refs/refcounter.go:293 +0x197 gvisor.googlesource.com/gvisor/pkg/sentry/socket/unix.(*SocketOperations).DecRef() pkg/sentry/socket/unix/unix.go:72 +0x79 gvisor.googlesource.com/gvisor/pkg/sentry/socket/unix.(*SocketOperations).Release() pkg/sentry/socket/unix/unix.go:81 +0x38 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).DecRef.func1() pkg/sentry/fs/file.go:123 +0xe1 gvisor.googlesource.com/gvisor/pkg/refs.(*AtomicRefCount).DecRefWithDestructor() pkg/refs/refcounter.go:293 +0x197 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).DecRef() pkg/sentry/fs/file.go:117 +0x79 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Close() pkg/sentry/syscalls/linux/sys_file.go:690 +0x17d gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:162 +0x14e gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:278 +0x7d gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:241 +0xc3 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:216 +0x19c gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:217 +0x1501 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:95 +0x264