Re: When Apps Crash...



Iain wrote:


> Press ctrl-alt-F1 or whatever virtual terminal you started X from, and
> there'll be an error message there. An app might be able to tell you
itself
> that it's crashed by connecting a signal to the SIGSEGV signal (actually,
> I'm not too sure about this, I've not played with signals much), but I
don't
> think another program is able to listen for signals sent to other
processes
> (again, I'm probably wrong).

For gnome apps at least, wouldn't a nicer solution be for gnome_init() to
attach some form of standard handler to SIGSEGV?
An app would then automagically popup something in a similar way to how
windows/macOS does when something crashes. Again, I'm not clued in quite
enough about signals to know how viable this is, but I certainly think such
a thing would be nicer than something disappearing silently.

Regards,

--
Lee.
http://atlas.cs.york.ac.uk/~lrpm100/
"Cats are the guardians of the underworld."




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]