The first measures would be to look through this FAQ:
[Crash, exit or high CPU when right-clicking certain files)