[lkml]   [2003]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Dumb question: Why are exceptions such as SIGSEGV not logged
On Sun, 17 Aug 2003 04:10:30 +0800, Michael Frank <>  said:
> Linux logs almost everything, why not exceptions such as SIGSEGV in userspace which
> may be very informative?

Consider this code:

char *foo = 0;
for(;;) { *foo = '\5'; }

Your logfiles just got DoS'ed....

(Your syslog will just print 'last message repeated 11934 times'? OK, put two
different signals in the loop.. ;)

And yes, I've worked on systems that will log SEGV... and the logs get ugly.
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2005-03-22 13:47    [W:0.122 / U:1.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site