MacBook Pro Kernel Panic Error, causes shutdown and restart
My MacBook Pro keeps crashing over and over again on its own.
Here's what I've tried so far:
- Hard reset, wiped all the software. Problem still persists (so it's presumably caused by hardware).
- Took it to Apple, they ran diagnostics. Turns out I have a bad battery. Okay, I pay $200 to fix the battery. Problem still persists.
Now here we are. What gives?
So far, my own debugging has taken me to this line of code, which is `goto exit` when the condition is met: https://github.com/apple/darwin-xnu/blob/main/iokit/Kernel/IOServicePM.cpp#L5547
Here's the stack trace: