[mythtv-commits] Ticket #9388: [CRASH] Crash when loading image in background thread

MythTV noreply at mythtv.org
Tue Oct 18 16:20:25 UTC 2011


#9388: [CRASH] Crash when loading image in background thread
---------------------------------------------+----------------------------
 Reporter:  jan@…                            |          Owner:  cpinkham
     Type:  Bug Report - Crash               |         Status:  closed
 Priority:  blocker                          |      Milestone:  0.25
Component:  MythTV - User Interface Library  |        Version:  0.24-fixes
 Severity:  high                             |     Resolution:  fixed
 Keywords:                                   |  Ticket locked:  0
---------------------------------------------+----------------------------
Changes (by Github):

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


Comment:

 Fix a crash caused by background animated image loading.

 The background animated image loader was calling SetImages() which
 triggers non thread-safe routines in MythUI.  Instead of calling
 SetImages() in the background thread, return the image QVector
 in the ImageLoadEvent and set the images and delays in the UI
 thread similar to how we set non-animated images.

 Fixes #9388.

 NOTE: This changes the binary API, so make clean, etc., whatever
 you normally do.
  Branch:    master
  Changeset: 02f8352b91d8f43f39e37e4704edc481ffc1abdd

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


More information about the mythtv-commits mailing list