WARNING: DATA RACE Read at 0x00c420a4e3d0 by goroutine 462: gvisor.googlesource.com/gvisor/pkg/waiter.(*Queue).Notify() pkg/waiter/waiter.go:187 +0xa4 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*queue).read() pkg/sentry/fs/tty/queue.go:150 +0x522 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*lineDiscipline).inputQueueRead() pkg/sentry/fs/tty/line_discipline.go:153 +0xf1 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*slaveFileOperations).Read() pkg/sentry/fs/tty/slave.go:125 +0xe7 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).Readv() pkg/sentry/fs/file.go:230 +0x15b gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.readv() pkg/sentry/syscalls/linux/sys_read.go:191 +0xa1 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Readv() pkg/sentry/syscalls/linux/sys_read.go:144 +0x28c 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 0x00c420a4e3d0 by goroutine 451: gvisor.googlesource.com/gvisor/pkg/waiter.(*Queue).EventRegister() pkg/waiter/waiter.go:169 +0x59 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*masterFileOperations).EventRegister() pkg/sentry/fs/tty/master.go:124 +0xe1 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).EventRegister() pkg/sentry/fs/file.go:175 +0x6a gvisor.googlesource.com/gvisor/pkg/sentry/kernel/epoll.(*EventPoll).initEntryReadiness() pkg/sentry/kernel/epoll/epoll.go:309 +0x11f gvisor.googlesource.com/gvisor/pkg/sentry/kernel/epoll.(*EventPoll).AddEntry() pkg/sentry/kernel/epoll/epoll.go:392 +0x440 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls.AddEpoll() pkg/sentry/syscalls/epoll.go:67 +0x162 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.EpollCtl() pkg/sentry/syscalls/linux/sys_epoll.go:100 +0x252 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