panic: runtime error: slice bounds out of range [:4] with capacity 0 goroutine 229688 [running]: panic(0x133dc20, 0xc00aff96c8) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc000a5d3c0 sp=0xc000a5d2f8 pc=0x437c65 runtime.goPanicSliceAcap(0x4, 0x0) GOROOT/src/runtime/panic.go:106 +0xa5 fp=0xc000a5d408 sp=0xc000a5d3c0 pc=0x4352c5 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*fuseInitRes).UnmarshalBytes(0xc001a3a9b0, 0xc00aff96c0, 0x8, 0x8, 0x1606258, 0x10000c00f7af500, 0x3f6f681ba1d8) pkg/sentry/fsimpl/fuse/request_response.go:57 +0x2e5 fp=0xc000a5d428 sp=0xc000a5d408 pc=0x1044f65 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*fuseInitRes).UnmarshalUnsafe(0xc001a3a9b0, 0xc00aff96c0, 0x8, 0x8, 0xc00060ec00, 0x0, 0xc000a5d4d0) bazel-out/k8-fastbuild-ST-4c64f0b3d5c7/bin/pkg/sentry/fsimpl/fuse/fuse_abi_autogen_unsafe.go:34 +0x53 fp=0xc000a5d470 sp=0xc000a5d428 pc=0x104a193 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*Response).UnmarshalPayload(0xc000a5d598, 0x1603590, 0xc001a3a9b0, 0x148d840, 0x1429b80) pkg/sentry/fsimpl/fuse/request_response.go:253 +0xee fp=0xc000a5d4e0 sp=0xc000a5d470 pc=0x104560e gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*connection).InitRecv(0xc00d8b3020, 0xc000a5d598, 0xc0001fd601, 0x1, 0x1038ec7) pkg/sentry/fsimpl/fuse/connection_control.go:109 +0xe5 fp=0xc000a5d520 sp=0xc000a5d4e0 pc=0x1036845 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).asyncCallBack(0xc012192f00, 0x1606258, 0xc00f7af500, 0xc000a5d598, 0x0, 0x1) pkg/sentry/fsimpl/fuse/dev.go:548 +0xdb fp=0xc000a5d560 sp=0xc000a5d520 pc=0x10392bb gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).sendResponse(0xc012192f00, 0x1606258, 0xc00f7af500, 0xc001107100, 0x0, 0x0) pkg/sentry/fsimpl/fuse/dev.go:505 +0x150 fp=0xc000a5d5e8 sp=0xc000a5d560 pc=0x1038f90 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).writeLocked(0xc012192f00, 0x1606258, 0xc00f7af500, 0x1600760, 0xc036da3000, 0x0, 0x0, 0x0, 0x0, 0x100, ...) pkg/sentry/fsimpl/fuse/dev.go:411 +0x44a fp=0xc000a5d7c0 sp=0xc000a5d5e8 pc=0x10384ea gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).Write(0xc012192f00, 0x1606258, 0xc00f7af500, 0x1600760, 0xc036da3000, 0x0, 0x1, 0x20000000, 0x18, 0x100, ...) pkg/sentry/fsimpl/fuse/dev.go:294 +0x10a fp=0xc000a5d860 sp=0xc000a5d7c0 pc=0x103802a gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write(0xc012192f00, 0x1606258, 0xc00f7af500, 0x1600760, 0xc036da3000, 0x0, 0x1, 0x20000000, 0x18, 0x100, ...) pkg/sentry/vfs/file_description.go:748 +0xc3 fp=0xc000a5d8f8 sp=0xc000a5d860 pc=0x788ca3 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.write(0xc00f7af500, 0xc012192f00, 0x1600760, 0xc036da3000, 0x0, 0x1, 0x20000000, 0x18, 0x100, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:430 +0xa5 fp=0xc000a5da88 sp=0xc000a5d8f8 pc=0xf70425 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Write(0xc00f7af500, 0x3, 0x20000000, 0x18, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:393 +0x293 fp=0xc000a5dbb8 sp=0xc000a5da88 pc=0xf6fc33 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00f7af500, 0x1, 0x3, 0x20000000, 0x18, 0x0, 0x0, 0x0, 0xc000001fa0, 0x142f0c0, ...) pkg/sentry/kernel/task_syscall.go:115 +0x199 fp=0xc000a5dc78 sp=0xc000a5dbb8 pc=0xa84579 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00f7af500, 0x1, 0x3, 0x20000000, 0x18, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:290 +0x70 fp=0xc000a5dd00 sp=0xc000a5dc78 pc=0xa85850 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00f7af500, 0x1, 0x3, 0x20000000, 0x18, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:237 +0xb4 fp=0xc000a5dd60 sp=0xc000a5dd00 pc=0xa85334 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00f7af500, 0x2, 0xc00f7af500) pkg/sentry/kernel/task_syscall.go:204 +0x198 fp=0xc000a5de30 sp=0xc000a5dd60 pc=0xa84c18 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc00f7af500, 0x15d8860, 0x0) pkg/sentry/kernel/task_run.go:294 +0xd9a fp=0xc000a5df68 sp=0xc000a5de30 pc=0xa77b3a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00f7af500, 0x1eb6) pkg/sentry/kernel/task_run.go:98 +0x1b9 fp=0xc000a5dfd0 sp=0xc000a5df68 pc=0xa768f9 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc000a5dfd8 sp=0xc000a5dfd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:398 +0x116