panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xbda26e] goroutine 2406 [running]: panic({0x182c3a0, 0x258fc50}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc0005d0f70 sp=0xc0005d0eb0 pc=0x438317 runtime.panicmem(...) GOROOT/src/runtime/panic.go:220 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:818 +0x336 fp=0xc0005d0fc0 sp=0xc0005d0f70 pc=0x450556 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).IncUsers(0x0) pkg/sentry/mm/lifecycle.go:246 +0x4e fp=0xc0005d0ff0 sp=0xc0005d0fc0 pc=0xbda26e gvisor.dev/gvisor/pkg/sentry/kernel.(*taskCopyContext).getMemoryManager(0xc000b04420) pkg/sentry/kernel/task_usermem.go:353 +0xe6 fp=0xc0005d1030 sp=0xc0005d0ff0 pc=0xdfd206 gvisor.dev/gvisor/pkg/sentry/kernel.(*taskCopyContext).CopyInBytes(0xc000b04420, 0x2612088?, {0xc000d573c4, 0x10, 0x90}) pkg/sentry/kernel/task_usermem.go:361 +0x88 fp=0xc0005d1138 sp=0xc0005d1030 pc=0xdfd328 gvisor.dev/gvisor/pkg/sentry/kernel.makeIovec({0x1bf3678, 0xc000b04420}, 0xc000d56a80, 0x0?, {0xc000d573c4, 0x10, 0x90}) pkg/sentry/kernel/task_usermem.go:261 +0xb5 fp=0xc0005d11e8 sp=0xc0005d1138 pc=0xdfc295 gvisor.dev/gvisor/pkg/sentry/kernel.copyInIovecs({0x1bf3678, 0xc000b04420}, 0xc000b04420?, 0x20000880, 0x1) pkg/sentry/kernel/task_usermem.go:231 +0x3aa fp=0xc0005d12e8 sp=0xc0005d11e8 pc=0xdfbe4a gvisor.dev/gvisor/pkg/sentry/kernel.(*taskCopyContext).CopyInIovecs(0xc000b04420, 0xc0003a4230?, 0x4?) pkg/sentry/kernel/task_usermem.go:387 +0x74 fp=0xc0005d1350 sp=0xc0005d12e8 pc=0xdfdb74 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.doProcessVMReadWrite(0xc0010daa80, 0xc000d56a80, 0x0?, 0x0?, 0x0?, 0x0?) pkg/sentry/syscalls/linux/vfs2/mmap.go:166 +0x334 fp=0xc0005d1488 sp=0xc0005d1350 pc=0x12753f4 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.processVMRW(0xc0010db500, {{0x26}, {0x20000240}, {0x1}, {0x20000880}, {0x1}, {0x0}}, 0x1) pkg/sentry/syscalls/linux/vfs2/mmap.go:152 +0x2ff fp=0xc0005d1538 sp=0xc0005d1488 pc=0x1274e1f gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.ProcessVMWritev(0x44a225?, {{0x26}, {0x20000240}, {0x1}, {0x20000880}, {0x1}, {0x0}}) pkg/sentry/syscalls/linux/vfs2/mmap.go:114 +0x6a fp=0xc0005d15b0 sp=0xc0005d1538 pc=0x1274aca gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0010db500, 0x137, {{0x26}, {0x20000240}, {0x1}, {0x20000880}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0xab8 fp=0xc0005d19f8 sp=0xc0005d15b0 pc=0xdf5d98 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0010db500, 0x1?, {{0x26}, {0x20000240}, {0x1}, {0x20000880}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x8e fp=0xc0005d1a98 sp=0xc0005d19f8 pc=0xdf7f2e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000af43c0?, 0x46fb2c?, {{0x26}, {0x20000240}, {0x1}, {0x20000880}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0xc5 fp=0xc0005d1b10 sp=0xc0005d1a98 pc=0xdf7805 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0010db500) pkg/sentry/kernel/task_syscall.go:257 +0x53b fp=0xc0005d1c38 sp=0xc0005d1b10 pc=0xdf72fb gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0010db500?, 0xc0010db500) pkg/sentry/kernel/task_run.go:253 +0x1e2b fp=0xc0005d1ec0 sp=0xc0005d1c38 pc=0xde052b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0010db500, 0x40) pkg/sentry/kernel/task_run.go:94 +0x2c2 fp=0xc0005d1fb0 sp=0xc0005d1ec0 pc=0xdddd42 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x48 fp=0xc0005d1fe0 sp=0xc0005d1fb0 pc=0xdf34a8 runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc0005d1fe8 sp=0xc0005d1fe0 pc=0x46df01 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0x1d0