Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Uncle George <gatgul@voicenet.com>
To: axp-list@redhat.com
Subject: Re: How to trap floating point exceptions so mozilla doesn't crash?
Date: Tue, 12 May 1998 11:19:05 -0400	[thread overview]
Message-ID: <35586867.C45D5BA3@voicenet.com> (raw)
In-Reply-To: 355863D1.5537DAE9@altatech.com

i suppose u should realize that is does not handle them - otherwise there
would be a signal() routine for SIGFPE.
i also suppose u can find where signals are handled generally, and then
add to them the SIGFPE signal catch routine.
gat
BTW to sigfpe routine is as simple as catch_sigfpe(int sig){;}
or u can tell signal to IGNORE the signal outright.

Christian Worley wrote:

> 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




  reply	other threads:[~1998-05-12 15:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
1998-05-12 16:02 ` Michal Jaegermann
  -- strict thread matches above, loose matches on Subject: below --
1998-05-12 16:53 James D. Freels
read-only archive

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