Hey there fotomas!
I have a couple of articles here that should help you troubleshoot this issue. The first thing you should try is booting the computer in Safe Mode by following the steps listed in the article below:
If that does not resolve the issue, you should try to run a built in program on your computer called the Apple Hardware Test. An article about how to run this program can be found right here:
Thanks for using the Apple Support Communities!