panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x7dda58] goroutine 1130465 [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 +0x48 gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).getPMAInternalMappingsLocked(0xc4202db900, 0xc420afcb00, 0x1, 0x20003000, 0x20013000, 0x20003000, 0x20013000, 0x1, 0xc420afcb00) pkg/sentry/mm/pma.go:748 +0x73 gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).withInternalMappings(0xc4202db900, 0x10c1cc0, 0xc420aa3200, 0x20003000, 0x20013000, 0x100, 0xc421237240, 0x154ada4ba082c91a, 0x1, 0x100000000000000) pkg/sentry/mm/io.go:493 +0x348 gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).withVecInternalMappings(0xc4202db900, 0x10c1cc0, 0xc420aa3200, 0x0, 0x1, 0x20003000, 0x10000, 0x100, 0xc42125d240, 0x7faa1c0c6208, ...) pkg/sentry/mm/io.go:533 +0x974 gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).CopyOutFrom(0xc4202db900, 0x10c1cc0, 0xc420aa3200, 0x0, 0x1, 0x20003000, 0x10000, 0x10b28c0, 0xc4201f5aa0, 0x470100, ...) pkg/sentry/mm/io.go:272 +0x211 gvisor.googlesource.com/gvisor/pkg/sentry/usermem.IOSequence.CopyOutFrom(0x10c0820, 0xc4202db900, 0x0, 0x1, 0x20003000, 0x10000, 0x100, 0x10c1cc0, 0xc420aa3200, 0x10b28c0, ...) pkg/sentry/usermem/usermem.go:521 +0xcf gvisor.googlesource.com/gvisor/pkg/sentry/fs/fsutil.(*CachingInodeOperations).Read(0xc420887c00, 0x10c1cc0, 0xc420aa3200, 0xc420f98fc0, 0x10c0820, 0xc4202db900, 0x0, 0x1, 0x20003000, 0x10000, ...) pkg/sentry/fs/fsutil/inode_cached.go:456 +0x1fe gvisor.googlesource.com/gvisor/pkg/sentry/fs/gofer.(*fileOperations).Read(0xc420c65290, 0x10c1cc0, 0xc420aa3200, 0xc420f98fc0, 0x10c0820, 0xc4202db900, 0x0, 0x1, 0x20003000, 0x10000, ...) pkg/sentry/fs/gofer/file.go:229 +0x4a7 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*overlayFileOperations).Read(0xc420c652c0, 0x10c1cc0, 0xc420aa3200, 0xc420f99050, 0x10c0820, 0xc4202db900, 0x0, 0x1, 0x20003000, 0x10000, ...) pkg/sentry/fs/file_overlay.go:215 +0x243 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).Preadv(0xc420f99050, 0x10c1cc0, 0xc420aa3200, 0x10c0820, 0xc4202db900, 0x0, 0x1, 0x20003000, 0x10000, 0x100, ...) pkg/sentry/fs/file.go:250 +0x13d gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.preadv(0xc420aa3200, 0xc420f99050, 0x10c0820, 0xc4202db900, 0x0, 0x1, 0x20003000, 0x10000, 0x100, 0x0, ...) pkg/sentry/syscalls/linux/sys_read.go:234 +0xaf gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Pread64(0xc420aa3200, 0x8, 0x20003000, 0x10000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/sys_read.go:114 +0x2fc gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc420aa3200, 0x11, 0x8, 0x20003000, 0x10000, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/kernel/task_syscall.go:162 +0x14f gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc420aa3200, 0x11, 0x8, 0x20003000, 0x10000, 0x0, 0x0, 0x0, 0x8, 0x46155c) pkg/sentry/kernel/task_syscall.go:280 +0x7e gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc420aa3200, 0x11, 0x8, 0x20003000, 0x10000, 0x0, 0x0, 0x0, 0xc4211303a0, 0xc42125dc68) pkg/sentry/kernel/task_syscall.go:241 +0xc4 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc420aa3200, 0x2, 0xc4203a58c0) pkg/sentry/kernel/task_syscall.go:216 +0x19f gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc420aa3200, 0x10b2b60, 0x0) pkg/sentry/kernel/task_run.go:219 +0x1502 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc420aa3200, 0x36cf) pkg/sentry/kernel/task_run.go:95 +0x265 created by gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:258 +0x194