panic: invalid allocation length: 0x0 goroutine 52436 [running]: panic({0x17130e0, 0xc000ed93c0}) GOROOT/src/runtime/panic.go:1147 +0x3a8 fp=0xc0034a2988 sp=0xc0034a28c8 pc=0x437c88 gvisor.dev/gvisor/pkg/sentry/pgalloc.(*MemoryFile).Allocate(0xc000604000, 0x0, {0x471017, 0xc00023f5a0}) pkg/sentry/pgalloc/pgalloc.go:417 +0x5c6 fp=0xc0034a2af8 sp=0xc0034a2988 pc=0xa3af46 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).getPMAsInternalLocked(0xc005a88000, {0x1be6590, 0xc00591ea80}, {0xc00332d800, 0xb74d0c}, {0xc005a88080, 0x0}, {0x0, 0x1, 0x0}) pkg/sentry/mm/pma.go:243 +0x1df7 fp=0xc0034a30b8 sp=0xc0034a2af8 pc=0xb4f7b7 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).getPMAsLocked(0xc005e88ec8, {0x1be6590, 0xc00591ea80}, {0xc00332d800, 0x6729a0}, {0x44a1d5, 0x159be60}, {0x0, 0x1, 0x0}) pkg/sentry/mm/pma.go:125 +0x126 fp=0xc0034a31a0 sp=0xc0034a30b8 pc=0xb4d0c6 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).withInternalMappings(0xc005a88000, {0x1be6590, 0xc00591ea80}, {0xc000c0e300, 0xc005285980}, {0x65, 0xe, 0x47}, 0x0, 0x1947168) pkg/sentry/mm/io.go:542 +0x3d3 fp=0xc0034a3330 sp=0xc0034a31a0 pc=0xb45213 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).EnsurePMAsExist(0xc005a88000, {0x1be6590, 0xc00591ea80}, 0x0, 0x0, {0x37, 0xe}) pkg/sentry/mm/io.go:322 +0x135 fp=0xc0034a33a8 sp=0xc0034a3330 pc=0xb43715 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.getdents(0xc00591ea80, {{0x3}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}, 0x37) pkg/sentry/syscalls/linux/vfs2/getdents.go:53 +0x193 fp=0xc0034a34d0 sp=0xc0034a33a8 pc=0x119f473 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Getdents(0xc00591ea80, {{0x3}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/vfs2/getdents.go:31 +0x56 fp=0xc0034a3548 sp=0xc0034a34d0 pc=0x119f1b6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00591ea80, 0x4e, {{0x3}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x9d8 fp=0xc0034a3a90 sp=0xc0034a3548 pc=0xd3e5b8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00591ea80, 0x46f779, {{0x3}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x6a fp=0xc0034a3b18 sp=0xc0034a3a90 pc=0xd401aa gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0057212c0, 0x46fc2c, {{0x3}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x8f fp=0xc0034a3b90 sp=0xc0034a3b18 pc=0xd3fc2f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00591ea80) pkg/sentry/kernel/task_syscall.go:257 +0x3e7 fp=0xc0034a3c98 sp=0xc0034a3b90 pc=0xd3f847 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00591ea80, 0xc00591ea80) pkg/sentry/kernel/task_run.go:247 +0x16b8 fp=0xc0034a3ed0 sp=0xc0034a3c98 pc=0xd2ab78 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00591ea80) pkg/sentry/kernel/task_run.go:90 +0x35b fp=0xc0034a3fc0 sp=0xc0034a3ed0 pc=0xd28abb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start·dwrap·239() pkg/sentry/kernel/task_start.go:364 +0x3a fp=0xc0034a3fe0 sp=0xc0034a3fc0 pc=0xd3c0da runtime.goexit() src/runtime/asm_amd64.s:1581 +0x1 fp=0xc0034a3fe8 sp=0xc0034a3fe0 pc=0x46e001 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:364 +0x191