panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1ae2d4d] goroutine 211 [running]: panic({0x3192e0, 0x2647070}) GOROOT/src/runtime/panic.go:987 +0x3bb fp=0xc0004c6940 sp=0xc0004c6880 pc=0x125ea7b runtime.panicmem(...) GOROOT/src/runtime/panic.go:260 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:837 +0x37d fp=0xc0004c69a0 sp=0xc0004c6940 pc=0x127793d gvisor.dev/gvisor/pkg/sentry/kernel.(*TTY).SignalForegroundProcessGroup(0xc000448be8, 0x1?) pkg/sentry/kernel/tty.go:54 +0xcd fp=0xc0004c6a90 sp=0xc0004c69a0 pc=0x1ae2d4d gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*inputQueueTransformer).transform(0x123540a, 0xc0002e2000, 0xc0002e2010, {0xc000624000, 0x20000, 0x20000}) pkg/sentry/fsimpl/devpts/line_discipline.go:407 +0x416 fp=0xc0004c6ce8 sp=0xc0004c6a90 pc=0x1ffce16 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*queue).pushWaitBufLocked(0xc0002e2010, 0xc00087a000?) pkg/sentry/fsimpl/devpts/queue.go:219 +0x19f fp=0xc0004c6d98 sp=0xc0004c6ce8 pc=0x200117f gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*queue).read(0xc0002e2010, {0x819e18, 0xc0001f1500}, {{0x8140d0, 0xc00087a000}, {0x0, 0x0, 0x0, 0x0}, {0x0, ...}}, ...) pkg/sentry/fsimpl/devpts/queue.go:140 +0x419 fp=0xc0004c6f78 sp=0xc0004c6d98 pc=0x2000059 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*lineDiscipline).inputQueueRead(0xc0002e2000, {0x819e18, 0xc0001f1500}, {{0x8140d0, 0xc00087a000}, {0x0, 0x0, 0x0, 0x0}, {0x0, ...}}) pkg/sentry/fsimpl/devpts/line_discipline.go:197 +0xc6 fp=0xc0004c7010 sp=0xc0004c6f78 pc=0x1ffb806 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*replicaFileDescription).Read(0xc0001bc300, {0x819e18, 0xc0001f1500}, {{0x8140d0, 0xc00087a000}, {0x0, 0x0, 0x0, 0x0}, {0x0, ...}}, ...) pkg/sentry/fsimpl/devpts/replica.go:142 +0xe5 fp=0xc0004c7098 sp=0xc0004c7010 pc=0x20022e5 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Read(0xc0001bc300, {0x819e18, 0xc0001f1500}, {{0x8140d0, 0xc00087a000}, {0x0, 0x0, 0x0, 0x0}, {0x0, ...}}, ...) pkg/sentry/vfs/file_description.go:643 +0x15e fp=0xc0004c7180 sp=0xc0004c7098 pc=0x178d05e gvisor.dev/gvisor/pkg/sentry/syscalls/linux.read(0x1cb6920?, 0xc0001bc300, {{0x8140d0, 0xc00087a000}, {0x0, 0x0, 0x0, 0x0}, {0x0, 0x1}}, ...) pkg/sentry/syscalls/linux/sys_read_write.go:93 +0x9d fp=0xc0004c7370 sp=0xc0004c7180 pc=0x1cd96bd gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Readv(0xc0001f1500, {{0x4}, {0x0}, {0x0}, {0x0}, {0xa}, {0x0}}) pkg/sentry/syscalls/linux/sys_read_write.go:87 +0x265 fp=0xc0004c74d8 sp=0xc0004c7370 pc=0x1cd9345 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0001f1500, 0x13, {{0x4}, {0x0}, {0x0}, {0x0}, {0xa}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x9b9 fp=0xc0004c79b8 sp=0xc0004c74d8 pc=0x1ad3cd9 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0001f1500, 0x0?, {{0x4}, {0x0}, {0x0}, {0x0}, {0xa}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x7d fp=0xc0004c7a50 sp=0xc0004c79b8 pc=0x1ad5abd gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00003e270?, 0xc0002d01e0?, {{0x4}, {0x0}, {0x0}, {0x0}, {0xa}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x8f fp=0xc0004c7ac8 sp=0xc0004c7a50 pc=0x1ad546f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0001f1500) pkg/sentry/kernel/task_syscall.go:257 +0x4c5 fp=0xc0004c7bf0 sp=0xc0004c7ac8 pc=0x1ad5005 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0001f1500?, 0xc0001f1500) pkg/sentry/kernel/task_run.go:265 +0x1d4b fp=0xc0004c7ec8 sp=0xc0004c7bf0 pc=0x1abfa4b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0001f1500, 0x8) pkg/sentry/kernel/task_run.go:94 +0x36b fp=0xc0004c7fb0 sp=0xc0004c7ec8 pc=0x1abd36b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x48 fp=0xc0004c7fe0 sp=0xc0004c7fb0 pc=0x1ad17e8 runtime.goexit() src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0004c7fe8 sp=0xc0004c7fe0 pc=0x1297921 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x1ad