[mythtv-commits] Ticket #10775: Segfault in mythbackend (libQtCore.so.4.7.4)

MythTV noreply at mythtv.org
Sun Jul 8 05:28:47 UTC 2012


#10775: Segfault in mythbackend (libQtCore.so.4.7.4)
----------------------------------------------+----------------------------
 Reporter:  ajm1@…                            |          Owner:  beirdo
     Type:  Bug Report - Crash                |         Status:  new
 Priority:  minor                             |      Milestone:  unknown
Component:  MythTV - MythSystem               |        Version:  0.25-fixes
 Severity:  medium                            |     Resolution:
 Keywords:  mythbackend, segfault, libQtCore  |  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/10775#comment:15>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list