Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!udel!princeton!grendel!rhl From: rhl@grendel.Princeton.EDU (Robert Lupton (the Good)) Newsgroups: comp.unix.programmer Subject: Re: Fortran divide check crashes interactive '386 Message-ID: <5018@idunno.Princeton.EDU> Date: 3 Jan 91 22:37:26 GMT References: <1991Jan2.140237.14669@sawmill.uucp> <1991Jan03.124245.3375@scuzzy.in-berlin.de> Sender: news@idunno.Princeton.EDU Organization: Princeton University, Princeton, New Jersey Lines: 21 Let me defend my reputation. I started this thread, and apparently wasn't careful enough. My problem was not that I didn't reinstall the signal handler (I actually called exit instead of reinstalling it, but I would have called signal() if the handler returned). The trouble was the sequence for(;;) { Reboot machine run fortran code that divide checked with my handler (all OK so far. The programme exited. Back at the shell) run fortran code that divide checked with my handler (now the machine crashes) } So the problem is not missing handlers, and I don't think that it is this 8-deep stack on the '387 either; unless the fortrash handlers are worse than I think I doubt if they manage to generate an extra 7 divide checks while trying to clean up. Robert