[Bug 544179] New: Xorg memory leak with PyTraffic
http://bugzilla.novell.com/show_bug.cgi?id=544179 Summary: Xorg memory leak with PyTraffic Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: x86 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: mjan96@gmail.com QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3) Gecko/20090909 SUSE/3.5.3-1.3 Firefox/3.5.3 Almost every move in PyTraffic game makes Xorg allocate memory (500kB - 1MB). This memory is not freed even after PyTraffic exists. Reproducible: Always Steps to Reproduce: 1. run PyTraffic 2. do several move 3. watch Xorg memory consumption 4. exit PyTraffic Actual Results: memory consumption of Xorg constantly grows; also, xrestop shows growth in pxms field (by about 150 per move), but not in "pxm mem" field. Exiting PyTraffic frees very little memory. Expected Results: Xorg memory consumption should not grow (but that might be PyTraffic's or some library's fault). Memory should be freed after exiting PyTraffic. independent of graphical card driver (tried openchrome and vesa)
rpm -qa | grep xorg xorg-x11-libxkbfile-7.4-5.6.i586 xorg-x11-libXpm-7.4-5.6.i586 xorg-x11-libICE-7.4-6.8.i586 xorg-x11-libX11-7.4-11.15.i586 xorg-x11-xauth-7.4-33.2.i586 xorg-x11-Xvnc-7.4-56.1.i586 xorg-x11-driver-video-7.4-83.3.i586 xorg-x11-libXmu-7.4-5.6.i586 xorg-x11-libXprintUtil-7.4-5.6.i586 xorg-x11-libXdmcp-7.4-5.7.i586 xorg-x11-libs-7.4-24.2.i586 xorg-x11-server-7.4-56.1.i586 xorg-x11-driver-video-radeonhd-1.2.5_20090914_37ccdde-1.4.i586 xorg-x11-server-rdp-7.3.99-5.16.i586 xorg-x11-libxcb-7.4-10.6.i586 xorg-x11-libXrender-7.4-5.6.i586 xorg-x11-libXv-7.4-5.6.i586 xorg-x11-fonts-core-7.4-4.14.noarch xorg-x11-7.4-33.2.i586 xorg-x11-driver-video-unichrome-20090829-1.3.i586 xorg-x11-driver-video-openchrome-svn782-15.2.i586 xorg-x11-libXau-7.4-5.6.i586 xorg-x11-libfontenc-7.4-5.6.i586 xorg-x11-libSM-7.4-6.3.i586 xorg-x11-libXext-7.4-6.6.i586 xorg-x11-libX11-ccache-7.4-1.115.i586 xorg-x11-driver-input-7.4-38.2.i586 xorg-x11-libXt-7.4-5.7.i586 xorg-x11-libXfixes-7.4-5.6.i586 xorg-x11-libXp-7.4-5.6.i586 xorg-x11-driver-virtualbox-ose-3.0.6-5.2.i586
rpm -qa |grep pytraffic pytraffic-2.5.4-0.pm.2.i586
rpm -q pytraffic -R rpmlib(VersionedDependencies) <= 3.0.3-1 python >= 2.6 python < 2.7 python >= 2.3 python-pygame python-gtk >= 2.4 SDL SDL_mixer rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 /bin/sh libSDL-1.2.so.0 libSDL_mixer-1.2.so.0 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libpthread.so.0 libpython2.6.so.1.0 rpmlib(PayloadIsLzma) <= 4.4.2-1
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544179 User sndirsch@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544179#c1 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |sndirsch@novell.com Info Provider| |mjan96@gmail.com --- Comment #1 from Stefan Dirsch <sndirsch@novell.com> 2009-10-04 04:16:37 MDT --- Thanks. Where can I download the pytraffic RPM? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544179 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544179 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-xorg-bugs@forge.pr |sndirsch@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544179 User mjan96@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544179#c2 Marek Jančuška <mjan96@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|mjan96@gmail.com | --- Comment #2 from Marek Jančuška <mjan96@gmail.com> 2009-10-10 02:55:48 MDT --- RPM can be downloaded from packman http://packman.links2linux.de/package/pytraffic . Source code is at http://alpha.uhasselt.be/Research/Algebra/Members/pytraffic/pytraffic-2.5.4t... Running this source code in OpenSUSE Factory causes the Xorg leak (Xorg version 1.6.4). But I also tried running the source code in Ubuntu 9.10, and there was no memory leak in Xorg (version 1.6.0). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544179 User sndirsch@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544179#c3 --- Comment #3 from Stefan Dirsch <sndirsch@novell.com> 2009-10-10 03:47:27 MDT --- Can't reproduce that issue. Neither I see any changes in pxms/pxm mem fields for pytraffic in xrestop nor do I see any relevant change in X.Org memory consumption when doing any game move. Additional memory used for pixmaps in Xorg is freed when exiting the game. I've been using the "sources" that you've mentioned above. I've been testing on openSUSE 11.1 with the latest X.Org packages installed from 11:XOrg buildservice project. On intel 945GM hardware (UXA, KMS). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544179 User sndirsch@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544179#c4 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mjan96@gmail.com --- Comment #4 from Stefan Dirsch <sndirsch@novell.com> 2009-10-10 04:45:56 MDT --- Which graphics chip and driver are you using? Maybe I can reproduce on a similar system ... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544179 User mjan96@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544179#c5 --- Comment #5 from Marek Jančuška <mjan96@gmail.com> 2009-10-10 12:46:45 MDT --- Created an attachment (id=321938) --> (http://bugzilla.novell.com/attachment.cgi?id=321938) Xorg log (crash) on Intel 945GM -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544179 User mjan96@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544179#c6 --- Comment #6 from Marek Jančuška <mjan96@gmail.com> 2009-10-10 12:49:55 MDT --- I am using VIA P4M890, driver openchrome. But I was able to reproduce this in VirtualBox with OpenSUSE 11.2 Milestone 8 LiveCD (openSUSE-KDE4-LiveCD-Build0308-i686.iso). This should rule out all hardware and version differences. But unfortunately the leak doesn't occur always. Sometimes everything is ok (xorg memory is constant) until something happens (don't know what) and then every move in game causes Xorg memory consumption growth. I also tried on Intel 945GM, same 11.2 MIlestone 8 LiveCD, Xorg memory consumption grew and after some 30 moves Xorg crashed. I attach Xorg.log. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544179 User sndirsch@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544179#c7 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|mjan96@gmail.com | --- Comment #7 from Stefan Dirsch <sndirsch@novell.com> 2009-10-10 12:54:41 MDT --- Weird. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544179 User sndirsch@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544179#c8 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |INVALID --- Comment #8 from Stefan Dirsch <sndirsch@novell.com> 2009-10-14 07:44:45 MDT --- On openSUSE 11.2-x86_64 with radeonhd driver I can reproduce part of the issue. xrestop shows growth in pxms field with every move, but not in "pxm mem" field. Memory consumption of Xorg process increases as well, but once pytraffic is terminated the additional used memory in Xorg for pytraffic is freed again completely. Thus for me this looks like more an application or python bug. I suggest to report it usptream on http://alpha.uhasselt.be/Research/Algebra/Members/pytraffic/ first. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com