Make sure all the RAM in the machine is good. Also, when you try running some other programs, does it sometimes dump core or segfault? For example, when you run "make" on a large package (apache, perl, etc), does it go from start to finish without crashing? If so, then the RAM might be bad.