lai icon indicating copy to clipboard operation
lai copied to clipboard

Lai panic: Else() outside of If()

Open Glowman554 opened this issue 1 year ago • 9 comments

IMG_4672

Glowman554 avatar Sep 20 '22 17:09 Glowman554

We'll need the AML bytecode to debug this issue.

avdgrinten avatar Sep 20 '22 18:09 avdgrinten

The machine actually belongs to @ImDaBigBoss so we need to wait for him to dump it.

Glowman554 avatar Sep 20 '22 19:09 Glowman554

SystemDSDT.zip I hope this is what you were looking for, I wasn't too sure how to dump it all on MacOS. I'm using MaciASL to dump that, if you need anything else, please tell me.

ImDaBigBoss avatar Sep 20 '22 19:09 ImDaBigBoss

Could you call lai_enable_tracing(LAI_TRACE_OP); before calling lai_create_namespace()

thomtl avatar Sep 20 '22 21:09 thomtl

IMG_4680 Is this ok? The OS doesn't write to USB yet

ImDaBigBoss avatar Sep 21 '22 18:09 ImDaBigBoss

It's a T450 Lenovo ThinkPad which is running OpenCore to have MacOS on it.

ImDaBigBoss avatar Sep 21 '22 18:09 ImDaBigBoss

This is quite an interesting case, which we can't reproduce when testing in userland. Could you try running the boot_image from https://github.com/managarm/lai_tools ? That'll show us whether it is some spurious bug in lai, or some memory corruption.

thomtl avatar Sep 21 '22 18:09 thomtl

IMG_4682 I guess I'm sorry? It isn't a memory problem. If you need anything else, I'm happy to give you more information.

ImDaBigBoss avatar Sep 21 '22 19:09 ImDaBigBoss

Any updates on this issue?

Glowman554 avatar Sep 23 '22 17:09 Glowman554