panic: runtime error: index out of range [0] with length 0 goroutine 1420303 [running]: panic({0x121bf20, 0xc006193cb0}) GOROOT/src/runtime/panic.go:987 +0x3ba fp=0xc006d891b0 sp=0xc006d890f0 pc=0x43763a runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:113 +0x7f fp=0xc006d891f0 sp=0xc006d891b0 pc=0x4354ff gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*lisafsDentry).getRemoteChildAndWalkPathLocked(0xc000828000, {0x1563918, 0xc00629ea80}, 0x0?, 0xc006d89608) pkg/sentry/fsimpl/gofer/lisafs_dentry.go:265 +0x351 fp=0xc006d892d8 sp=0xc006d891f0 pc=0xd8b411 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*dentry).getRemoteChildAndWalkPathLocked(0xc000828000?, {0x1563918?, 0xc00629ea80?}, 0xd8381c?, 0xc007727900?) pkg/sentry/fsimpl/gofer/dentry_impl.go:211 +0x65 fp=0xc006d89310 sp=0xc006d892d8 pc=0xd6ca25 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).getChildAndWalkPathLocked(0x7f6d8460b040?, {0x1563918, 0xc00629ea80}, 0x954193?, 0xc000686000, 0x3b9aca00?) pkg/sentry/fsimpl/gofer/filesystem.go:265 +0xc6 fp=0xc006d89358 sp=0xc006d89310 pc=0xd72186 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).stepLocked(0x40?, {0x1563918, 0xc00629ea80}, 0xc000686000, 0xc000828000, 0x1, 0x40?) pkg/sentry/fsimpl/gofer/filesystem.go:205 +0x287 fp=0xc006d893b0 sp=0xc006d89358 pc=0xd71ae7 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).walkParentDirLocked(0x7f6d8460b040?, {0x1563918, 0xc00629ea80}, 0xc000686000, 0xc000828000, 0xc007727b00?) pkg/sentry/fsimpl/gofer/filesystem.go:313 +0x11d fp=0xc006d89430 sp=0xc006d893b0 pc=0xd724bd gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).unlinkAt(0xc000525200, {0x1563918, 0xc00629ea80}, 0xc000686000, 0x1) pkg/sentry/fsimpl/gofer/filesystem.go:495 +0x18e fp=0xc006d89720 sp=0xc006d89430 pc=0xd73d6e gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).RmdirAt(0xc000686000?, {0x1563918?, 0xc00629ea80?}, 0x154aa60?) pkg/sentry/fsimpl/gofer/filesystem.go:1400 +0x32 fp=0xc006d89758 sp=0xc006d89720 pc=0xd7bed2 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).RmdirAt(0xc000812100?, {0x1563918, 0xc00629ea80}, 0xc0073a6000?, 0xc007727b00?) pkg/sentry/vfs/vfs.go:565 +0x143 fp=0xc006d897b0 sp=0xc006d89758 pc=0x77e223 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.rmdirat(0xc00629ea80, 0x0?, 0x118?) pkg/sentry/syscalls/linux/sys_file.go:946 +0x206 fp=0xc006d89920 sp=0xc006d897b0 pc=0xaf2726 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Rmdir(0xc00629ea80?, {{0x20000040}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:933 +0x37 fp=0xc006d89948 sp=0xc006d89920 pc=0xaf24f7 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00629ea80, 0x54, {{0x20000040}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc006d89c88 sp=0xc006d89948 pc=0x9a95eb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00629ea80, 0x85?, {{0x20000040}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc006d89ce8 sp=0xc006d89c88 pc=0x9aabd4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc006d89d90?, 0x961c46?, {{0x20000040}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc006d89d48 sp=0xc006d89ce8 pc=0x9aa7c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00b11bd40?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc006d89e40 sp=0xc006d89d48 pc=0x9aa48c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00417e000?, 0xc00629ea80) pkg/sentry/kernel/task_run.go:256 +0x1245 fp=0xc006d89f60 sp=0xc006d89e40 pc=0x99c345 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00629ea80, 0xe6cf) pkg/sentry/kernel/task_run.go:94 +0x229 fp=0xc006d89fc0 sp=0xc006d89f60 pc=0x99aa69 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc006d89fe0 sp=0xc006d89fc0 pc=0x9a7a6a runtime.goexit() src/runtime/asm_amd64.s:1594 +0x1 fp=0xc006d89fe8 sp=0xc006d89fe0 pc=0x46c521 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105