panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xb7576a] goroutine 1425122 [running]: panic({0x16ee920, 0x2544c50}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc00266af18 sp=0xc00266ae58 pc=0x438317 runtime.panicmem(...) GOROOT/src/runtime/panic.go:220 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:818 +0x336 fp=0xc00266af68 sp=0xc00266af18 pc=0x450556 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).IncUsers(0x0) pkg/sentry/mm/lifecycle.go:246 +0x2a fp=0xc00266af90 sp=0xc00266af68 pc=0xb7576a gvisor.dev/gvisor/pkg/sentry/kernel.(*taskCopyContext).getMemoryManager(0xc001702600) pkg/sentry/kernel/task_usermem.go:353 +0xb5 fp=0xc00266afc8 sp=0xc00266af90 pc=0xd60475 gvisor.dev/gvisor/pkg/sentry/kernel.(*taskCopyContext).CopyInBytes(0xc001702600, 0xc00a323507?, {0xc0070853c4, 0x10, 0x90}) pkg/sentry/kernel/task_usermem.go:361 +0x77 fp=0xc00266b0c0 sp=0xc00266afc8 pc=0xd60557 gvisor.dev/gvisor/pkg/sentry/kernel.makeIovec({0x1bc8058, 0xc001702600}, 0xc007084a80, 0xc00266b220?, {0xc0070853c4, 0x10, 0x90}) pkg/sentry/kernel/task_usermem.go:261 +0xa4 fp=0xc00266b178 sp=0xc00266b0c0 pc=0xd5f684 gvisor.dev/gvisor/pkg/sentry/kernel.copyInIovecs({0x1bc8058, 0xc001702600}, 0xc007084a80, 0x20001ec0, 0x1) pkg/sentry/kernel/task_usermem.go:231 +0x27f fp=0xc00266b258 sp=0xc00266b178 pc=0xd5f37f gvisor.dev/gvisor/pkg/sentry/kernel.(*taskCopyContext).CopyInIovecs(...) pkg/sentry/kernel/task_usermem.go:387 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.doProcessVMReadWrite(0xc007084a80, 0xc007691500, 0x0?, 0xe3e36e?, 0xc007c88000?, 0x0?) pkg/sentry/syscalls/linux/vfs2/mmap.go:162 +0x2d3 fp=0xc00266b3f8 sp=0xc00266b258 pc=0x1169933 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.processVMRW(0xc007c88000, {{0x33ed}, {0x20001d80}, {0x4}, {0x20001ec0}, {0x1}, {0x0}}, 0x0) pkg/sentry/syscalls/linux/vfs2/mmap.go:155 +0x225 fp=0xc00266b490 sp=0xc00266b3f8 pc=0x11694a5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.ProcessVMReadv(0xc007c88000?, {{0x33ed}, {0x20001d80}, {0x4}, {0x20001ec0}, {0x1}, {0x0}}) pkg/sentry/syscalls/linux/vfs2/mmap.go:109 +0x56 fp=0xc00266b508 sp=0xc00266b490 pc=0x1169156 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc007c88000, 0x136, {{0x33ed}, {0x20001d80}, {0x4}, {0x20001ec0}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x9b8 fp=0xc00266ba18 sp=0xc00266b508 pc=0xd5a1f8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc007c88000, 0x0?, {{0x33ed}, {0x20001d80}, {0x4}, {0x20001ec0}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x7d fp=0xc00266bab0 sp=0xc00266ba18 pc=0xd5bf5d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc005e9d790?, 0xc0023ad0e0?, {{0x33ed}, {0x20001d80}, {0x4}, {0x20001ec0}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x8f fp=0xc00266bb28 sp=0xc00266bab0 pc=0xd5b94f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc007c88000) pkg/sentry/kernel/task_syscall.go:257 +0x496 fp=0xc00266bc50 sp=0xc00266bb28 pc=0xd5b4f6 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc007c88000?, 0xc007c88000) pkg/sentry/kernel/task_run.go:253 +0x18f9 fp=0xc00266bec0 sp=0xc00266bc50 pc=0xd46819 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc007c88000, 0xc6e1) pkg/sentry/kernel/task_run.go:94 +0x354 fp=0xc00266bfb0 sp=0xc00266bec0 pc=0xd445b4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x48 fp=0xc00266bfe0 sp=0xc00266bfb0 pc=0xd57de8 runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc00266bfe8 sp=0xc00266bfe0 pc=0x46df01 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0x1a8