panic: runtime error: index out of range [0] with length 0 goroutine 1029004 [running]: panic({0x121bf20, 0xc0015460d8}) GOROOT/src/runtime/panic.go:987 +0x3ba fp=0xc0012e7178 sp=0xc0012e70b8 pc=0x43763a runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:113 +0x7f fp=0xc0012e71b8 sp=0xc0012e7178 pc=0x4354ff gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*lisafsDentry).getRemoteChildAndWalkPathLocked(0xc0006e2900, {0x15638b8, 0xc005996a80}, 0x0?, 0xc003838f50) pkg/sentry/fsimpl/gofer/lisafs_dentry.go:265 +0x351 fp=0xc0012e72a0 sp=0xc0012e71b8 pc=0xd8b351 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*dentry).getRemoteChildAndWalkPathLocked(0xc0006e2900?, {0x15638b8?, 0xc005996a80?}, 0xd8375c?, 0x173c303f43ed93e5?) pkg/sentry/fsimpl/gofer/dentry_impl.go:211 +0x65 fp=0xc0012e72d8 sp=0xc0012e72a0 pc=0xd6c965 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).getChildAndWalkPathLocked(0xc0012e73f8?, {0x15638b8, 0xc005996a80}, 0x40?, 0xc0068cc000, 0xc0012e73c0?) pkg/sentry/fsimpl/gofer/filesystem.go:265 +0xc6 fp=0xc0012e7320 sp=0xc0012e72d8 pc=0xd720c6 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).stepLocked(0x954193?, {0x15638b8, 0xc005996a80}, 0xc0068cc000, 0xc0006e2900, 0x1, 0xc003838f50?) pkg/sentry/fsimpl/gofer/filesystem.go:205 +0x287 fp=0xc0012e7378 sp=0xc0012e7320 pc=0xd71a27 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).walkParentDirLocked(0xc0012e74e0?, {0x15638b8, 0xc005996a80}, 0xc0068cc000, 0xc0006e2900, 0xc0012e7460?) pkg/sentry/fsimpl/gofer/filesystem.go:313 +0x11d fp=0xc0012e73f8 sp=0xc0012e7378 pc=0xd723fd gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).doCreateAt(0xc00043dd40, {0x15638b8, 0xc005996a80}, 0xc0068cc000, 0x0, 0xc0012e7650, 0x0) pkg/sentry/fsimpl/gofer/filesystem.go:371 +0x1ae fp=0xc0012e7610 sp=0xc0012e73f8 pc=0xd72a6e gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).LinkAt(0xc0068cc000?, {0x15638b8?, 0xc005996a80?}, 0x154aa00?, {0xc0001a4600?, 0xc0006e2900?}) pkg/sentry/fsimpl/gofer/filesystem.go:724 +0x8d fp=0xc0012e7690 sp=0xc0012e7610 pc=0xd75bcd gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).LinkAt(0xc0001a4600?, {0x15638b8, 0xc005996a80}, 0xc0057c7c00?, 0xc009c2a500?, 0xc0012e7848) pkg/sentry/vfs/vfs.go:296 +0x203 fp=0xc0012e7710 sp=0xc0012e7690 pc=0x77cda3 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.linkat(0xc005996a80, 0xaf2870?, 0xc005996a80?, 0xf78c1f88?, 0x0?, 0x0) pkg/sentry/syscalls/linux/sys_file.go:1029 +0x3d5 fp=0xc0012e7908 sp=0xc0012e7710 pc=0xaf31b5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Link(0xc005996a80?, {{0x20005f00}, {0x200080c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:988 +0x4b fp=0xc0012e7948 sp=0xc0012e7908 pc=0xaf2d0b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc005996a80, 0x56, {{0x20005f00}, {0x200080c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc0012e7c88 sp=0xc0012e7948 pc=0x9a95eb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc005996a80, 0x0?, {{0x20005f00}, {0x200080c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc0012e7ce8 sp=0xc0012e7c88 pc=0x9aabd4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00044a310?, 0xc0012e7e30?, {{0x20005f00}, {0x200080c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc0012e7d48 sp=0xc0012e7ce8 pc=0x9aa7c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0005ce8f0?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc0012e7e40 sp=0xc0012e7d48 pc=0x9aa48c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0073bb800?, 0xc005996a80) pkg/sentry/kernel/task_run.go:256 +0x1245 fp=0xc0012e7f60 sp=0xc0012e7e40 pc=0x99c345 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc005996a80, 0x2e8b) pkg/sentry/kernel/task_run.go:94 +0x229 fp=0xc0012e7fc0 sp=0xc0012e7f60 pc=0x99aa69 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc0012e7fe0 sp=0xc0012e7fc0 pc=0x9a7a6a runtime.goexit() src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0012e7fe8 sp=0xc0012e7fe0 pc=0x46c521 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105