Check the top link for an article for a lot of info on causes and resolutions of the dreaded infinite loop error.
The very bad news is that there is no one cause of the error, and no one solution. Every case is different and diagnosis is extremely hard. Read the above article for things to try. On my old computer (Compaq, 512Mb RAM, XP Pro, Geforce 3 Ti200), I would get an infinite loop error, guaranteed, after only a few minutes. Any application that used 3D (Milkdrop, games, etc) was affected. The only cure was to drop down to only 128Mb of RAM. Then everything was rock stable, but XP didn't have enough memory to run well.
I still have no clue what caused it and why.
You may have a bad video card, or an insufficient power supply, or bad memory, or any one of a dozen other things.
Good luck in tracking down your problem - ask at one of the above forums for help, they're the experts at these things, and will be able to help you more than we can.