panic: invalid allocation length: 0x0 goroutine 6296101 [running]: gvisor.googlesource.com/gvisor/pkg/sentry/platform/filemem.(*FileMem).Allocate(0xc42029a000, 0x0, 0x1, 0x0, 0x0, 0x0, 0x0) pkg/sentry/platform/filemem/filemem.go:252 +0x815 gvisor.googlesource.com/gvisor/pkg/sentry/kernel/shm.(*Registry).newShm(0xc4204b8870, 0x10cb800, 0xc4207d0d00, 0x27ee, 0x0, 0x0, 0x0, 0x0, 0xc4207d1428, 0xc4ffffffff, ...) pkg/sentry/kernel/shm/shm.go:203 +0xd1 gvisor.googlesource.com/gvisor/pkg/sentry/kernel/shm.(*Registry).FindOrCreate(0xc4204b8870, 0x10cb800, 0xc4207d0d00, 0x27ee, 0x0, 0x0, 0xc420000001, 0x0, 0x0, 0x0) pkg/sentry/kernel/shm/shm.go:192 +0x2b0 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Shmget(0xc4207d0d00, 0x0, 0x0, 0x0, 0x20b39000, 0x0, 0x0, 0x47c9be, 0xc420ae1a88, 0x42f404, ...) pkg/sentry/syscalls/linux/sys_shm.go:38 +0x14a gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc4207d0d00, 0x1d, 0x0, 0x0, 0x0, 0x20b39000, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/kernel/task_syscall.go:162 +0x14f gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc4207d0d00, 0x1d, 0x0, 0x0, 0x0, 0x20b39000, 0x0, 0x0, 0x0, 0x46155c) pkg/sentry/kernel/task_syscall.go:280 +0x7e gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc4207d0d00, 0x1d, 0x0, 0x0, 0x0, 0x20b39000, 0x0, 0x0, 0xc421b41660, 0xc420ae1c68) pkg/sentry/kernel/task_syscall.go:241 +0xc4 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc4207d0d00, 0x2, 0xc4202a6b40) pkg/sentry/kernel/task_syscall.go:216 +0x19f gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc4207d0d00, 0x10bc5a0, 0x0) pkg/sentry/kernel/task_run.go:219 +0x1502 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc4207d0d00, 0x9e2a) 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