panic: runtime error: index out of range [0] with length 0 goroutine 814194 [running]: panic({0x121bf20, 0xc00053c4b0}) GOROOT/src/runtime/panic.go:987 +0x3ba fp=0xc0026b9178 sp=0xc0026b90b8 pc=0x43763a runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:113 +0x7f fp=0xc0026b91b8 sp=0xc0026b9178 pc=0x4354ff gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*lisafsDentry).getRemoteChildAndWalkPathLocked(0xc0006e4900, {0x15638b8, 0xc008894000}, 0x0?, 0xc0057fa458) pkg/sentry/fsimpl/gofer/lisafs_dentry.go:265 +0x351 fp=0xc0026b92a0 sp=0xc0026b91b8 pc=0xd8b351 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*dentry).getRemoteChildAndWalkPathLocked(0xc0006e4900?, {0x15638b8?, 0xc008894000?}, 0xd8375c?, 0x173c8bb9fcff243e?) pkg/sentry/fsimpl/gofer/dentry_impl.go:211 +0x65 fp=0xc0026b92d8 sp=0xc0026b92a0 pc=0xd6c965 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).getChildAndWalkPathLocked(0x30?, {0x15638b8, 0xc008894000}, 0x4221c7?, 0xc0002f8900, 0xc0026b93c0?) pkg/sentry/fsimpl/gofer/filesystem.go:265 +0xc6 fp=0xc0026b9320 sp=0xc0026b92d8 pc=0xd720c6 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).stepLocked(0x954158?, {0x15638b8, 0xc008894000}, 0xc0002f8900, 0xc0006e4900, 0x1, 0xc0057fa458?) pkg/sentry/fsimpl/gofer/filesystem.go:205 +0x287 fp=0xc0026b9378 sp=0xc0026b9320 pc=0xd71a27 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).walkParentDirLocked(0x1000?, {0x15638b8, 0xc008894000}, 0xc0002f8900, 0xc0006e4900, 0xc0026b9460?) pkg/sentry/fsimpl/gofer/filesystem.go:313 +0x11d fp=0xc0026b93f8 sp=0xc0026b9378 pc=0xd723fd gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).doCreateAt(0xc0001745a0, {0x15638b8, 0xc008894000}, 0xc0002f8900, 0x0, 0xc0026b9650, 0x0) pkg/sentry/fsimpl/gofer/filesystem.go:371 +0x1ae fp=0xc0026b9610 sp=0xc0026b93f8 pc=0xd72a6e gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).LinkAt(0xc0002f8900?, {0x15638b8?, 0xc008894000?}, 0x154aa00?, {0xc000722100?, 0xc0006e4900?}) pkg/sentry/fsimpl/gofer/filesystem.go:724 +0x8d fp=0xc0026b9690 sp=0xc0026b9610 pc=0xd75bcd gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).LinkAt(0xc000722100?, {0x15638b8, 0xc008894000}, 0xc007d97400?, 0xc008189b00?, 0xc0026b9848) pkg/sentry/vfs/vfs.go:296 +0x203 fp=0xc0026b9710 sp=0xc0026b9690 pc=0x77cda3 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.linkat(0xc008894000, 0xaf2870?, 0xc008894000?, 0xe82e2f88?, 0x0?, 0x0) pkg/sentry/syscalls/linux/sys_file.go:1029 +0x3d5 fp=0xc0026b9908 sp=0xc0026b9710 pc=0xaf31b5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Link(0xc008894000?, {{0x20005f00}, {0x200080c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:988 +0x4b fp=0xc0026b9948 sp=0xc0026b9908 pc=0xaf2d0b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc008894000, 0x56, {{0x20005f00}, {0x200080c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc0026b9c88 sp=0xc0026b9948 pc=0x9a95eb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc008894000, 0x0?, {{0x20005f00}, {0x200080c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc0026b9ce8 sp=0xc0026b9c88 pc=0x9aabd4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000576310?, 0xc0026b9e30?, {{0x20005f00}, {0x200080c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc0026b9d48 sp=0xc0026b9ce8 pc=0x9aa7c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0084cdb80?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc0026b9e40 sp=0xc0026b9d48 pc=0x9aa48c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc004be7680?, 0xc008894000) pkg/sentry/kernel/task_run.go:256 +0x1245 fp=0xc0026b9f60 sp=0xc0026b9e40 pc=0x99c345 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc008894000, 0x4114) pkg/sentry/kernel/task_run.go:94 +0x229 fp=0xc0026b9fc0 sp=0xc0026b9f60 pc=0x99aa69 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc0026b9fe0 sp=0xc0026b9fc0 pc=0x9a7a6a runtime.goexit() src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0026b9fe8 sp=0xc0026b9fe0 pc=0x46c521 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105