[mythtv-commits] Ticket #7988: Deadlock in DVBChannel

MythTV mythtv at cvs.mythtv.org
Sat Jan 30 04:19:02 UTC 2010


#7988: Deadlock in DVBChannel
--------------------------+-------------------------------------------------
 Reporter:  markspieth    |       Owner:  janne  
     Type:  defect        |      Status:  new    
 Priority:  minor         |   Milestone:  unknown
Component:  MythTV - DVB  |     Version:  unknown
 Severity:  medium        |     Mlocked:  0      
--------------------------+-------------------------------------------------

Comment(by markspieth):

 symptom is that the backend stops responding.

 search for
 "this=0xa7ba90|mtx = 0xa7bb5[89]"

 4 threads want this lock. the one that has it is the TVRec::RunTV
 TVRec::StartRecording thread which should be ok
 Expirer thread
 and HttpStatus request handling thread.

 it appears as though the RunTV thread is wating for hwlock but cant get it
 which means one of the other threads may be holding it.

 I suspect DVBChannel hwlock should be inited as QMutex::Recursive
 that should fix this.
 will test but it doesn't happen often so feedback will take a while.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7988#comment:2>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list