[mythtv-commits] Ticket #6719: Add channel change monitoring into the signal monitor

MythTV mythtv at cvs.mythtv.org
Tue Nov 10 17:59:00 UTC 2009


#6719: Add channel change monitoring into the signal monitor
------------------------------+---------------------------------------------
 Reporter:  jppoet@…          |       Owner:  danielk 
     Type:  patch             |      Status:  assigned
 Priority:  minor             |   Milestone:  unknown 
Component:  MythTV - General  |     Version:  unknown 
 Severity:  medium            |     Mlocked:  0       
------------------------------+---------------------------------------------

Comment(by Johnny Stenback <mythtv@…>):

 For the record, the patch I just attached fixes a reproducible deadlock in
 channel-thread-v1.4a.patch. The deadlock comes from a thread deadlocking
 on attempting to re-lock pendingRecLock, which is non-recursive. This is
 the stack for the deadlock:

 #3  0x0683e982 in QMutex::lock() () from /usr/lib/libQtCore.so.4
 #4  0x08075ffc in QMutexLocker::relock (this=0xad9f3828)
     at /usr/include/QtCore/qmutex.h:120
 #5  0x08075f7d in QMutexLocker::QMutexLocker (this=0xad9f3828,
 m=0x8358904)
     at /usr/include/QtCore/qmutex.h:102
 #6  0x00fe0352 in TVRec::RecordPending (this=0x8358870, rcinfo=0xa85bd590,
     secsleft=-1, hasLater=false) at tv_rec.cpp:383
 #7  0x00fe1fa1 in TVRec::CancelNextRecording (this=0x8358870, cancel=true)
     at tv_rec.cpp:480
 #8  0x0807de73 in EncoderLink::CancelNextRecording (this=0x8387150,
     cancel=true) at encoderlink.cpp:587
 #9  0x080cb925 in MainServer::HandleRecorderQuery (this=0x8389180,
     slist=@0xad9f40a0, commands=@0xad9f4098, pbs=0x8384428)
     at mainserver.cpp:3468
 ...

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


More information about the mythtv-commits mailing list