Re: [patch] log fatal signals like SIGSEGV

From: Mikael Pettersson
Date: Sun Sep 21 2008 - 15:41:29 EST


Bernd Eckenfels writes:
> In article <18646.39701.819497.337394@xxxxxxxxxxxxxx> you wrote:
> > Applications that handle SEGV/BUS/ILL/FPE aren't that uncommon.
>
> JRE uses SIGSEGV for (expected) NullPointers. So you might see a lot of
> those on the logs. However: not in all cases you dont want to log handled
> (fatal) signals. Not sure how to detect those. Maybe it is better to fix
> applications and remove their home grown crash logging.

I was referring to applications that properly handle these signals,
e.g. by emulation, fixing up fault-causing conditions, or turning
faults into application-level exceptions.
--
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/