panic: invalid allocation length: 0x0 goroutine 11004 [running]: panic({0x10e8c80, 0xc00292b260}) GOROOT/src/runtime/panic.go:1147 +0x3a8 fp=0xc0017f7170 sp=0xc0017f70b0 pc=0x435148 gvisor.dev/gvisor/pkg/sentry/pgalloc.(*MemoryFile).Allocate(0xc001923800, 0xa4f03b, {0x62a1525f, 0xc0017f72d8}) pkg/sentry/pgalloc/pgalloc.go:417 +0x5f4 fp=0xc0017f7280 sp=0xc0017f7170 pc=0x81b614 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).getPMAsInternalLocked(0xc002944000, {0x14ca230, 0xc0032faa80}, {0xc002553800, 0x438107}, {0xc0017f7718, 0x9022d8}, {0x0, 0x1, 0x0}) pkg/sentry/mm/pma.go:243 +0x1949 fp=0xc0017f7688 sp=0xc0017f7280 pc=0x8e5629 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).getPMAsLocked(0x0, {0x14ca230, 0xc0032faa80}, {0xc002553800, 0xc0001b8138}, {0xc0010912b8, 0xaccfa5}, {0x0, 0x1, 0x0}) pkg/sentry/mm/pma.go:125 +0x10e fp=0xc0017f7728 sp=0xc0017f7688 pc=0x8e374e gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).withInternalMappings(0xc002944000, {0x14ca230, 0xc0032faa80}, {0x14cd300, 0xc000d10800}, {0x0, 0x91, 0x34}, 0x1, 0x1326e60) pkg/sentry/mm/io.go:542 +0x289 fp=0xc0017f7810 sp=0xc0017f7728 pc=0x8dd229 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).EnsurePMAsExist(0xf4240, {0x14ca230, 0xc0032faa80}, 0x0, 0x0, {0x0, 0x0}) pkg/sentry/mm/io.go:322 +0xab fp=0xc0017f7858 sp=0xc0017f7810 pc=0x8dbd2b gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.getdents(0xc0032faa80, {{0x4}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}, 0x0) pkg/sentry/syscalls/linux/vfs2/getdents.go:53 +0x177 fp=0xc0017f7920 sp=0xc0017f7858 pc=0xd91bf7 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Getdents(0xc0032faa80, {{0x4}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/vfs2/getdents.go:31 +0x45 fp=0xc0017f7970 sp=0xc0017f7920 pc=0xd919c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0032faa80, 0x4e, {{0x4}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x7db fp=0xc0017f7cb8 sp=0xc0017f7970 pc=0xa4bf7b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0032faa80, 0x0, {{0x4}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x57 fp=0xc0017f7d28 sp=0xc0017f7cb8 pc=0xa4d597 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc001e069c0, 0x14da818, {{0x4}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc0017f7d88 sp=0xc0017f7d28 pc=0xa4d145 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0032faa80) pkg/sentry/kernel/task_syscall.go:257 +0x3a5 fp=0xc0017f7e50 sp=0xc0017f7d88 pc=0xa4ce05 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000d83380, 0xc0032faa80) pkg/sentry/kernel/task_run.go:247 +0x112a fp=0xc0017f7f70 sp=0xc0017f7e50 pc=0xa3ec0a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0032faa80) pkg/sentry/kernel/task_run.go:90 +0x1ec fp=0xc0017f7fc8 sp=0xc0017f7f70 pc=0xa3d42c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start·dwrap·239() pkg/sentry/kernel/task_start.go:364 +0x26 fp=0xc0017f7fe0 sp=0xc0017f7fc8 pc=0xa4a426 runtime.goexit() src/runtime/asm_amd64.s:1581 +0x1 fp=0xc0017f7fe8 sp=0xc0017f7fe0 pc=0x4692a1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:364 +0xf5