The reason for Previous shutdown cause: -128 My MacBook Pro 11,2 (Retina 2014) shuts down suddenly from time to time. When I run macbook again, I inspect the log file I see the following message: 


  Previous shutdown cause: -128


Sometime, when I close a laptop, fans begin to hard work. It happens with/without power adapter. I launched Diagnostic and I got 'NO ISSUE'. 

When I run macbook in SafeBoot, all work correctly, but very slowly.

I tried:


Reset SMC, PRAM.
ERASE Disk and install macOS from scratch.


Also, I tried to remove battery and use the power adapter only. In this case it work correctly, but sometime I get another error (It happens rarely). 

Macbook pro 11,2 Retina 2014 (15 Display)
Intel Core i7 2,2 GHz
RAM 16 GB
SSD 256 GB
I saw a Mac do a similar thing and it turned out to be the logic board. Unfortunately, you might have to take your Mac to the Apple Store or a computer shop for them to replace it.