panic: runtime error: index out of range [0] with length 0 goroutine 737396 [running]: panic({0x121bf20, 0xc005573548}) GOROOT/src/runtime/panic.go:987 +0x3ba fp=0xc0079e3178 sp=0xc0079e30b8 pc=0x43763a runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:113 +0x7f fp=0xc0079e31b8 sp=0xc0079e3178 pc=0x4354ff gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*lisafsDentry).getRemoteChildAndWalkPathLocked(0xc0006bc000, {0x15638b8, 0xc008b3b500}, 0x0?, 0xc0006e9c68) pkg/sentry/fsimpl/gofer/lisafs_dentry.go:265 +0x351 fp=0xc0079e32a0 sp=0xc0079e31b8 pc=0xd8b351 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*dentry).getRemoteChildAndWalkPathLocked(0xc0006bc000?, {0x15638b8?, 0xc008b3b500?}, 0xd8375c?, 0x173cc46430d5e28f?) pkg/sentry/fsimpl/gofer/dentry_impl.go:211 +0x65 fp=0xc0079e32d8 sp=0xc0079e32a0 pc=0xd6c965 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).getChildAndWalkPathLocked(0xc0079e33f8?, {0x15638b8, 0xc008b3b500}, 0x40?, 0xc0064f2900, 0xc0079e33c0?) pkg/sentry/fsimpl/gofer/filesystem.go:265 +0xc6 fp=0xc0079e3320 sp=0xc0079e32d8 pc=0xd720c6 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).stepLocked(0x954193?, {0x15638b8, 0xc008b3b500}, 0xc0064f2900, 0xc0006bc000, 0x1, 0xc0006e9c68?) pkg/sentry/fsimpl/gofer/filesystem.go:205 +0x287 fp=0xc0079e3378 sp=0xc0079e3320 pc=0xd71a27 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).walkParentDirLocked(0xc0079e34e0?, {0x15638b8, 0xc008b3b500}, 0xc0064f2900, 0xc0006bc000, 0xc0079e3460?) pkg/sentry/fsimpl/gofer/filesystem.go:313 +0x11d fp=0xc0079e33f8 sp=0xc0079e3378 pc=0xd723fd gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).doCreateAt(0xc0003418c0, {0x15638b8, 0xc008b3b500}, 0xc0064f2900, 0x0, 0xc0079e3650, 0x0) pkg/sentry/fsimpl/gofer/filesystem.go:371 +0x1ae fp=0xc0079e3610 sp=0xc0079e33f8 pc=0xd72a6e gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).LinkAt(0xc0064f2900?, {0x15638b8?, 0xc008b3b500?}, 0x154aa00?, {0xc0006a8100?, 0xc0006bc000?}) pkg/sentry/fsimpl/gofer/filesystem.go:724 +0x8d fp=0xc0079e3690 sp=0xc0079e3610 pc=0xd75bcd gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).LinkAt(0xc0006a8100?, {0x15638b8, 0xc008b3b500}, 0xc004f37c00?, 0xc009192f00?, 0xc0079e3848) pkg/sentry/vfs/vfs.go:296 +0x203 fp=0xc0079e3710 sp=0xc0079e3690 pc=0x77cda3 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.linkat(0xc008b3b500, 0xaf2870?, 0xc008b3b500?, 0xf6dbef88?, 0x0?, 0x0) pkg/sentry/syscalls/linux/sys_file.go:1029 +0x3d5 fp=0xc0079e3908 sp=0xc0079e3710 pc=0xaf31b5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Link(0xc008b3b500?, {{0x20005f00}, {0x200080c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:988 +0x4b fp=0xc0079e3948 sp=0xc0079e3908 pc=0xaf2d0b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc008b3b500, 0x56, {{0x20005f00}, {0x200080c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc0079e3c88 sp=0xc0079e3948 pc=0x9a95eb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc008b3b500, 0x0?, {{0x20005f00}, {0x200080c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc0079e3ce8 sp=0xc0079e3c88 pc=0x9aabd4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000344310?, 0xc0079e3e30?, {{0x20005f00}, {0x200080c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc0079e3d48 sp=0xc0079e3ce8 pc=0x9aa7c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc004dd7c30?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc0079e3e40 sp=0xc0079e3d48 pc=0x9aa48c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc006ae5980?, 0xc008b3b500) pkg/sentry/kernel/task_run.go:256 +0x1245 fp=0xc0079e3f60 sp=0xc0079e3e40 pc=0x99c345 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc008b3b500, 0x43c6) pkg/sentry/kernel/task_run.go:94 +0x229 fp=0xc0079e3fc0 sp=0xc0079e3f60 pc=0x99aa69 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc0079e3fe0 sp=0xc0079e3fc0 pc=0x9a7a6a runtime.goexit() src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0079e3fe8 sp=0xc0079e3fe0 pc=0x46c521 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105