panic: runtime error: makeslice: len out of range goroutine 315 [running]: panic(0x10c4ee0, 0x13b8070) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc0004acea0 sp=0xc0004acdd8 pc=0x437c65 runtime.panicmakeslicelen(...) GOROOT/src/runtime/slice.go:27 runtime.makeslice(0x106ffa0, 0xfffffffffffcd000, 0xfffffffffffcd000, 0x0) GOROOT/src/runtime/slice.go:93 +0xc5 fp=0xc0004aced0 sp=0xc0004acea0 pc=0x450cc5 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*queue).Enqueue(0xc000572500, 0x13f8fa0, 0xc000445500, 0xc0004262b8, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/socket/unix/transport/queue.go:160 +0x10d fp=0xc0004acf48 sp=0xc0004aced0 pc=0x70abcd gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*connectedEndpoint).Send(0xc000206078, 0x13f8fa0, 0xc000445500, 0xc0004262b8, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/socket/unix/transport/unix.go:690 +0x115 fp=0xc0004acfe8 sp=0xc0004acf48 pc=0x70e195 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*baseEndpoint).SendMsg(0xc000292280, 0x13f8fa0, 0xc000445500, 0xc0004262b8, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/socket/unix/transport/unix.go:855 +0x139 fp=0xc0004ad0b0 sp=0xc0004acfe8 pc=0x70ed19 gvisor.dev/gvisor/pkg/sentry/socket/unix/transport.(*connectionedEndpoint).SendMsg(0xc000292280, 0x13f8fa0, 0xc000445500, 0xc0004262b8, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/socket/unix/transport/connectioned.go:474 +0xd9 fp=0xc0004ad130 sp=0xc0004ad0b0 pc=0x709039 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*EndpointWriter).WriteFromBlocks.func1(0xc0004262b8, 0x1, 0x1, 0x1001, 0x0, 0x0) pkg/sentry/socket/unix/io.go:43 +0xa8 fp=0xc0004ad1b8 sp=0xc0004ad130 pc=0xb5b388 gvisor.dev/gvisor/pkg/safemem.FromVecWriterFunc.WriteFromBlocks(0xc0004ad310, 0x7fd3baf09380, 0xffffffffffffffff, 0x0, 0x1001, 0x3, 0x1267d13, 0x5) pkg/safemem/io.go:335 +0x3e3 fp=0xc0004ad2d0 sp=0xc0004ad1b8 pc=0x6c8283 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*EndpointWriter).WriteFromBlocks(0xc0003340a0, 0x7fd3baf09380, 0xffffffffffffffff, 0x0, 0x1001, 0x0, 0x1, 0xc0003ecc00) pkg/sentry/socket/unix/io.go:48 +0x78 fp=0xc0004ad330 sp=0xc0004ad2d0 pc=0xb520b8 gvisor.dev/gvisor/pkg/safemem.Writer.WriteFromBlocks-fm(0x7fd3baf09380, 0xffffffffffffffff, 0x0, 0x1001, 0x20001381, 0x7fd3baf09380, 0xffffffffffffffff) pkg/safemem/io.go:46 +0x62 fp=0xc0004ad380 sp=0xc0004ad330 pc=0x8b58c2 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).withInternalMappings(0xc0006d6000, 0x13f8fa0, 0xc000445500, 0x20000380, 0x20001381, 0xc000000001, 0xc0004ad640, 0x106fda0, 0xc0002d3508, 0x8ad8d6) pkg/sentry/mm/io.go:507 +0x859 fp=0xc0004ad490 sp=0xc0004ad380 pc=0x884899 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).withVecInternalMappings(0xc0006d6000, 0x13f8fa0, 0xc000445500, 0x0, 0x1, 0x20000380, 0x1001, 0x1, 0xc0002d3640, 0x70e7b2, ...) pkg/sentry/mm/io.go:576 +0x84d fp=0xc0004ad588 sp=0xc0004ad490 pc=0x8851ad gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).CopyInTo(0xc0006d6000, 0x13f8fa0, 0xc000445500, 0x0, 0x1, 0x20000380, 0x1001, 0x13ceb60, 0xc0003340a0, 0xffffffffffff0100, ...) pkg/sentry/mm/io.go:310 +0x189 fp=0xc0004ad668 sp=0xc0004ad588 pc=0x882d29 gvisor.dev/gvisor/pkg/usermem.IOSequence.CopyInTo(...) pkg/usermem/usermem.go:515 gvisor.dev/gvisor/pkg/sentry/socket/unix.(*SocketVFS2).Write(0xc00043c600, 0x13f8fa0, 0xc000445500, 0x13f3db0, 0xc0006d6000, 0x0, 0x1, 0x20000380, 0x1001, 0x100, ...) pkg/sentry/socket/unix/unix_vfs2.go:304 +0x30f fp=0xc0004ad780 sp=0xc0004ad668 pc=0xb597ef gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write(0xc00043c600, 0x13f8fa0, 0xc000445500, 0x13f3db0, 0xc0006d6000, 0x0, 0x1, 0x20000380, 0x1001, 0x100, ...) pkg/sentry/vfs/file_description.go:657 +0xb4 fp=0xc0004ad818 sp=0xc0004ad780 pc=0x73e154 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.write(0xc000445500, 0xc00043c600, 0x13f3db0, 0xc0006d6000, 0x0, 0x1, 0x20000380, 0x1001, 0x100, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:345 +0x9b fp=0xc0004ad9d0 sp=0xc0004ad818 pc=0xdf92fb gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Write(0xc000445500, 0x3, 0x20000380, 0x1001, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:314 +0x245 fp=0xc0004adb00 sp=0xc0004ad9d0 pc=0xdf8be5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000445500, 0x1, 0x3, 0x20000380, 0x1001, 0x0, 0x0, 0x0, 0x0, 0x12657a0, ...) pkg/sentry/kernel/task_syscall.go:103 +0x13c fp=0xc0004adc60 sp=0xc0004adb00 pc=0x9c401c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000445500, 0x1, 0x3, 0x20000380, 0x1001, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:238 +0x66 fp=0xc0004adce8 sp=0xc0004adc60 pc=0x9c51a6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000445500, 0x1, 0x3, 0x20000380, 0x1001, 0x0, 0x0, 0x0, 0xc000610160, 0xc0006100c0) pkg/sentry/kernel/task_syscall.go:198 +0x98 fp=0xc0004add48 sp=0xc0004adce8 pc=0x9c4d98 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000445500, 0x2, 0xc000445500) pkg/sentry/kernel/task_syscall.go:173 +0x15c fp=0xc0004ade18 sp=0xc0004add48 pc=0x9c473c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc000445500, 0x13ce600, 0x0) pkg/sentry/kernel/task_run.go:282 +0xc8c fp=0xc0004adf60 sp=0xc0004ade18 pc=0x9b93cc gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000445500, 0xb) pkg/sentry/kernel/task_run.go:97 +0x1af fp=0xc0004adfd0 sp=0xc0004adf60 pc=0x9b804f runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc0004adfd8 sp=0xc0004adfd0 pc=0x472821 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:327 +0xfe