One more client in the list:
iMac (27', late 2012) OSX Yosemite 10.10.5
1 To fusion drive
3,4 GHz Intel Core i7
8 Go 1600 MHz DDR3
NVIDIA GeForce GTX 680MX 2048 Mo8 Go 1600 MHz DDR
- the original Hard Disc has been changed after a total crash (apple-care 1st year)
- the screen has also been changed (de-coloration in the lower corners and 20 insects, or black spots here and there, apple-care 3rd year)
Right after the screen has been changed the problem of sudden shut downs started to appear... at first I didn't realise what was happening. I rarely turn off the computer, I rather put it to sleep or put the screen to sleep, so the computer can keep on working while I do the sleeping, but I remember sometimes finding the computer turned off in the morning. I was thinking maybe the electricity being cut off (happens often here in the countryside when there is a lot of windstorms) or that somebody else in the family turned off the computer...
It took some while to identify this problem, but one day it happened when I was in front of the screen... and then it started to happen more often... two or three times a day.... by this time, unfortunately my Apple-Care has run out.
I called them anyway, and they tried to do some things but nothing worked out (cleaning out all the preference files, starting in safe mode etc.)
One strange thing I have noticed is: when trying to reset the P-Ram the computer shuts down "black out" after the first "gong" without finishing the procedure and then the only solution to restart the computer is to unplug the electrical cord for 5 minutes... "SMC reset"
Console : kernel[0]: Previous shutdown cause: 0
Unplugging the computer over night is really helping to keep the computer working the rest of the day, but this is not a solution in the long run.
I have to bring in the iMac to a service-center for observation and report. (at my charge)
I will report here the solution they hopefully find.