[mythtv-commits] Ticket #10841: SignalHandling returns from SEGFAULT signal handler
MythTV
noreply at mythtv.org
Mon Jun 18 14:50:53 UTC 2012
#10841: SignalHandling returns from SEGFAULT signal handler
----------------------------------+-----------------------------
Reporter: danielk | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: 0.26
Component: MythTV - General | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------
Comment (by Daniel Thor Kristjansson <danielk@…>):
In [changeset:546fdac8d1e952422c91278be3187ae87aded28e/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="546fdac8d1e952422c91278be3187ae87aded28e"
Refs #10841. A fix for SEGFAULT handling.
We may want to handle this differently later, but this works.
We don't return from signalHandler if the signal is SEGV, ILL, BUS, or
FPE.
This ensures the signal isn't immediately re-raised on return.
Also, after waiting 1 second for any cleanup actions which will
only happen if this signal didn't occur in the UI thread, we
call the default handler which will generate a core if necessary
and then exit the program.
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10841#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list