panic: runtime error: slice bounds out of range [:4] with capacity 0 goroutine 1272783 [running]: panic(0x133dc20, 0xc06f1e86c0) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc0009673c0 sp=0xc0009672f8 pc=0x437c65 runtime.goPanicSliceAcap(0x4, 0x0) GOROOT/src/runtime/panic.go:106 +0xa5 fp=0xc000967408 sp=0xc0009673c0 pc=0x4352c5 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*fuseInitRes).UnmarshalBytes(0xc0048cc910, 0xc0127a3b00, 0x0, 0x0, 0x1606298, 0x10000c00498aa80, 0x7fc5f1516b90) pkg/sentry/fsimpl/fuse/request_response.go:53 +0x313 fp=0xc000967428 sp=0xc000967408 pc=0x1044e73 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*fuseInitRes).UnmarshalUnsafe(0xc0048cc910, 0xc0127a3b00, 0x0, 0x0, 0xc00442c000, 0x0, 0xc0009674d0) bazel-out/k8-fastbuild-ST-3ea255117c10/bin/pkg/sentry/fsimpl/fuse/fuse_abi_autogen_unsafe.go:34 +0x53 fp=0xc000967470 sp=0xc000967428 pc=0x104a073 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*Response).UnmarshalPayload(0xc000967598, 0x16035d0, 0xc0048cc910, 0x148d8d0, 0x1429b80) pkg/sentry/fsimpl/fuse/request_response.go:253 +0xee fp=0xc0009674e0 sp=0xc000967470 pc=0x10454ee gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*connection).InitRecv(0xc0061d35c0, 0xc000967598, 0xc00032e201, 0x1, 0x1038da7) pkg/sentry/fsimpl/fuse/connection_control.go:109 +0xe5 fp=0xc000967520 sp=0xc0009674e0 pc=0x1036725 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).asyncCallBack(0xc00d72a600, 0x1606298, 0xc00498aa80, 0xc000967598, 0x0, 0x1) pkg/sentry/fsimpl/fuse/dev.go:548 +0xdb fp=0xc000967560 sp=0xc000967520 pc=0x103919b gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).sendResponse(0xc00d72a600, 0x1606298, 0xc00498aa80, 0xc0003d0080, 0x0, 0x0) pkg/sentry/fsimpl/fuse/dev.go:505 +0x150 fp=0xc0009675e8 sp=0xc000967560 pc=0x1038e70 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).writeLocked(0xc00d72a600, 0x1606298, 0xc00498aa80, 0x16007a0, 0xc0043dd000, 0x0, 0x1, 0x200000d0, 0x62, 0x100, ...) pkg/sentry/fsimpl/fuse/dev.go:411 +0x44a fp=0xc0009677c0 sp=0xc0009675e8 pc=0x10383ca gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).Write(0xc00d72a600, 0x1606298, 0xc00498aa80, 0x16007a0, 0xc0043dd000, 0x0, 0x1, 0x200000c0, 0x72, 0x100, ...) pkg/sentry/fsimpl/fuse/dev.go:294 +0x10a fp=0xc000967860 sp=0xc0009677c0 pc=0x1037f0a gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write(0xc00d72a600, 0x1606298, 0xc00498aa80, 0x16007a0, 0xc0043dd000, 0x0, 0x1, 0x200000c0, 0x72, 0x100, ...) pkg/sentry/vfs/file_description.go:748 +0xc3 fp=0xc0009678f8 sp=0xc000967860 pc=0x788ca3 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.write(0xc00498aa80, 0xc00d72a600, 0x16007a0, 0xc0043dd000, 0x0, 0x1, 0x200000c0, 0x72, 0x100, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:430 +0xa5 fp=0xc000967a88 sp=0xc0009678f8 pc=0xf707a5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Write(0xc00498aa80, 0x3, 0x200000c0, 0x72, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:393 +0x293 fp=0xc000967bb8 sp=0xc000967a88 pc=0xf6ffb3 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00498aa80, 0x1, 0x3, 0x200000c0, 0x72, 0x0, 0x0, 0x0, 0x0, 0x142f0c0, ...) pkg/sentry/kernel/task_syscall.go:115 +0x199 fp=0xc000967c78 sp=0xc000967bb8 pc=0xa848f9 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00498aa80, 0x1, 0x3, 0x200000c0, 0x72, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:290 +0x70 fp=0xc000967d00 sp=0xc000967c78 pc=0xa85bd0 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00498aa80, 0x1, 0x3, 0x200000c0, 0x72, 0x0, 0x0, 0x0, 0xc00404f380, 0x16174a8) pkg/sentry/kernel/task_syscall.go:237 +0xb4 fp=0xc000967d60 sp=0xc000967d00 pc=0xa856b4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00498aa80, 0x2, 0xc00498aa80) pkg/sentry/kernel/task_syscall.go:204 +0x198 fp=0xc000967e30 sp=0xc000967d60 pc=0xa84f98 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc00498aa80, 0x15d88a0, 0x0) pkg/sentry/kernel/task_run.go:294 +0xd9a fp=0xc000967f68 sp=0xc000967e30 pc=0xa77eba gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00498aa80, 0xc8f7) pkg/sentry/kernel/task_run.go:98 +0x1b9 fp=0xc000967fd0 sp=0xc000967f68 pc=0xa76c79 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc000967fd8 sp=0xc000967fd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:398 +0x116