Re: Dumb question: Why are exceptions such as SIGSEGV not logged

From: Jesse Pollard
Date: Tue Aug 19 2003 - 09:15:30 EST


On Monday 18 August 2003 21:43, H. Peter Anvin wrote:
> Followup to: <MDEHLPKNGKAHNMBLJOLKEEBAFDAA.davids@xxxxxxxxxxxxx>
> By author: "David Schwartz" <davids@xxxxxxxxxxxxx>
> In newsgroup: linux.dev.kernel
>
> > There is no mechanism that is guaranteed to terminate a process other
> > than sending yourself an exception that is not caught. So in cases where
> > you must guarantee that your process terminates, it is perfectly
> > reasonable to send yourself a SIGILL.
>
> exit(2)?
>
> -hpa

Nope... A monitoring process must send the exit to a different thread... which
may be being directed to generate a core dump.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/