MacBook Pro crash after sleeping for a long time

crashmacbook pro

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?

EDIT:

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.

Best Answer

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: