panic: runtime error: slice bounds out of range goroutine 1327 [running]: gvisor.googlesource.com/gvisor/pkg/sentry/platform/safecopy.CopyIn(0x3f579c238000, 0x200000, 0x200000, 0x3f57a0558000, 0x3f579c238000, 0x200000, 0x3783000) pkg/sentry/platform/safecopy/safecopy_unsafe.go:107 +0x1ff gvisor.googlesource.com/gvisor/pkg/sentry/safemem.Copy(0x3f579c238000, 0x200000, 0x0, 0x3f57a0558000, 0x200000, 0x200001, 0xc420139b01, 0x1, 0xc420bc7980) pkg/sentry/safemem/block_unsafe.go:214 +0x166 gvisor.googlesource.com/gvisor/pkg/sentry/safemem.CopySeq(0x3f579c238000, 0xffffffffffffffff, 0x0, 0x200000, 0xc420804d98, 0xb, 0x0, 0x200000, 0x0, 0x0, ...) pkg/sentry/safemem/seq_unsafe.go:276 +0x25d gvisor.googlesource.com/gvisor/pkg/sentry/safemem.(*BlockSeqReader).ReadToBlocks(0xc4206ec000, 0x3f579c238000, 0xffffffffffffffff, 0x0, 0x200000, 0xc420bc7b08, 0x40fb69, 0xc4206ec000) pkg/sentry/safemem/io.go:86 +0x84 gvisor.googlesource.com/gvisor/pkg/sentry/safemem.ReadFullToBlocks(0xc68cc0, 0xc4206ec000, 0x3f579c238000, 0xffffffffffffffff, 0x0, 0x200000, 0x0, 0x200000, 0x0) pkg/sentry/safemem/io.go:54 +0xe4 gvisor.googlesource.com/gvisor/pkg/sentry/platform.AllocateAndFill(0xc77ec0, 0xc420139b00, 0x200000, 0x1, 0xc68cc0, 0xc4206ec000, 0xb, 0x0, 0x200000, 0xc420473600) pkg/sentry/platform/platform.go:419 +0x114 gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).breakCopyOnWriteLocked(0xc42090a000, 0xc420473600, 0x5, 0xc0f000, 0xc10000, 0xc0f000, 0xc10000, 0xc420473600, 0x5, 0xc420473600) pkg/sentry/mm/pma.go:433 +0x34d gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).getPMAsLocked(0xc42090a000, 0xc75800, 0xc420f25200, 0xc42090a070, 0x2, 0xc0f000, 0xc10000, 0x1, 0xc42090a070, 0x3, ...) pkg/sentry/mm/pma.go:142 +0x2a2 gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).HandleUserFault(0xc42090a000, 0xc75800, 0xc420f25200, 0xc0fb10, 0xc420000100, 0x7f252acb2de0, 0xc420ff4000, 0x100) pkg/sentry/mm/syscalls.go:55 +0x194 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc420f25200, 0xc689e0, 0x0) pkg/sentry/kernel/task_run.go:235 +0x845 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc420f25200, 0xda) pkg/sentry/kernel/task_run.go:95 +0x174 created by gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:251 +0x100