[mythtv-commits] Ticket #3794: NVP::EnableEdit stuck in loop waiting for GetPause

MythTV mythtv at cvs.mythtv.org
Mon Aug 6 20:43:22 UTC 2007


#3794: NVP::EnableEdit stuck in loop waiting for GetPause
---------------------+------------------------------------------------------
 Reporter:  stuartm  |       Owner:  ijr 
     Type:  defect   |      Status:  new 
 Priority:  minor    |   Milestone:  0.21
Component:  mythtv   |     Version:  head
 Severity:  medium   |     Mlocked:  0   
---------------------+------------------------------------------------------
 When pressing an unknown combination of buttons, possibly including Pause
 and Edit in quick succession I managed to get the frontend stuck in the
 while loop in EnableEdit. We enter a tight usleep loop waiting for
 NVP::GetPause() to be true, but under some condition it seems possible
 that this never happens.

 As a quick and simple fix, we could put a limit on the number of
 iterations after which EnableEdit returns false and we print an error.
 However someone with more interest or time might want to look at a proper
 fix which prevents the underlying condition from occurring.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3794>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list