panic: invalid allocation length: 0x0 goroutine 17770 [running]: panic({0x17130e0, 0xc0030101d0}) GOROOT/src/runtime/panic.go:1147 +0x3a8 fp=0xc00204c988 sp=0xc00204c8c8 pc=0x437c88 gvisor.dev/gvisor/pkg/sentry/pgalloc.(*MemoryFile).Allocate(0xc0003d7500, 0x0, {0x7, 0x70}) pkg/sentry/pgalloc/pgalloc.go:417 +0x5c6 fp=0xc00204caf8 sp=0xc00204c988 pc=0xa3af46 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).getPMAsInternalLocked(0xc002903000, {0x1be6590, 0xc003210a80}, {0xc0027cf800, 0xb74d0c}, {0xc002903080, 0x0}, {0x0, 0x1, 0x0}) pkg/sentry/mm/pma.go:243 +0x1df7 fp=0xc00204d0b8 sp=0xc00204caf8 pc=0xb4f7b7 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).getPMAsLocked(0xc0024a8088, {0x1be6590, 0xc003210a80}, {0xc0027cf800, 0xffffffff00ffffff}, {0x3, 0x470e65}, {0x0, 0x1, 0x0}) pkg/sentry/mm/pma.go:125 +0x126 fp=0xc00204d1a0 sp=0xc00204d0b8 pc=0xb4d0c6 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).withInternalMappings(0xc002903000, {0x1be6590, 0xc003210a80}, {0xc002228700, 0xc00338e100}, {0x65, 0xe, 0x47}, 0x0, 0x1947168) pkg/sentry/mm/io.go:542 +0x3d3 fp=0xc00204d330 sp=0xc00204d1a0 pc=0xb45213 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).EnsurePMAsExist(0xc002903000, {0x1be6590, 0xc003210a80}, 0x0, 0x0, {0x0, 0x0}) pkg/sentry/mm/io.go:322 +0x135 fp=0xc00204d3a8 sp=0xc00204d330 pc=0xb43715 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.getdents(0xc003210a80, {{0x4}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}, 0x37) pkg/sentry/syscalls/linux/vfs2/getdents.go:53 +0x193 fp=0xc00204d4d0 sp=0xc00204d3a8 pc=0x119f473 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Getdents64(0xc003210a80, {{0x4}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/vfs2/getdents.go:36 +0x59 fp=0xc00204d548 sp=0xc00204d4d0 pc=0x119f279 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc003210a80, 0xd9, {{0x4}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x9d8 fp=0xc00204da90 sp=0xc00204d548 pc=0xd3e5b8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc003210a80, 0x46f779, {{0x4}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x6a fp=0xc00204db18 sp=0xc00204da90 pc=0xd401aa gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00130a960, 0x46fc2c, {{0x4}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x8f fp=0xc00204db90 sp=0xc00204db18 pc=0xd3fc2f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc003210a80) pkg/sentry/kernel/task_syscall.go:257 +0x3e7 fp=0xc00204dc98 sp=0xc00204db90 pc=0xd3f847 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc003210a80, 0xc003210a80) pkg/sentry/kernel/task_run.go:247 +0x16b8 fp=0xc00204ded0 sp=0xc00204dc98 pc=0xd2ab78 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc003210a80) pkg/sentry/kernel/task_run.go:90 +0x35b fp=0xc00204dfc0 sp=0xc00204ded0 pc=0xd28abb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start·dwrap·239() pkg/sentry/kernel/task_start.go:364 +0x3a fp=0xc00204dfe0 sp=0xc00204dfc0 pc=0xd3c0da runtime.goexit() src/runtime/asm_amd64.s:1581 +0x1 fp=0xc00204dfe8 sp=0xc00204dfe0 pc=0x46e001 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:364 +0x191