Re: signal(SIGFPE,SIG_IGN) causes endless loop (fwd)

Microcomputers (cs514@ultrix.ramapo.edu)
Tue, 23 Apr 1996 23:15:08 -0400 (EDT)


On Tue, 23 Apr 1996, Swen Thuemmler wrote:

> On Tue, 23 Apr 1996, Jim Nance wrote:
>
> > > It dumps core on Solaris 2.4 with the message:
> > > Floating exception (core dumped).
>
> Hmm. It gets a Floating exception on Solaris 2.5 with gcc and cc, if
> compiled without optimization, but runs just fine if compiled with -O2 or
> -xO2, respectively. (Just in case someone collects these results:
>
> uname -a:
> SunOS machnix 5.5 Generic sun4u
>
> gcc --version:
> 2.7.2
>
> cc -V:
> cc: SC3.0.1 24 Jan 1995
>
> Greetings, Swen
>
>
it seems that FreeBSD also runs forever

/tmp/.ack>uname -a
FreeBSD gramercy.ios.com 2.1.0-RELEASE FreeBSD 2.1.0-RELEASE #0: Mon Mar 4 16:07:22 EST 1996 alexis@silver.ios.com:/usr/src/sys/compile/UH-128-AHC-DE i386
/tmp/.ack>sigerr
^Z
Suspended
/tmp/.ack>ls

-Mike

--
"The best way to infringe of liberty is to create an external menace" 
					-James Madison
URL:http://www.ramapo.edu/~mnugent