panic: runtime error: slice bounds out of range [:4] with capacity 0 goroutine 1140951 [running]: panic(0x13423e0, 0xc00ac8ca50) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc00b6613d0 sp=0xc00b661308 pc=0x437c65 runtime.goPanicSliceAcap(0x4, 0x0) GOROOT/src/runtime/panic.go:106 +0xa5 fp=0xc00b661418 sp=0xc00b6613d0 pc=0x4352c5 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*fuseInitRes).UnmarshalBytes(0xc00bbb3720, 0xc00ac8ca48, 0x8, 0x8, 0x7febf2d87b98, 0x0, 0x44) pkg/sentry/fsimpl/fuse/request_response.go:57 +0x2e5 fp=0xc00b661438 sp=0xc00b661418 pc=0x1049e25 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*fuseInitRes).UnmarshalUnsafe(0xc00bbb3720, 0xc00ac8ca48, 0x8, 0x8, 0xc00b6614d0, 0x40e318, 0x44) bazel-out/k8-fastbuild-ST-3ea255117c10/bin/pkg/sentry/fsimpl/fuse/fuse_abi_autogen_unsafe.go:34 +0x53 fp=0xc00b661480 sp=0xc00b661438 pc=0x104eff3 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*Response).UnmarshalPayload(0xc00b661598, 0x1609ab0, 0xc00bbb3720, 0x1492898, 0x142ea40) pkg/sentry/fsimpl/fuse/request_response.go:251 +0xe8 fp=0xc00b6614e0 sp=0xc00b661480 pc=0x104a4c8 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*connection).InitRecv(0xc0125da8a0, 0xc00b661598, 0xc0003ba401, 0x1, 0x103cf87) pkg/sentry/fsimpl/fuse/connection_control.go:109 +0xe5 fp=0xc00b661520 sp=0xc00b6614e0 pc=0x103aa45 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).asyncCallBack(0xc00babe800, 0x160c7d8, 0xc00bff0000, 0xc00b661598, 0x0, 0x1) pkg/sentry/fsimpl/fuse/dev.go:544 +0xdb fp=0xc00b661560 sp=0xc00b661520 pc=0x103d37b gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).sendResponse(0xc00babe800, 0x160c7d8, 0xc00bff0000, 0xc00be3c700, 0x0, 0x0) pkg/sentry/fsimpl/fuse/dev.go:501 +0x150 fp=0xc00b6615e8 sp=0xc00b661560 pc=0x103d050 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).writeLocked(0xc00babe800, 0x160c7d8, 0xc00bff0000, 0x1606ae0, 0xc00baed000, 0x0, 0x0, 0x0, 0x0, 0x100, ...) pkg/sentry/fsimpl/fuse/dev.go:406 +0x45f fp=0xc00b6617c0 sp=0xc00b6615e8 pc=0x103c55f gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).Write(0xc00babe800, 0x160c7d8, 0xc00bff0000, 0x1606ae0, 0xc00baed000, 0x0, 0x1, 0x20000000, 0x18, 0x100, ...) pkg/sentry/fsimpl/fuse/dev.go:288 +0x10a fp=0xc00b661860 sp=0xc00b6617c0 pc=0x103c08a gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write(0xc00babe800, 0x160c7d8, 0xc00bff0000, 0x1606ae0, 0xc00baed000, 0x0, 0x1, 0x20000000, 0x18, 0x100, ...) pkg/sentry/vfs/file_description.go:748 +0xc3 fp=0xc00b6618f8 sp=0xc00b661860 pc=0x78bde3 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.write(0xc00bff0000, 0xc00babe800, 0x1606ae0, 0xc00baed000, 0x0, 0x1, 0x20000000, 0x18, 0x100, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:430 +0xa5 fp=0xc00b661a88 sp=0xc00b6618f8 pc=0xf73c65 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Write(0xc00bff0000, 0x3, 0x20000000, 0x18, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:393 +0x293 fp=0xc00b661bb8 sp=0xc00b661a88 pc=0xf73473 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00bff0000, 0x1, 0x3, 0x20000000, 0x18, 0x0, 0x0, 0x0, 0x0, 0x1433f80, ...) pkg/sentry/kernel/task_syscall.go:115 +0x199 fp=0xc00b661c78 sp=0xc00b661bb8 pc=0xa87939 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00bff0000, 0x1, 0x3, 0x20000000, 0x18, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:290 +0x70 fp=0xc00b661d00 sp=0xc00b661c78 pc=0xa88c10 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00bff0000, 0x1, 0x3, 0x20000000, 0x18, 0x0, 0x0, 0x0, 0xc00bfbd040, 0x161dae8) pkg/sentry/kernel/task_syscall.go:237 +0xb4 fp=0xc00b661d60 sp=0xc00b661d00 pc=0xa886f4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00bff0000, 0x2, 0xc00bff0000) pkg/sentry/kernel/task_syscall.go:204 +0x198 fp=0xc00b661e30 sp=0xc00b661d60 pc=0xa87fd8 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc00bff0000, 0x15deb80, 0x0) pkg/sentry/kernel/task_run.go:294 +0xd9a fp=0xc00b661f68 sp=0xc00b661e30 pc=0xa7ae7a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00bff0000, 0xae78) pkg/sentry/kernel/task_run.go:98 +0x1b9 fp=0xc00b661fd0 sp=0xc00b661f68 pc=0xa79c39 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc00b661fd8 sp=0xc00b661fd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:396 +0x116