panic: runtime error: index out of range [0] with length 0 goroutine 1027363 [running]: panic({0x121bf20, 0xc007de47e0}) GOROOT/src/runtime/panic.go:987 +0x3ba fp=0xc0037db1b0 sp=0xc0037db0f0 pc=0x43763a runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:113 +0x7f fp=0xc0037db1f0 sp=0xc0037db1b0 pc=0x4354ff gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*lisafsDentry).getRemoteChildAndWalkPathLocked(0xc00038f600, {0x1563918, 0xc00741b500}, 0x0?, 0xc0037db608) pkg/sentry/fsimpl/gofer/lisafs_dentry.go:265 +0x351 fp=0xc0037db2d8 sp=0xc0037db1f0 pc=0xd8b411 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*dentry).getRemoteChildAndWalkPathLocked(0xc00038f600?, {0x1563918?, 0xc00741b500?}, 0xd8381c?, 0x1563918?) pkg/sentry/fsimpl/gofer/dentry_impl.go:211 +0x65 fp=0xc0037db310 sp=0xc0037db2d8 pc=0xd6ca25 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).getChildAndWalkPathLocked(0x7f44e9ecf0c0?, {0x1563918, 0xc00741b500}, 0x954193?, 0xc008c7a000, 0x3b9aca00?) pkg/sentry/fsimpl/gofer/filesystem.go:265 +0xc6 fp=0xc0037db358 sp=0xc0037db310 pc=0xd72186 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).stepLocked(0x800000000?, {0x1563918, 0xc00741b500}, 0xc008c7a000, 0xc00038f600, 0x1, 0x40?) pkg/sentry/fsimpl/gofer/filesystem.go:205 +0x287 fp=0xc0037db3b0 sp=0xc0037db358 pc=0xd71ae7 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).walkParentDirLocked(0x7f44e9ecf0c0?, {0x1563918, 0xc00741b500}, 0xc008c7a000, 0xc00038f600, 0xc0069fc000?) pkg/sentry/fsimpl/gofer/filesystem.go:313 +0x11d fp=0xc0037db430 sp=0xc0037db3b0 pc=0xd724bd gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).unlinkAt(0xc0005645a0, {0x1563918, 0xc00741b500}, 0xc008c7a000, 0x1) pkg/sentry/fsimpl/gofer/filesystem.go:495 +0x18e fp=0xc0037db720 sp=0xc0037db430 pc=0xd73d6e gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).RmdirAt(0xc008c7a000?, {0x1563918?, 0xc00741b500?}, 0x154aa60?) pkg/sentry/fsimpl/gofer/filesystem.go:1400 +0x32 fp=0xc0037db758 sp=0xc0037db720 pc=0xd7bed2 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).RmdirAt(0xc00052a580?, {0x1563918, 0xc00741b500}, 0xc007134800?, 0xc0069fc000?) pkg/sentry/vfs/vfs.go:565 +0x143 fp=0xc0037db7b0 sp=0xc0037db758 pc=0x77e223 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.rmdirat(0xc00741b500, 0x0?, 0x1000?) pkg/sentry/syscalls/linux/sys_file.go:946 +0x206 fp=0xc0037db920 sp=0xc0037db7b0 pc=0xaf2726 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Rmdir(0xc00741b500?, {{0x200000c0}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:933 +0x37 fp=0xc0037db948 sp=0xc0037db920 pc=0xaf24f7 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00741b500, 0x54, {{0x200000c0}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc0037dbc88 sp=0xc0037db948 pc=0x9a95eb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00741b500, 0x85?, {{0x200000c0}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc0037dbce8 sp=0xc0037dbc88 pc=0x9aabd4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0037dbd90?, 0x961c46?, {{0x200000c0}, {0x0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc0037dbd48 sp=0xc0037dbce8 pc=0x9aa7c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0033095f0?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc0037dbe40 sp=0xc0037dbd48 pc=0x9aa48c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc004523880?, 0xc00741b500) pkg/sentry/kernel/task_run.go:256 +0x1245 fp=0xc0037dbf60 sp=0xc0037dbe40 pc=0x99c345 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00741b500, 0x83fe) pkg/sentry/kernel/task_run.go:94 +0x229 fp=0xc0037dbfc0 sp=0xc0037dbf60 pc=0x99aa69 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc0037dbfe0 sp=0xc0037dbfc0 pc=0x9a7a6a runtime.goexit() src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0037dbfe8 sp=0xc0037dbfe0 pc=0x46c521 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105