WARNING: DATA RACE Read at 0x00c4207ec898 by goroutine 43: gvisor.googlesource.com/gvisor/pkg/waiter.(*Queue).Notify() pkg/waiter/waiter.go:189 +0xa4 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*queue).writeBytes() pkg/sentry/fs/tty/queue.go:191 +0x1e6 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*queue).write() pkg/sentry/fs/tty/queue.go:172 +0x165 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*lineDiscipline).outputQueueWrite() pkg/sentry/fs/tty/line_discipline.go:177 +0xf8 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*slaveFileOperations).Write() pkg/sentry/fs/tty/slave.go:134 +0xe7 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).Writev() pkg/sentry/fs/file.go:273 +0x1ba gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.writev() pkg/sentry/syscalls/linux/sys_write.go:191 +0xa1 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Write() pkg/sentry/syscalls/linux/sys_write.go:67 +0x295 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 0x00c4207ec898 by goroutine 410: gvisor.googlesource.com/gvisor/pkg/waiter.(*Queue).EventRegister() pkg/waiter/waiter.go:171 +0x59 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*slaveFileOperations).EventRegister() pkg/sentry/fs/tty/slave.go:113 +0x10f gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).EventRegister() pkg/sentry/fs/file.go:177 +0x6a gvisor.googlesource.com/gvisor/pkg/sentry/syscalls.(*PollFD).initReadiness() pkg/sentry/syscalls/polling.go:61 +0x2a9 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls.Poll() pkg/sentry/syscalls/polling.go:96 +0x17c 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:291 +0x63 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Poll() pkg/sentry/syscalls/linux/sys_poll.go:309 +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: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