panic: runtime error: index out of range [0] with length 0 goroutine 632475 [running]: panic({0x121bf20, 0xc0069d40a8}) GOROOT/src/runtime/panic.go:987 +0x3ba fp=0xc0048032d8 sp=0xc004803218 pc=0x43763a runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:113 +0x7f fp=0xc004803318 sp=0xc0048032d8 pc=0x4354ff gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*lisafsDentry).getRemoteChildAndWalkPathLocked(0xc00054e000, {0x1563918, 0xc002ba2a80}, 0x0?, 0xc004803598) pkg/sentry/fsimpl/gofer/lisafs_dentry.go:265 +0x351 fp=0xc004803400 sp=0xc004803318 pc=0xd8b411 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*dentry).getRemoteChildAndWalkPathLocked(0xc00054e000?, {0x1563918?, 0xc002ba2a80?}, 0xd8381c?, 0x9b39c2?) pkg/sentry/fsimpl/gofer/dentry_impl.go:211 +0x65 fp=0xc004803438 sp=0xc004803400 pc=0xd6ca25 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).getChildAndWalkPathLocked(0xc000174100?, {0x1563918, 0xc002ba2a80}, 0x4132fa?, 0xc0020d4900, 0x0?) pkg/sentry/fsimpl/gofer/filesystem.go:265 +0xc6 fp=0xc004803480 sp=0xc004803438 pc=0xd72186 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).stepLocked(0xc0048034f8?, {0x1563918, 0xc002ba2a80}, 0xc0020d4900, 0xc00054e000, 0x1, 0xc0020d4900?) pkg/sentry/fsimpl/gofer/filesystem.go:205 +0x287 fp=0xc0048034d8 sp=0xc004803480 pc=0xd71ae7 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).walkParentDirLocked(0xc004803570?, {0x1563918, 0xc002ba2a80}, 0xc0020d4900, 0xc00054e000, 0x1563918?) pkg/sentry/fsimpl/gofer/filesystem.go:313 +0x11d fp=0xc004803558 sp=0xc0048034d8 pc=0xd724bd gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).GetParentDentryAt(0xc0007305a0, {0x1563918, 0xc002ba2a80}, 0xc0020d4900) pkg/sentry/fsimpl/gofer/filesystem.go:712 +0x151 fp=0xc0048035f8 sp=0xc004803558 pc=0xd75a71 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).getParentDirAndName(0xc000db9400?, {0x1563918, 0xc002ba2a80}, 0xc004803670?, 0xc004803700?) pkg/sentry/vfs/vfs.go:250 +0x7a fp=0xc004803668 sp=0xc0048035f8 pc=0x77ca3a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).RenameAt(0xc000174880?, {0x1563918, 0xc002ba2a80}, 0xc000db9400?, 0xc0048037f8, 0xc004803848, 0xc0048037b0) pkg/sentry/vfs/vfs.go:497 +0xb0 fp=0xc004803710 sp=0xc004803668 pc=0x77dbf0 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.renameat(0xc002ba2a80, 0x2ba2a80?, 0xc002ba2a80?, 0x27a94f8c?, 0x4?, 0x0) pkg/sentry/syscalls/linux/sys_file.go:1579 +0x386 fp=0xc004803908 sp=0xc004803710 pc=0xaf7106 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Rename(0xc002ba2a80?, {{0x20000200}, {0x20000240}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:1535 +0x4b fp=0xc004803948 sp=0xc004803908 pc=0xaf6c0b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc002ba2a80, 0x52, {{0x20000200}, {0x20000240}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc004803c88 sp=0xc004803948 pc=0x9a95eb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc002ba2a80, 0x85?, {{0x20000200}, {0x20000240}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc004803ce8 sp=0xc004803c88 pc=0x9aabd4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc004803d90?, 0x961c46?, {{0x20000200}, {0x20000240}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc004803d48 sp=0xc004803ce8 pc=0x9aa7c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0052aac30?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc004803e40 sp=0xc004803d48 pc=0x9aa48c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0061bbf80?, 0xc002ba2a80) pkg/sentry/kernel/task_run.go:256 +0x1245 fp=0xc004803f60 sp=0xc004803e40 pc=0x99c345 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc002ba2a80, 0x32af) pkg/sentry/kernel/task_run.go:94 +0x229 fp=0xc004803fc0 sp=0xc004803f60 pc=0x99aa69 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc004803fe0 sp=0xc004803fc0 pc=0x9a7a6a runtime.goexit() src/runtime/asm_amd64.s:1594 +0x1 fp=0xc004803fe8 sp=0xc004803fe0 pc=0x46c521 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105