From: "Dan Goodman" Newsgroups: comp.os.msdos.djgpp Subject: Re: SIGFPE Date: Tue, 7 Jul 1998 21:14:11 +0100 Message-ID: <899842359.13409.0.nnrp-01.9e989aee@news.demon.co.uk> References: NNTP-Posting-Host: fcbob.demon.co.uk Lines: 31 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Well, I have now tested this program on my old PC and although the exe compiled on this machine will not run on the old one, the same program compiled on the old runs fine on the old one, but crashes on the new one, so I guess the problem is on my computer. Anyone know what this might be? My new computer is a Dell D333 with 128mb ram, Diamond Permedia 2, SB AWE64 etc... my old one is a homemade job sort of thing with bits and pieces from everywhere, P133 with 32MB ram. I think my new one has Win95 OSR2 whereas the old one had Win95 OSR1 as well... Any help would be much appreciated. Thanks, Dan Eli Zaretskii wrote in message ... > >On Fri, 3 Jul 1998, Dan Goodman wrote: > >> A program I have written (ray tracing sort of thing) is suddenly getting >> SIGFPEs, which doesn't stop it from running, but it runs half as slow as it >> used to and crashes RHIDE after it finishes. The error occurs when you >> change one value from a value lower than 0.9 to one greater than or equal to >> 0.9. I am now pretty sure it is not a divide by zero, sqrt(-x) or overflow >> problem, what else might cause a sigfpe and how can I trace the problem? > >The DJGPP FAQ list has some advice on how to begin debugging your >program, in section 9.2. If that doesn't help, post here the shortest >program that reproduces the bug.