[mythtv] Ring Buffer problem

oleg reebakov olg75 at hotmail.com
Thu Feb 17 21:34:50 UTC 2005


Hello everybody,

I have downloaded the last CVS version and I have seen the following 
problem:
    While watching live TV the frontend freezes when the size of RingBuffer 
file: ringbuf1.nuv
    comes to its predefined (for example 1G or 5G) size.

As much as I have seen the problem is in  RingBuffer.cpp safe_read(int 
fd,...) function.
At some execution stage the sz (size to read) argument is bigger than 
ringbuf1.nuv file size.

Here is a  small piece of mythbackend.log:
    2005-02-17 22:20:56.588 16      0[]:[]1074042064
    ERROR: file I/O problem in 'safe_read()': Invalid argument
    ERROR: file I/O problem in 'safe_read()': Invalid argument
    ERROR: file I/O problem in 'safe_read()': Invalid argument
    ERROR: file I/O problem in 'safe_read()': Bad address
    ERROR: file I/O problem in 'safe_read()': Bad address
    ERROR: file I/O problem in 'safe_read()': Bad address
    2005-02-17 22:20:56.851 2       -1
    2005-02-17 22:20:56.995 16      0[]:[]1074042064
    ERROR: file I/O problem in 'safe_read()': Invalid argument

BTW: It only happens with MPEG2 PS. Works fine with MPEG2 TS (but in this 
cace FF, REWIND and PAUSE does not work properly).

Does anyone have any idea why this happens.

Best Regards
Nexus

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/



More information about the mythtv-dev mailing list