WARNING: DATA RACE Read at 0x00c420288220 by goroutine 382: gvisor.googlesource.com/gvisor/pkg/waiter.(*Entry).Prev() bazel-out/k8-fastbuild/bin/pkg/ilist/interface_list.go:155 +0x4c gvisor.googlesource.com/gvisor/pkg/ilist.(*List).Remove() bazel-out/k8-fastbuild/bin/pkg/ilist/interface_list.go:124 +0x42 gvisor.googlesource.com/gvisor/pkg/waiter.(*Queue).EventUnregister() pkg/waiter/waiter.go:177 +0x67 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*masterFileOperations).EventUnregister() pkg/sentry/fs/tty/master.go:129 +0x81 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).EventUnregister() pkg/sentry/fs/file.go:180 +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.poll() pkg/sentry/syscalls/linux/sys_poll.go:289 +0x63 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Poll() pkg/sentry/syscalls/linux/sys_poll.go:307 +0x60 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 0x00c420288220 by goroutine 521: gvisor.googlesource.com/gvisor/pkg/waiter.(*Entry).SetPrev() bazel-out/k8-fastbuild/bin/pkg/ilist/interface_list.go:165 +0x50 gvisor.googlesource.com/gvisor/pkg/ilist.(*List).Remove() bazel-out/k8-fastbuild/bin/pkg/ilist/interface_list.go:134 +0xc8 gvisor.googlesource.com/gvisor/pkg/waiter.(*Queue).EventUnregister() pkg/waiter/waiter.go:177 +0x67 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*masterFileOperations).EventUnregister() pkg/sentry/fs/tty/master.go:130 +0xcd gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).EventUnregister() pkg/sentry/fs/file.go:180 +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.poll() pkg/sentry/syscalls/linux/sys_poll.go:289 +0x63 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Poll() pkg/sentry/syscalls/linux/sys_poll.go:307 +0x60 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