K 10
svn:author
V 7
scrappy
K 8
svn:date
V 27
1997-08-16T03:41:19.000000Z
K 7
svn:log
V 1075
From: Don Lewis <Don.Lewis@tsc.tdk.com>
Subject: Re: innfeed-users: innfeed: assertions that don't hurt?

On May 24,  3:59am, Jeff Garzik wrote:
} Subject: innfeed-users: innfeed: assertions that don't hurt?
} Each time I receive an assertion my innfeed process goes into an
} infinite run state (under 0.10.1 and 0.10.1.x).

The problem is that innfeed catches SIGIOT and attempts to do something
useful with it and it also calls abort() in an attempt to drop core
and exit when an assertion fails.  Abort() sends SIGABRT to the current
process to do the dirty work, but the SIGIOT is an alias for SIGABRT in
all the implementations I've looked at.  What ends up happening is that
when innfeed calls abort(), the SIGIOT handler is invoked.  Most
implementations will kill the process anyway after the handler returns,
but whatever you're running probably just resends the signal causing
the handler to be repeatedly invoked.

Note: SIGTRAP, SIGIOT, SIGEMT, SIGBUS, SIGSYS, SIGURG, SIGIO, SIGXCPU,
SIGXFSZ, SIGVTALRM, SIGPROF, SIGWINCH, and SIGINFO are not defined by
POSIX.

END
