[maemo-developers] Trapping application "crashes"?
From: Marius Vollmer marius.vollmer at nokia.comDate: Wed Sep 5 11:43:34 EEST 2007
- Previous message: Trapping application "crashes"?
- Next message: Trapping application "crashes"?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"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.
- Previous message: Trapping application "crashes"?
- Next message: Trapping application "crashes"?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]