panic: runtime error: slice bounds out of range [:4] with capacity 0 goroutine 827598 [running]: panic(0x133dc20, 0xc04f3b2198) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc0023113c0 sp=0xc0023112f8 pc=0x437c65 runtime.goPanicSliceAcap(0x4, 0x0) GOROOT/src/runtime/panic.go:106 +0xa5 fp=0xc002311408 sp=0xc0023113c0 pc=0x4352c5 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*fuseInitRes).UnmarshalBytes(0xc000562cd0, 0xc04f3b2190, 0x8, 0x8, 0x1606298, 0x10000c00824c000, 0x7f73c6da0aa8) pkg/sentry/fsimpl/fuse/request_response.go:57 +0x2e5 fp=0xc002311428 sp=0xc002311408 pc=0x1044e45 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*fuseInitRes).UnmarshalUnsafe(0xc000562cd0, 0xc04f3b2190, 0x8, 0x8, 0xc0013be000, 0x0, 0xc0023114d0) bazel-out/k8-fastbuild-ST-3ea255117c10/bin/pkg/sentry/fsimpl/fuse/fuse_abi_autogen_unsafe.go:34 +0x53 fp=0xc002311470 sp=0xc002311428 pc=0x104a073 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*Response).UnmarshalPayload(0xc002311598, 0x16035d0, 0xc000562cd0, 0x148d8d0, 0x1429b80) pkg/sentry/fsimpl/fuse/request_response.go:253 +0xee fp=0xc0023114e0 sp=0xc002311470 pc=0x10454ee gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*connection).InitRecv(0xc002cfdf20, 0xc002311598, 0xc000644001, 0x1, 0x1038da7) pkg/sentry/fsimpl/fuse/connection_control.go:109 +0xe5 fp=0xc002311520 sp=0xc0023114e0 pc=0x1036725 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).asyncCallBack(0xc000f14900, 0x1606298, 0xc00824c000, 0xc002311598, 0x0, 0x1) pkg/sentry/fsimpl/fuse/dev.go:548 +0xdb fp=0xc002311560 sp=0xc002311520 pc=0x103919b gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).sendResponse(0xc000f14900, 0x1606298, 0xc00824c000, 0xc008b72200, 0x0, 0x0) pkg/sentry/fsimpl/fuse/dev.go:505 +0x150 fp=0xc0023115e8 sp=0xc002311560 pc=0x1038e70 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).writeLocked(0xc000f14900, 0x1606298, 0xc00824c000, 0x16007a0, 0xc0065a3000, 0x0, 0x0, 0x0, 0x0, 0x100, ...) pkg/sentry/fsimpl/fuse/dev.go:411 +0x44a fp=0xc0023117c0 sp=0xc0023115e8 pc=0x10383ca gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).Write(0xc000f14900, 0x1606298, 0xc00824c000, 0x16007a0, 0xc0065a3000, 0x0, 0x1, 0x20000000, 0x18, 0x100, ...) pkg/sentry/fsimpl/fuse/dev.go:294 +0x10a fp=0xc002311860 sp=0xc0023117c0 pc=0x1037f0a gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write(0xc000f14900, 0x1606298, 0xc00824c000, 0x16007a0, 0xc0065a3000, 0x0, 0x1, 0x20000000, 0x18, 0x100, ...) pkg/sentry/vfs/file_description.go:748 +0xc3 fp=0xc0023118f8 sp=0xc002311860 pc=0x788ca3 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.write(0xc00824c000, 0xc000f14900, 0x16007a0, 0xc0065a3000, 0x0, 0x1, 0x20000000, 0x18, 0x100, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:430 +0xa5 fp=0xc002311a88 sp=0xc0023118f8 pc=0xf707a5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Write(0xc00824c000, 0x3, 0x20000000, 0x18, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:393 +0x293 fp=0xc002311bb8 sp=0xc002311a88 pc=0xf6ffb3 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00824c000, 0x1, 0x3, 0x20000000, 0x18, 0x0, 0x0, 0x0, 0x0, 0x142f0c0, ...) pkg/sentry/kernel/task_syscall.go:115 +0x199 fp=0xc002311c78 sp=0xc002311bb8 pc=0xa848f9 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00824c000, 0x1, 0x3, 0x20000000, 0x18, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:290 +0x70 fp=0xc002311d00 sp=0xc002311c78 pc=0xa85bd0 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00824c000, 0x1, 0x3, 0x20000000, 0x18, 0x0, 0x0, 0x0, 0xc005b7eb60, 0x16174a8) pkg/sentry/kernel/task_syscall.go:237 +0xb4 fp=0xc002311d60 sp=0xc002311d00 pc=0xa856b4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00824c000, 0x2, 0xc00824c000) pkg/sentry/kernel/task_syscall.go:204 +0x198 fp=0xc002311e30 sp=0xc002311d60 pc=0xa84f98 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc00824c000, 0x15d88a0, 0x0) pkg/sentry/kernel/task_run.go:294 +0xd9a fp=0xc002311f68 sp=0xc002311e30 pc=0xa77eba gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00824c000, 0x898d) pkg/sentry/kernel/task_run.go:98 +0x1b9 fp=0xc002311fd0 sp=0xc002311f68 pc=0xa76c79 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc002311fd8 sp=0xc002311fd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:398 +0x116