panic: invalid allocation length: 0x0 goroutine 12683 [running]: panic({0x17130e0, 0xc001557f50}) GOROOT/src/runtime/panic.go:1147 +0x3a8 fp=0xc0018a6988 sp=0xc0018a68c8 pc=0x437c88 gvisor.dev/gvisor/pkg/sentry/pgalloc.(*MemoryFile).Allocate(0xc000362000, 0x0, {0x471017, 0xc0001c7820}) pkg/sentry/pgalloc/pgalloc.go:417 +0x5c6 fp=0xc0018a6af8 sp=0xc0018a6988 pc=0xa3af46 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).getPMAsInternalLocked(0xc001a5b000, {0x1be6590, 0xc001823500}, {0xc00165a800, 0xb74d0c}, {0xc001a5b080, 0x0}, {0x0, 0x1, 0x0}) pkg/sentry/mm/pma.go:243 +0x1df7 fp=0xc0018a70b8 sp=0xc0018a6af8 pc=0xb4f7b7 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).getPMAsLocked(0xc0018a7288, {0x1be6590, 0xc001823500}, {0xc00165a800, 0x6729a0}, {0x44a101, 0x159be60}, {0x0, 0x1, 0x0}) pkg/sentry/mm/pma.go:125 +0x126 fp=0xc0018a71a0 sp=0xc0018a70b8 pc=0xb4d0c6 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).withInternalMappings(0xc001a5b000, {0x1be6590, 0xc001823500}, {0xc001d37e80, 0xc001cbf540}, {0x65, 0xe, 0x47}, 0x0, 0x1947168) pkg/sentry/mm/io.go:542 +0x3d3 fp=0xc0018a7330 sp=0xc0018a71a0 pc=0xb45213 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).EnsurePMAsExist(0xc001a5b000, {0x1be6590, 0xc001823500}, 0x0, 0x0, {0x37, 0xe}) pkg/sentry/mm/io.go:322 +0x135 fp=0xc0018a73a8 sp=0xc0018a7330 pc=0xb43715 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.getdents(0xc001823500, {{0x3}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}, 0x37) pkg/sentry/syscalls/linux/vfs2/getdents.go:53 +0x193 fp=0xc0018a74d0 sp=0xc0018a73a8 pc=0x119f473 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Getdents(0xc001823500, {{0x3}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/vfs2/getdents.go:31 +0x56 fp=0xc0018a7548 sp=0xc0018a74d0 pc=0x119f1b6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc001823500, 0x4e, {{0x3}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x9d8 fp=0xc0018a7a90 sp=0xc0018a7548 pc=0xd3e5b8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc001823500, 0x46f779, {{0x3}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x6a fp=0xc0018a7b18 sp=0xc0018a7a90 pc=0xd401aa gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000a751d0, 0x46fc2c, {{0x3}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x8f fp=0xc0018a7b90 sp=0xc0018a7b18 pc=0xd3fc2f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc001823500) pkg/sentry/kernel/task_syscall.go:257 +0x3e7 fp=0xc0018a7c98 sp=0xc0018a7b90 pc=0xd3f847 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc001823500, 0xc001823500) pkg/sentry/kernel/task_run.go:247 +0x16b8 fp=0xc0018a7ed0 sp=0xc0018a7c98 pc=0xd2ab78 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc001823500) pkg/sentry/kernel/task_run.go:90 +0x35b fp=0xc0018a7fc0 sp=0xc0018a7ed0 pc=0xd28abb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start·dwrap·239() pkg/sentry/kernel/task_start.go:364 +0x3a fp=0xc0018a7fe0 sp=0xc0018a7fc0 pc=0xd3c0da runtime.goexit() src/runtime/asm_amd64.s:1581 +0x1 fp=0xc0018a7fe8 sp=0xc0018a7fe0 pc=0x46e001 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:364 +0x191