panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x579cd0] goroutine 492478 [running]: panic({0xcc4e20, 0x1c0ee20}) GOROOT/src/runtime/panic.go:987 +0x3ac fp=0x4001f112f0 sp=0x4001f11230 pc=0x450ac runtime.panicmem() GOROOT/src/runtime/panic.go:260 +0x48 fp=0x4001f11310 sp=0x4001f112f0 pc=0x43a28 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:837 +0x214 fp=0x4001f11350 sp=0x4001f11310 pc=0x5c7f4 gvisor.dev/gvisor/pkg/sentry/kernel.(*TTY).SignalForegroundProcessGroup(0x40064a3080, 0x4006f22077?) pkg/sentry/kernel/tty.go:54 +0x80 fp=0x4001f113f0 sp=0x4001f11360 pc=0x579cd0 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*inputQueueTransformer).transform(0x4001f11630, 0x4006f20000, 0x4006f20010, {0x4006f22067?, 0x4001f11678?, 0x15720?}) pkg/sentry/fsimpl/devpts/line_discipline.go:407 +0x39c fp=0x4001f11620 sp=0x4001f113f0 pc=0x8b46ac gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*queue).pushWaitBufLocked(0x4006f20010, 0x10d84c0?) pkg/sentry/fsimpl/devpts/queue.go:219 +0xe8 fp=0x4001f11690 sp=0x4001f11620 pc=0x8b7068 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*lineDiscipline).setTermios(0x4006f20000, 0x409858?, {{0x3}, {0x5403}, {0x20000080}, {0x0}, {0x0}, {0x0}}) pkg/sentry/fsimpl/devpts/line_discipline.go:153 +0x158 fp=0x4001f11730 sp=0x4001f11690 pc=0x8b2df8 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*masterFileDescription).Ioctl(0x400098a700, {0x10e5338, 0x4006db6a80}, {0x10dfbe8, 0x4006ee6000}, {{0x3}, {0x5403}, {0x20000080}, {0x0}, {0x0}, ...}) pkg/sentry/fsimpl/devpts/master.go:159 +0xd4 fp=0x4001f117e0 sp=0x4001f11730 pc=0x8b5504 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Ioctl(...) pkg/sentry/vfs/file_description.go:707 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Ioctl(0x4006db6a80, {{0x3}, {0x5403}, {0x20000080}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:286 +0x3a0 fp=0x4001f118f0 sp=0x4001f117e0 pc=0x6a68e0 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0x4006db6a80, 0x1d, {{0x3}, {0x5403}, {0x20000080}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x678 fp=0x4001f11c30 sp=0x4001f118f0 pc=0x570318 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0x4006db6a80, 0x0?, {{0x3}, {0x5403}, {0x20000080}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x48 fp=0x4001f11c90 sp=0x4001f11c30 pc=0x5715f8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0x4001f11d48?, 0x52e478?, {{0x3}, {0x5403}, {0x20000080}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x7c fp=0x4001f11cf0 sp=0x4001f11c90 pc=0x5711fc gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0x40096f6410?) pkg/sentry/kernel/task_syscall.go:257 +0x330 fp=0x4001f11df0 sp=0x4001f11cf0 pc=0x570f20 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x400098a680?, 0x4006db6a80) pkg/sentry/kernel/task_run.go:265 +0x1170 fp=0x4001f11f40 sp=0x4001f11df0 pc=0x564200 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0x4006db6a80, 0x2a7c) pkg/sentry/kernel/task_run.go:94 +0x208 fp=0x4001f11fb0 sp=0x4001f11f40 pc=0x562a58 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2c fp=0x4001f11fd0 sp=0x4001f11fb0 pc=0x56ea4c runtime.goexit() src/runtime/asm_arm64.s:1172 +0x4 fp=0x4001f11fd0 sp=0x4001f11fd0 pc=0x7a444 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0xf8