Hi,

I've been 'hit' by following problem when using mozilla on an arm-linux system :
   <http://bugzilla.mozilla.org/show_bug.cgi?id=9967>

In short, the problem is about verifying if a double can be converted to an
int. This is done by converting it to int and back to a double and checking if
the result is the same.

Problem encountered is, that for some values, this will signal an exception (SIGFPE),
at which point mozilla crashes.

Proposed solutions for this bug, indicate that this signal should, by default, be 
ignored.
Masking out SIGFPE at the startup of mozilla, gets rid of crashes and gives me a
nice working mozilla ;).


I'm wondering now where this signal _should_ be disabled.
- in the linux kernel
- in the startup code, provided by the compiler (crti.o)
- in the program itself

For freebsd, it is done in mozilla itself.
For linux (i386), SIGFPE seems to be ignored by default
For linux (arm), SIGFPE seems not to be ignored by default

Greetings,
--
Jeroen Dobbelaere
Embedded Software Engineer

ACUNIA Embedded Solutions
http://www.acunia.com



_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
http://www.arm.linux.org.uk/armlinux/mailinglists.php
Please visit the above addresses for information on this list.

Reply via email to