[MPlayer-users] Bug: memory leak in MPlayer
roderick Jansen
roderickjansen at hotmail.com
Fri Sep 26 15:56:49 CEST 2003
Hello,
I have found a memory leak in MPlayer. It occurs if you run:
mplayer -vo svga -vf scale=640:480 -playlist playlist
On a FreeBSD 5.1 machine with svgalib 1.4.2
If you run it with -vo null, or with -ao null it will also leak
but if you set BOTH the audio and video output to null, the
leak will be gone. The leak that I am talking about can be
detected by watching the size of the mplayer process
growing each time a new file (playlist entry) is started
After something like 12 hours of playing short (+/- 10 sec)
videoclips it has eaten so much memory that the whole aplication
gets terminated because the system's swapspace is full.
Below there are some more details about my system.
Roderick Jansen
System: FreeBSD 5.1
uname -a:
uname -a
FreeBSD roadrunner.intranet 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Mon Sep 22
17:48:47 CEST 2003
root at roadrunner.intranet:/usr/src/sys/i386/compile/GENERIC i386
-su-2.05b# ls -l /usr/lib/libc[.-]*
-r--r--r-- 1 root wheel 1717558 Jun 5 03:54 /usr/lib/libc.a
lrwxrwxrwx 1 root wheel 9 Sep 22 16:24 /usr/lib/libc.so ->
libc.so.5
-r--r--r-- 1 root wheel 886848 Jun 5 03:54 /usr/lib/libc.so.5
-su-2.05b# X -version
-su: X: command not found
SVGALib version:
1.4.2_1
-su-2.05b# gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.2.2 [FreeBSD] 20030205 (release)
-su-2.05b# ld -v
-su-2.05b# as --version
GNU assembler 2.13.2 [FreeBSD] 2002-11-27
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i386-obrien-freebsd5.0'.
CPU version:
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2399.33-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf27 Stepping = 7
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SS
E2,SS,HTT,TM,PBE>
videocard:
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
(according to DMESG)
Integrated ATI-Rage XL controller with 8MB of SDRAM (According to the Dell
website)
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
More information about the MPlayer-users
mailing list