[mythtv-commits] Ticket #10740: [PATCH] libmythui: Fix an assert failure in Qt when playing a video

MythTV noreply at mythtv.org
Wed May 23 22:18:08 UTC 2012


#10740: [PATCH] libmythui: Fix an assert failure in Qt when playing a video
-----------------------------------+----------------------------
 Reporter:  Lawrence Rust <lvr@…>  |          Owner:  stichnot
     Type:  Patch - Bug Fix        |         Status:  assigned
 Priority:  minor                  |      Milestone:  unknown
Component:  MythTV - Captions      |        Version:  0.25-fixes
 Severity:  medium                 |     Resolution:
 Keywords:  DVD assert             |  Ticket locked:  0
-----------------------------------+----------------------------

Comment (by danielk):

 Jim, this is a real issue but Lawrence's patch fixes a side effect and not
 the root cause. The problem is that MythUI objects need to be owned by and
 for the most part interacted with only in the main UI thread.

 In this case the objects are probably created in the decoder thread. They
 either need to be created in the UI thread or re-parented to the UI thread
 when the decoder passes them along to the UI thread for rendering. Using
 deleteLater() here might just trade an ASSERT for a memory leak, if the
 thread that created the objects isn't running a Qt event loop.

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


More information about the mythtv-commits mailing list