panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x94b45d] goroutine 132 [running]: panic({0x10ec220, 0x1e67c20}) GOROOT/src/runtime/panic.go:987 +0x3bb fp=0xc00079ef28 sp=0xc00079ee68 pc=0x436c1b runtime.panicmem(...) GOROOT/src/runtime/panic.go:260 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:837 +0x37d fp=0xc00079ef88 sp=0xc00079ef28 pc=0x44e23d gvisor.dev/gvisor/pkg/sentry/kernel.(*TTY).SignalForegroundProcessGroup(0x1ec6308?, 0xc000a80000?) pkg/sentry/kernel/tty.go:54 +0x9d fp=0xc00079f018 sp=0xc00079ef88 pc=0x94b45d gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*inputQueueTransformer).transform(0x0, 0xc00046e180, 0xc00046e190, {0xc000a80000?, 0xc000684d30?, 0x0?}) pkg/sentry/fsimpl/devpts/line_discipline.go:407 +0x34e fp=0xc00079f240 sp=0xc00079f018 pc=0xc896ae gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*queue).pushWaitBufLocked(0xc00046e190, 0xc000748000?) pkg/sentry/fsimpl/devpts/queue.go:219 +0x99 fp=0xc00079f2a8 sp=0xc00079f240 pc=0xc8bf99 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*queue).read(0xc00046e190, {0x14c8e18, 0xc0006a8a80}, {{0x14c30d0, 0xc000748000}, {0x0, 0x0, 0x0, 0x0}, {0x0, ...}}, ...) pkg/sentry/fsimpl/devpts/queue.go:140 +0x3ba fp=0xc00079f430 sp=0xc00079f2a8 pc=0xc8b49a gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*lineDiscipline).inputQueueRead(0xc00046e180, {0x14c8e18?, 0xc0006a8a80?}, {{0x14c30d0, 0xc000748000}, {0x0, 0x0, 0x0, 0x0}, {0x0, ...}}) pkg/sentry/fsimpl/devpts/line_discipline.go:197 +0xbf fp=0xc00079f4b8 sp=0xc00079f430 pc=0xc8861f gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*replicaFileDescription).Read(0x0?, {0x14c8e18?, 0xc0006a8a80?}, {{0x14c30d0, 0xc000748000}, {0x0, 0x0, 0x0, 0x0}, {0x0, ...}}, ...) pkg/sentry/fsimpl/devpts/replica.go:142 +0x65 fp=0xc00079f518 sp=0xc00079f4b8 pc=0xc8c945 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Read(0xc0003b8400, {0x14c8e18, 0xc0006a8a80}, {{0x14c30d0, 0xc000748000}, {0x0, 0x0, 0x0, 0x0}, {0x0, ...}}, ...) pkg/sentry/vfs/file_description.go:643 +0xf5 fp=0xc00079f5b8 sp=0xc00079f518 pc=0x73f715 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.read(0x9?, 0xc0003b8400, {{0x14c30d0, 0xc000748000}, {0x0, 0x0, 0x0, 0x0}, {0x0, 0x1}}, ...) pkg/sentry/syscalls/linux/sys_read_write.go:93 +0x85 fp=0xc00079f778 sp=0xc00079f5b8 pc=0xa838a5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Readv(0xc0006a8a80, {{0x4}, {0x0}, {0x0}, {0x0}, {0xa}, {0x0}}) pkg/sentry/syscalls/linux/sys_read_write.go:87 +0x1b4 fp=0xc00079f880 sp=0xc00079f778 pc=0xa835f4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0006a8a80, 0x13, {{0x4}, {0x0}, {0x0}, {0x0}, {0xa}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x755 fp=0xc00079fc70 sp=0xc00079f880 pc=0x942635 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0006a8a80, 0x0?, {{0x4}, {0x0}, {0x0}, {0x0}, {0xa}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x4a fp=0xc00079fcd0 sp=0xc00079fc70 pc=0x94386a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000275440?, 0xc00079fe18?, {{0x4}, {0x0}, {0x0}, {0x0}, {0xa}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x65 fp=0xc00079fd30 sp=0xc00079fcd0 pc=0x943545 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00017e630?) pkg/sentry/kernel/task_syscall.go:257 +0x2f0 fp=0xc00079fe28 sp=0xc00079fd30 pc=0x9432b0 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0003b8280?, 0xc0006a8a80) pkg/sentry/kernel/task_run.go:265 +0x103e fp=0xc00079ff60 sp=0xc00079fe28 pc=0x9374de gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0006a8a80, 0x7) pkg/sentry/kernel/task_run.go:94 +0x1b8 fp=0xc00079ffc0 sp=0xc00079ff60 pc=0x935e78 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc00079ffe0 sp=0xc00079ffc0 pc=0x940e2a runtime.goexit() src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00079ffe8 sp=0xc00079ffe0 pc=0x46d5e1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0xef