out of c-slots during initialisation

Aperta
#626 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
43/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
224
Fork
90
Merge medio
5g 7h
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di seL4/microkit

Tutte le issue di seL4/microkit

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.