Random restarts #7
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sometimes, on boot, the system randomly restarts after enabling interrupts (I believe).
Since this message is the last one printed before enabling interrupts/switching tasks, I believe something is going wrong there. The weird thing is it only happens sometimes, and it doesn't seem to depend on the program loaded, since just after it restarts (in this case) it loaded the same and it went fine.
Additionally, this bug is present since forever.
I think this is caused by too many interrupts piling up, and when we enable them, they overflow us (probably the stack?) and triple fault.
Not sure about this, but since I changed (in #12, WIP) main.cpp to initialize the PIC just before we enable interrupts, it happens a lot less. Should investigate more though.
This is pretty much solved now.