out of c-slots during initialisation

未关闭
#626 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
43/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
rust

调研方向

Start by reproducing the failure with the supplied files.zip and trace the CapDL initializer panic at initialize.rs:1257, where OutOfSlots is unwrapped. Check how the unusual large aarch64 memory allocation affects slot use during initialization; the issue does not identify the relevant Microkit source file. Done means initialization completes for the supplied reproduction without running out of slots.

由索引模型根据 Issue 内容生成。

描述

I am not sure whether this is a microkit issue or a rust-sel4 issue, but with some unusual large memory allocation for aarch64, the initialisation failed, saying that

Booting all finished, dropped to user space
INFO  [sel4_capdl_initializer::initialize] Starting CapDL initializer
panicked at /Users/ertos/.cargo/git/checkouts/rust-sel4-d7edb8214cac2bde/c819c27/crates/sel4-capdl-initializer/src/initialize.rs:1257:38:
called `Result::unwrap()` on an `Err` value: OutOfSlots
(aborted)
Found thread has no fault handler while trying to handle:
unknown fault
in thread 0x81bfc05800 "rootserver" at address 0x222860
With stack:
0x24dce0: 0x222a50
0x24dce8: 0x24dd38
0x24dcf0: 0x2229d4
0x24dcf8: 0x2229d4
0x24dd00: 0x2229a8
0x24dd08: 0x24dd38
0x24dd10: 0x22ccc8
0x24dd18: 0x69af20
0x24dd20: 0x21bbfc
0x24dd28: 0x2010c5
0x24dd30: 0x24dd80
0x24dd38: 0x24dd28
0x24dd40: 0x205528
0x24dd48: 0x1
0x24dd50: 0x24dda0
0x24dd58: 0x22cb98

It could be reproduced by files in files.zip.

主要语言
Rust
星标
224
派生
90
平均合并
5 天 7 小时
30 天内合并 PR
1

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

seL4/microkit 的其他 Issue

查看 seL4/microkit 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。