panic: runtime error: index out of range [0] with length 0 goroutine 52078 [running]: panic({0x121bf20, 0xc003f4c108}) GOROOT/src/runtime/panic.go:987 +0x3ba fp=0xc0027bf178 sp=0xc0027bf0b8 pc=0x43763a runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:113 +0x7f fp=0xc0027bf1b8 sp=0xc0027bf178 pc=0x4354ff gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*lisafsDentry).getRemoteChildAndWalkPathLocked(0xc0002c2000, {0x1563918, 0xc002aaa000}, 0x0?, 0xc0002260e8) pkg/sentry/fsimpl/gofer/lisafs_dentry.go:265 +0x351 fp=0xc0027bf2a0 sp=0xc0027bf1b8 pc=0xd8b411 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*dentry).getRemoteChildAndWalkPathLocked(0xc0002c2000?, {0x1563918?, 0xc002aaa000?}, 0xd8381c?, 0x173cabc2dfde5478?) pkg/sentry/fsimpl/gofer/dentry_impl.go:211 +0x65 fp=0xc0027bf2d8 sp=0xc0027bf2a0 pc=0xd6ca25 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).getChildAndWalkPathLocked(0x30?, {0x1563918, 0xc002aaa000}, 0x4221c7?, 0xc000e16480, 0xc0027bf3c0?) pkg/sentry/fsimpl/gofer/filesystem.go:265 +0xc6 fp=0xc0027bf320 sp=0xc0027bf2d8 pc=0xd72186 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).stepLocked(0x954193?, {0x1563918, 0xc002aaa000}, 0xc000e16480, 0xc0002c2000, 0x1, 0xc0002260e8?) pkg/sentry/fsimpl/gofer/filesystem.go:205 +0x287 fp=0xc0027bf378 sp=0xc0027bf320 pc=0xd71ae7 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).walkParentDirLocked(0x3000?, {0x1563918, 0xc002aaa000}, 0xc000e16480, 0xc0002c2000, 0xc0027bf460?) pkg/sentry/fsimpl/gofer/filesystem.go:313 +0x11d fp=0xc0027bf3f8 sp=0xc0027bf378 pc=0xd724bd gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).doCreateAt(0xc0001630e0, {0x1563918, 0xc002aaa000}, 0xc000e16480, 0x0, 0xc0027bf650, 0x0) pkg/sentry/fsimpl/gofer/filesystem.go:371 +0x1ae fp=0xc0027bf610 sp=0xc0027bf3f8 pc=0xd72b2e gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).LinkAt(0xc000e16480?, {0x1563918?, 0xc002aaa000?}, 0x154aa60?, {0xc0002b2100?, 0xc0002c2000?}) pkg/sentry/fsimpl/gofer/filesystem.go:724 +0x8d fp=0xc0027bf690 sp=0xc0027bf610 pc=0xd75c8d gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).LinkAt(0xc0002b2100?, {0x1563918, 0xc002aaa000}, 0xc0029ea800?, 0xc004503600?, 0xc0027bf848) pkg/sentry/vfs/vfs.go:296 +0x203 fp=0xc0027bf710 sp=0xc0027bf690 pc=0x77cda3 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.linkat(0xc002aaa000, 0x0?, 0xaf0e40?, 0xd6288f8c?, 0x4?, 0x0) pkg/sentry/syscalls/linux/sys_file.go:1029 +0x3d5 fp=0xc0027bf908 sp=0xc0027bf710 pc=0xaf3275 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Linkat(0xc002aaa000?, {{0x4}, {0x20000240}, {0x3}, {0x20000280}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:998 +0x6e fp=0xc0027bf948 sp=0xc0027bf908 pc=0xaf2e6e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc002aaa000, 0x109, {{0x4}, {0x20000240}, {0x3}, {0x20000280}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc0027bfc88 sp=0xc0027bf948 pc=0x9a95eb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc002aaa000, 0x85?, {{0x4}, {0x20000240}, {0x3}, {0x20000280}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc0027bfce8 sp=0xc0027bfc88 pc=0x9aabd4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0027bfd90?, 0x961c46?, {{0x4}, {0x20000240}, {0x3}, {0x20000280}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc0027bfd48 sp=0xc0027bfce8 pc=0x9aa7c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc003f03c70?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc0027bfe40 sp=0xc0027bfd48 pc=0x9aa48c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc002c2ce00?, 0xc002aaa000) pkg/sentry/kernel/task_run.go:256 +0x1245 fp=0xc0027bff60 sp=0xc0027bfe40 pc=0x99c345 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc002aaa000, 0x62f) pkg/sentry/kernel/task_run.go:94 +0x229 fp=0xc0027bffc0 sp=0xc0027bff60 pc=0x99aa69 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc0027bffe0 sp=0xc0027bffc0 pc=0x9a7a6a runtime.goexit() src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0027bffe8 sp=0xc0027bffe0 pc=0x46c521 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105