WARNING: DATA RACE Read at 0x00c420135700 by goroutine 495: gvisor.googlesource.com/gvisor/pkg/waiter.(*Entry).Next() bazel-out/k8-fastbuild/bin/pkg/ilist/interface_list.go:154 +0x4c gvisor.googlesource.com/gvisor/pkg/ilist.(*List).Remove() bazel-out/k8-fastbuild/bin/pkg/ilist/interface_list.go:127 +0x6a gvisor.googlesource.com/gvisor/pkg/waiter.(*Queue).EventUnregister() pkg/waiter/waiter.go:179 +0x67 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*masterFileOperations).EventUnregister() pkg/sentry/fs/tty/master.go:133 +0x81 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).EventUnregister() pkg/sentry/fs/file.go:182 +0x60 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls.releaseState() pkg/sentry/syscalls/polling.go:71 +0xb4 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls.Poll() pkg/sentry/syscalls/polling.go:117 +0x401 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.doPoll() pkg/sentry/syscalls/linux/sys_poll.go:70 +0x2b5 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Ppoll() pkg/sentry/syscalls/linux/sys_poll.go:342 +0x105 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:280 +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 +0x19e gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:219 +0x1501 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:95 +0x264 Previous write at 0x00c420135700 by goroutine 439: gvisor.googlesource.com/gvisor/pkg/waiter.(*Entry).SetNext() bazel-out/k8-fastbuild/bin/pkg/ilist/interface_list.go:164 +0x50 gvisor.googlesource.com/gvisor/pkg/ilist.(*List).Remove() bazel-out/k8-fastbuild/bin/pkg/ilist/interface_list.go:130 +0x9b gvisor.googlesource.com/gvisor/pkg/waiter.(*Queue).EventUnregister() pkg/waiter/waiter.go:179 +0x67 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*masterFileOperations).EventUnregister() pkg/sentry/fs/tty/master.go:134 +0xcd gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).EventUnregister() pkg/sentry/fs/file.go:182 +0x60 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls.releaseState() pkg/sentry/syscalls/polling.go:71 +0xb4 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls.Poll() pkg/sentry/syscalls/polling.go:117 +0x401 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.doPoll() pkg/sentry/syscalls/linux/sys_poll.go:70 +0x2b5 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Ppoll() pkg/sentry/syscalls/linux/sys_poll.go:342 +0x105 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:280 +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 +0x19e gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:219 +0x1501 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:95 +0x264