[mythtv-commits] Ticket #10771: BE deadlocks after backporting #10541

MythTV noreply at mythtv.org
Tue May 29 19:11:06 UTC 2012


#10771: BE deadlocks after backporting #10541
----------------------------------------+----------------------------
 Reporter:  warpme@…                    |          Owner:  danielk
     Type:  Bug Report - Hang/Deadlock  |         Status:  assigned
 Priority:  major                       |      Milestone:  0.25.1
Component:  MythTV - EIT                |        Version:  0.25-fixes
 Severity:  medium                      |     Resolution:
 Keywords:  EIT                         |  Ticket locked:  0
----------------------------------------+----------------------------
Changes (by danielk):

 * status:  infoneeded => assigned


Comment:

 Thanks.

 Threads 27 and 28 are the main issue here.
 StopActiveScan() in 28 is being run from within the event loop, but thread
 27 was already in SetChannel() and is waiting for the event loop to get to
 the end of the loop. StopActiveScan() is waiting for SetChannel() to
 complete, hence the deadlock.

 Threads 2, 4, 9, 12, 23 and 24 are also blocked on waiting for thread 9
 streamhandler.cpp:159, but I'm treating this as a red herring for now.

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


More information about the mythtv-commits mailing list