2019 imac getting kernel panics when going to sleep.
It seems silly if you're not affected. But now that it's hit me, i'm about to go back to mojave. If it was just a weird bug, I could deal with it. But to kernel panic is a big deal to me. I cant trust the computer to not break if I walk away from it for 10 minutes.
I guess I could turn off sleep, but that doesnt seem like a solution to me. To keep it running all the time so it doesnt break? nah.
This could very well be a hardware or deeper issue. I had a similar but more specific issue with my 2018 mbp, and managed to isolate the issue after quite a bit of trial and error. They replaced it with a 2019 model brand new. I think for me it was specific to letting the battery drain completely, then closing it and plugging it into power and waiting a while. I'd open to a computer that had kernal panicked. It could be related to deep sleep/hibernate, where the contents of ram is written to the ssd and then restored on wake. You can test this probably by setting a hibernate timer and then testing what happens if it sleeps for just under and just over that time.
I reproduced it by eliminating aspects of the scenario and combing through logs. For example, for a long time I only knew it was happening sometime after the laptop went to sleep, but that's all. After paying attention to my patterns, I isolated out the case where the laptop would sleep only for a few minutes on or off power. Then I did the same thing but either pulled the power cable or plugged it in after it went to sleep. Then I tried variants of those after letting it sleep for a long time. Nothing was reproducible for a very long time until I noticed that the specific case of first using it till the battery was dead, then letting it sit for a while, then plugging it in and then opening the lid caused the kernel panic. It persisted through two screen replacements and one motherboard replacement if memory serves. Not totally sure how that happened, but it could have been a faulty SSD or something.
It was extremely satisfying to finally isolate it to 100% reproducibility. Peak of my career right there.
It seems silly if you're not affected. But now that it's hit me, i'm about to go back to mojave. If it was just a weird bug, I could deal with it. But to kernel panic is a big deal to me. I cant trust the computer to not break if I walk away from it for 10 minutes.
I guess I could turn off sleep, but that doesnt seem like a solution to me. To keep it running all the time so it doesnt break? nah.