mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-21 00:06:34 +00:00
Abort on double panics
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
fe68b4b510
commit
05564ecd4f
@ -230,7 +230,7 @@ pub fn trace_panic_from_log(qemu_log: File, bin_path: PathBuf) {
|
||||
.spawn()
|
||||
.unwrap();
|
||||
for line in lines.into_iter().rev() {
|
||||
if line.contains("printing stack trace:") {
|
||||
if line.contains("Printing stack trace:") {
|
||||
println!("[OSDK] The kernel seems panicked. Parsing stack trace for source lines:");
|
||||
trace_exists = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user