panic: runtime error: index out of range [0] with length 0 goroutine 657158 [running]: panic({0x122c280, 0xc0069373f8}) GOROOT/src/runtime/panic.go:987 +0x3ba fp=0xc001ae7178 sp=0xc001ae70b8 pc=0x43763a runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:113 +0x7f fp=0xc001ae71b8 sp=0xc001ae7178 pc=0x4354ff gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*lisafsDentry).getRemoteChildAndWalkPathLocked(0xc000532000, {0x1576138, 0xc006211500}, 0x0?, 0xc00092ea40) pkg/sentry/fsimpl/gofer/lisafs_dentry.go:265 +0x351 fp=0xc001ae72a0 sp=0xc001ae71b8 pc=0xd9b451 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*dentry).getRemoteChildAndWalkPathLocked(0xc000532000?, {0x1576138?, 0xc006211500?}, 0xd9385c?, 0x173c22e08c2f8b4f?) pkg/sentry/fsimpl/gofer/dentry_impl.go:211 +0x65 fp=0xc001ae72d8 sp=0xc001ae72a0 pc=0xd7ca65 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).getChildAndWalkPathLocked(0xc001ae73f8?, {0x1576138, 0xc006211500}, 0x40?, 0xc00bb92480, 0xc001ae73c0?) pkg/sentry/fsimpl/gofer/filesystem.go:265 +0xc6 fp=0xc001ae7320 sp=0xc001ae72d8 pc=0xd821c6 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).stepLocked(0x0?, {0x1576138, 0xc006211500}, 0xc00bb92480, 0xc000532000, 0x1, 0xc00092ea40?) pkg/sentry/fsimpl/gofer/filesystem.go:205 +0x287 fp=0xc001ae7378 sp=0xc001ae7320 pc=0xd81b27 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).walkParentDirLocked(0xc001ae74e0?, {0x1576138, 0xc006211500}, 0xc00bb92480, 0xc000532000, 0xc001ae7460?) pkg/sentry/fsimpl/gofer/filesystem.go:313 +0x11d fp=0xc001ae73f8 sp=0xc001ae7378 pc=0xd824fd gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).doCreateAt(0xc000709680, {0x1576138, 0xc006211500}, 0xc00bb92480, 0x0, 0xc001ae7650, 0x0) pkg/sentry/fsimpl/gofer/filesystem.go:371 +0x1ae fp=0xc001ae7610 sp=0xc001ae73f8 pc=0xd82b6e gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).LinkAt(0xc00bb92480?, {0x1576138?, 0xc006211500?}, 0x155d1c0?, {0xc00083f900?, 0xc0060ed680?}) pkg/sentry/fsimpl/gofer/filesystem.go:724 +0x8d fp=0xc001ae7690 sp=0xc001ae7610 pc=0xd85ccd gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).LinkAt(0xc000174280?, {0x1576138, 0xc006211500}, 0xc0068f8000?, 0xc00b14b000?, 0xc001ae7848) pkg/sentry/vfs/vfs.go:296 +0x203 fp=0xc001ae7710 sp=0xc001ae7690 pc=0x78d0c3 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.linkat(0xc006211500, 0xb02970?, 0xc006211500?, 0x2e9ef88?, 0x0?, 0x0) pkg/sentry/syscalls/linux/sys_file.go:1029 +0x3d5 fp=0xc001ae7908 sp=0xc001ae7710 pc=0xb032b5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Link(0xc006211500?, {{0x20000000}, {0x20000040}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:988 +0x4b fp=0xc001ae7948 sp=0xc001ae7908 pc=0xb02e0b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc006211500, 0x56, {{0x20000000}, {0x20000040}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc001ae7c88 sp=0xc001ae7948 pc=0x9b96eb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc006211500, 0x85?, {{0x20000000}, {0x20000040}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc001ae7ce8 sp=0xc001ae7c88 pc=0x9bacd4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc001ae7d90?, 0x971d46?, {{0x20000000}, {0x20000040}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc001ae7d48 sp=0xc001ae7ce8 pc=0x9ba8c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00850f520?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc001ae7e40 sp=0xc001ae7d48 pc=0x9ba58c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc007f7f580?, 0xc006211500) pkg/sentry/kernel/task_run.go:256 +0x1245 fp=0xc001ae7f60 sp=0xc001ae7e40 pc=0x9ac445 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc006211500, 0x466c) pkg/sentry/kernel/task_run.go:94 +0x229 fp=0xc001ae7fc0 sp=0xc001ae7f60 pc=0x9aab69 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc001ae7fe0 sp=0xc001ae7fc0 pc=0x9b7b6a runtime.goexit() src/runtime/asm_amd64.s:1594 +0x1 fp=0xc001ae7fe8 sp=0xc001ae7fe0 pc=0x46c521 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105