panic: runtime error: makeslice: len out of range goroutine 585 [running]: panic(0x10c4ee0, 0x13b8070) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc000786ea0 sp=0xc000786dd8 pc=0x437c65 runtime.panicmakeslicelen(...) GOROOT/src/runtime/slice.go:27 runtime.makeslice(0x106ffa0, 0xfffffffffffcd000, 0xfffffffffffcd000, 0x0) GOROOT/src/runtime/slice.go:93 +0xc5 fp=0xc000786ed0 sp=0xc000786ea0 pc=0x450cc5 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*queue).Enqueue(0xc000346820, 0x13f8fa0, 0xc0002f9500, 0xc0001ae978, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/socket/unix/transport/queue.go:160 +0x10d fp=0xc000786f48 sp=0xc000786ed0 pc=0x70abcd gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*connectedEndpoint).Send(0xc0001ae8b8, 0x13f8fa0, 0xc0002f9500, 0xc0001ae978, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/socket/unix/transport/unix.go:690 +0x115 fp=0xc000786fe8 sp=0xc000786f48 pc=0x70e195 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*baseEndpoint).SendMsg(0xc0003b0c80, 0x13f8fa0, 0xc0002f9500, 0xc0001ae978, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/socket/unix/transport/unix.go:855 +0x139 fp=0xc0007870b0 sp=0xc000786fe8 pc=0x70ed19 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*connectionedEndpoint).SendMsg(0xc0003b0c80, 0x13f8fa0, 0xc0002f9500, 0xc0001ae978, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/socket/unix/transport/connectioned.go:474 +0xd9 fp=0xc000787130 sp=0xc0007870b0 pc=0x709039 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*EndpointWriter).WriteFromBlocks.func1(0xc0001ae978, 0x1, 0x1, 0x1001, 0x0, 0x0) pkg/sentry/socket/unix/io.go:43 +0xa8 fp=0xc0007871b8 sp=0xc000787130 pc=0xb5b388 gvisor.dev/gvisor/pkg/safemem.FromVecWriterFunc.WriteFromBlocks(0xc000787310, 0x7f13795bf380, 0xffffffffffffffff, 0x0, 0x1001, 0x0, 0x0, 0x0) pkg/safemem/io.go:335 +0x3e3 fp=0xc0007872d0 sp=0xc0007871b8 pc=0x6c8283 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*EndpointWriter).WriteFromBlocks(0xc0003469b0, 0x7f13795bf380, 0xffffffffffffffff, 0x0, 0x1001, 0x0, 0x1, 0xc000360c00) pkg/sentry/socket/unix/io.go:48 +0x78 fp=0xc000787330 sp=0xc0007872d0 pc=0xb520b8 gvisor.dev/gvisor/pkg/safemem.Writer.WriteFromBlocks-fm(0x7f13795bf380, 0xffffffffffffffff, 0x0, 0x1001, 0x20001381, 0x7f13795bf380, 0xffffffffffffffff) pkg/safemem/io.go:46 +0x62 fp=0xc000787380 sp=0xc000787330 pc=0x8b58c2 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).withInternalMappings(0xc0002ea000, 0x13f8fa0, 0xc0002f9500, 0x20000380, 0x20001381, 0xc000000001, 0xc000787640, 0x106fda0, 0xc0006202d0, 0x198) pkg/sentry/mm/io.go:507 +0x859 fp=0xc000787490 sp=0xc000787380 pc=0x884899 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).withVecInternalMappings(0xc0002ea000, 0x13f8fa0, 0xc0002f9500, 0x0, 0x1, 0x20000380, 0x1001, 0x1, 0xc00030c640, 0x70e7b2, ...) pkg/sentry/mm/io.go:576 +0x84d fp=0xc000787588 sp=0xc000787490 pc=0x8851ad gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).CopyInTo(0xc0002ea000, 0x13f8fa0, 0xc0002f9500, 0x0, 0x1, 0x20000380, 0x1001, 0x13ceb60, 0xc0003469b0, 0x100, ...) pkg/sentry/mm/io.go:310 +0x189 fp=0xc000787668 sp=0xc000787588 pc=0x882d29 gvisor.dev/gvisor/pkg/usermem.IOSequence.CopyInTo(...) pkg/usermem/usermem.go:515 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).Write(0xc0001cc300, 0x13f8fa0, 0xc0002f9500, 0x13f3db0, 0xc0002ea000, 0x0, 0x1, 0x20000380, 0x1001, 0x100, ...) pkg/sentry/socket/unix/unix_vfs2.go:304 +0x30f fp=0xc000787780 sp=0xc000787668 pc=0xb597ef gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write(0xc0001cc300, 0x13f8fa0, 0xc0002f9500, 0x13f3db0, 0xc0002ea000, 0x0, 0x1, 0x20000380, 0x1001, 0x100, ...) pkg/sentry/vfs/file_description.go:657 +0xb4 fp=0xc000787818 sp=0xc000787780 pc=0x73e154 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.write(0xc0002f9500, 0xc0001cc300, 0x13f3db0, 0xc0002ea000, 0x0, 0x1, 0x20000380, 0x1001, 0x100, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:345 +0x9b fp=0xc0007879d0 sp=0xc000787818 pc=0xdf92fb gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Write(0xc0002f9500, 0x3, 0x20000380, 0x1001, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:314 +0x245 fp=0xc000787b00 sp=0xc0007879d0 pc=0xdf8be5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0002f9500, 0x1, 0x3, 0x20000380, 0x1001, 0x0, 0x0, 0x0, 0x0, 0x12657a0, ...) pkg/sentry/kernel/task_syscall.go:103 +0x13c fp=0xc000787c60 sp=0xc000787b00 pc=0x9c401c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0002f9500, 0x1, 0x3, 0x20000380, 0x1001, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:238 +0x66 fp=0xc000787ce8 sp=0xc000787c60 pc=0x9c51a6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0002f9500, 0x1, 0x3, 0x20000380, 0x1001, 0x0, 0x0, 0x0, 0xc0005f42e0, 0xc0005f4240) pkg/sentry/kernel/task_syscall.go:198 +0x98 fp=0xc000787d48 sp=0xc000787ce8 pc=0x9c4d98 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0002f9500, 0x2, 0xc0002f9500) pkg/sentry/kernel/task_syscall.go:173 +0x15c fp=0xc000787e18 sp=0xc000787d48 pc=0x9c473c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc0002f9500, 0x13ce600, 0x0) pkg/sentry/kernel/task_run.go:282 +0xc8c fp=0xc000787f60 sp=0xc000787e18 pc=0x9b93cc gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0002f9500, 0xd) pkg/sentry/kernel/task_run.go:97 +0x1af fp=0xc000787fd0 sp=0xc000787f60 pc=0x9b804f runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc000787fd8 sp=0xc000787fd0 pc=0x472821 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:327 +0xfe