panic: runtime error: index out of range [0] with length 0 goroutine 1091737 [running]: panic({0x121bf20, 0xc004bddd28}) GOROOT/src/runtime/panic.go:987 +0x3ba fp=0xc001aa9178 sp=0xc001aa90b8 pc=0x43763a runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:113 +0x7f fp=0xc001aa91b8 sp=0xc001aa9178 pc=0x4354ff gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*lisafsDentry).getRemoteChildAndWalkPathLocked(0xc000468900, {0x15638b8, 0xc000bc5500}, 0x0?, 0xc0006c41c0) pkg/sentry/fsimpl/gofer/lisafs_dentry.go:265 +0x351 fp=0xc001aa92a0 sp=0xc001aa91b8 pc=0xd8b351 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*dentry).getRemoteChildAndWalkPathLocked(0xc000468900?, {0x15638b8?, 0xc000bc5500?}, 0xd8375c?, 0x173c77b9da961593?) pkg/sentry/fsimpl/gofer/dentry_impl.go:211 +0x65 fp=0xc001aa92d8 sp=0xc001aa92a0 pc=0xd6c965 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).getChildAndWalkPathLocked(0x30?, {0x15638b8, 0xc000bc5500}, 0x4221c7?, 0xc0063c2000, 0xc001aa93c0?) pkg/sentry/fsimpl/gofer/filesystem.go:265 +0xc6 fp=0xc001aa9320 sp=0xc001aa92d8 pc=0xd720c6 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).stepLocked(0x954158?, {0x15638b8, 0xc000bc5500}, 0xc0063c2000, 0xc000468900, 0x1, 0xc0006c41c0?) pkg/sentry/fsimpl/gofer/filesystem.go:205 +0x287 fp=0xc001aa9378 sp=0xc001aa9320 pc=0xd71a27 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).walkParentDirLocked(0x1000?, {0x15638b8, 0xc000bc5500}, 0xc0063c2000, 0xc000468900, 0xc001aa9460?) pkg/sentry/fsimpl/gofer/filesystem.go:313 +0x11d fp=0xc001aa93f8 sp=0xc001aa9378 pc=0xd723fd gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).doCreateAt(0xc000176b40, {0x15638b8, 0xc000bc5500}, 0xc0063c2000, 0x0, 0xc001aa9650, 0x0) pkg/sentry/fsimpl/gofer/filesystem.go:371 +0x1ae fp=0xc001aa9610 sp=0xc001aa93f8 pc=0xd72a6e gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).LinkAt(0xc0063c2000?, {0x15638b8?, 0xc000bc5500?}, 0x154aa00?, {0xc00061c280?, 0xc000468900?}) pkg/sentry/fsimpl/gofer/filesystem.go:724 +0x8d fp=0xc001aa9690 sp=0xc001aa9610 pc=0xd75bcd gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).LinkAt(0xc00061c280?, {0x15638b8, 0xc000bc5500}, 0xc006f7ac00?, 0xc008136200?, 0xc001aa9848) pkg/sentry/vfs/vfs.go:296 +0x203 fp=0xc001aa9710 sp=0xc001aa9690 pc=0x77cda3 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.linkat(0xc000bc5500, 0xaf2870?, 0xc000bc5500?, 0xb2d68f88?, 0x0?, 0x0) pkg/sentry/syscalls/linux/sys_file.go:1029 +0x3d5 fp=0xc001aa9908 sp=0xc001aa9710 pc=0xaf31b5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Link(0xc000bc5500?, {{0x20000040}, {0x200080c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:988 +0x4b fp=0xc001aa9948 sp=0xc001aa9908 pc=0xaf2d0b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000bc5500, 0x56, {{0x20000040}, {0x200080c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc001aa9c88 sp=0xc001aa9948 pc=0x9a95eb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000bc5500, 0x0?, {{0x20000040}, {0x200080c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc001aa9ce8 sp=0xc001aa9c88 pc=0x9aabd4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0004c6040?, 0xc001aa9e30?, {{0x20000040}, {0x200080c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc001aa9d48 sp=0xc001aa9ce8 pc=0x9aa7c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0070984d0?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc001aa9e40 sp=0xc001aa9d48 pc=0x9aa48c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000822900?, 0xc000bc5500) pkg/sentry/kernel/task_run.go:256 +0x1245 fp=0xc001aa9f60 sp=0xc001aa9e40 pc=0x99c345 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000bc5500, 0x5faa) pkg/sentry/kernel/task_run.go:94 +0x229 fp=0xc001aa9fc0 sp=0xc001aa9f60 pc=0x99aa69 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc001aa9fe0 sp=0xc001aa9fc0 pc=0x9a7a6a runtime.goexit() src/runtime/asm_amd64.s:1594 +0x1 fp=0xc001aa9fe8 sp=0xc001aa9fe0 pc=0x46c521 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105