home *** CD-ROM | disk | FTP | other *** search
- Hello all,
-
- it seems I have come accross a bug in Executor that is related to who the C
- compiler handles floating point exceptions. I tried to run a program, which
- causes a FPE due to division by zero. Since the default action for a FPE
- signal is abort, the Intel version prints the usual stack traceback, the
- NeXT version reports a Floating Point Execption (usually it would coredump,
- but that is disabled by the shell).
- Apparently, it depends on the CPU whether FPEs are caught or not I just
- compiled a small test program on m68k and hppa on hpux and on Solaris/sparc.
- On the motorola CPU, the program caused a core dump on the other one it run
- returns a Inf value.
- I have no idea how this is handled on Macs, since the program I tested
- apparently runs on real Macs, I would guess that it just ignores the
- exception. If this is the case, then Executor should do to.
-
- BTW. the program I tried was the compiler from the TADS adventure development
- system, it is not really necessary to run this on Executor, since there are
- versions for PCs and most unixes also, but there may be other programs that
- have similar problems. The program is available from
- ftp://ftp.gmd.de/if-archive/programming/tads.
-
-
- bye, Alexander
-
- --
- Alexander Lehmann, | "On the Internet,
- alex@hal.rhein-main.de (plain, MIME, NeXT) | nobody knows
- alexlehm@rbg.informatik.th-darmstadt.de (plain) | you're a dog."
- <URL:http://www.student.informatik.th-darmstadt.de/~alexlehm/>
-
-