panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x9d6041] goroutine 1023326 [running]: panic({0x11ee280, 0x210cda0}) GOROOT/src/runtime/panic.go:987 +0x3bb fp=0xc001be0fb0 sp=0xc001be0ef0 pc=0x436a3b runtime.panicmem(...) GOROOT/src/runtime/panic.go:260 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:837 +0x37d fp=0xc001be1010 sp=0xc001be0fb0 pc=0x44e05d gvisor.dev/gvisor/pkg/sentry/kernel.(*TTY).SignalForegroundProcessGroup(0xc00e561008, 0xc00c334202?) pkg/sentry/kernel/tty.go:54 +0xa1 fp=0xc001be10a0 sp=0xc001be1010 pc=0x9d6041 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*inputQueueTransformer).transform(0x6bdb1a, 0xc005474180, 0xc005474190, {0xc00c3341c1?, 0xc006785500?, 0x0?}) pkg/sentry/fsimpl/devpts/line_discipline.go:411 +0x34c fp=0xc001be12d0 sp=0xc001be10a0 pc=0xd6e2ec gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*queue).pushWaitBufLocked(0xc005474190, 0xc006785500?) pkg/sentry/fsimpl/devpts/queue.go:219 +0xce fp=0xc001be1338 sp=0xc001be12d0 pc=0xd7130e gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*queue).read(0xc005474190, {0x15f5f58, 0xc006785500}, {{0x15f0490, 0xc005cb5000}, {0x0, 0x1, 0x200011c0, 0x1000}, {0x0, ...}}, ...) pkg/sentry/fsimpl/devpts/queue.go:140 +0x3c5 fp=0xc001be1490 sp=0xc001be1338 pc=0xd70685 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*lineDiscipline).inputQueueRead(0xc005474180, {0x15f5f58, 0xc006785500}, {{0x15f0490, 0xc005cb5000}, {0x0, 0x1, 0x200011c0, 0x2044}, {0x0, ...}}) pkg/sentry/fsimpl/devpts/line_discipline.go:197 +0xcd fp=0xc001be1520 sp=0xc001be1490 pc=0xd6cf8d gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*replicaFileDescription).Read(0xc006647200?, {0x15f5f58?, 0xc006785500?}, {{0x15f0490, 0xc005cb5000}, {0x0, 0x1, 0x200011c0, 0x2044}, {0x0, ...}}, ...) pkg/sentry/fsimpl/devpts/replica.go:142 +0x6c fp=0xc001be1580 sp=0xc001be1520 pc=0xd71e2c gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Read(0xc00ae58780, {0x15f5f58, 0xc006785500}, {{0x15f0490, 0xc005cb5000}, {0x0, 0x1, 0x200011c0, 0x2044}, {0x0, ...}}, ...) pkg/sentry/vfs/file_description.go:643 +0xea fp=0xc001be1620 sp=0xc001be1580 pc=0x7734ea gvisor.dev/gvisor/pkg/sentry/syscalls/linux.read(0xc00cbb4000?, 0xc00ae58780, {{0x15f0490, 0xc005cb5000}, {0x0, 0x1, 0x200011c0, 0x2044}, {0x0, 0x1}}, ...) pkg/sentry/syscalls/linux/sys_read_write.go:93 +0x8e fp=0xc001be17f0 sp=0xc001be1620 pc=0xb3eb4e gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Read(0xc006785500, {{0x4}, {0x200011c0}, {0x2044}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_read_write.go:62 +0x25a fp=0xc001be1930 sp=0xc001be17f0 pc=0xb3e2fa gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc006785500, 0x0, {{0x4}, {0x200011c0}, {0x2044}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc001be1c70 sp=0xc001be1930 pc=0x9cb66b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc006785500, 0x85?, {{0x4}, {0x200011c0}, {0x2044}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc001be1cd0 sp=0xc001be1c70 pc=0x9ccc54 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc001be1d78?, 0x9829e6?, {{0x4}, {0x200011c0}, {0x2044}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc001be1d30 sp=0xc001be1cd0 pc=0x9cc845 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc005257110?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc001be1e28 sp=0xc001be1d30 pc=0x9cc50c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00ac39580?, 0xc006785500) pkg/sentry/kernel/task_run.go:265 +0x144a fp=0xc001be1f60 sp=0xc001be1e28 pc=0x9be14a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc006785500, 0x8d75) pkg/sentry/kernel/task_run.go:94 +0x21c fp=0xc001be1fc0 sp=0xc001be1f60 pc=0x9bc65c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc001be1fe0 sp=0xc001be1fc0 pc=0x9c9aea runtime.goexit() src/runtime/asm_amd64.s:1598 +0x1 fp=0xc001be1fe8 sp=0xc001be1fe0 pc=0x46d401 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105