panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8d32f9] goroutine 1363605 [running]: panic({0x1040680, 0x1e6e7a0}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc003c2d578 sp=0xc003c2d4b8 pc=0x435837 runtime.panicmem(...) GOROOT/src/runtime/panic.go:220 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:818 +0x336 fp=0xc003c2d5c8 sp=0xc003c2d578 pc=0x44c236 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).IncUsers(0x140f5f0?) pkg/sentry/mm/lifecycle.go:246 +0x19 fp=0xc003c2d5d0 sp=0xc003c2d5c8 pc=0x8d32f9 gvisor.dev/gvisor/pkg/sentry/kernel.(*taskCopyContext).getMemoryManager(0xc003c16fc0) pkg/sentry/kernel/task_usermem.go:353 +0x8f fp=0xc003c2d5f0 sp=0xc003c2d5d0 pc=0xa2f84f gvisor.dev/gvisor/pkg/sentry/kernel.(*taskCopyContext).CopyInBytes(0xc003c16fc0, 0x0?, {0xc012d333c4, 0x10, 0x90}) pkg/sentry/kernel/task_usermem.go:361 +0x7d fp=0xc003c2d690 sp=0xc003c2d5f0 pc=0xa2f93d gvisor.dev/gvisor/pkg/sentry/kernel.makeIovec({0x1404d78?, 0xc003c16fc0?}, 0xc012d32a80, 0xc00c60ff80?, {0xc012d333c4, 0xc003c2d768?, 0x90}) pkg/sentry/kernel/task_usermem.go:261 +0x50 fp=0xc003c2d6c8 sp=0xc003c2d690 pc=0xa2efd0 gvisor.dev/gvisor/pkg/sentry/kernel.copyInIovecs({0x1404d78, 0xc003c16fc0}, 0xc012d32a80, 0x20004500, 0x1) pkg/sentry/kernel/task_usermem.go:231 +0x286 fp=0xc003c2d768 sp=0xc003c2d6c8 pc=0xa2ee06 gvisor.dev/gvisor/pkg/sentry/kernel.(*taskCopyContext).CopyInIovecs(0x0?, 0x0?, 0xa07920?) pkg/sentry/kernel/task_usermem.go:387 +0x3a fp=0xc003c2d7a0 sp=0xc003c2d768 pc=0xa2fe5a gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.doProcessVMReadWrite(0xc00659b500, 0xc012d32a80, 0xc0050fd020?, 0x0?, 0xc003c2d948?, 0xaab8c5?) pkg/sentry/syscalls/linux/vfs2/mmap.go:166 +0x190 fp=0xc003c2d898 sp=0xc003c2d7a0 pc=0xcf25b0 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.processVMRW(0x561cb345cf88?, {{0xc36d}, {0x20004400}, {0x1}, {0x20004500}, {0x1}, {0x0}}, 0x1) pkg/sentry/syscalls/linux/vfs2/mmap.go:152 +0x1cf fp=0xc003c2d908 sp=0xc003c2d898 pc=0xcf22ef gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.ProcessVMWritev(0xc002a9ea80?, {{0xc36d}, {0x20004400}, {0x1}, {0x20004500}, {0x1}, {0x0}}) pkg/sentry/syscalls/linux/vfs2/mmap.go:114 +0x45 fp=0xc003c2d958 sp=0xc003c2d908 pc=0xcf20e5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc002a9ea80, 0x137, {{0xc36d}, {0x20004400}, {0x1}, {0x20004500}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc003c2dc98 sp=0xc003c2d958 pc=0xa2b14b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc002a9ea80, 0x85?, {{0xc36d}, {0x20004400}, {0x1}, {0x20004500}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc003c2dcf8 sp=0xc003c2dc98 pc=0xa2c734 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc003c2dda0?, 0x9e1546?, {{0xc36d}, {0x20004400}, {0x1}, {0x20004500}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc003c2dd58 sp=0xc003c2dcf8 pc=0xa2c325 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc008d661a0?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc003c2de50 sp=0xc003c2dd58 pc=0xa2bfec gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0075f2400?, 0xc002a9ea80) pkg/sentry/kernel/task_run.go:253 +0x1125 fp=0xc003c2df60 sp=0xc003c2de50 pc=0xa1dda5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc002a9ea80, 0xc395) pkg/sentry/kernel/task_run.go:94 +0x1ec fp=0xc003c2dfc0 sp=0xc003c2df60 pc=0xa1c5ec gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x2a fp=0xc003c2dfe0 sp=0xc003c2dfc0 pc=0xa295ea runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc003c2dfe8 sp=0xc003c2dfe0 pc=0x469321 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0x105