panic: runtime error: index out of range [0] with length 0 goroutine 1292834 [running]: panic({0x121bf20, 0xc0072077b8}) GOROOT/src/runtime/panic.go:987 +0x3ba fp=0xc0076e9208 sp=0xc0076e9148 pc=0x43763a runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:113 +0x7f fp=0xc0076e9248 sp=0xc0076e9208 pc=0x4354ff gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*lisafsDentry).getRemoteChildAndWalkPathLocked(0xc000578900, {0x1563918, 0xc009392000}, 0x0?, 0xc000ed0e38) pkg/sentry/fsimpl/gofer/lisafs_dentry.go:265 +0x351 fp=0xc0076e9330 sp=0xc0076e9248 pc=0xd8b411 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*dentry).getRemoteChildAndWalkPathLocked(0xc000578900?, {0x1563918?, 0xc009392000?}, 0xd8381c?, 0xc00392a480?) pkg/sentry/fsimpl/gofer/dentry_impl.go:211 +0x65 fp=0xc0076e9368 sp=0xc0076e9330 pc=0xd6ca25 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).getChildAndWalkPathLocked(0xc000a2d3e8?, {0x1563918, 0xc009392000}, 0x0?, 0xc0063a6d80, 0xc000ed0e38?) pkg/sentry/fsimpl/gofer/filesystem.go:265 +0xc6 fp=0xc0076e93b0 sp=0xc0076e9368 pc=0xd72186 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).stepLocked(0xc00053b440?, {0x1563918, 0xc009392000}, 0xc0063a6d80, 0xc000578900, 0x1, 0xc000ed0e38?) pkg/sentry/fsimpl/gofer/filesystem.go:205 +0x287 fp=0xc0076e9408 sp=0xc0076e93b0 pc=0xd71ae7 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).walkParentDirLocked(0x7fc25c2a0280?, {0x1563918, 0xc009392000}, 0xc0063a6d80, 0xc000578900, 0x0?) pkg/sentry/fsimpl/gofer/filesystem.go:313 +0x11d fp=0xc0076e9488 sp=0xc0076e9408 pc=0xd724bd gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).doCreateAt(0xc00053b440, {0x1563918, 0xc009392000}, 0xc0063a6d80, 0x1, 0xc0076e96f8, 0xc0076e96d8) pkg/sentry/fsimpl/gofer/filesystem.go:371 +0x1ae fp=0xc0076e96a0 sp=0xc0076e9488 pc=0xd72b2e gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).MkdirAt(0xc0063a6d80?, {0x1563918?, 0xc009392000?}, 0x154aa60?, {0xd478?, 0x7?}) pkg/sentry/fsimpl/gofer/filesystem.go:757 +0xdd fp=0xc0076e9738 sp=0xc0076e96a0 pc=0xd7615d gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).MkdirAt(0xc006703880?, {0x1563918, 0xc009392000}, 0xc004a2e000?, 0xc007557e00?, 0xc0076e9824) pkg/sentry/vfs/vfs.go:335 +0x171 fp=0xc0076e9790 sp=0xc0076e9738 pc=0x77d051 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.mkdirat(0xc009392000, 0xc1f5cf88?, 0x0?, 0x1ff) pkg/sentry/syscalls/linux/sys_file.go:925 +0x28b fp=0xc0076e9918 sp=0xc0076e9790 pc=0xaf238b gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Mkdirat(0xc009392000?, {{0xffffff9c}, {0x20008280}, {0x1ff}, {0x20008240}, {0x1}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:912 +0x50 fp=0xc0076e9948 sp=0xc0076e9918 pc=0xaf20d0 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc009392000, 0x102, {{0xffffff9c}, {0x20008280}, {0x1ff}, {0x20008240}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc0076e9c88 sp=0xc0076e9948 pc=0x9a95eb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc009392000, 0x85?, {{0xffffff9c}, {0x20008280}, {0x1ff}, {0x20008240}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc0076e9ce8 sp=0xc0076e9c88 pc=0x9aabd4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000a2dd90?, 0x961c46?, {{0xffffff9c}, {0x20008280}, {0x1ff}, {0x20008240}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc0076e9d48 sp=0xc0076e9ce8 pc=0x9aa7c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00796eb60?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc0076e9e40 sp=0xc0076e9d48 pc=0x9aa48c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc008fa9100?, 0xc009392000) pkg/sentry/kernel/task_run.go:256 +0x1245 fp=0xc0076e9f60 sp=0xc0076e9e40 pc=0x99c345 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc009392000, 0x904e) pkg/sentry/kernel/task_run.go:94 +0x229 fp=0xc0076e9fc0 sp=0xc0076e9f60 pc=0x99aa69 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc0076e9fe0 sp=0xc0076e9fc0 pc=0x9a7a6a runtime.goexit() src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0076e9fe8 sp=0xc0076e9fe0 pc=0x46c521 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105