panic: runtime error: makeslice: len out of range goroutine 409 [running]: panic(0x11bef60, 0x14dc160) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc0007c0f40 sp=0xc0007c0e78 pc=0x437c65 runtime.panicmakeslicelen(...) GOROOT/src/runtime/slice.go:27 runtime.makeslice(0x116a020, 0xfffffffffffcd000, 0xfffffffffffcd000, 0x0) GOROOT/src/runtime/slice.go:93 +0xc5 fp=0xc0007c0f70 sp=0xc0007c0f40 pc=0x450cc5 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*queue).Enqueue(0xc000800640, 0x151d420, 0xc0008af500, 0xc0005585a0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/socket/unix/transport/queue.go:185 +0x15b fp=0xc0007c0fe0 sp=0xc0007c0f70 pc=0x73093b gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*connectedEndpoint).Send(0xc000a06810, 0x151d420, 0xc0008af500, 0xc0005585a0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/socket/unix/transport/unix.go:762 +0x135 fp=0xc0007c1080 sp=0xc0007c0fe0 pc=0x734735 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*baseEndpoint).SendMsg(0xc000388b40, 0x151d420, 0xc0008af500, 0xc0005585a0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/socket/unix/transport/unix.go:959 +0x155 fp=0xc0007c1140 sp=0xc0007c1080 pc=0x7353f5 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*connectionedEndpoint).SendMsg(0xc000388b40, 0x151d420, 0xc0008af500, 0xc0005585a0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/socket/unix/transport/connectioned.go:564 +0xf1 fp=0xc0007c11c0 sp=0xc0007c1140 pc=0x72e5f1 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*EndpointWriter).WriteFromBlocks.func1(0xc0005585a0, 0x1, 0x1, 0x1001, 0x0, 0x0) pkg/sentry/socket/unix/io.go:46 +0xb2 fp=0xc0007c1248 sp=0xc0007c11c0 pc=0xc1c272 gvisor.dev/gvisor/pkg/safemem.FromVecWriterFunc.WriteFromBlocks(0xc0007c13a0, 0x7f3750990380, 0xffffffffffffffff, 0x0, 0x1001, 0x5ed930, 0x0, 0x0) pkg/safemem/io.go:414 +0x497 fp=0xc0007c1360 sp=0xc0007c1248 pc=0x6e2857 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*EndpointWriter).WriteFromBlocks(0xc00099e3c0, 0x7f3750990380, 0xffffffffffffffff, 0x0, 0x1001, 0x0, 0x1, 0xc00084e600) pkg/sentry/socket/unix/io.go:53 +0x85 fp=0xc0007c13c0 sp=0xc0007c1360 pc=0xc11f65 gvisor.dev/gvisor/pkg/safemem.Writer.WriteFromBlocks-fm(0x7f3750990380, 0xffffffffffffffff, 0x0, 0x1001, 0x20001381, 0x7f3750990380, 0xffffffffffffffff) pkg/safemem/io.go:47 +0x62 fp=0xc0007c1410 sp=0xc0007c13c0 pc=0x91db22 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).withInternalMappings(0xc000a90000, 0x151d420, 0xc0008af500, 0x20000380, 0x20001381, 0x1, 0xc0007c16c0, 0x0, 0x0, 0x0) pkg/sentry/mm/io.go:661 +0x9ed fp=0xc0007c1510 sp=0xc0007c1410 pc=0x8e2e8d gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).withVecInternalMappings(0xc000a90000, 0x151d420, 0xc0008af500, 0x0, 0x1, 0x20000380, 0x1001, 0x1, 0xc0009b86c0, 0x455be7, ...) pkg/sentry/mm/io.go:751 +0xaba fp=0xc0007c1608 sp=0xc0007c1510 pc=0x8e39da gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).CopyInTo(0xc000a90000, 0x151d420, 0xc0008af500, 0x0, 0x1, 0x20000380, 0x1001, 0x14f3400, 0xc00099e3c0, 0x100, ...) pkg/sentry/mm/io.go:399 +0x1c5 fp=0xc0007c16e8 sp=0xc0007c1608 pc=0x8e0e25 gvisor.dev/gvisor/pkg/usermem.IOSequence.CopyInTo(0x15182f0, 0xc000a90000, 0x0, 0x1, 0x20000380, 0x1001, 0x100, 0x151d420, 0xc0008af500, 0x14f3400, ...) pkg/usermem/usermem.go:601 +0xc6 fp=0xc0007c1760 sp=0xc0007c16e8 pc=0x6e96c6 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).Write(0xc000570840, 0x151d420, 0xc0008af500, 0x15182f0, 0xc000a90000, 0x0, 0x1, 0x20000380, 0x1001, 0x100, ...) pkg/sentry/socket/unix/unix_vfs2.go:373 +0x28b fp=0xc0007c1840 sp=0xc0007c1760 pc=0xc1a24b gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write(0xc000570840, 0x151d420, 0xc0008af500, 0x15182f0, 0xc000a90000, 0x0, 0x1, 0x20000380, 0x1001, 0x100, ...) pkg/sentry/vfs/file_description.go:747 +0xc3 fp=0xc0007c18d8 sp=0xc0007c1840 pc=0x76dcc3 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.write(0xc0008af500, 0xc000570840, 0x15182f0, 0xc000a90000, 0x0, 0x1, 0x20000380, 0x1001, 0x100, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:423 +0xa5 fp=0xc0007c1a78 sp=0xc0007c18d8 pc=0xee07c5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Write(0xc0008af500, 0x3, 0x20000380, 0x1001, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:386 +0x293 fp=0xc0007c1ba8 sp=0xc0007c1a78 pc=0xedffd3 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0008af500, 0x1, 0x3, 0x20000380, 0x1001, 0x0, 0x0, 0x0, 0x1, 0x135fbe0, ...) pkg/sentry/kernel/task_syscall.go:115 +0x1b9 fp=0xc0007c1c68 sp=0xc0007c1ba8 pc=0xa4f8f9 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0008af500, 0x1, 0x3, 0x20000380, 0x1001, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:290 +0x70 fp=0xc0007c1cf0 sp=0xc0007c1c68 pc=0xa50bd0 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0008af500, 0x1, 0x3, 0x20000380, 0x1001, 0x0, 0x0, 0x0, 0xf3e890, 0xc00078e460) pkg/sentry/kernel/task_syscall.go:237 +0xb4 fp=0xc0007c1d50 sp=0xc0007c1cf0 pc=0xa506b4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0008af500, 0x2, 0xc0008af500) pkg/sentry/kernel/task_syscall.go:204 +0x198 fp=0xc0007c1e20 sp=0xc0007c1d50 pc=0xa4ff98 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc0008af500, 0x14f2ea0, 0x0) pkg/sentry/kernel/task_run.go:327 +0xe15 fp=0xc0007c1f60 sp=0xc0007c1e20 pc=0xa42e55 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0008af500, 0xf) pkg/sentry/kernel/task_run.go:100 +0x1e2 fp=0xc0007c1fd0 sp=0xc0007c1f60 pc=0xa418e2 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc0007c1fd8 sp=0xc0007c1fd0 pc=0x472821 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:380 +0x116