panic: runtime error: index out of range [0] with length 0 goroutine 1110382 [running]: panic({0x122c2c0, 0xc0058ac8b8}) GOROOT/src/runtime/panic.go:987 +0x3ba fp=0xc00781b2d8 sp=0xc00781b218 pc=0x43763a runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:113 +0x7f fp=0xc00781b318 sp=0xc00781b2d8 pc=0x4354ff gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*lisafsDentry).getRemoteChildAndWalkPathLocked(0xc000323600, {0x1576158, 0xc006414a80}, 0x0?, 0xc00781b598) pkg/sentry/fsimpl/gofer/lisafs_dentry.go:265 +0x351 fp=0xc00781b400 sp=0xc00781b318 pc=0xd9b311 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*dentry).getRemoteChildAndWalkPathLocked(0xc000323600?, {0x1576158?, 0xc006414a80?}, 0xd9371c?, 0x9c3982?) pkg/sentry/fsimpl/gofer/dentry_impl.go:211 +0x65 fp=0xc00781b438 sp=0xc00781b400 pc=0xd7c925 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).getChildAndWalkPathLocked(0xc0004b6000?, {0x1576158, 0xc006414a80}, 0x4132fa?, 0xc0002c8900, 0x0?) pkg/sentry/fsimpl/gofer/filesystem.go:265 +0xc6 fp=0xc00781b480 sp=0xc00781b438 pc=0xd82086 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).stepLocked(0xc00781b4f8?, {0x1576158, 0xc006414a80}, 0xc0002c8900, 0xc000323600, 0x1, 0xc0002c8900?) pkg/sentry/fsimpl/gofer/filesystem.go:205 +0x287 fp=0xc00781b4d8 sp=0xc00781b480 pc=0xd819e7 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).walkParentDirLocked(0xc00781b570?, {0x1576158, 0xc006414a80}, 0xc0002c8900, 0xc000323600, 0x1576158?) pkg/sentry/fsimpl/gofer/filesystem.go:313 +0x11d fp=0xc00781b558 sp=0xc00781b4d8 pc=0xd823bd gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).GetParentDentryAt(0xc00069e7e0, {0x1576158, 0xc006414a80}, 0xc0002c8900) pkg/sentry/fsimpl/gofer/filesystem.go:712 +0x151 fp=0xc00781b5f8 sp=0xc00781b558 pc=0xd85971 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).getParentDirAndName(0x76fa00?, {0x1576158, 0xc006414a80}, 0xc006414a80?, 0xc00781b700?) pkg/sentry/vfs/vfs.go:250 +0x7a fp=0xc00781b668 sp=0xc00781b5f8 pc=0x78cc1a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).RenameAt(0xc0001bc280?, {0x1576158, 0xc006414a80}, 0xc005d09400?, 0xc00781b7f8, 0xc00781b848, 0xc00781b7b0) pkg/sentry/vfs/vfs.go:497 +0xb0 fp=0xc00781b710 sp=0xc00781b668 pc=0x78ddd0 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.renameat(0xc006414a80, 0x6414a80?, 0xc0ffffff9c?, 0xf0402f8c?, 0x0?, 0x0) pkg/sentry/syscalls/linux/sys_file.go:1579 +0x386 fp=0xc00781b908 sp=0xc00781b710 pc=0xb07006 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Renameat(0xc006414a80?, {{0x3}, {0x20000240}, {0x3}, {0x200002c0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:1544 +0x65 fp=0xc00781b948 sp=0xc00781b908 pc=0xb06ba5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc006414a80, 0x108, {{0x3}, {0x20000240}, {0x3}, {0x200002c0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc00781bc88 sp=0xc00781b948 pc=0x9b95ab gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc006414a80, 0x85?, {{0x3}, {0x20000240}, {0x3}, {0x200002c0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc00781bce8 sp=0xc00781bc88 pc=0x9bab94 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00781bd90?, 0x971c06?, {{0x3}, {0x20000240}, {0x3}, {0x200002c0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc00781bd48 sp=0xc00781bce8 pc=0x9ba785 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc007703790?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc00781be40 sp=0xc00781bd48 pc=0x9ba44c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0095c8b00?, 0xc006414a80) pkg/sentry/kernel/task_run.go:256 +0x1245 fp=0xc00781bf60 sp=0xc00781be40 pc=0x9ac305 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc006414a80, 0xa9b4) pkg/sentry/kernel/task_run.go:94 +0x229 fp=0xc00781bfc0 sp=0xc00781bf60 pc=0x9aaa29 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc00781bfe0 sp=0xc00781bfc0 pc=0x9b7a2a runtime.goexit() src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00781bfe8 sp=0xc00781bfe0 pc=0x46c521 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105