panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8d32f9] goroutine 1581823 [running]: panic({0x1040680, 0x1e6e7a0}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc001389578 sp=0xc0013894b8 pc=0x435837 runtime.panicmem(...) GOROOT/src/runtime/panic.go:220 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:818 +0x336 fp=0xc0013895c8 sp=0xc001389578 pc=0x44c236 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).IncUsers(0x8cfde5?) pkg/sentry/mm/lifecycle.go:246 +0x19 fp=0xc0013895d0 sp=0xc0013895c8 pc=0x8d32f9 gvisor.dev/gvisor/pkg/sentry/kernel.(*taskCopyContext).getMemoryManager(0xc00cd71f80) pkg/sentry/kernel/task_usermem.go:353 +0x8f fp=0xc0013895f0 sp=0xc0013895d0 pc=0xa2f84f gvisor.dev/gvisor/pkg/sentry/kernel.(*taskCopyContext).CopyInBytes(0xc00cd71f80, 0x44d632?, {0xc004a9fe44, 0x10, 0x90}) pkg/sentry/kernel/task_usermem.go:361 +0x7d fp=0xc001389690 sp=0xc0013895f0 pc=0xa2f93d gvisor.dev/gvisor/pkg/sentry/kernel.makeIovec({0x1404d78?, 0xc00cd71f80?}, 0xc004a9f500, 0xc007e44000?, {0xc004a9fe44, 0xc001389768?, 0x90}) pkg/sentry/kernel/task_usermem.go:261 +0x50 fp=0xc0013896c8 sp=0xc001389690 pc=0xa2efd0 gvisor.dev/gvisor/pkg/sentry/kernel.copyInIovecs({0x1404d78, 0xc00cd71f80}, 0xc004a9f500, 0x20001840, 0xa) pkg/sentry/kernel/task_usermem.go:231 +0x286 fp=0xc001389768 sp=0xc0013896c8 pc=0xa2ee06 gvisor.dev/gvisor/pkg/sentry/kernel.(*taskCopyContext).CopyInIovecs(0x0?, 0x0?, 0xa07920?) pkg/sentry/kernel/task_usermem.go:387 +0x3a fp=0xc0013897a0 sp=0xc001389768 pc=0xa2fe5a gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.doProcessVMReadWrite(0xc004a9f500, 0xc0076c6a80, 0xc001d39e60?, 0x0?, 0xc001389948?, 0xaab8c5?) pkg/sentry/syscalls/linux/vfs2/mmap.go:162 +0x153 fp=0xc001389898 sp=0xc0013897a0 pc=0xcf2573 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.processVMRW(0x55a20293cf88?, {{0x54a3}, {0x20000040}, {0x1}, {0x20001840}, {0xa}, {0x0}}, 0x0) pkg/sentry/syscalls/linux/vfs2/mmap.go:155 +0x205 fp=0xc001389908 sp=0xc001389898 pc=0xcf2325 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.ProcessVMReadv(0xc0075b6000?, {{0x54a3}, {0x20000040}, {0x1}, {0x20001840}, {0xa}, {0x0}}) pkg/sentry/syscalls/linux/vfs2/mmap.go:109 +0x45 fp=0xc001389958 sp=0xc001389908 pc=0xcf2065 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0075b6000, 0x136, {{0x54a3}, {0x20000040}, {0x1}, {0x20001840}, {0xa}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc001389c98 sp=0xc001389958 pc=0xa2b14b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0075b6000, 0xc00062eea0?, {{0x54a3}, {0x20000040}, {0x1}, {0x20001840}, {0xa}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc001389cf8 sp=0xc001389c98 pc=0xa2c734 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00034a400?, 0xc001389e40?, {{0x54a3}, {0x20000040}, {0x1}, {0x20001840}, {0xa}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc001389d58 sp=0xc001389cf8 pc=0xa2c325 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc003f4d810?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc001389e50 sp=0xc001389d58 pc=0xa2bfec gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc006167780?, 0xc0075b6000) pkg/sentry/kernel/task_run.go:253 +0x1125 fp=0xc001389f60 sp=0xc001389e50 pc=0xa1dda5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0075b6000, 0x54eb) pkg/sentry/kernel/task_run.go:94 +0x1ec fp=0xc001389fc0 sp=0xc001389f60 pc=0xa1c5ec gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x2a fp=0xc001389fe0 sp=0xc001389fc0 pc=0xa295ea runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc001389fe8 sp=0xc001389fe0 pc=0x469321 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0x105