Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80545 - supertux: Slow Memory Leak
Summary: supertux: Slow Memory Leak
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-02 23:54 UTC by Jason Bucata
Modified: 2005-07-10 18:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Bucata 2005-02-02 23:54:40 UTC
While playing supertux, it slowly consumes more and more memory.  I watch first RAM and then swap space usage slowly grow the longer I play.

After a session of playing in the same processes for some hours:
  RSS    SZ    SZ    VSZ %MEM COMMAND
 1172   617   568   2468  0.2 bash
331104 378723 1506348 1514892 64.2 supertux
331104 378723 1506348 1514892 64.2 supertux
331104 378723 1506348 1514892 64.2 supertux
  676   541   864   2164  0.1 ps -o rss,sz,size,vsz,%mem,args

I quit and relaunch supertux in the same xterm and get:
  RSS    SZ    SZ    VSZ %MEM COMMAND
 1172   617   568   2468  0.2 bash
81088 22848 82848  91392 15.7 supertux
81088 22848 82848  91392 15.7 supertux
81088 22848 82848  91392 15.7 supertux
  676   541   864   2164  0.1 ps -o rss,sz,size,vsz,%mem,args


Reproducible: Always
Steps to Reproduce:
1. Launch supertux.
2. Play for a few hours.
3. Occasionally monitor memory usage with ps, top, etc.

Actual Results:  
Consumed excessive memory.


Expected Results:  
Consumed close to the amount it consumed at startup.


Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 28 2004, 04:26:45)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aac acl acpi alsa apm avi berkdb bitmap-fonts bonobo
bzlib cdr crypt cscope cups esd f77 fam flac font-server foomaticdb fortran gb
gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imlib ipv6 jack java jpeg
libg++ libwww mad maildir matrox mbox memlimit mikmod mmx mmx2 mng motif mozilla
mpeg ncurses nls ofx oggvorbis opengl oss pam pcntl pdflib perl pic png posix
ppds prelude python quicktime readline sdl speex spell sse sse2 ssl svg tcpd
theora tiff truetype truetype-fonts type1-fonts usb videos wmf xine xml xml2
xmms xv xvid zlib video_cards_matrox"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-07-10 18:43:05 UTC
I think this is fixed in 0.1.3.  Reopen if it's still a problem.