Mail Archives: djgpp/1997/06/10/04:19:58
On Mon, 9 Jun 1997, Nate Eldredge wrote:
> I might have expected a crash from when symify tries to look at video memory
> (or however it works), but not a SIGFPE! Anybody know anything about
> this/have time to debug it?
IMHO, there's nothing to debug here. The original program crashes
with SIGFPE because it tries to use garbage as an FP number. Nothing
new here. `symify' crashes because Windows doesn't reset the FPU
after the first program crashes; nothing new here either. I'd guess
any of the following would cause `symify' run without crashing on
Windows also (I didn't actually check this though):
1) Redirect the original crash traceback to a file or use the
clipboard to put it in a file, then close the DOS box (or reboot the
system, or go to another machine) and invoke `symify' on that file
("symify -i crash-file programname").
2) Reset the FPU after the crash (e.g. with a program that
calls `_clear87'), then run symify.
- Raw text -