out of c-slots during initialisation
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 43/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- rust
- Domain
- operating-systems
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Rust
- Stars
- 224
- Forks
- 90
- Avg merge
- 5d 7h
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from seL4/microkit
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Manual contradicts the tool on three x86 `irq` attributes (confirmed on Microkit 2.3.0)May be free again A pull request for this issue was closed without being merged. Open
Difficulty 2/5 Half a day Newbie friendliness 72/100
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
Update roadmap on seL4 wbsiteMay be free again @midnightveil claimed this 74 days ago, and no pull request is open. Open
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
claim
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Nixitov/Riptide-Native#946 ·
Maintainers usually reply within 1 day
-
area: ai-assistants documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
BetaBots-LLC/latticegate#17 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
storytold/craft-libs#5594 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
听歌识曲历史跳转后对应音源界面无法返回Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
LingyunStudio/RustMusic#16 ·