panic: runtime error: slice bounds out of range [3050:0] goroutine 808354 [running]: panic({0xd85340?, 0x4002cb2498?}) GOROOT/src/runtime/panic.go:1017 +0x3cc fp=0x40095db170 sp=0x40095db0c0 pc=0x49cec runtime.goPanicSliceB(0xbea, 0x0) GOROOT/src/runtime/panic.go:154 +0x80 fp=0x40095db1b0 sp=0x40095db170 pc=0x481a0 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*rootInode).IterDirents(0x4000623000, {0x10d4808?, 0x4003edb500?}, 0xffff0aefb000?, {0x10b69d0, 0x4002306840}, 0xbed, 0xbea) pkg/sentry/fsimpl/devpts/devpts.go:342 +0x400 fp=0x40095db340 sp=0x40095db1b0 pc=0x9df740 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*GenericDirectoryFD).IterDirents(0x4003180480, {0x10d4808, 0x4003edb500}, {0x10b69d0?, 0x4002306840?}) pkg/sentry/fsimpl/kernfs/fd_impl_util.go:224 +0x79c fp=0x40095db730 sp=0x40095db340 pc=0x3f90dc gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).IterDirents(0x4003edb500?, {0x10d4808?, 0x4003edb500?}, {0x10b69d0?, 0x4002306840?}) pkg/sentry/vfs/file_description.go:691 +0x8c fp=0x40095db7b0 sp=0x40095db730 pc=0x37366c gvisor.dev/gvisor/pkg/sentry/syscalls/linux.getdents(0x4003edb500, {{0x3}, {0x20000080}, {0x1f}, {0x0}, {0x0}, {0x0}}, 0xa0?) pkg/sentry/syscalls/linux/sys_getdents.go:68 +0x158 fp=0x40095db880 sp=0x40095db7b0 pc=0x733908 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Getdents64(0x40095db958?, 0x7bb84?, {{0x3}, {0x20000080}, {0x1f}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_getdents.go:36 +0x44 fp=0x40095db8d0 sp=0x40095db880 pc=0x733784 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0x4003edb500, 0x3d, {{0x3}, {0x20000080}, {0x1f}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x678 fp=0x40095dbc10 sp=0x40095db8d0 pc=0x5e6b28 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0x4003edb500, 0x10000?, {{0x3}, {0x20000080}, {0x1f}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x48 fp=0x40095dbc70 sp=0x40095dbc10 pc=0x5e7e28 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0x40095dbd28?, 0x59fdc8?, {{0x3}, {0x20000080}, {0x1f}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x7c fp=0x40095dbcd0 sp=0x40095dbc70 pc=0x5e79ec gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0x4006a33a00?) pkg/sentry/kernel/task_syscall.go:257 +0x320 fp=0x40095dbdd0 sp=0x40095dbcd0 pc=0x5e7720 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x4003141500?, 0x4003edb500) pkg/sentry/kernel/task_run.go:269 +0x1154 fp=0x40095dbf20 sp=0x40095dbdd0 pc=0x5da7a4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0x4003edb500, 0x6f73) pkg/sentry/kernel/task_run.go:98 +0x260 fp=0x40095dbfb0 sp=0x40095dbf20 pc=0x5d8fb0 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:391 +0x2c fp=0x40095dbfd0 sp=0x40095dbfb0 pc=0x5e523c runtime.goexit() src/runtime/asm_arm64.s:1197 +0x4 fp=0x40095dbfd0 sp=0x40095dbfd0 pc=0x81834 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 808332 pkg/sentry/kernel/task_start.go:391 +0xf8