X leaks memory while team fortress 2 is running in wine

Bug #494064 reported by Azelphur
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

While i have team fortress 2 running, even if it's just sitting idle at the menu, X continually leaks memory. Here's some examples from top

Just after restarting X, and starting TF2:
  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
18952 cshadowr 20 0 3440m 696m 45m R 16 8.7 0:33.55 hl2.exe
16685 root 20 0 694m 85m 22m S 0 1.1 0:37.16 Xorg

After leaving it overnight:
  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
18952 cshadowr 20 0 3367m 696m 45m S 15 8.7 97:40.81 hl2.exe
16685 root 20 0 1907m 1.3g 23m S 0 16.2 12:16.79 Xorg

I have 8GB of RAM, so 16.2% is about 1.3GB of RAM for Xorg. On occasions i've seen it go up to 80, 90%, making the computer eventually just freeze.

Closing team fortress 2 does not free the memory and X still leaks regardless of if compiz is running.

I know that it may be team fortress 2, wine, or X that is causing the problem. But as it's X that is actually leaking, i figured i would file a bug against X.

Thanks :)

ProblemType: Bug
Architecture: amd64
Date: Tue Dec 8 15:12:14 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/Xorg
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: System manufacturer System Product Name
NonfreeKernelModules: nvidia
Package: xserver-xorg-core 2:1.6.4-2ubuntu4.1
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-16-generic root=UUID=d977fb45-95d4-435c-badb-70a8bfb80985 ro quiet splash
ProcEnviron:
 LANG=en_GB.UTF-8
 PATH=(custom, no user)
ProcVersionSignature: Ubuntu 2.6.31-16.52-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu10
 libgl1-mesa-glx 7.6.0-1ubuntu4
 libdrm2 2.4.14-1ubuntu1
 xserver-xorg-video-intel 2:2.9.0-1ubuntu2
 xserver-xorg-video-ati 1:6.12.99+git20090929.7968e1fb-0ubuntu1
SourcePackage: xorg-server
Uname: Linux 2.6.31-16-generic x86_64
dmi.bios.date: 02/25/2008
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: ASUS STRIKER II FORMULA ACPI BIOS Revision 1101
dmi.board.name: STRIKER II FORMULA
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: 1.XX
dmi.chassis.asset.tag: 123456789000
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvrASUSSTRIKERIIFORMULAACPIBIOSRevision1101:bd02/25/2008:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnSTRIKERIIFORMULA:rvr1.XX:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: x86_64kernel: 2.6.31-16-generic

Revision history for this message
Azelphur (azelphur) wrote :
Bryce Harrington (bryce)
Changed in xorg-server (Ubuntu):
status: New → Confirmed
Revision history for this message
Nickolai Toupikov (nickolaitoupikov) wrote :

I am having the issue with some other wine 3D apps (SpellForce, Majesy for example ).
It easily gets over 1GB after some use(1.3 is the highest i saw), and does not get released after the apps are closed.

i am using 64-bit 9.10 version with a Nvidia 8400MGT card

I get the(unconfirmed) feeling that it also happens, albeit more slowly, in "normal" use. compiz is not active.

Bryce Harrington (bryce)
tags: added: karmic
Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automatic notification.]

Hi CShadowRun,

This bug was reported against an earlier version of Ubuntu, can you
test if it still occurs on Lucid?

Please note we also provide technical support for older versions of
Ubuntu, but not in the bug tracker. Instead, to raise the issue through
normal support channels, please see:

    http://www.ubuntu.com/support

If you are the original reporter and can still reproduce the issue on
Lucid, please run the following command to refresh the report:

  apport-collect 494064

If you are not the original reporter, please file a new bug report, so
we can work with you as the original reporter instead (you can reference
bug 494064 in your report if you think it may be related):

  ubuntu-bug xorg

If by chance you can no longer reproduce the issue on Lucid or if you
feel it is no longer relevant, please mark the bug report 'Fix Released'
or 'Invalid' as appropriate, at the following URL:

  https://bugs.launchpad.net/ubuntu/+bug/494064

Changed in xorg-server (Ubuntu):
status: Confirmed → Incomplete
tags: added: needs-retested-on-lucid-by-june
Revision history for this message
Azelphur (azelphur) wrote :

This appears to be fixed in lucid, left TF2 running all night and X is only using 3% :)

Revision history for this message
Alistair Buxton (a-j-buxton) wrote :

I also find that this bug does not happen in Lucid. I used to see Xorg using up to 10gb under Karmic when using 3D apps with Nvidia 190. Now in Lucid it stays at normal levels.

Azelphur (azelphur)
Changed in xorg-server (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.