panic: runtime error: makeslice: len out of range goroutine 388 [running]: panic(0x184f020, 0x1c61540) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc00079c670 sp=0xc00079c5a8 pc=0x43a6c5 runtime.panicmakeslicelen(...) GOROOT/src/runtime/slice.go:27 runtime.makeslice(0x17f9de0, 0xfffffffffffcd000, 0xfffffffffffcd000, 0x3c800000) GOROOT/src/runtime/slice.go:93 +0xc5 fp=0xc00079c6a0 sp=0xc00079c670 pc=0x454fc5 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*queue).Enqueue(0xc00016eb40, 0x1ca2d80, 0xc000791500, 0xc0003663f0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/socket/unix/transport/queue.go:160 +0x212 fp=0xc00079c788 sp=0xc00079c6a0 pc=0x8e8ed2 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*connectedEndpoint).Send(0xc000366378, 0x1ca2d80, 0xc000791500, 0xc0003663f0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/socket/unix/transport/unix.go:690 +0x166 fp=0xc00079c848 sp=0xc00079c788 pc=0x8ee686 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*baseEndpoint).SendMsg(0xc00031a280, 0x1ca2d80, 0xc000791500, 0xc0003663f0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/socket/unix/transport/unix.go:855 +0x222 fp=0xc00079c920 sp=0xc00079c848 pc=0x8ef762 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*connectionedEndpoint).SendMsg(0xc00031a280, 0x1ca2d80, 0xc000791500, 0xc0003663f0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/socket/unix/transport/connectioned.go:474 +0x119 fp=0xc00079c9b0 sp=0xc00079c920 pc=0x8e6619 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*EndpointWriter).WriteFromBlocks.func1(0xc0003663f0, 0x1, 0x1, 0x1001, 0x0, 0x0) pkg/sentry/socket/unix/io.go:43 +0x1b4 fp=0xc00079ca80 sp=0xc00079c9b0 pc=0xfa3f54 gvisor.dev/gvisor/pkg/safemem.FromVecWriterFunc.WriteFromBlocks(0xc0004e2c28, 0x7ff330800380, 0xffffffffffffffff, 0x0, 0x1001, 0xffffffffffffffff, 0x10, 0x1) pkg/safemem/io.go:335 +0x38b fp=0xc00079cbd0 sp=0xc00079ca80 pc=0x87728b gvisor.dev/gvisor/pkg/sentry/socket/unix.(*EndpointWriter).WriteFromBlocks(0xc00016ebe0, 0x7ff330800380, 0xffffffffffffffff, 0x0, 0x1001, 0x7ff330800380, 0x1, 0x10) pkg/sentry/socket/unix/io.go:48 +0x8f fp=0xc00079cc48 sp=0xc00079cbd0 pc=0xf9754f gvisor.dev/gvisor/pkg/safemem.Writer.WriteFromBlocks-fm(0x7ff330800380, 0xffffffffffffffff, 0x0, 0x1001, 0x20001381, 0x7ff330800380, 0xffffffffffffffff) pkg/safemem/io.go:46 +0x87 fp=0xc00079ccb0 sp=0xc00079cc48 pc=0xb98507 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).withInternalMappings(0xc00084a000, 0x1ca2d80, 0xc000791500, 0x20000380, 0x20001381, 0x1, 0xc0004e3098, 0xc0004e2ed0, 0x4091cf, 0x7ff333c09438) pkg/sentry/mm/io.go:507 +0xb64 fp=0xc00079ce58 sp=0xc00079ccb0 pc=0xb4aec4 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).withVecInternalMappings(0xc00084a000, 0x1ca2d80, 0xc000791500, 0x0, 0x1, 0x20000380, 0x1001, 0xc000000001, 0xc0004e3098, 0x167def0, ...) pkg/sentry/mm/io.go:576 +0x991 fp=0xc00079cfa8 sp=0xc00079ce58 pc=0xb4b911 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).CopyInTo(0xc00084a000, 0x1ca2d80, 0xc000791500, 0x0, 0x1, 0x20000380, 0x1001, 0x1c78440, 0xc00016ebe0, 0x100, ...) pkg/sentry/mm/io.go:310 +0x1ea fp=0xc00079d0c0 sp=0xc00079cfa8 pc=0xb4894a gvisor.dev/gvisor/pkg/usermem.IOSequence.CopyInTo(...) pkg/usermem/usermem.go:515 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).Write(0xc00022a3c0, 0x1ca2d80, 0xc000791500, 0x1c9da10, 0xc00084a000, 0x0, 0x1, 0x20000380, 0x1001, 0x100, ...) pkg/sentry/socket/unix/unix_vfs2.go:304 +0x403 fp=0xc00079d220 sp=0xc00079d0c0 pc=0xfa1943 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write(0xc00022a3c0, 0x1ca2d80, 0xc000791500, 0x1c9da10, 0xc00084a000, 0x0, 0x1, 0x20000380, 0x1001, 0x100, ...) pkg/sentry/vfs/file_description.go:657 +0x131 fp=0xc00079d300 sp=0xc00079d220 pc=0x9402b1 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.write(0xc000791500, 0xc00022a3c0, 0x1c9da10, 0xc00084a000, 0x0, 0x1, 0x20000380, 0x1001, 0x100, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:345 +0xee fp=0xc00079d558 sp=0xc00079d300 pc=0x13a20ae gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Write(0xc000791500, 0x3, 0x20000380, 0x1001, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:314 +0x308 fp=0xc00079d710 sp=0xc00079d558 pc=0x13a18a8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000791500, 0x1, 0x3, 0x20000380, 0x1001, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/kernel/task_syscall.go:103 +0x453 fp=0xc00079d9b0 sp=0xc00079d710 pc=0xd49653 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000791500, 0x1, 0x3, 0x20000380, 0x1001, 0x0, 0x0, 0x0, 0xc000791ddf, 0xc000791500) pkg/sentry/kernel/task_syscall.go:238 +0xb4 fp=0xc00079da88 sp=0xc00079d9b0 pc=0xd4ae34 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000791500, 0x1, 0x3, 0x20000380, 0x1001, 0x0, 0x0, 0x0, 0x4790cc, 0x4860df) pkg/sentry/kernel/task_syscall.go:198 +0x10f fp=0xc00079db30 sp=0xc00079da88 pc=0xd4a72f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000791500, 0x2, 0xc000791500) pkg/sentry/kernel/task_syscall.go:173 +0x214 fp=0xc00079dca0 sp=0xc00079db30 pc=0xd49eb4 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc000791500, 0x1c77ee0, 0x0) pkg/sentry/kernel/task_run.go:282 +0x12c7 fp=0xc00079ded0 sp=0xc00079dca0 pc=0xd35e47 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000791500, 0xd) pkg/sentry/kernel/task_run.go:97 +0x393 fp=0xc00079dfd0 sp=0xc00079ded0 pc=0xd33f73 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc00079dfd8 sp=0xc00079dfd0 pc=0x477501 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:327 +0x1a5