From: Uncle George <gatgul@voicenet.com>
To: axp-list@redhat.com
Subject: Re: Blocking SIGFPEs?
Date: Fri, 13 Nov 1998 09:05:42 -0500 [thread overview]
Message-ID: <364C3CB4.87D373AF@voicenet.com> (raw)
In-Reply-To: 364ACE92.736C9967@art.co.uk
my recollection of SIGFPE on alpha, is that is u dont use the -mieee switch,
u will never be able to recover from an FPE error as:
1) u cant tell what instruction did u in,
2) cant fix the error.
3) shouldn't return to the point where the error occured, in case u dont
do a long-jmp
I suppose u can catch the error, but in essence the fp calculations up to
that point may/would be useless because something along the line got messed
up. ignoring the error, will just trash any potentially usefull results.
These are pragmatic rationalizations.
John Connett wrote:
> It appears that with the Red Hat 5.1 (and 5.2) it is not possible to
> block SIGFPEs using sigprocmask(SIG_BLOCK, ...).
>
> This appears to do the trick but I would much appreciate comments from
> those more familiar with this area of the alpha linux kernel! I suspect
> there may have been a good reason for using force_sig in preference to
> send_sig.
prev parent reply other threads:[~1998-11-13 14:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-12 12:03 Blocking SIGFPEs? John Connett
1998-11-13 14:05 ` Uncle George [this message]
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