panic: runtime error: slice bounds out of range goroutine 2410 [running]: gvisor.googlesource.com/gvisor/pkg/sentry/platform/safecopy.CopyIn(0x3f8df070c000, 0x200000, 0x200000, 0x3f8df382c000, 0x3f8df070c000, 0x200000, 0x3956000) pkg/sentry/platform/safecopy/safecopy_unsafe.go:107 +0x1ff gvisor.googlesource.com/gvisor/pkg/sentry/safemem.Copy(0x3f8df070c000, 0x200000, 0x0, 0x3f8df382c000, 0x200000, 0x200001, 0xc420125b01, 0x1, 0xc420f45980) pkg/sentry/safemem/block_unsafe.go:214 +0x166 gvisor.googlesource.com/gvisor/pkg/sentry/safemem.CopySeq(0x3f8df070c000, 0xffffffffffffffff, 0x0, 0x200000, 0xc42051fbf0, 0x2, 0x0, 0x200000, 0x0, 0x0, ...) pkg/sentry/safemem/seq_unsafe.go:276 +0x25d gvisor.googlesource.com/gvisor/pkg/sentry/safemem.(*BlockSeqReader).ReadToBlocks(0xc4208a44e0, 0x3f8df070c000, 0xffffffffffffffff, 0x0, 0x200000, 0xc420f45b08, 0x40fb69, 0xc4208a44e0) pkg/sentry/safemem/io.go:86 +0x84 gvisor.googlesource.com/gvisor/pkg/sentry/safemem.ReadFullToBlocks(0xc68cc0, 0xc4208a44e0, 0x3f8df070c000, 0xffffffffffffffff, 0x0, 0x200000, 0x0, 0x200000, 0x0) pkg/sentry/safemem/io.go:54 +0xe4 gvisor.googlesource.com/gvisor/pkg/sentry/platform.AllocateAndFill(0xc77ec0, 0xc420125b00, 0x200000, 0x1, 0xc68cc0, 0xc4208a44e0, 0x2, 0x0, 0x200000, 0xc4209d8b00) pkg/sentry/platform/platform.go:419 +0x114 gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).breakCopyOnWriteLocked(0xc420a12c80, 0xc4209d8b00, 0x5, 0x1fab000, 0x1fac000, 0x1fab000, 0x1fac000, 0xc4209d8b00, 0x5, 0xc4209d8b00) pkg/sentry/mm/pma.go:433 +0x34d gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).getPMAsLocked(0xc420a12c80, 0xc75800, 0xc4205ab600, 0xc420a12cf0, 0x2, 0x1fab000, 0x1fac000, 0x1, 0xc420a12cf0, 0x3, ...) pkg/sentry/mm/pma.go:142 +0x2a2 gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).HandleUserFault(0xc420a12c80, 0xc75800, 0xc4205ab600, 0x1fab600, 0xc420000100, 0x7fe24ed89e20, 0xc420f57180, 0x100) pkg/sentry/mm/syscalls.go:55 +0x194 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc4205ab600, 0xc689e0, 0x0) pkg/sentry/kernel/task_run.go:235 +0x845 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc4205ab600, 0x1ea) 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