From: "Leis\\Chodos" Newsgroups: comp.os.msdos.djgpp Subject: program compiles fine, exe crashes Date: Fri, 11 Jun 1999 19:45:01 -0400 Organization: Golden Triangle Online Lines: 23 Message-ID: <37619F7D.3C619B7F@golden.net> NNTP-Posting-Host: 209.183.133.20 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.06 [en] (Win95; I) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, I have been having trouble getting the .exe file created by a c file I wrote to work. The c file compiles without any trouble, and I can run it from Rhide (v 1.4). When I try to run the exe file outside of Rhide, however, it crashes after getting through the first 500 lines or so - i.e. into the main loop of the program. I get an error message saying: Shutting down Allegro Exiting due to signal SIGFPE Floating point exception at eip=00016054 followed by memory addresses which don't point to any crucial part of my program. If needed, I can attach the c file or the program, but they're both somewhat large (100 Kb and a 1.3 MB zip file, respectively). I have tried running the program on several different computers with the same results (all in Win95, running about a P166). I also tried adding a floating point emulator to the exe (adding -lemu to the linker command line). Thanks for your help. Dave Chodos leischod AT golden DOT net