From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 20983 invoked from network); 13 Nov 1998 14:19:06 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 13 Nov 1998 14:19:06 -0000 Received: from voicenet.com (mail12.voicenet.com [207.103.0.6]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id JAA25208 for ; Fri, 13 Nov 1998 09:19:05 -0500 Received: (qmail 1715 invoked from network); 13 Nov 1998 14:19:03 -0000 Received: from rotary828-pri.voicenet.com (HELO voicenet.com) (209.71.53.28) by mail12.voicenet.com with SMTP; 13 Nov 1998 14:19:03 -0000 Message-ID: <364C3CB4.87D373AF@voicenet.com> Date: Fri, 13 Nov 1998 09:05:42 -0500 From: Uncle George Organization: None Avail X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Blocking SIGFPEs? References: <364ACE92.736C9967@art.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.