panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xb7576a] goroutine 122 [running]: panic({0x16eef40, 0x2544c50}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc0001e2f18 sp=0xc0001e2e58 pc=0x438317 runtime.panicmem(...) GOROOT/src/runtime/panic.go:220 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:818 +0x336 fp=0xc0001e2f68 sp=0xc0001e2f18 pc=0x450556 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).IncUsers(0x0) pkg/sentry/mm/lifecycle.go:246 +0x2a fp=0xc0001e2f90 sp=0xc0001e2f68 pc=0xb7576a gvisor.dev/gvisor/pkg/sentry/kernel.(*taskCopyContext).getMemoryManager(0xc0004a8140) pkg/sentry/kernel/task_usermem.go:353 +0xb5 fp=0xc0001e2fc8 sp=0xc0001e2f90 pc=0xd60b15 gvisor.dev/gvisor/pkg/sentry/kernel.(*taskCopyContext).CopyInBytes(0xc0004a8140, 0x0?, {0xc00032fe44, 0x10, 0x90}) pkg/sentry/kernel/task_usermem.go:361 +0x77 fp=0xc0001e30c0 sp=0xc0001e2fc8 pc=0xd60bf7 gvisor.dev/gvisor/pkg/sentry/kernel.makeIovec({0x1bc8758, 0xc0004a8140}, 0xc00032f500, 0xc0001e3220?, {0xc00032fe44, 0x10, 0x90}) pkg/sentry/kernel/task_usermem.go:261 +0xa4 fp=0xc0001e3178 sp=0xc0001e30c0 pc=0xd5fd24 gvisor.dev/gvisor/pkg/sentry/kernel.copyInIovecs({0x1bc8758, 0xc0004a8140}, 0xc00032f500, 0x20000900, 0x1) pkg/sentry/kernel/task_usermem.go:231 +0x27f fp=0xc0001e3258 sp=0xc0001e3178 pc=0xd5fa1f gvisor.dev/gvisor/pkg/sentry/kernel.(*taskCopyContext).CopyInIovecs(...) pkg/sentry/kernel/task_usermem.go:387 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.doProcessVMReadWrite(0xc000743500, 0xc00032f500, 0x40000002?, 0x0?, 0x0?, 0x0?) pkg/sentry/syscalls/linux/vfs2/mmap.go:166 +0x325 fp=0xc0001e33f8 sp=0xc0001e3258 pc=0x1169fa5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.processVMRW(0xc000743500, {{0xf}, {0x20000580}, {0x2}, {0x20000900}, {0x1}, {0x0}}, 0x1) pkg/sentry/syscalls/linux/vfs2/mmap.go:152 +0x1c5 fp=0xc0001e3490 sp=0xc0001e33f8 pc=0x1169a65 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.ProcessVMWritev(0xc0001e3578?, {{0xf}, {0x20000580}, {0x2}, {0x20000900}, {0x1}, {0x0}}) pkg/sentry/syscalls/linux/vfs2/mmap.go:114 +0x59 fp=0xc0001e3508 sp=0xc0001e3490 pc=0x1169839 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000743500, 0x137, {{0xf}, {0x20000580}, {0x2}, {0x20000900}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x9b8 fp=0xc0001e3a18 sp=0xc0001e3508 pc=0xd5a898 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000743500, 0x0?, {{0xf}, {0x20000580}, {0x2}, {0x20000900}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x7d fp=0xc0001e3ab0 sp=0xc0001e3a18 pc=0xd5c5fd gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0009072c0?, 0xc000a38680?, {{0xf}, {0x20000580}, {0x2}, {0x20000900}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x8f fp=0xc0001e3b28 sp=0xc0001e3ab0 pc=0xd5bfef gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000743500) pkg/sentry/kernel/task_syscall.go:257 +0x496 fp=0xc0001e3c50 sp=0xc0001e3b28 pc=0xd5bb96 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000743500?, 0xc000743500) pkg/sentry/kernel/task_run.go:253 +0x18f9 fp=0xc0001e3ec0 sp=0xc0001e3c50 pc=0xd46eb9 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000743500, 0xe) pkg/sentry/kernel/task_run.go:94 +0x354 fp=0xc0001e3fb0 sp=0xc0001e3ec0 pc=0xd44c54 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x48 fp=0xc0001e3fe0 sp=0xc0001e3fb0 pc=0xd58488 runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc0001e3fe8 sp=0xc0001e3fe0 pc=0x46df01 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0x1a8