Subject: Re: signal(SIGSEGV, SIG_IGN) -> 100% CPU
To: None <tech-kern@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 06/10/1999 14:31:05
In article <19990610123257.B28005@cs.uni-bonn.de>,
Ignatios Souvatzis <ignatios@cs.uni-bonn.de> wrote:
>
>using pipe is just a detail that should not change behaviour, IMO.
>If you use this program instead:
>
>#include <signal.h>
>main(){signal(SIGSEGV, SIG_IGN);int i; i = *(int *)0xdeadbeef;exit(0);}
>
>you would expect a tight loop, wouldn't you?
>Why should this be different for a system call?

Actually not on the sparc because I would get a bus error :-)

christos