[mythtv-commits] Ticket #8952: mythfrontend UI sometimes never paints itself

MythTV mythtv at cvs.mythtv.org
Tue Sep 21 18:47:55 UTC 2010


#8952: mythfrontend UI sometimes never paints itself
---------------------------------------------+------------------------------
 Reporter:  danielk                          |           Owner:  stuartm   
     Type:  defect                           |          Status:  assigned  
 Priority:  major                            |       Milestone:  0.24      
Component:  MythTV - User Interface Library  |         Version:  Trunk Head
 Severity:  medium                           |      Resolution:            
 Keywords:                                   |   Ticket locked:  0         
---------------------------------------------+------------------------------

Comment (by Tomi Orava <tomi.orava@…>):

 Ok, after a quick test the patch does indeed seem to fix the menu display
 problem. I'm still very interested in testing the patch with the MythTV
 server (but have to wait until the morning) as that machine had the worst
 problems.

 I'm also very intested in checking out if this patch actually fixes the
 root cause that resulted all the DVB devices becoming unavailable:

 2010-08-09 19:24:29.672 TVRec(3): ASK_RECORDING 3 29 0 0
 2010-08-09 19:24:30.032 TVRec(2): ASK_RECORDING 2 29 0 0
 2010-08-09 19:24:30.036 TVRec(4): ASK_RECORDING 4 29 0 0
 2010-08-09 19:24:30.050 TVRec(1): ASK_RECORDING 1 29 0 0
 2010-08-09 19:25:02.792 TVRec(1): Changing from RecordingOnly to None
 2010-08-09 19:25:04.447 Finished recording Tulosruutu: channel 4350
 2010-08-09 19:25:04.529 scheduler: Finished recording: Tulosruutu: channel
 4350
 2010-08-09 19:25:05.125 Finished recording Tulosruutu: channel 4350
 2010-08-09 19:25:06.486 TVRec(1): Changing from None to RecordingOnly
 2010-08-09 19:25:06.598 TVRec(1): HW Tuner: 1->1
 2010-08-09 19:25:06.822 DVBSH(/dev/dvb/adapter1/frontend0): Failed to open
 DVR device /dev/dvb/adapter1/dvr0 : Device or resource busy

 The workaround for the above problem was to move the following block to be
 executed before the fork in myth_system_fork():


 {{{
 /* In case we forked WHILE it was locked */
 bool unlocked = verbose_mutex.tryLock();
 verbose_mutex.unlock();
 if( !unlocked )
      VERBOSE(VB_IMPORTANT, "Cleared parent's verbose lock");

 }}}

 Ie. this lock was always hung and it somehow caused all the DVB-recording
 problems.

 I'll report back in a day about the test results.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8952#comment:8>
MythTV <http://www.mythtv.org/>
MythTV Media Center


More information about the mythtv-commits mailing list