[mythtv-commits] Ticket #11458: Mac OSx CORE DUMP after watching a recording - (QRegion::isEmpty() const + 25)

MythTV noreply at mythtv.org
Tue Mar 19 22:50:01 UTC 2013


#11458: Mac OSx CORE DUMP after watching a recording - (QRegion::isEmpty() const +
25)
----------------------------------+----------------------------
 Reporter:  mythtvuser10@…        |          Owner:  natanojl
     Type:  Bug Report - Crash    |         Status:  closed
 Priority:  major                 |      Milestone:  0.26.1
Component:  MythTV - General      |        Version:  0.26-fixes
 Severity:  medium                |     Resolution:  fixed
 Keywords:  OSx QRegion::isEmpty  |  Ticket locked:  0
----------------------------------+----------------------------

Comment (by Jonatan Lindblad <jlindblad@…>):

 In [changeset:c0419cd1759f299a4232c12cf62dbea8b30180f2/mythtv]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="c0419cd1759f299a4232c12cf62dbea8b30180f2"
 MythUI: Fix use after free in MythUIEditBar

 The call to ReleaseImages() in MythUIEditBar's dtor caused a free memory
 read
 since SetRedraw() accesses its parent whose dtor has already been called.

 Calling ReleaseImages() from MythUIEditBar's dtor also isn't necessary
 since the
 images in m_images are children of MythUIEditBar and are automatically
 deleted
 by Qt.

 Fixes #11458, Refs #11402
 (cherry picked from commit 6e0f69dca6a554f4baf0fe8f9226458d36c459c7)
 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11458#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list