panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x9e14a5] goroutine 103 [running]: panic({0x11f0ea0, 0x2119f30}) GOROOT/src/runtime/panic.go:1147 +0x3a8 fp=0xc000a63540 sp=0xc000a63480 pc=0x4351c8 runtime.panicmem(...) GOROOT/src/runtime/panic.go:221 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:735 +0x327 fp=0xc000a63590 sp=0xc000a63540 pc=0x44bd67 gvisor.dev/gvisor/pkg/sentry/kernel.(*ThreadGroup).MigrateCgroup(0x0, {0xc000a76240, {0x155fbe0, 0xc000a73c00}}) pkg/sentry/kernel/task_cgroup.go:140 +0x85 fp=0xc000a63668 sp=0xc000a63590 pc=0x9e14a5 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*cgroupProcsData).Write(0xc000a18010, {0x1576490, 0xc000956a80}, 0xc000d80060, {{0x15698c8, 0xc00097c000}, {0x0, 0x1, 0x20000080, 0xb}, ...}, ...) pkg/sentry/fsimpl/cgroupfs/base.go:305 +0x131 fp=0xc000a636d0 sp=0xc000a63668 pc=0xc9db91 gvisor.dev/gvisor/pkg/sentry/vfs.(*DynamicBytesFileDescriptionImpl).pwriteLocked(0xc000d80000, {0x1576490, 0xc000956a80}, {{0x15698c8, 0xc00097c000}, {0x0, 0x1, 0x20000080, 0xb}, {0x0, ...}}, ...) pkg/sentry/vfs/file_description_impl_util.go:381 +0x2a3 fp=0xc000a637f0 sp=0xc000a636d0 pc=0x7298c3 gvisor.dev/gvisor/pkg/sentry/vfs.(*DynamicBytesFileDescriptionImpl).Write(0xc000d80000, {0x1576490, 0xc000956a80}, {{0x15698c8, 0xc00097c000}, {0x0, 0x1, 0x20000080, 0xb}, {0x0, ...}}, ...) pkg/sentry/vfs/file_description_impl_util.go:402 +0xb2 fp=0xc000a63880 sp=0xc000a637f0 pc=0x729bf2 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*DynamicBytesFD).Write(0xc000a63978, {0x1576490, 0xc000956a80}, {{0x15698c8, 0xc00097c000}, {0x0, 0x1, 0x20000080, 0xb}, {0x0, ...}}, ...) pkg/sentry/fsimpl/kernfs/dynamic_bytes_file.go:125 +0x65 fp=0xc000a638e8 sp=0xc000a63880 pc=0x8350c5 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write(0xc000d80060, {0x1576490, 0xc000956a80}, {{0x15698c8, 0xc00097c000}, {0x0, 0x1, 0x20000080, 0xb}, {0x0, ...}}, ...) pkg/sentry/vfs/file_description.go:665 +0xa5 fp=0xc000a63968 sp=0xc000a638e8 pc=0x726465 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.write(0xc000956a80, 0xc000d80060, {{0x15698c8, 0xc00097c000}, {0x0, 0x1, 0x20000080, 0xb}, {0x0, 0x1}}, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:348 +0x8e fp=0xc000a63ab8 sp=0xc000a63968 pc=0xef958e gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Write(0xc000956a80, {{0x4}, {0x20000080}, {0xb}, {0x0}, {0x17}, {0x0}}) pkg/sentry/syscalls/linux/vfs2/read_write.go:317 +0x265 fp=0xc000a63bf8 sp=0xc000a63ab8 pc=0xef8d65 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000956a80, 0x1, {{0x4}, {0x20000080}, {0xb}, {0x0}, {0x17}, {0x0}}) pkg/sentry/kernel/task_syscall.go:103 +0x2d7 fp=0xc000a63ca8 sp=0xc000a63bf8 pc=0xa020f7 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000956a80, 0xc000a63d70, {{0x4}, {0x20000080}, {0xb}, {0x0}, {0x17}, {0x0}}) pkg/sentry/kernel/task_syscall.go:238 +0x57 fp=0xc000a63d18 sp=0xc000a63ca8 pc=0xa02eb7 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000958168, 0x956a80, {{0x4}, {0x20000080}, {0xb}, {0x0}, {0x17}, {0x0}}) pkg/sentry/kernel/task_syscall.go:198 +0x85 fp=0xc000a63d78 sp=0xc000a63d18 pc=0xa02a85 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000956a80) pkg/sentry/kernel/task_syscall.go:173 +0x38e fp=0xc000a63e40 sp=0xc000a63d78 pc=0xa0274e gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000638400, 0xc000956a80) pkg/sentry/kernel/task_run.go:254 +0x111b fp=0xc000a63f60 sp=0xc000a63e40 pc=0x9f583b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000956a80, 0x14) pkg/sentry/kernel/task_run.go:95 +0x1ec fp=0xc000a63fc0 sp=0xc000a63f60 pc=0x9f40ac gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start·dwrap·236() pkg/sentry/kernel/task_start.go:339 +0x2a fp=0xc000a63fe0 sp=0xc000a63fc0 pc=0xa00a6a runtime.goexit() src/runtime/asm_amd64.s:1581 +0x1 fp=0xc000a63fe8 sp=0xc000a63fe0 pc=0x469321 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:339 +0x106