Chosen Solution
I have run the diagnostics several times and it stops while testing the logic board. The symptoms I have been having: monitor has gone blank; computer has restarted on its own, Safari was quitting as soon as I opened it. I replaced the hard drive cable (2nd time since buying this computer new.). No more problems with Safari, but still restarts on its own, and when screen goes blank, have to restart by pushing power button.
First thing I would do is to start it up in Safe Mode by holding down the Shift key on start up. This will help tell us if this is a software or hardware issue. Have you run a good “Paid For” anti-virus program on it?