[maemo-developers] Trapping application "crashes"?

From: Daniel Stone daniel.stone at nokia.com
Date: Wed Sep 5 11:44:27 EEST 2007
On Wed, Sep 05, 2007 at 11:43:34AM +0300, Marius Vollmer wrote:
> "ext Daniel Stone" <daniel.stone at nokia.com> writes:
> > On Tue, Sep 04, 2007 at 11:01:40PM -0700, ext Jayesh Salvi wrote:
> >> If you end up registering your signal handlers - do only little in those
> >> signal handlers. It's not a good idea to keep executing once you have
> >> corrupted memory - you might run into more ugly errors.
> >
> > Indeed, man signal (at least from glibc) explicitly lists the only calls
> > that are safe to run from signal handlers.
> 
> Which is of course a different thing: even if you only use the
> signal-safe functions in your handler, you shouldn't ever return from
> it and try to continue the program.

Of course; I wasn't trying to suggest otherwise.  'Do absolutely bugger
all, and then get out.'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20070905/05336f63/attachment.pgp 
More information about the maemo-developers mailing list