I havn't seen any problems with the disk yet, but I'll follow your advice and run scandisk.
I have tried some other things now. I installed AMD's CodeAnalyst, and the exact same thing happens! The computer just reboots. I then tried to start a minimal program for the performance counters, and that worked fine, so maybe it's something with the timer only.