panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1aea3c0] goroutine 96 [running]: panic({0x319340, 0x26ce7b0}) GOROOT/src/runtime/panic.go:987 +0x3bb fp=0xc000984a28 sp=0xc000984968 pc=0x11b31fb runtime.panicmem(...) GOROOT/src/runtime/panic.go:260 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:837 +0x37d fp=0xc000984a88 sp=0xc000984a28 pc=0x11cc0bd gvisor.dev/gvisor/pkg/sentry/kernel.(*TTY).SignalForegroundProcessGroup(0xc00058e978, 0x1?) pkg/sentry/kernel/tty.go:54 +0xe0 fp=0xc000984b80 sp=0xc000984a88 pc=0x1aea3c0 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*inputQueueTransformer).transform(0xc0001455c0, 0xc0003fa000, 0xc0003fa010, {0xc0008d0000, 0x20000, 0x20000}) pkg/sentry/fsimpl/devpts/line_discipline.go:407 +0x585 fp=0xc000984dd0 sp=0xc000984b80 pc=0x2075fa5 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*queue).pushWaitBufLocked(0xc0003fa010, 0xc00064aa80?) pkg/sentry/fsimpl/devpts/queue.go:219 +0x1e2 fp=0xc000984e80 sp=0xc000984dd0 pc=0x207abe2 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*queue).read(0xc0003fa010, {0x742e18, 0xc00064aa80}, {{0x73d350, 0xc000a8c000}, {0x0, 0x0, 0x0, 0x0}, {0x0, ...}}, ...) pkg/sentry/fsimpl/devpts/queue.go:140 +0x507 fp=0xc000985078 sp=0xc000984e80 pc=0x2079907 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*lineDiscipline).inputQueueRead(0xc0003fa000, {0x742e18, 0xc00064aa80}, {{0x73d350, 0xc000a8c000}, {0x0, 0x0, 0x0, 0x0}, {0x0, ...}}) pkg/sentry/fsimpl/devpts/line_discipline.go:197 +0xd7 fp=0xc000985110 sp=0xc000985078 pc=0x20742b7 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*replicaFileDescription).Read(0xc000922500, {0x742e18, 0xc00064aa80}, {{0x73d350, 0xc000a8c000}, {0x0, 0x0, 0x0, 0x0}, {0x0, ...}}, ...) pkg/sentry/fsimpl/devpts/replica.go:142 +0xf7 fp=0xc000985198 sp=0xc000985110 pc=0x207bfd7 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Read(0xc000922500, {0x742e18, 0xc00064aa80}, {{0x73d350, 0xc000a8c000}, {0x0, 0x0, 0x0, 0x0}, {0x0, ...}}, ...) pkg/sentry/vfs/file_description.go:643 +0x16b fp=0xc000985278 sp=0xc000985198 pc=0x172934b gvisor.dev/gvisor/pkg/sentry/syscalls/linux.read(0x0?, 0x1ce4960?, {{0x73d350, 0xc000a8c000}, {0x0, 0x0, 0x0, 0x0}, {0x0, 0x1}}, ...) pkg/sentry/syscalls/linux/sys_read_write.go:93 +0xae fp=0xc000985408 sp=0xc000985278 pc=0x1d1072e gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Readv(0xc00064aa80, {{0x4}, {0x0}, {0x0}, {0x0}, {0xa}, {0x0}}) pkg/sentry/syscalls/linux/sys_read_write.go:87 +0x32f fp=0xc0009855a8 sp=0xc000985408 pc=0x1d1038f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00064aa80, 0x13, {{0x4}, {0x0}, {0x0}, {0x0}, {0xa}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0xab7 fp=0xc0009859c0 sp=0xc0009855a8 pc=0x1ad8277 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00064aa80, 0x1?, {{0x4}, {0x0}, {0x0}, {0x0}, {0xa}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x8e fp=0xc000985a60 sp=0xc0009859c0 pc=0x1ada38e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0006480f0?, 0xc000985b8f?, {{0x4}, {0x0}, {0x0}, {0x0}, {0xa}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0xc5 fp=0xc000985ad8 sp=0xc000985a60 pc=0x1ad9c85 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00064aa80) pkg/sentry/kernel/task_syscall.go:257 +0x53b fp=0xc000985c00 sp=0xc000985ad8 pc=0x1ad979b gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00064aa80?, 0xc00064aa80) pkg/sentry/kernel/task_run.go:265 +0x22b4 fp=0xc000985ec0 sp=0xc000985c00 pc=0x1ac2514 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00064aa80, 0x8) pkg/sentry/kernel/task_run.go:94 +0x2cc fp=0xc000985fb0 sp=0xc000985ec0 pc=0x1abf88c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x48 fp=0xc000985fe0 sp=0xc000985fb0 pc=0x1ad5968 runtime.goexit() src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000985fe8 sp=0xc000985fe0 pc=0x11ec0a1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x1da