I have a MacBook Pro (15-inch, Late 2016) running macOS Sierra 10.12.1 (16B2659). Recently I found out that if I left my machine sleeping for a long amount of time (about 15+ hours), it will cause a kernel panic and restart itself so when I open my computer the next time it will tell me the computer have shutdown unexpectedly. Is this a software bug or my computer have problem?


I got this problem today. The shutdown cause is -128. Maybe a hardware failure? Also sometimes instead of a crash, I also have this problem. (I posted that as a separate question since it's not a crash). Here is the crash report.

  • Did you have any thing running before you put your computer to sleep that could have gone horrifically wrong?
    – OzzieSpin
    Nov 26, 2016 at 16:53
  • @OzzieSpin Nope, nothing is running, just Finder
    – Tom Shen
    Nov 27, 2016 at 1:13
  • Same thing happens to me, but with much shorter sleep times. Any luck? Dec 7, 2016 at 11:35
  • I'm running into a similar issue with my MacBook Pro (Retina, 15-inch, Mid 2014). If I clamshell, if I walk away for 1 minute, if the screensaver is invoked, and sometimes when I use Lock Screen, my computer screen will go black and shutdown. Logs are inconclusive, with not much information. The only thing that I see repeating over and over is that "com.apple.quicklook" always has a crash behavior right before the shutdown happens. Dec 7, 2016 at 17:07
  • Have a look at this Question/Answer I would get the hardware checked out.
    – Allan
    Mar 4, 2017 at 15:07

2 Answers 2


Occasional kernel panics are more nanannoyance than something to be fixed.

However, if you can make them happen, there is a process to resolve them:


It just happened to me today, out of the blue so to speak. Anyway, after powering down and restarting several times (with no success) I powered back up in Safe mode (holding the Shift key down). That didn't help because my MacBook froze again. BUT, when I powered up again (without Safe mode), the problem was solved. Go figure.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .