Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* How to trap floating point exceptions so mozilla doesn't crash?
@ 1998-05-12 14:59 Christian Worley
  1998-05-12 15:19 ` Uncle George
  1998-05-12 16:02 ` Michal Jaegermann
  0 siblings, 2 replies; 4+ messages in thread
From: Christian Worley @ 1998-05-12 14:59 UTC (permalink / raw)
  To: axp-list@redhat.com

Hi,

The big problem with mozilla seems to be floating point exceptions in
its java script interpreter.  It seems to know how to handle them, but
in handling them mozilla crashes.  If I could just create a signal
handler that allowed floating point exceptions to fall thru (and
continue with the code) I think mozilla would work correctly.

How, in AXP/Linux can I create a signal handler that will keep the
program from crashing on floating point exceptions?

Chris
-- 
  When I die, please cast my ashes upon Bill Gates
   --for once, let him clean up after me!


^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: How to trap floating point exceptions so mozilla doesn't crash?
@ 1998-05-12 16:53 James D. Freels
  0 siblings, 0 replies; 4+ messages in thread
From: James D. Freels @ 1998-05-12 16:53 UTC (permalink / raw)
  To: axp-list

This is a problem I am also having in getting DEC Unix executables to
run without stopping due to floating point exceptions.  For code like
mozilla that are compiled locally on the machine, you might try the
-mieee switch with the gcc compiler.  However, for java, I don't
know.  If you find a solution, please publish it to this newsgroup.

>Hi,
>
>The big problem with mozilla seems to be floating point exceptions in
>its java script interpreter.  It seems to know how to handle them, but
>in handling them mozilla crashes.  If I could just create a signal
>handler that allowed floating point exceptions to fall thru (and
>continue with the code) I think mozilla would work correctly.
>
>How, in AXP/Linux can I create a signal handler that will keep the
>program from crashing on floating point exceptions?
>
>Chris
>-- 
>  When I die, please cast my ashes upon Bill Gates
>   --for once, let him clean up after me!
>
>-- 
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
>


-- 
/------------------------------------------------------------------\
|James D. Freels, P.E._i, Ph.D. |Phone:  (423)576-8645 |   | L | A |
|Oak Ridge National Laboratory  |FAX:    (423)574-9172 | H | I | L |
|Research Reactors Division     |work e-m: fea@ornl.gov| F | N | P |
|P. O. Box 2008                 |home e-m: fea@icx.net | I | U | H |
|Oak Ridge, Tennessee 37831-6392|world's best neutrons | R | X | A |
\------------------------------------------------------------------/


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-05-12 16:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-12 14:59 How to trap floating point exceptions so mozilla doesn't crash? Christian Worley
1998-05-12 15:19 ` Uncle George
1998-05-12 16:02 ` Michal Jaegermann
  -- strict thread matches above, loose matches on Subject: below --
1998-05-12 16:53 James D. Freels

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox