[mythtv-commits] Re: Ticket #501: Recording while watching Live TV screws up backend

MythTV mythtv at cvs.mythtv.org
Thu Oct 20 15:04:45 EDT 2005


#501: Recording while watching Live TV screws up backend
------------------------------------------+---------------------------------
 Reporter:  curtis at stanfordcomputing.com  |        Owner:  ijr 
     Type:  defect                        |       Status:  new 
 Priority:  major                         |    Milestone:      
Component:  mythtv                        |      Version:  head
 Severity:  medium                        |   Resolution:      
------------------------------------------+---------------------------------
Changes (by darius at sephs.no-ip.info):

  * version:  => head

Comment:

 Just had the same problem here but with a PVR-250. The file for the show
 gets created but stays at zero length.

 Running SVN 7385, I'll update to latest version tonight and see if it's
 still doing it (and get more verbose logs)

 Backend log
 {{{
 2005-10-20 18:30:02.591 TVRec(1): Changing from WatchingLiveTV to None
 2005-10-20 18:30:02.692 TVRec(1): Changing from None to RecordingOnly
 2005-10-20 18:30:03.854 ret_pid(0) child(20090) status(0x0)
 2005-10-20 18:30:04.876 ret_pid(20090) child(20090) status(0x0)
 2005-10-20 18:30:04.877 External Tuning program exited with no error
 2005-10-20 18:30:05.392 Prog title: Gamer TV
 2005-10-20 18:30:05.592 TVRec(1): Not setting streaming socket live(0)
                         new sock(0) old sock(0xb3d020f0)
 2005-10-20 18:30:05.648 adding: server.sephs.no-ip.info as a client
 (events: 0)

 ### The last line was repeated every few seconds until I killed the
 frontend

 2005-10-20 18:42:09.456 adding: server.sephs.no-ip.info as a client
 (events: 0)
 2005-10-20 18:42:09.842 adding: server.sephs.no-ip.info as a client
 (events: 1)
 2005-10-20 18:42:16.448 Invalid file handle when opening
 /var/mythtv/mythtv/2058
 _20051020183000.mpg.  4 retries remaining.
 2005-10-20 18:42:16.974 Invalid file handle when opening
 /var/mythtv/mythtv/2058
 _20051020183000.mpg.  3 retries remaining.
 2005-10-20 18:42:17.476 Invalid file handle when opening
 /var/mythtv/mythtv/2058
 _20051020183000.mpg.  2 retries remaining.
 2005-10-20 18:42:17.979 Invalid file handle when opening
 /var/mythtv/mythtv/2058
 _20051020183000.mpg.  1 retries remaining.
 2005-10-20 18:42:18.482 Invalid file handle when opening
 /var/mythtv/mythtv/2058
 _20051020183000.mpg.  0 retries remaining.
 2005-10-20 18:42:19.289 NVP::OpenFile(): Error, file not found:
 /var/mythtv/myth
 tv/2058_20051020183000.mpg
 2005-10-20 18:42:19.291 Not enough video to make thumbnail
 2005-10-20 18:42:45.428 TVRec(1): Changing from RecordingOnly to None
 }}}

 Frontend log
 {{{
 2005-10-20 18:30:02.356 Attempting to change from WatchingLiveTV to None
 2005-10-20 18:30:05.596 Changing from WatchingLiveTV to None
 2005-10-20 18:30:05.643 Using protocol version 19
 2005-10-20 18:30:05.674 Attempting to change from None to
 WatchingRecording
 2005-10-20 18:30:05.674 Invalid file handle when opening
 /var/mythtv/mythtv/2058
 _20051020183000.mpg.  4 retries remaining.
 2005-10-20 18:30:06.177 Invalid file handle when opening
 /var/mythtv/mythtv/2058
 _20051020183000.mpg.  3 retries remaining.
 2005-10-20 18:30:06.679 Invalid file handle when opening
 /var/mythtv/mythtv/2058
 _20051020183000.mpg.  2 retries remaining.
 2005-10-20 18:30:07.180 Invalid file handle when opening
 /var/mythtv/mythtv/2058
 _20051020183000.mpg.  1 retries remaining.
 2005-10-20 18:30:07.682 Invalid file handle when opening
 /var/mythtv/mythtv/2058
 _20051020183000.mpg.  0 retries remaining.
 2005-10-20 18:30:08.208 Using protocol version 19
 2005-10-20 18:30:08.239 Attempting to change from None to
 WatchingRecording
 2005-10-20 18:30:08.240 Invalid file handle when opening
 /var/mythtv/mythtv/2058
 _20051020183000.mpg.  4 retries remaining.
 2005-10-20 18:30:08.745 Invalid file handle when opening
 /var/mythtv/mythtv/2058
 _20051020183000.mpg.  3 retries remaining.
 2005-10-20 18:30:09.247 Invalid file handle when opening
 /var/mythtv/mythtv/2058
 _20051020183000.mpg.  2 retries remaining.
 2005-10-20 18:30:09.749 Invalid file handle when opening
 /var/mythtv/mythtv/2058

 ### This sequence repeated until I killed the frontend,
 ### after re-starting and trying to abort the recording...

 2005-10-20 18:42:08.095 All Programs
 2005-10-20 18:42:09.450 Connecting to backend server: 192.168.62.3:6543
 (try 1 o
 f 5)
 2005-10-20 18:42:16.285 Unable to find image file:
 /usr/local/share/mythtv/theme
 s/default/2058_20051020183000.mpg.png
 2005-10-20 18:42:20.569 Attempting to change from None to
 WatchingRecording
 2005-10-20 18:42:20.569 Invalid file handle when opening
 /var/mythtv/mythtv/2058
 _20051020183000.mpg.  4 retries remaining.
 2005-10-20 18:42:21.071 Invalid file handle when opening
 /var/mythtv/mythtv/2058
 _20051020183000.mpg.  3 retries remaining.
 2005-10-20 18:42:21.573 Invalid file handle when opening
 /var/mythtv/mythtv/2058
 _20051020183000.mpg.  2 retries remaining.
 2005-10-20 18:42:22.074 Invalid file handle when opening
 /var/mythtv/mythtv/2058
 _20051020183000.mpg.  1 retries remaining.
 2005-10-20 18:42:22.576 Invalid file handle when opening
 /var/mythtv/mythtv/2058
 _20051020183000.mpg.  0 retries remaining.
 }}}

 At this point both front & back ends lockup and require re-starting.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/501>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list