panic: runtime error: slice bounds out of range [:2] with capacity 0 goroutine 3693559 [running]: panic(0x1227980, 0xc02f86b278) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc0018272a8 sp=0xc0018271e0 pc=0x437c65 runtime.goPanicSliceAcap(0x2, 0x0) GOROOT/src/runtime/panic.go:106 +0xa5 fp=0xc0018272f0 sp=0xc0018272a8 pc=0x4352c5 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*fuseInitRes).UnmarshalBytes(0xc009749450, 0xc02186c310, 0x10, 0x10, 0x861c4705, 0x100000000000038, 0x7f196334d470) pkg/sentry/fsimpl/fuse/request_response.go:58 +0x279 fp=0xc001827310 sp=0xc0018272f0 pc=0xf37519 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*fuseInitRes).UnmarshalUnsafe(0xc009749450, 0xc02186c310, 0x10, 0x10, 0xc00614d000, 0x0, 0xc0018273b8) bazel-out/k8-fastbuild-ST-3ea255117c10/bin/pkg/sentry/fsimpl/fuse/fuse_abi_autogen_unsafe.go:30 +0x49 fp=0xc001827358 sp=0xc001827310 pc=0xf3c0e9 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*Response).UnmarshalPayload(0xc001827480, 0x14be950, 0xc009749450, 0x126b401, 0x13136a0) pkg/sentry/fsimpl/fuse/request_response.go:228 +0xb7 fp=0xc0018273c8 sp=0xc001827358 pc=0xf37b17 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*connection).InitRecv(0xc01604b8c0, 0xc001827480, 0x1366b01, 0x13136a0, 0xc0001a4000) pkg/sentry/fsimpl/fuse/connection_control.go:102 +0x9a fp=0xc001827408 sp=0xc0018273c8 pc=0xf2ae5a gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).asyncCallBack(0xc022713000, 0x14c1818, 0xc00a976000, 0xc001827480, 0x0, 0x1) pkg/sentry/fsimpl/fuse/dev.go:453 +0x106 fp=0xc001827448 sp=0xc001827408 pc=0xf2d346 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).sendResponse(0xc022713000, 0x14c1818, 0xc00a976000, 0xc09a65d740, 0x0, 0x0) pkg/sentry/fsimpl/fuse/dev.go:416 +0x11e fp=0xc0018274d0 sp=0xc001827448 pc=0xf2d05e gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).writeLocked(0xc022713000, 0x14c1818, 0xc00a976000, 0x14bbb80, 0xc00ad88000, 0x0, 0x0, 0x0, 0x0, 0x100, ...) pkg/sentry/fsimpl/fuse/dev.go:341 +0x40a fp=0xc001827718 sp=0xc0018274d0 pc=0xf2c6aa gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).Write(0xc022713000, 0x14c1818, 0xc00a976000, 0x14bbb80, 0xc00ad88000, 0x0, 0x1, 0x20000000, 0x20, 0x100, ...) pkg/sentry/fsimpl/fuse/dev.go:247 +0x105 fp=0xc0018277b8 sp=0xc001827718 pc=0xf2c225 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write(0xc022713000, 0x14c1818, 0xc00a976000, 0x14bbb80, 0xc00ad88000, 0x0, 0x1, 0x20000000, 0x20, 0x100, ...) pkg/sentry/vfs/file_description.go:657 +0xb4 fp=0xc001827850 sp=0xc0018277b8 pc=0x756cf4 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.write(0xc00a976000, 0xc022713000, 0x14bbb80, 0xc00ad88000, 0x0, 0x1, 0x20000000, 0x20, 0x100, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:348 +0x9b fp=0xc0018279e0 sp=0xc001827850 pc=0xe7087b gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Write(0xc00a976000, 0x3, 0x20000000, 0x20, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:317 +0x245 fp=0xc001827b10 sp=0xc0018279e0 pc=0xe70165 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00a976000, 0x1, 0x3, 0x20000000, 0x20, 0x0, 0x0, 0x0, 0x0, 0x1318be0, ...) pkg/sentry/kernel/task_syscall.go:103 +0x13c fp=0xc001827c70 sp=0xc001827b10 pc=0x9f19dc gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00a976000, 0x1, 0x3, 0x20000000, 0x20, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:238 +0x66 fp=0xc001827cf8 sp=0xc001827c70 pc=0x9f2b86 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00a976000, 0x1, 0x3, 0x20000000, 0x20, 0x0, 0x0, 0x0, 0x14d2a28, 0xc02c0738c0) pkg/sentry/kernel/task_syscall.go:198 +0x98 fp=0xc001827d58 sp=0xc001827cf8 pc=0x9f2778 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00a976000, 0x2, 0xc00a976000) pkg/sentry/kernel/task_syscall.go:173 +0x15c fp=0xc001827e28 sp=0xc001827d58 pc=0x9f211c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc00a976000, 0x1493a00, 0x0) pkg/sentry/kernel/task_run.go:254 +0xc27 fp=0xc001827f68 sp=0xc001827e28 pc=0x9e6ea7 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00a976000, 0xa823) pkg/sentry/kernel/task_run.go:95 +0x182 fp=0xc001827fd0 sp=0xc001827f68 pc=0x9e5de2 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc001827fd8 sp=0xc001827fd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:342 +0xfe