panic: runtime error: index out of range [0] with length 0 goroutine 710388 [running]: panic({0x122c280, 0xc0067b6f48}) GOROOT/src/runtime/panic.go:987 +0x3ba fp=0xc000a5d178 sp=0xc000a5d0b8 pc=0x43763a runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:113 +0x7f fp=0xc000a5d1b8 sp=0xc000a5d178 pc=0x4354ff gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*lisafsDentry).getRemoteChildAndWalkPathLocked(0xc00082e000, {0x1576138, 0xc004539500}, 0x0?, 0xc000694800) pkg/sentry/fsimpl/gofer/lisafs_dentry.go:265 +0x351 fp=0xc000a5d2a0 sp=0xc000a5d1b8 pc=0xd9b451 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*dentry).getRemoteChildAndWalkPathLocked(0xc00082e000?, {0x1576138?, 0xc004539500?}, 0xd9385c?, 0x173c1c6346701b06?) pkg/sentry/fsimpl/gofer/dentry_impl.go:211 +0x65 fp=0xc000a5d2d8 sp=0xc000a5d2a0 pc=0xd7ca65 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).getChildAndWalkPathLocked(0xc000a5d3f8?, {0x1576138, 0xc004539500}, 0x40?, 0xc001cdc000, 0xc000a5d3c0?) pkg/sentry/fsimpl/gofer/filesystem.go:265 +0xc6 fp=0xc000a5d320 sp=0xc000a5d2d8 pc=0xd821c6 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).stepLocked(0x0?, {0x1576138, 0xc004539500}, 0xc001cdc000, 0xc00082e000, 0x1, 0xc000694800?) pkg/sentry/fsimpl/gofer/filesystem.go:205 +0x287 fp=0xc000a5d378 sp=0xc000a5d320 pc=0xd81b27 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).walkParentDirLocked(0xc000a5d4e0?, {0x1576138, 0xc004539500}, 0xc001cdc000, 0xc00082e000, 0xc000a5d460?) pkg/sentry/fsimpl/gofer/filesystem.go:313 +0x11d fp=0xc000a5d3f8 sp=0xc000a5d378 pc=0xd824fd gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).doCreateAt(0xc0005399e0, {0x1576138, 0xc004539500}, 0xc001cdc000, 0x0, 0xc000a5d650, 0x0) pkg/sentry/fsimpl/gofer/filesystem.go:371 +0x1ae fp=0xc000a5d610 sp=0xc000a5d3f8 pc=0xd82b6e gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).LinkAt(0xc001cdc000?, {0x1576138?, 0xc004539500?}, 0x155d1c0?, {0xc0008db400?, 0xc00453f2c0?}) pkg/sentry/fsimpl/gofer/filesystem.go:724 +0x8d fp=0xc000a5d690 sp=0xc000a5d610 pc=0xd85ccd gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).LinkAt(0xc000820100?, {0x1576138, 0xc004539500}, 0xc004ddcc00?, 0xc004a03a00?, 0xc000a5d848) pkg/sentry/vfs/vfs.go:296 +0x203 fp=0xc000a5d710 sp=0xc000a5d690 pc=0x78d0c3 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.linkat(0xc004539500, 0xb02970?, 0xc004539500?, 0xa27b7f8c?, 0x0?, 0x0) pkg/sentry/syscalls/linux/sys_file.go:1029 +0x3d5 fp=0xc000a5d908 sp=0xc000a5d710 pc=0xb032b5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Link(0xc004539500?, {{0x20000000}, {0x20000040}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:988 +0x4b fp=0xc000a5d948 sp=0xc000a5d908 pc=0xb02e0b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc004539500, 0x56, {{0x20000000}, {0x20000040}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc000a5dc88 sp=0xc000a5d948 pc=0x9b96eb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc004539500, 0x85?, {{0x20000000}, {0x20000040}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc000a5dce8 sp=0xc000a5dc88 pc=0x9bacd4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000a5dd90?, 0x971d46?, {{0x20000000}, {0x20000040}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc000a5dd48 sp=0xc000a5dce8 pc=0x9ba8c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00642a680?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc000a5de40 sp=0xc000a5dd48 pc=0x9ba58c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc004541a80?, 0xc004539500) pkg/sentry/kernel/task_run.go:256 +0x1245 fp=0xc000a5df60 sp=0xc000a5de40 pc=0x9ac445 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc004539500, 0x6b2b) pkg/sentry/kernel/task_run.go:94 +0x229 fp=0xc000a5dfc0 sp=0xc000a5df60 pc=0x9aab69 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc000a5dfe0 sp=0xc000a5dfc0 pc=0x9b7b6a runtime.goexit() src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000a5dfe8 sp=0xc000a5dfe0 pc=0x46c521 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105