[mythtv-commits] Ticket #8586: Segfault while exiting recording and saving position

MythTV mythtv at cvs.mythtv.org
Wed Aug 18 15:20:24 UTC 2010


#8586: Segfault while exiting recording and saving position
----------------------------------+-----------------------------------------
 Reporter:  otto at kolsi dot fi  |           Owner:  markk     
     Type:  defect                |          Status:  closed    
 Priority:  minor                 |       Milestone:  0.24      
Component:  MythTV - General      |         Version:  Trunk Head
 Severity:  medium                |      Resolution:  fixed     
 Keywords:                        |   Ticket locked:  0         
----------------------------------+-----------------------------------------
Changes (by markk):

  * status:  infoneeded => closed
  * resolution:  => fixed


Comment:

 (In [25741]) Don't use the deleteLater method in MythUIType.

 The current libmythui usage model suggests this is unnecessay but it is
 causing problems in the OSD. MythImages are allocated via the painter
 classes but owned by their parent MythUIImage objects. When the painter
 is deleted immediately and the MythUIImage is not deleted until the
 event loop has finished, the painter pointer held by MythImage is no
 longer valid.

 This is the simplest and most obvious solution but if there are
 unforeseen consequences, there is a less elegant solution.

 Closes #8586. Refs r25740

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8586#comment:14>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list