[IRCServices Coding] DUMPCORE only unhandles SIGSEGV?

Andrew Church achurch at achurch.org
Sat Jul 12 03:19:34 PDT 2003


     SIGFPE only happens on divide by zero, and in the few places where
Services divides by a variable the variable is already tested for being
nonzero.  SIGQUIT is user-generated.  SIGABRT isn't generated at all.
SIGILL only occurs if your compiler is broken or you run a binary compiled
for the wrong CPU.

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/

>
>Why does DUMPCORE only turn off the SIGSEGV handler? there are other 
>signals that cause core dumps
>(like SIGFPE, SIGQUIT, SIGABRT, SIGILL etc) that we definitely would want 
>to dump core if we want
>SIGSEGV to do so.
>------------------------------------------------------------------
>To unsubscribe or change your subscription options, visit:
>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding