panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6af046] goroutine 43 [running]: gvisor.googlesource.com/gvisor/pkg/sentry/mm.pmaIterator.ValuePtr(...) bazel-out/k8-fastbuild/bin/pkg/sentry/mm/pma_set.go:973 gvisor.googlesource.com/gvisor/pkg/sentry/mm.pmaIterator.getInternalMappingsLocked(0x0, 0x0, 0x0, 0x0) pkg/sentry/mm/pma.go:972 +0x26 gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).getPMAInternalMappingsLocked(0xc0007f4000, 0xc0007f4668, 0x3, 0x20000f80, 0x20001010, 0x20000000, 0x20002000, 0x1, 0xc0007f4668) pkg/sentry/mm/pma.go:748 +0x5d gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).withInternalMappings(0xc0007f4000, 0xd1fec0, 0xc000748a80, 0x20000f80, 0x20001010, 0xc000000100, 0xc00082d818, 0xc00082d9a8, 0x62fd1b, 0x78) pkg/sentry/mm/io.go:493 +0x331 gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).CopyOut(0xc0007f4000, 0xd1fec0, 0xc000748a80, 0x20000f80, 0xc0001b0100, 0x90, 0x100, 0x100, 0x100, 0xc09860, ...) pkg/sentry/mm/io.go:119 +0x14d gvisor.googlesource.com/gvisor/pkg/sentry/usermem.(*IOReadWriter).Write(0xc00082d910, 0xc0001b0100, 0x90, 0x100, 0x1338ac0, 0xc09860, 0xc000220120) pkg/sentry/usermem/usermem.go:155 +0x7c gvisor.googlesource.com/gvisor/pkg/sentry/usermem.CopyObjectOut(0xd1fec0, 0xc000748a80, 0xd1ef60, 0xc0007f4000, 0x20000f80, 0xc09860, 0xc000220120, 0xc000820100, 0x90, 0xc000220120, ...) pkg/sentry/usermem/usermem.go:184 +0x10a gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).CopyOut(0xc000748a80, 0x20000f80, 0xc09860, 0xc000220120, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_usermem.go:73 +0x7b gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.stat(0xc000748a80, 0xc00022e510, 0xc00022e600, 0x20000f80, 0x0, 0xd146e0) pkg/sentry/syscalls/linux/sys_stat.go:127 +0x413 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Fstat(0xc000748a80, 0x4, 0x20000f80, 0x433be9, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/sys_stat.go:96 +0xc6 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000748a80, 0x5, 0x4, 0x20000f80, 0x433be9, 0x0, 0x0, 0x0, 0xc000107080, 0xc37500, ...) pkg/sentry/kernel/task_syscall.go:165 +0x30a gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000748a80, 0x5, 0x4, 0x20000f80, 0x433be9, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:283 +0x69 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000748a80, 0x5, 0x4, 0x20000f80, 0x433be9, 0x0, 0x0, 0x0, 0x100080000, 0xc0001a5138) pkg/sentry/kernel/task_syscall.go:244 +0x99 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000748a80, 0x2, 0xc000554480) pkg/sentry/kernel/task_syscall.go:219 +0x142 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc000748a80, 0xd12c20, 0x0) pkg/sentry/kernel/task_run.go:215 +0xfda gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc000748a80, 0xc) pkg/sentry/kernel/task_run.go:91 +0x149 created by gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:279 +0xfe