[mythtv-commits] Ticket #2668: Possible race condition / endless loop when going to Program Guide from LiveTV

MythTV mythtv at cvs.mythtv.org
Thu Nov 9 07:36:01 UTC 2006


#2668: Possible race condition / endless loop when going to Program Guide from
LiveTV
----------------------------------+-----------------------------------------
 Reporter:  mythtv at vulturest.com  |       Owner:  ijr    
     Type:  defect                |      Status:  new    
 Priority:  minor                 |   Milestone:  unknown
Component:  mythtv                |     Version:  0.20   
 Severity:  medium                |  
----------------------------------+-----------------------------------------
 Hi guys,

 For a number of weeks now I have been experiencing a problem whereby every
 time I try to enter the program guide from LiveTV I get an endless loop of
 what looks like a video initialisation race condition of some kind.

 I see a flipping and flickering between a black screen and the blue
 MythCenter background and then a possible number of things could happen:
   1. The looping happens for a number of seconds and then I see the
 program guide without a
      preview video which almost always results in more endless looping
 when I exit the guide,
   2. The looping continues indefinitely until I kill the mythfrontend
 process,
   3. The frontend seg faults (rare),
   4. I get "Error encountered displaying video" (also rare).

 That's about the best I can do to explain it.

 The attached backtrace is from the 'middle' of the endless loop, after a
 number of threads have been spawned (numerous threads spawn and die during
 the looping. but I suspect that's the video system trying to start /
 display the preview video). I tried to CTRL-C after a bunch of threads had
 started.

 I'm no expert at interpreting the backtrace, but I see a number of mutex
 waits around that could indicate race condition.

 Perhaps if someone asks the right questions I'll be able to supply a
 better description, as I'm aware that this all very vague.

 I normally use XVMC, but have tried with Standard and the same problem
 occurs.

 Regards,

 Johan.

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


More information about the mythtv-commits mailing list