HiPE and SIGFPE

Mikael Pettersson mikpe@REDACTED
Tue Aug 15 10:17:20 CEST 2006


On Tue, 15 Aug 2006 09:43:47 +0200, Anton Berezin wrote:
> On a related note, there seems to be something wrong with FP exception
> handling code on amd64 (I am using FreeBSD port of Erlang, r11b0).
> Basically,
> 
> 1/0.
> 
> just hangs eating 100% CPU.  It produces an exception, as expected, on i386.
> 
> Is there more information you might want to debug the problem?

The FP exception handling code has not been ported to *BSD.
In particular, the SIGFPE handler will default to a naive and
apparently inadequate version. That it works on i386 is just luck.

Switch to Linux or Solaris, or find someone willing & capable to do the port.



More information about the erlang-questions mailing list