panic: runtime error: index out of range [0] with length 0 goroutine 152300 [running]: panic({0x121bf20, 0xc00323cf90}) GOROOT/src/runtime/panic.go:987 +0x3ba fp=0xc000aed208 sp=0xc000aed148 pc=0x43763a runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:113 +0x7f fp=0xc000aed248 sp=0xc000aed208 pc=0x4354ff gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*lisafsDentry).getRemoteChildAndWalkPathLocked(0xc0004db200, {0x1563918, 0xc008e8aa80}, 0x0?, 0xc00259e990) pkg/sentry/fsimpl/gofer/lisafs_dentry.go:265 +0x351 fp=0xc000aed330 sp=0xc000aed248 pc=0xd8b411 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*dentry).getRemoteChildAndWalkPathLocked(0xc0004db200?, {0x1563918?, 0xc008e8aa80?}, 0xd8381c?, 0xc0088e0000?) pkg/sentry/fsimpl/gofer/dentry_impl.go:211 +0x65 fp=0xc000aed368 sp=0xc000aed330 pc=0xd6ca25 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).getChildAndWalkPathLocked(0xc000aed3e8?, {0x1563918, 0xc008e8aa80}, 0x0?, 0xc001cae000, 0xc00259e990?) pkg/sentry/fsimpl/gofer/filesystem.go:265 +0xc6 fp=0xc000aed3b0 sp=0xc000aed368 pc=0xd72186 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).stepLocked(0xc0004c1200?, {0x1563918, 0xc008e8aa80}, 0xc001cae000, 0xc0004db200, 0x1, 0xc00259e990?) pkg/sentry/fsimpl/gofer/filesystem.go:205 +0x287 fp=0xc000aed408 sp=0xc000aed3b0 pc=0xd71ae7 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).walkParentDirLocked(0x7f7c663c0480?, {0x1563918, 0xc008e8aa80}, 0xc001cae000, 0xc0004db200, 0x0?) pkg/sentry/fsimpl/gofer/filesystem.go:313 +0x11d fp=0xc000aed488 sp=0xc000aed408 pc=0xd724bd gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).doCreateAt(0xc0004c1200, {0x1563918, 0xc008e8aa80}, 0xc001cae000, 0x1, 0xc000aed6f8, 0xc000aed6d8) pkg/sentry/fsimpl/gofer/filesystem.go:371 +0x1ae fp=0xc000aed6a0 sp=0xc000aed488 pc=0xd72b2e gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).MkdirAt(0xc001cae000?, {0x1563918?, 0xc008e8aa80?}, 0x154aa60?, {0xd478?, 0x7?}) pkg/sentry/fsimpl/gofer/filesystem.go:757 +0xdd fp=0xc000aed738 sp=0xc000aed6a0 pc=0xd7615d gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).MkdirAt(0xc0023d4400?, {0x1563918, 0xc008e8aa80}, 0xc00945f000?, 0xc008529c00?, 0xc000aed824) pkg/sentry/vfs/vfs.go:335 +0x171 fp=0xc000aed790 sp=0xc000aed738 pc=0x77d051 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.mkdirat(0xc008e8aa80, 0xbed3ef88?, 0x0?, 0x1ff) pkg/sentry/syscalls/linux/sys_file.go:925 +0x28b fp=0xc000aed918 sp=0xc000aed790 pc=0xaf238b gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Mkdirat(0xc008e8aa80?, {{0xffffff9c}, {0x20000480}, {0x1ff}, {0x20000280}, {0x1}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:912 +0x50 fp=0xc000aed948 sp=0xc000aed918 pc=0xaf20d0 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc008e8aa80, 0x102, {{0xffffff9c}, {0x20000480}, {0x1ff}, {0x20000280}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc000aedc88 sp=0xc000aed948 pc=0x9a95eb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc008e8aa80, 0x85?, {{0xffffff9c}, {0x20000480}, {0x1ff}, {0x20000280}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc000aedce8 sp=0xc000aedc88 pc=0x9aabd4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc008e8aa80?, 0x102?, {{0xffffff9c}, {0x20000480}, {0x1ff}, {0x20000280}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc000aedd48 sp=0xc000aedce8 pc=0x9aa7c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc008e8aa80?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc000aede40 sp=0xc000aedd48 pc=0x9aa48c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc001c9ee80?, 0xc008e8aa80) pkg/sentry/kernel/task_run.go:256 +0x1245 fp=0xc000aedf60 sp=0xc000aede40 pc=0x99c345 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc008e8aa80, 0x207f) pkg/sentry/kernel/task_run.go:94 +0x229 fp=0xc000aedfc0 sp=0xc000aedf60 pc=0x99aa69 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc000aedfe0 sp=0xc000aedfc0 pc=0x9a7a6a runtime.goexit() src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000aedfe8 sp=0xc000aedfe0 pc=0x46c521 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105