Subject: Re: signal(SIGSEGV, SIG_IGN) -> 100% CPU
To: Christos Zoulas <>
From: Ignatios Souvatzis <>
List: tech-kern
Date: 06/10/1999 16:52:49
On Thu, Jun 10, 1999 at 02:31:05PM +0000, Christos Zoulas wrote:
> Actually not on the sparc because I would get a bus error :-)

Ignore SIGBUS then, or
#include <signal.h>
main(){int i;signal(SIGSEGV, SIG_IGN);i = *(char *)0xdeadbeef;exit(0);}

Hm. Just tested. Apparently, on Solaris 2.6, ignorign SEGV or BUS is
silently ignored.


 * Progress (n.): The process through which Usenet has evolved from
   smart people in front of dumb terminals to dumb people in front of
   smart terminals.  -- (obscurity)