[MPlayer-users] Bug? "Error while reading cmd fd 6"

Greg Bell gregbell at znet.com
Sun Nov 10 23:32:01 CET 2002


> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On Sunday 10 November 2002 21:53, Greg Bell wrote:

not to be a dick, but i read all of that.  i also did a google search.  i 
also greped the entire mplayer distribution.  i see it mentioned in the 
changelog, but then again that doesn't help much since i'm using the 
latest CVS version (20021110).

you can tell i read the bugreports.html because i used it as a template
when i mailed the list.

also, its independent of file, but dependent on LIRC being enabled.

~gb

> > Hi MPlayer folks,
> >
> > With LIRC support compiled and running, mplayer works fine, but barfs
> > this:
> >
> > Error while reading cmd fd 6 : Success
> > Error on cmd fd 6
> 
> 
> Written by Balatoni Denes on 1. November 2002:
> #######################################
> Hi!
> AFAIK this has been solved in cvs.
> 
> Denes
> 
> 2002. november  1. 00:49 dátummal Thilo Schulz ezekkel a bölcs gondolatokkal 
> ajándékozott meg:
> > [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > Hello, I have tried out lirc today with the remote control of my TV card.
> > LIRC is working fine, after some trial and error, then i wanted to test it
> > on mplayer.
> >
> > Mplayer generally works with lirc, but it still has certain issues.
> > When starting up mplayer with lirc enabled, there initially comes following
> >
> > message:
> > > Playing DieFabelhafteWeltDerAmelie.avi
> > > Cache fill:  0.00% (0 bytes)    Error while reading cmd fd 5 : 2 = No
> > > such file or directory
> > > Error on cmd fd 5
> > > Detected AVI file format!
> >
> > I haven't had a closer look on the mplayer, but I assume, that this error
> > has got nothing to do with the cache, but is being generated by another
> > thread ;)
> >
> > Well, that's only the first message, then the video loads up, everything
> > actually works fine, as it seems .. but in the background following message
> > is being created over and over again:
> >
> > Error while reading cmd fd 5 : 0 = Success  2/  2   0%  0%  0.0% 0 0 41%
> > Error on cmd fd 5
> > Error while reading cmd fd 5 : 0 = Success  3/  3   0%  0%  0.0% 0 0 41%
> > Error on cmd fd 5
> > Error while reading cmd fd 5 : 0 = Success  4/  4   0%  0%  0.0% 0 0 99%
> > Error on cmd fd 5
> > Error while reading cmd fd 5 : 0 = Success  5/  5   0%  0%  0.0% 0 0 99%
> > Error on cmd fd 5
> > Error while reading cmd fd 5 : 0 = Success  6/  6   0%  0%  0.0% 0 0 99%
> > Error on cmd fd 5
> > Error while reading cmd fd 5 : 0 = Success  7/  7   0%  0%  0.0% 0 0 99%
> > Error on cmd fd 5
> > Error while reading cmd fd 5 : 0 = Success  8/  8   0%  0%  0.0% 0 0 99%
> > Error on cmd fd 5
> > Error while reading cmd fd 5 : 0 = Success  9/  9   0%  0%  0.0% 0 0 99%
> > Error on cmd fd 5
> > Error while reading cmd fd 5 : 0 = Success 10/ 10   0%  0%  0.0% 0 0 99%
> > Error on cmd fd 5
> > Error while reading cmd fd 5 : 0 = Success 11/ 11   0%  0%  0.0% 0 0 99%
> > Error on cmd fd 5
> > Error while reading cmd fd 5 : 0 = Success 12/ 12   0%  0%  0.0% 0 0 99%
> > Error on cmd fd 5
> > Error while reading cmd fd 5 : 0 = Success 13/ 13   0%  0%  0.0% 0 0 99%
> >
> > And so on .. I think you get the idea. (I have modified the source code a
> > bit to also print out the errno and not only the corresponding string ...
> > it is located in input/input.c line 562 of the mplayer 0.90pre9 source
> > code.)
> >
> > I also fired up gdb and tried to collect some more data for you:
> >
> > ###################################
> > (gdb) bt
> > #0  mp_input_read_cmd (mp_fd=0x82e3140, ret=0xbfffe684) at input.c:562
> > #1  0x0815d774 in mp_input_read_cmds (time=2) at input.c:892
> > #2  0x08082de4 in main (argc=4, argv=0xbffffa04) at mplayer.c:1867
> > #3  0x405234b2 in __libc_start_main () from /lib/libc.so.6
> > (gdb) frame 0
> > #0  mp_input_read_cmd (mp_fd=0x82e3140, ret=0xbfffe684) at input.c:562
> > 562           mp_msg(MSGT_INPUT,MSGL_ERR,"Error while reading cmd fd %d :
> > %d = %s\n",mp_fd->fd, errno, strerror(errno));
> > (gdb) print mp_fd
> > $10 = (struct mp_input_fd *) 0x82e3140
> > (gdb) print *mp_fd
> > $11 = {fd = 6, read_func = 0x815ee20, close_func = 0x815f0a0
> > <mp_input_lirc_close>, flags = 16, buffer = 0x83de440 "HLb at HLb@", pos = 0,
> > size = 256}
> > (gdb) print r
> > No symbol "r" in current context.
> > (gdb) print *ret
> > $12 = 0x0
> > (gdb) print errno
> > $13 = 0
> > ##################################
> >
> > I hope this helps.
> > The commands i assigned are working, at least some .. that means seeking,
> > mute etc. works when i press the appropriate buttons on the remote control,
> > the only thing that also does not work is seeking backwards using lirc ...
> > i checked with "ircat mplayer" - there it is printing the correct command,
> > and seeking forwards works, just not backwards.
> >
> > I doubt it is related with the problem at the top, but I apologize for not
> > doing any further research, my time is also very limited.
> >
> >  - Thilo Schulz
> 
> 

-- 
Greg Bell 858-755-1915    (try gbell at yahoo.com if mail to me bounces)




More information about the MPlayer-users mailing list