[mythtv-commits] Ticket #2335: LiveTV hangs when a recording is finished and a new on starts (no channel change)

MythTV mythtv at cvs.mythtv.org
Wed Jan 10 20:31:35 UTC 2007

#2335: LiveTV hangs when a recording is finished and a new on starts (no channel
 Reporter:  tino.keitel+mythtv at tikei.de  |        Owner:  ijr 
     Type:  defect                       |       Status:  new 
 Priority:  major                        |    Milestone:  0.21
Component:  mythtv                       |      Version:  head
 Severity:  medium                       |   Resolution:      
Comment (by david at hardeman.nu):

 Here's some more information from a log of a failed program transition as
 compared to a successful program transition.

 The successful program transition was at 04:00:00, the failed one was at
 05:00:00. Interesting to note is that the failed one tried to do two
 SwitchLiveTVRingBuffer calls in a row within three seconds (05:00:00 and
 05:00:03), seemingly the second SwitchLiveTVRingBuffer run is executed
 before the first SwitchLiveTVRingBuffer run is allowed to finish.

 Looking at the frontend logs, the frontend then tries to open the file
 associated with the first SwitchLiveTVRingBuffer a couple of seconds later
 (05:00:07) which fails as the backend has already moved on to the second
 file (which has a filename reflecting the later 05:00:03 time).

 I'm trying to get some backtraces and extra debugging information to
 decide why the SwitchLiveTVRingBuffer function is sometimes invoked twice
 and why it is sometimes invoked twice (leading to the frontend failure).

 I've created a html file which compares the frontend and backend logs for
 the successful and unsuccessful runs side-by-side which I'll attach.

Ticket URL: <http://svn.mythtv.org/trac/ticket/2335#comment:20>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list