panic: runtime error: index out of range [0] with length 0 goroutine 1282236 [running]: panic({0x121bf20, 0xc0088547e0}) GOROOT/src/runtime/panic.go:987 +0x3ba fp=0xc000f4b208 sp=0xc000f4b148 pc=0x43763a runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:113 +0x7f fp=0xc000f4b248 sp=0xc000f4b208 pc=0x4354ff gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*lisafsDentry).getRemoteChildAndWalkPathLocked(0xc0007a6000, {0x1563918, 0xc005d6ea80}, 0x0?, 0xc00468eec0) pkg/sentry/fsimpl/gofer/lisafs_dentry.go:265 +0x351 fp=0xc000f4b330 sp=0xc000f4b248 pc=0xd8b411 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*dentry).getRemoteChildAndWalkPathLocked(0xc0007a6000?, {0x1563918?, 0xc005d6ea80?}, 0xd8381c?, 0xc004fd4000?) pkg/sentry/fsimpl/gofer/dentry_impl.go:211 +0x65 fp=0xc000f4b368 sp=0xc000f4b330 pc=0xd6ca25 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).getChildAndWalkPathLocked(0xc009a6f3e8?, {0x1563918, 0xc005d6ea80}, 0x0?, 0xc0034fe900, 0xc00468eec0?) pkg/sentry/fsimpl/gofer/filesystem.go:265 +0xc6 fp=0xc000f4b3b0 sp=0xc000f4b368 pc=0xd72186 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).stepLocked(0xc0005abd40?, {0x1563918, 0xc005d6ea80}, 0xc0034fe900, 0xc0007a6000, 0x1, 0xc00468eec0?) pkg/sentry/fsimpl/gofer/filesystem.go:205 +0x287 fp=0xc000f4b408 sp=0xc000f4b3b0 pc=0xd71ae7 gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).walkParentDirLocked(0x7f88a1de4480?, {0x1563918, 0xc005d6ea80}, 0xc0034fe900, 0xc0007a6000, 0x0?) pkg/sentry/fsimpl/gofer/filesystem.go:313 +0x11d fp=0xc000f4b488 sp=0xc000f4b408 pc=0xd724bd gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).doCreateAt(0xc0005abd40, {0x1563918, 0xc005d6ea80}, 0xc0034fe900, 0x1, 0xc000f4b6f8, 0xc000f4b6d8) pkg/sentry/fsimpl/gofer/filesystem.go:371 +0x1ae fp=0xc000f4b6a0 sp=0xc000f4b488 pc=0xd72b2e gvisor.dev/gvisor/pkg/sentry/fsimpl/gofer.(*filesystem).MkdirAt(0xc0034fe900?, {0x1563918?, 0xc005d6ea80?}, 0x154aa60?, {0xd478?, 0x7?}) pkg/sentry/fsimpl/gofer/filesystem.go:757 +0xdd fp=0xc000f4b738 sp=0xc000f4b6a0 pc=0xd7615d gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).MkdirAt(0xc0094be7c0?, {0x1563918, 0xc005d6ea80}, 0xc007083800?, 0xc0040d9100?, 0xc000f4b824) pkg/sentry/vfs/vfs.go:335 +0x171 fp=0xc000f4b790 sp=0xc000f4b738 pc=0x77d051 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.mkdirat(0xc005d6ea80, 0xd439905c?, 0xffffffffffffffff?, 0x1ff) pkg/sentry/syscalls/linux/sys_file.go:925 +0x28b fp=0xc000f4b918 sp=0xc000f4b790 pc=0xaf238b gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Mkdirat(0xc005d6ea80?, {{0xffffff9c}, {0x20000480}, {0x1ff}, {0x20000280}, {0x1}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:912 +0x50 fp=0xc000f4b948 sp=0xc000f4b918 pc=0xaf20d0 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc005d6ea80, 0x102, {{0xffffff9c}, {0x20000480}, {0x1ff}, {0x20000280}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc000f4bc88 sp=0xc000f4b948 pc=0x9a95eb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc005d6ea80, 0x85?, {{0xffffff9c}, {0x20000480}, {0x1ff}, {0x20000280}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc000f4bce8 sp=0xc000f4bc88 pc=0x9aabd4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc009a6fd90?, 0x961c46?, {{0xffffff9c}, {0x20000480}, {0x1ff}, {0x20000280}, {0x1}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc000f4bd48 sp=0xc000f4bce8 pc=0x9aa7c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc004d460d0?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc000f4be40 sp=0xc000f4bd48 pc=0x9aa48c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc005d6ea80?, 0xc005d6ea80) pkg/sentry/kernel/task_run.go:256 +0x1245 fp=0xc000f4bf60 sp=0xc000f4be40 pc=0x99c345 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc005d6ea80, 0x704f) pkg/sentry/kernel/task_run.go:94 +0x229 fp=0xc000f4bfc0 sp=0xc000f4bf60 pc=0x99aa69 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc000f4bfe0 sp=0xc000f4bfc0 pc=0x9a7a6a runtime.goexit() src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000f4bfe8 sp=0xc000f4bfe0 pc=0x46c521 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105