[MPlayer-users] Very Rare - mplayer exits immediately with End of file when playing something.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Feb 15 16:48:31 CET 2014


On Sat, Feb 15, 2014 at 03:05:07PM +0000, Andy Furniss wrote:
> Reimar Döffinger wrote:
> >On Sat, Feb 15, 2014 at 01:48:47PM +0000, Andy Furniss wrote:
> >>It doesn't seem related to any particular file type - I have seen it on
> >>mpeg2 avc and just plain wav files, but I go to play the file (I may
> >>have already just played it) and mplayer instantly quits just like it
> >>had got to the end. Trying again has always played OK.
> >
> >I'd say MPlayer indeed thinks it reached the end.
> >What cache settings are you using? I think there was a bug similar to
> >that in the cache code for a short while, and you are using a version
> >from October.
> >I'd suggest updating your MPlayer version to see if the issue maybe just
> >disappears.
> 
> I always run svn so generally I am either on or up to maybe a couple
> of weeks behind.
> 
> The latm paste was historic the .ts was today (and yes I am a couple
> of weeks out - time flies)

Sorry, I actually had looked at both and thought they were the same
version number, but I obviously didn't look right.

> I don't have anything in my .mplayer/config so I wasn't and don't
> usually use -cache.

Well, that gives as options:
1) try with -cache
2) try dropping the caches and see if it causes the issue (something
like echo 3 > /proc/sys/vm/drop_caches)

Also would be interesting if it ever happens on formats like mp4 or mkv.
One last thing that might be worth it is running memtest to ensure it's
not a hardware issue.
The number of causes for such "random" behaviour are fairly limited: 
race conditions (which should be unlikely in most of MPlayer code),
uninitialized data (though only if ASLR is enabled) or hardware bugs.
Though the ASLR thing give an idea: you can try compiling with --disable-relocatable
and see if that makes it go away.
However especially for 32 bit builds that is not a very likely cause
(and will be hard to track down and fix).


More information about the MPlayer-users mailing list