panic: runtime error: index out of range [0] with length 0 goroutine 866309 [running]: panic({0x121bf20, 0xc007fc48b8}) GOROOT/src/runtime/panic.go:987 +0x3ba fp=0xc00249d1b0 sp=0xc00249d0f0 pc=0x43763a runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:113 +0x7f fp=0xc00249d1f0 sp=0xc00249d1b0 pc=0x4354ff gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*lisafsDentry).getRemoteChildAndWalkPathLocked(0xc000799200, {0x1563918, 0xc00ece4a80}, 0x0?, 0xc00249d608) pkg/sentry/fsimpl/gofer/lisafs_dentry.go:265 +0x351 fp=0xc00249d2d8 sp=0xc00249d1f0 pc=0xd8b411 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*dentry).getRemoteChildAndWalkPathLocked(0xc000799200?, {0x1563918?, 0xc00ece4a80?}, 0xd8381c?, 0xc000ed9200?) pkg/sentry/fsimpl/gofer/dentry_impl.go:211 +0x65 fp=0xc00249d310 sp=0xc00249d2d8 pc=0xd6ca25 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).getChildAndWalkPathLocked(0xc000569390?, {0x1563918, 0xc00ece4a80}, 0x0?, 0xc005378000, 0xc000569608?) pkg/sentry/fsimpl/gofer/filesystem.go:265 +0xc6 fp=0xc00249d358 sp=0xc00249d310 pc=0xd72186 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).stepLocked(0xc00017f200?, {0x1563918, 0xc00ece4a80}, 0xc005378000, 0xc000799200, 0x1, 0x40?) pkg/sentry/fsimpl/gofer/filesystem.go:205 +0x287 fp=0xc00249d3b0 sp=0xc00249d358 pc=0xd71ae7 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).walkParentDirLocked(0x7f4c759f3000?, {0x1563918, 0xc00ece4a80}, 0xc005378000, 0xc000799200, 0xc007dcde00?) pkg/sentry/fsimpl/gofer/filesystem.go:313 +0x11d fp=0xc00249d430 sp=0xc00249d3b0 pc=0xd724bd gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).unlinkAt(0xc00017f200, {0x1563918, 0xc00ece4a80}, 0xc005378000, 0x1) pkg/sentry/fsimpl/gofer/filesystem.go:495 +0x18e fp=0xc00249d720 sp=0xc00249d430 pc=0xd73d6e gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).RmdirAt(0xc005378000?, {0x1563918?, 0xc00ece4a80?}, 0x154aa60?) pkg/sentry/fsimpl/gofer/filesystem.go:1400 +0x32 fp=0xc00249d758 sp=0xc00249d720 pc=0xd7bed2 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).RmdirAt(0xc0007a8180?, {0x1563918, 0xc00ece4a80}, 0xc005869000?, 0xc007dcde00?) pkg/sentry/vfs/vfs.go:565 +0x143 fp=0xc00249d7b0 sp=0xc00249d758 pc=0x77e223 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.rmdirat(0xc00ece4a80, 0x0?, 0x0?) pkg/sentry/syscalls/linux/sys_file.go:946 +0x206 fp=0xc00249d920 sp=0xc00249d7b0 pc=0xaf2726 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Unlinkat(0xc00ece4a80?, {{0x5}, {0x20000000}, {0x200}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:1112 +0x79 fp=0xc00249d948 sp=0xc00249d920 pc=0xaf4099 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00ece4a80, 0x107, {{0x5}, {0x20000000}, {0x200}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc00249dc88 sp=0xc00249d948 pc=0x9a95eb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00ece4a80, 0x85?, {{0x5}, {0x20000000}, {0x200}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc00249dce8 sp=0xc00249dc88 pc=0x9aabd4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000569d90?, 0x961c46?, {{0x5}, {0x20000000}, {0x200}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc00249dd48 sp=0xc00249dce8 pc=0x9aa7c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0035c84e0?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc00249de40 sp=0xc00249dd48 pc=0x9aa48c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc009ee9200?, 0xc00ece4a80) pkg/sentry/kernel/task_run.go:256 +0x1245 fp=0xc00249df60 sp=0xc00249de40 pc=0x99c345 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00ece4a80, 0x74ce) pkg/sentry/kernel/task_run.go:94 +0x229 fp=0xc00249dfc0 sp=0xc00249df60 pc=0x99aa69 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc00249dfe0 sp=0xc00249dfc0 pc=0x9a7a6a runtime.goexit() src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00249dfe8 sp=0xc00249dfe0 pc=0x46c521 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105