panic: runtime error: index out of range [0] with length 0 goroutine 1096761 [running]: panic({0x121bf20, 0xc009b362d0}) GOROOT/src/runtime/panic.go:987 +0x3ba fp=0xc003e132d8 sp=0xc003e13218 pc=0x43763a runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:113 +0x7f fp=0xc003e13318 sp=0xc003e132d8 pc=0x4354ff gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*lisafsDentry).getRemoteChildAndWalkPathLocked(0xc0001eb200, {0x1563918, 0xc0044c5500}, 0x0?, 0xc003e13598) pkg/sentry/fsimpl/gofer/lisafs_dentry.go:265 +0x351 fp=0xc003e13400 sp=0xc003e13318 pc=0xd8b411 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*dentry).getRemoteChildAndWalkPathLocked(0xc0001eb200?, {0x1563918?, 0xc0044c5500?}, 0xd8381c?, 0xc00072a000?) pkg/sentry/fsimpl/gofer/dentry_impl.go:211 +0x65 fp=0xc003e13438 sp=0xc003e13400 pc=0xd6ca25 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).getChildAndWalkPathLocked(0xc003e134b8?, {0x1563918, 0xc0044c5500}, 0x0?, 0xc00062c900, 0xc003e13598?) pkg/sentry/fsimpl/gofer/filesystem.go:265 +0xc6 fp=0xc003e13480 sp=0xc003e13438 pc=0xd72186 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).stepLocked(0xc0001d27e0?, {0x1563918, 0xc0044c5500}, 0xc00062c900, 0xc0001eb200, 0x1, 0xc00062c900?) pkg/sentry/fsimpl/gofer/filesystem.go:205 +0x287 fp=0xc003e134d8 sp=0xc003e13480 pc=0xd71ae7 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).walkParentDirLocked(0xc003e13570?, {0x1563918, 0xc0044c5500}, 0xc00062c900, 0xc0001eb200, 0x1563918?) pkg/sentry/fsimpl/gofer/filesystem.go:313 +0x11d fp=0xc003e13558 sp=0xc003e134d8 pc=0xd724bd gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).GetParentDentryAt(0xc0001d27e0, {0x1563918, 0xc0044c5500}, 0xc00062c900) pkg/sentry/fsimpl/gofer/filesystem.go:712 +0x151 fp=0xc003e135f8 sp=0xc003e13558 pc=0xd75a71 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).getParentDirAndName(0x75f820?, {0x1563918, 0xc0044c5500}, 0xc0044c5500?, 0xc003e13700?) pkg/sentry/vfs/vfs.go:250 +0x7a fp=0xc003e13668 sp=0xc003e135f8 pc=0x77ca3a gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).RenameAt(0xc000624500?, {0x1563918, 0xc0044c5500}, 0xc0095e7400?, 0xc003e137f8, 0xc003e13848, 0xc003e137b0) pkg/sentry/vfs/vfs.go:497 +0xb0 fp=0xc003e13710 sp=0xc003e13668 pc=0x77dbf0 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.renameat(0xc0044c5500, 0xaf2930?, 0xc0044c5500?, 0x90277f88?, 0x0?, 0x0) pkg/sentry/syscalls/linux/sys_file.go:1579 +0x386 fp=0xc003e13908 sp=0xc003e13710 pc=0xaf7106 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Renameat(0xc0044c5500?, {{0x3}, {0x20000000}, {0x3}, {0x20000100}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:1544 +0x65 fp=0xc003e13948 sp=0xc003e13908 pc=0xaf6ca5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0044c5500, 0x108, {{0x3}, {0x20000000}, {0x3}, {0x20000100}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc003e13c88 sp=0xc003e13948 pc=0x9a95eb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0044c5500, 0x85?, {{0x3}, {0x20000000}, {0x3}, {0x20000100}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc003e13ce8 sp=0xc003e13c88 pc=0x9aabd4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc003e13d90?, 0x961c46?, {{0x3}, {0x20000000}, {0x3}, {0x20000100}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc003e13d48 sp=0xc003e13ce8 pc=0x9aa7c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00482fba0?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc003e13e40 sp=0xc003e13d48 pc=0x9aa48c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0064c7980?, 0xc0044c5500) pkg/sentry/kernel/task_run.go:256 +0x1245 fp=0xc003e13f60 sp=0xc003e13e40 pc=0x99c345 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0044c5500, 0x89aa) pkg/sentry/kernel/task_run.go:94 +0x229 fp=0xc003e13fc0 sp=0xc003e13f60 pc=0x99aa69 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc003e13fe0 sp=0xc003e13fc0 pc=0x9a7a6a runtime.goexit() src/runtime/asm_amd64.s:1594 +0x1 fp=0xc003e13fe8 sp=0xc003e13fe0 pc=0x46c521 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105