panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x889703] goroutine 2751433 [running]: gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).Credentials(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/kernel/task_identity.go:25 +0x53 gvisor.googlesource.com/gvisor/pkg/sentry/kernel/fasync.(*FileAsync).Callback(0xc425f44270, 0xc425f44278) pkg/sentry/kernel/fasync/fasync.go:60 +0x119 gvisor.googlesource.com/gvisor/pkg/waiter.(*Queue).Notify(0xc423302130, 0xc425900001) pkg/waiter/waiter.go:188 +0xe1 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*queue).writeBytes(0xc423302128, 0xc4259006b0, 0x1, 0x9, 0xc423302000, 0x0, 0x0, 0x0) pkg/sentry/fs/tty/queue.go:189 +0x1e7 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*inputQueueTransformer).transform(0x1f81318, 0xc423302000, 0xc423302000, 0xc4259006b1, 0x8, 0x8, 0x9) pkg/sentry/fs/tty/line_discipline.go:323 +0x554 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*queue).writeBytes(0xc423302000, 0xc4259006b0, 0x9, 0x9, 0xc423302000, 0x0, 0x0, 0x0) pkg/sentry/fs/tty/queue.go:181 +0xdf gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*queue).write(0xc423302000, 0x10f3540, 0xc4234b8000, 0x10f2100, 0xc425181200, 0x0, 0x1, 0x20000000, 0x9, 0x100, ...) pkg/sentry/fs/tty/queue.go:170 +0x166 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*lineDiscipline).inputQueueWrite(0xc423302000, 0x10f3540, 0xc4234b8000, 0x10f2100, 0xc425181200, 0x0, 0x1, 0x20000000, 0x9, 0x100, ...) pkg/sentry/fs/tty/line_discipline.go:159 +0xf2 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tty.(*masterFileOperations).Write(0xc42050c5a0, 0x10f3540, 0xc4234b8000, 0xc423c08510, 0x10f2100, 0xc425181200, 0x0, 0x1, 0x20000000, 0x9, ...) pkg/sentry/fs/tty/master.go:145 +0xce gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).Writev(0xc423c08510, 0x10f3540, 0xc4234b8000, 0x10f2100, 0xc425181200, 0x0, 0x1, 0x20000000, 0x9, 0x100, ...) pkg/sentry/fs/file.go:271 +0x1bb gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.writev(0xc4234b8000, 0xc423c08510, 0x10f2100, 0xc425181200, 0x0, 0x1, 0x20000000, 0x9, 0x100, 0x9, ...) pkg/sentry/syscalls/linux/sys_write.go:191 +0xa2 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Write(0xc4234b8000, 0x3, 0x20000000, 0x9, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/sys_write.go:67 +0x296 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc4234b8000, 0x1, 0x3, 0x20000000, 0x9, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/kernel/task_syscall.go:162 +0x14f gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc4234b8000, 0x1, 0x3, 0x20000000, 0x9, 0x0, 0x0, 0x0, 0x3, 0x20000000) pkg/sentry/kernel/task_syscall.go:278 +0x7e gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc4234b8000, 0x1, 0x3, 0x20000000, 0x9, 0x0, 0x0, 0x0, 0xc420dd1ae0, 0xc4209abc68) pkg/sentry/kernel/task_syscall.go:241 +0xc4 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc4234b8000, 0x2, 0xc420a38000) pkg/sentry/kernel/task_syscall.go:216 +0x19d gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc4234b8000, 0x10e4580, 0x0) pkg/sentry/kernel/task_run.go:217 +0x1502 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc4234b8000, 0x831a) pkg/sentry/kernel/task_run.go:95 +0x265 created by gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:258 +0x194