panic: runtime error: slice bounds out of range [:4] with capacity 0 goroutine 1588522 [running]: panic(0x133ec40, 0xc0065c1e90) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc08560b3c0 sp=0xc08560b2f8 pc=0x437c65 runtime.goPanicSliceAcap(0x4, 0x0) GOROOT/src/runtime/panic.go:106 +0xa5 fp=0xc08560b408 sp=0xc08560b3c0 pc=0x4352c5 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*fuseInitRes).UnmarshalBytes(0xc0016e9cc0, 0xc00f3708f0, 0x0, 0x0, 0x1607478, 0x10000c019c5f500, 0x3f7d34907368) pkg/sentry/fsimpl/fuse/request_response.go:53 +0x313 fp=0xc08560b428 sp=0xc08560b408 pc=0x10453b3 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*fuseInitRes).UnmarshalUnsafe(0xc0016e9cc0, 0xc00f3708f0, 0x0, 0x0, 0xc000490800, 0x0, 0xc08560b4d0) bazel-out/k8-fastbuild-ST-4c64f0b3d5c7/bin/pkg/sentry/fsimpl/fuse/fuse_abi_autogen_unsafe.go:34 +0x53 fp=0xc08560b470 sp=0xc08560b428 pc=0x104a5b3 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*Response).UnmarshalPayload(0xc08560b598, 0x16047b0, 0xc0016e9cc0, 0x148e8a0, 0x142aba0) pkg/sentry/fsimpl/fuse/request_response.go:253 +0xee fp=0xc08560b4e0 sp=0xc08560b470 pc=0x1045a2e gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*connection).InitRecv(0xc085fbde60, 0xc08560b598, 0xc0002f6901, 0x1, 0x1039307) pkg/sentry/fsimpl/fuse/connection_control.go:109 +0xe5 fp=0xc08560b520 sp=0xc08560b4e0 pc=0x1036b65 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).asyncCallBack(0xc013590700, 0x1607478, 0xc019c5f500, 0xc08560b598, 0x0, 0x1) pkg/sentry/fsimpl/fuse/dev.go:561 +0xdb fp=0xc08560b560 sp=0xc08560b520 pc=0x10396fb gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).sendResponse(0xc013590700, 0x1607478, 0xc019c5f500, 0xc00b622780, 0x0, 0x0) pkg/sentry/fsimpl/fuse/dev.go:518 +0x150 fp=0xc08560b5e8 sp=0xc08560b560 pc=0x10393d0 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).writeLocked(0xc013590700, 0x1607478, 0xc019c5f500, 0x1601980, 0xc00ae7d000, 0x0, 0x1, 0x20002a50, 0x5d, 0x100, ...) pkg/sentry/fsimpl/fuse/dev.go:423 +0x45f fp=0xc08560b7c0 sp=0xc08560b5e8 pc=0x10388df gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).Write(0xc013590700, 0x1607478, 0xc019c5f500, 0x1601980, 0xc00ae7d000, 0x0, 0x1, 0x20002a40, 0x6d, 0x100, ...) pkg/sentry/fsimpl/fuse/dev.go:305 +0x10a fp=0xc08560b860 sp=0xc08560b7c0 pc=0x103840a gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write(0xc013590700, 0x1607478, 0xc019c5f500, 0x1601980, 0xc00ae7d000, 0x0, 0x1, 0x20002a40, 0x6d, 0x100, ...) pkg/sentry/vfs/file_description.go:748 +0xc3 fp=0xc08560b8f8 sp=0xc08560b860 pc=0x788ca3 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.write(0xc019c5f500, 0xc013590700, 0x1601980, 0xc00ae7d000, 0x0, 0x1, 0x20002a40, 0x6d, 0x100, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:430 +0xa5 fp=0xc08560ba88 sp=0xc08560b8f8 pc=0xf70425 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Write(0xc019c5f500, 0x5, 0x20002a40, 0x6d, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:393 +0x293 fp=0xc08560bbb8 sp=0xc08560ba88 pc=0xf6fc33 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc019c5f500, 0x1, 0x5, 0x20002a40, 0x6d, 0x0, 0x0, 0x0, 0xc000001fa0, 0x14300e0, ...) pkg/sentry/kernel/task_syscall.go:115 +0x199 fp=0xc08560bc78 sp=0xc08560bbb8 pc=0xa84579 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc019c5f500, 0x1, 0x5, 0x20002a40, 0x6d, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:290 +0x70 fp=0xc08560bd00 sp=0xc08560bc78 pc=0xa85850 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc019c5f500, 0x1, 0x5, 0x20002a40, 0x6d, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:237 +0xb4 fp=0xc08560bd60 sp=0xc08560bd00 pc=0xa85334 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc019c5f500, 0x2, 0xc019c5f500) pkg/sentry/kernel/task_syscall.go:204 +0x198 fp=0xc08560be30 sp=0xc08560bd60 pc=0xa84c18 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc019c5f500, 0x15d9a80, 0x0) pkg/sentry/kernel/task_run.go:294 +0xd9a fp=0xc08560bf68 sp=0xc08560be30 pc=0xa77b3a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc019c5f500, 0xaeaa) pkg/sentry/kernel/task_run.go:98 +0x1b9 fp=0xc08560bfd0 sp=0xc08560bf68 pc=0xa768f9 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc08560bfd8 sp=0xc08560bfd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:398 +0x116