[mythtv-commits] Ticket #9868: Hang in Live TV channel change

MythTV noreply at mythtv.org
Sun Aug 7 08:55:52 UTC 2011


#9868: Hang in Live TV channel change
---------------------------------------------+----------------------------
 Reporter:  skd5aner <skd5aner@…>            |          Owner:  janne
     Type:  Bug Report - Hang/Deadlock       |         Status:  new
 Priority:  minor                            |      Milestone:  unknown
Component:  MythTV - Video Playback          |        Version:  0.24-fixes
 Severity:  medium                           |     Resolution:
 Keywords:  Live TV, channel changing, hang  |  Ticket locked:  0
---------------------------------------------+----------------------------

Comment (by Ian Dall <ian@…>):

 I can confirm the following behaviour [v0.25pre-2918-g97e478d-dirty]
 (which is dirty because of extra diagnostic messages):
 * LiveTV player timesout. This could be a "bad" channel, no signal, or bug
 in the backend causing it to be unresponsive.
 * The TV object's destructor is called.
 * The GuideGrid object still has a non-null pointer (m_player) to the now
 non existent TV object.
 * Chaos ensues as the m_player pointer is used to access various members
 of the defunct TV object.
 This is consistent with the previously attached gdb.txt. However, I think
 this only explains issues when "Start in Guide" is used.

 I'm attaching a patch. It adds a signal/slot pair so that GuideGrid can be
 notified that m_player is no longer valid. This seems to fix the hang and
 SIGSEGVs but GuideGrid is not longer in Live TV "mode" when it doesn't
 have a player. Really on death of a player it should exit the GuideGrid
 menu. Or perhaps better still, switch to a special player which displays a
 "Not Responding" jpeg.

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


More information about the mythtv-commits mailing list