panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x9e14a5] goroutine 338 [running]: panic({0x11f0ea0, 0x2119f30}) GOROOT/src/runtime/panic.go:1147 +0x3a8 fp=0xc000aa1540 sp=0xc000aa1480 pc=0x4351c8 runtime.panicmem(...) GOROOT/src/runtime/panic.go:221 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:735 +0x327 fp=0xc000aa1590 sp=0xc000aa1540 pc=0x44bd67 gvisor.dev/gvisor/pkg/sentry/kernel.(*ThreadGroup).MigrateCgroup(0x0, {0xc00036e2d0, {0x155fbe0, 0xc0001f2000}}) pkg/sentry/kernel/task_cgroup.go:140 +0x85 fp=0xc000aa1668 sp=0xc000aa1590 pc=0x9e14a5 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*cgroupProcsData).Write(0xc00000e010, {0x1576490, 0xc0005d4a80}, 0xc00032c4c0, {{0x15698c8, 0xc000b20000}, {0x0, 0x1, 0x20000080, 0xb}, ...}, ...) pkg/sentry/fsimpl/cgroupfs/base.go:305 +0x131 fp=0xc000aa16d0 sp=0xc000aa1668 pc=0xc9db91 gvisor.dev/gvisor/pkg/sentry/vfs.(*DynamicBytesFileDescriptionImpl).pwriteLocked(0xc00032c460, {0x1576490, 0xc0005d4a80}, {{0x15698c8, 0xc000b20000}, {0x0, 0x1, 0x20000080, 0xb}, {0x0, ...}}, ...) pkg/sentry/vfs/file_description_impl_util.go:381 +0x2a3 fp=0xc000aa17f0 sp=0xc000aa16d0 pc=0x7298c3 gvisor.dev/gvisor/pkg/sentry/vfs.(*DynamicBytesFileDescriptionImpl).Write(0xc00032c460, {0x1576490, 0xc0005d4a80}, {{0x15698c8, 0xc000b20000}, {0x0, 0x1, 0x20000080, 0xb}, {0x0, ...}}, ...) pkg/sentry/vfs/file_description_impl_util.go:402 +0xb2 fp=0xc000aa1880 sp=0xc000aa17f0 pc=0x729bf2 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*DynamicBytesFD).Write(0xc000aa1978, {0x1576490, 0xc0005d4a80}, {{0x15698c8, 0xc000b20000}, {0x0, 0x1, 0x20000080, 0xb}, {0x0, ...}}, ...) pkg/sentry/fsimpl/kernfs/dynamic_bytes_file.go:125 +0x65 fp=0xc000aa18e8 sp=0xc000aa1880 pc=0x8350c5 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write(0xc00032c4c0, {0x1576490, 0xc0005d4a80}, {{0x15698c8, 0xc000b20000}, {0x0, 0x1, 0x20000080, 0xb}, {0x0, ...}}, ...) pkg/sentry/vfs/file_description.go:665 +0xa5 fp=0xc000aa1968 sp=0xc000aa18e8 pc=0x726465 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.write(0x43fcb1, 0xc00032c4c0, {{0x15698c8, 0xc000b20000}, {0x0, 0x1, 0x20000080, 0xb}, {0x0, 0x1}}, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:348 +0x8e fp=0xc000aa1ab8 sp=0xc000aa1968 pc=0xef958e gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Write(0xc0005d4a80, {{0x4}, {0x20000080}, {0xb}, {0x0}, {0x17}, {0x0}}) pkg/sentry/syscalls/linux/vfs2/read_write.go:317 +0x265 fp=0xc000aa1bf8 sp=0xc000aa1ab8 pc=0xef8d65 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0005d4a80, 0x1, {{0x4}, {0x20000080}, {0xb}, {0x0}, {0x17}, {0x0}}) pkg/sentry/kernel/task_syscall.go:103 +0x2d7 fp=0xc000aa1ca8 sp=0xc000aa1bf8 pc=0xa020f7 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0005d4a80, 0xf591a0, {{0x4}, {0x20000080}, {0xb}, {0x0}, {0x17}, {0x0}}) pkg/sentry/kernel/task_syscall.go:238 +0x57 fp=0xc000aa1d18 sp=0xc000aa1ca8 pc=0xa02eb7 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0003aeea0, 0x158a4b8, {{0x4}, {0x20000080}, {0xb}, {0x0}, {0x17}, {0x0}}) pkg/sentry/kernel/task_syscall.go:198 +0x85 fp=0xc000aa1d78 sp=0xc000aa1d18 pc=0xa02a85 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0005d4a80) pkg/sentry/kernel/task_syscall.go:173 +0x38e fp=0xc000aa1e40 sp=0xc000aa1d78 pc=0xa0274e gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0009a2080, 0xc0005d4a80) pkg/sentry/kernel/task_run.go:254 +0x111b fp=0xc000aa1f60 sp=0xc000aa1e40 pc=0x9f583b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0005d4a80, 0xc) pkg/sentry/kernel/task_run.go:95 +0x1ec fp=0xc000aa1fc0 sp=0xc000aa1f60 pc=0x9f40ac gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start·dwrap·236() pkg/sentry/kernel/task_start.go:339 +0x2a fp=0xc000aa1fe0 sp=0xc000aa1fc0 pc=0xa00a6a runtime.goexit() src/runtime/asm_amd64.s:1581 +0x1 fp=0xc000aa1fe8 sp=0xc000aa1fe0 pc=0x469321 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:339 +0x106