[MPlayer-users] mplayer fills memory when fed a single .sub (vobsub) file

Mihalis Pitidis el01707 at mail.ntua.gr
Wed Mar 1 00:57:14 CET 2006


Hello,
when I accidentaly run mplayer with a single .sub file as input (the one 
that comes along with .idx files, vobsub), I noticed that it run until I 
was out of memory and the kernel had to kill the process. I managed to 
reproduce this on another system with relatively recent cvs, and I also 
tried to run latest cvs on gdb.

Reproduced on:
Debian amd64 unstable
Linux 2.6.15.4lap #1 PREEMPT Mon Feb 13 04:47:35 EET 2006 x86_64 GNU/Linux
Mplayer dev-CVS-060301-00:28-4.0.3 (C) 2000-2006 MPlayer Team
AMD Turion(tm) 64 Mobile Technology ML-37
libc-2.3.6.so
gcc (GCC) 4.0.3 20060128 (prerelease) (Debian 4.0.2-8)
GNU ld version 2.16.91 20060118 Debian GNU/Linux
GNU assembler 2.16.91 20060118 Debian GNU/Linux
----------------------------------------------------------------------
Debian i386 3.1 (sarge)
Linux 2.6.15.amd #1 PREEMPT Mon Jan 9 19:42:07 EET 2006 i686 GNU/Linux
MPlayer dev-CVS-060128-02:40-3.3.5 (C) 2000-2006 MPlayer Team
AMD Athlon(tm) XP 1800+
libc-2.3.2.so
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
GNU ld version 2.15
GNU assembler 2.15

with 2 different .sub files that I tried. In both cases the process 
filled up all of my RAM (1gb/512mb) and then my swap (500mb/1gb) before 
the kernel killed it. A friend failed to reproduce the problem with 
MPlayer 1.0pre7try2-3.4.5:

[01:14] <@Nuclear> Playing file.sub.
[01:14] <@Nuclear> demux: File doesn't contain the selected audio or 
video stream.
[01:14] <@Nuclear> MPEG: Missing video stream!? Contact the author, it 
may be a bug :(
[01:14] <@Nuclear> libavformat file format detected.
[01:14] <@Nuclear> LAVF: no audio or video headers found - broken file?
[01:14] <@Nuclear> Exiting... (End of file)

gdb output, config.mak and config.h for the amd64 version can be found 
at http://users.ntua.gr/el01707/mplayer_memleak.tar.bz2 along with a 
sample .sub file. Hope I didn't miss something too obvious :)




More information about the MPlayer-users mailing list