[mythtv-commits] Ticket #813: LiveTV fails when frontend timesout before backend starts writing

MythTV mythtv at cvs.mythtv.org
Wed Dec 14 19:16:43 EST 2005


#813: LiveTV fails when frontend timesout before backend starts writing
-------------------------------------+--------------------------------------
 Reporter:  nooneimprt4nt at gmail.com  |       Owner:  ijr 
     Type:  defect                   |      Status:  new 
 Priority:  minor                    |   Milestone:      
Component:  mythtv                   |     Version:  head
 Severity:  medium                   |  
-------------------------------------+--------------------------------------
 As per Daniel's request, I'm opening a new ticket, pasting text from #804
 When changing channels (DVB-S) during LiveTV it often takes more than 4
 tries for the frontend to see the file the backend is creating (this may
 be due to having a 98% full EXT3 drive).  When this happens, the frontend
 needs to be restarted to be functional again.  As a temporary solution, I
 have changed the default retries in RingBuffer::OpenFile() to 20, which
 works every time.  I don't know whether this issue is DVB related or not.

 {{{
 2005-12-13 22:12:37.003 Invalid file handle when opening
 /var/lib/mythtv/1110_20051213221236.mpg.  4 retries remaining.
 2005-12-13 22:12:37.505 Invalid file handle when opening
 /var/lib/mythtv/1110_20051213221236.mpg.  3 retries remaining.
 2005-12-13 22:12:37.580 NVP: Prebuffer wait timed out 10 times.
 2005-12-13 22:12:38.007 Invalid file handle when opening
 /var/lib/mythtv/1110_20051213221236.mpg.  2 retries remaining.
 2005-12-13 22:12:38.400 NVP: Prebuffer wait timed out 10 times.
 2005-12-13 22:12:38.512 Invalid file handle when opening
 /var/lib/mythtv/1110_20051213221236.mpg.  1 retries remaining.
 2005-12-13 22:12:39.013 Invalid file handle when opening
 /var/lib/mythtv/1110_20051213221236.mpg.  0 retries remaining.
 2005-12-13 22:12:39.224 NVP: Prebuffer wait timed out 10 times.
 2005-12-13 22:12:39.518 RingBuf(/var/lib/mythtv/1110_20051213221236.mpg)
 Error: File I/O problem in 'safe_read()'
     eno: Bad file descriptor (9)
 2005-12-13 22:12:39.580 RingBuf(/var/lib/mythtv/1110_20051213221236.mpg)
 Error: File I/O problem in 'safe_read()'
     eno: Bad file descriptor (9)
 2005-12-13 22:12:39.642 RingBuf(/var/lib/mythtv/1110_20051213221236.mpg)
 Error: File I/O problem in 'safe_read()'
     eno: Bad file descriptor (9)
 2005-12-13 22:12:39.644 RingBuf(/var/lib/mythtv/1110_20051213221236.mpg)
 Error: File I/O problem in 'safe_read()'
     eno: Bad file descriptor (9)
 2005-12-13 22:12:39.706 RingBuf(/var/lib/mythtv/1110_20051213221236.mpg)
 Error: File I/O problem in 'safe_read()'
     eno: Bad file descriptor (9)
 2005-12-13 22:12:39.768 RingBuf(/var/lib/mythtv/1110_20051213221236.mpg)
 Error: File I/O problem in 'safe_read()'
     eno: Bad file descriptor (9)
 2005-12-13 22:12:40.044 NVP: Prebuffer wait timed out 10 times.
 2005-12-13 22:12:40.864 NVP: Prebuffer wait timed out 10 times.
 2005-12-13 22:12:41.685 NVP: Prebuffer wait timed out 10 times.
 2005-12-13 22:12:42.507 NVP: Prebuffer wait timed out 10 times.
 2005-12-13 22:12:43.327 NVP: Prebuffer wait timed out 10 times.
 ...
 }}}

 Daniel said:
   nooneimprt4nt, I believe you are experiencing a different problem; we
 don't wait for the recorder to begin writing data before setting the
 ringbuffer ready flag, so if it takes longer than the timeout on the
 ringbuffer reads, things go badly. You should open a seperate ticket on
 that problem.

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


More information about the mythtv-commits mailing list