panic: runtime error: slice bounds out of range [:4] with capacity 0 goroutine 1779344 [running]: panic(0x133dc20, 0xc0178315a8) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc00ef8b3c0 sp=0xc00ef8b2f8 pc=0x437c65 runtime.goPanicSliceAcap(0x4, 0x0) GOROOT/src/runtime/panic.go:106 +0xa5 fp=0xc00ef8b408 sp=0xc00ef8b3c0 pc=0x4352c5 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*fuseInitRes).UnmarshalBytes(0xc01035b6d0, 0xc0178315a0, 0x8, 0x8, 0x16062b8, 0x10000c010cbe000, 0x3f7b1caf5eb0) pkg/sentry/fsimpl/fuse/request_response.go:57 +0x2e5 fp=0xc00ef8b428 sp=0xc00ef8b408 pc=0x1044f65 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*fuseInitRes).UnmarshalUnsafe(0xc01035b6d0, 0xc0178315a0, 0x8, 0x8, 0xc00066c400, 0x0, 0xc00ef8b4d0) bazel-out/k8-fastbuild-ST-4c64f0b3d5c7/bin/pkg/sentry/fsimpl/fuse/fuse_abi_autogen_unsafe.go:34 +0x53 fp=0xc00ef8b470 sp=0xc00ef8b428 pc=0x104a193 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*Response).UnmarshalPayload(0xc00ef8b598, 0x16035f0, 0xc01035b6d0, 0x148d888, 0x1429b80) pkg/sentry/fsimpl/fuse/request_response.go:253 +0xee fp=0xc00ef8b4e0 sp=0xc00ef8b470 pc=0x104560e gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*connection).InitRecv(0xc0107d3d40, 0xc00ef8b598, 0xc000189801, 0x1, 0x1038ec7) pkg/sentry/fsimpl/fuse/connection_control.go:109 +0xe5 fp=0xc00ef8b520 sp=0xc00ef8b4e0 pc=0x1036845 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).asyncCallBack(0xc00f967300, 0x16062b8, 0xc010cbe000, 0xc00ef8b598, 0x0, 0x1) pkg/sentry/fsimpl/fuse/dev.go:548 +0xdb fp=0xc00ef8b560 sp=0xc00ef8b520 pc=0x10392bb gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).sendResponse(0xc00f967300, 0x16062b8, 0xc010cbe000, 0xc010866380, 0x0, 0x0) pkg/sentry/fsimpl/fuse/dev.go:505 +0x150 fp=0xc00ef8b5e8 sp=0xc00ef8b560 pc=0x1038f90 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).writeLocked(0xc00f967300, 0x16062b8, 0xc010cbe000, 0x16007c0, 0xc010857000, 0x0, 0x0, 0x0, 0x0, 0x100, ...) pkg/sentry/fsimpl/fuse/dev.go:411 +0x44a fp=0xc00ef8b7c0 sp=0xc00ef8b5e8 pc=0x10384ea gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).Write(0xc00f967300, 0x16062b8, 0xc010cbe000, 0x16007c0, 0xc010857000, 0x0, 0x1, 0x20000000, 0x18, 0x100, ...) pkg/sentry/fsimpl/fuse/dev.go:294 +0x10a fp=0xc00ef8b860 sp=0xc00ef8b7c0 pc=0x103802a gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write(0xc00f967300, 0x16062b8, 0xc010cbe000, 0x16007c0, 0xc010857000, 0x0, 0x1, 0x20000000, 0x18, 0x100, ...) pkg/sentry/vfs/file_description.go:748 +0xc3 fp=0xc00ef8b8f8 sp=0xc00ef8b860 pc=0x788ca3 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.write(0xc010cbe000, 0xc00f967300, 0x16007c0, 0xc010857000, 0x0, 0x1, 0x20000000, 0x18, 0x100, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:430 +0xa5 fp=0xc00ef8ba88 sp=0xc00ef8b8f8 pc=0xf70425 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Write(0xc010cbe000, 0x3, 0x20000000, 0x18, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:393 +0x293 fp=0xc00ef8bbb8 sp=0xc00ef8ba88 pc=0xf6fc33 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc010cbe000, 0x1, 0x3, 0x20000000, 0x18, 0x0, 0x0, 0x0, 0xc000001fa0, 0x142f0c0, ...) pkg/sentry/kernel/task_syscall.go:115 +0x199 fp=0xc00ef8bc78 sp=0xc00ef8bbb8 pc=0xa84579 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc010cbe000, 0x1, 0x3, 0x20000000, 0x18, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:290 +0x70 fp=0xc00ef8bd00 sp=0xc00ef8bc78 pc=0xa85850 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc010cbe000, 0x1, 0x3, 0x20000000, 0x18, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:237 +0xb4 fp=0xc00ef8bd60 sp=0xc00ef8bd00 pc=0xa85334 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc010cbe000, 0x2, 0xc010cbe000) pkg/sentry/kernel/task_syscall.go:204 +0x198 fp=0xc00ef8be30 sp=0xc00ef8bd60 pc=0xa84c18 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc010cbe000, 0x15d88c0, 0x0) pkg/sentry/kernel/task_run.go:294 +0xd9a fp=0xc00ef8bf68 sp=0xc00ef8be30 pc=0xa77b3a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc010cbe000, 0xf1bb) pkg/sentry/kernel/task_run.go:98 +0x1b9 fp=0xc00ef8bfd0 sp=0xc00ef8bf68 pc=0xa768f9 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc00ef8bfd8 sp=0xc00ef8bfd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:398 +0x116