[mythtv-commits] Ticket #10889: Segfault every morning...
MythTV
noreply at mythtv.org
Sun Jul 8 05:28:46 UTC 2012
#10889: Segfault every morning...
---------------------------------+-----------------------------
Reporter: jyavenard | Owner: beirdo
Type: Bug Report - Crash | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - MythSystem | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
---------------------------------+-----------------------------
Comment (by Gavin Hurlbut <ghurlbut@…>):
In [changeset:24da25f3f2be46f5b029c0d28a502f9cb0048cdc/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="24da25f3f2be46f5b029c0d28a502f9cb0048cdc"
Convert the MythSystemPrivate classes to use RefCounters
We were getting some odd race conditions caused by the timing of deletion
of
the MythSystemPrivate data (MythSystemUnix in particular on Linux and
OSX).
As we now have a common ReferenceCounter class to use, I have converted
this
over to use ReferenceCounter to control the deletion. One reference is
made
on creation, and a second when it is added to the process map. The second
reference is decremented when the MythSystemSignalThread is done shutting
it
down cleanly.
NOTE: I may have missed some dependency on the parent item which may have
been deleted already. If this happens, please let me know. It would most
likely crash hard in this case. I'll take another look over it in a bit.
Refs #10775. Refs #10889.
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10889#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list