Appleinsider suggests that the freezing iMac problem may be related to overheating hardware rather than any particular software issue.
They cite one user who had their video chipset replaced on their iMac who found that the problems had disappeared.
While this remains speculative, it could mean that no software solution will be able to repair the issue. A similar but less publicizd issue has affected early owners ot the ATI Radeon X1900 video card for the Mac Pro. Some have noted these issues have become
more prominent under Mac OS X 10.5 (Leopard) due to its increased dependance on the GPU.
Article Link