Bug 808641 - Xorg leaks memory
Summary: Xorg leaks memory
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-server
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-31 00:42 UTC by Jon Dufresne
Modified: 2013-02-26 15:16 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-26 15:16:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Xorg.0.log (59.96 KB, text/plain)
2012-04-28 19:43 UTC, Jon Dufresne
no flags Details
valgrind log (430.27 KB, text/plain)
2012-10-29 08:03 UTC, Paolo Patruno
no flags Details

Description Jon Dufresne 2012-03-31 00:42:14 UTC
Description of problem:
After less than a week of normal desktop usage, my system becomes unresponsive. The computer normally has two users logged into GNOME, simultaneously.

Some diagnostics show that I am running out of memory and much is being swapped.

$ free
             total       used       free     shared    buffers     cached
Mem:       4041160    3929832     111328          0      28804     451696
-/+ buffers/cache:    3449332     591828
Swap:      6160380    2415820    3744560

Upon further investigation, it appears that much of the memory is consumed by the process Xorg. When sorting by memory usages, Xorg is always the first line in top. I am left to conclude that Xorg is leaking some memory, after a week the system becomes unusable.

From top:
PID  USER VIRT  RES  SHR  %MEM TIME      COMMAND
1864 root 3364m 1.4g 4192 35.2 686:12.67 Xorg        

$ uptime
17:36:46 up 4 days, 21:12,  6 users,  load average: 0.04, 0.43, 0.95

Version-Release number of selected component (if applicable):
$ rpm -qa xorg\*
xorg-x11-drv-i128-1.3.4-9.fc16.x86_64
xorg-x11-drv-hyperpen-1.4.1-2.fc16.x86_64
xorg-x11-fonts-ISO8859-2-100dpi-7.5-4.fc15.noarch
xorg-x11-drv-cirrus-1.3.2-10.fc16.x86_64
xorg-x11-drv-nv-2.1.18-8.fc16.x86_64
xorg-x11-drv-fbdev-0.4.2-2.fc16.x86_64
xorg-x11-drv-s3virge-1.10.4-9.fc16.x86_64
xorg-x11-drv-sis-0.10.3-7.fc16.x86_64
xorg-x11-drv-qxl-0.0.21-13.fc16.x86_64
xorg-x11-apps-7.6-2.fc15.x86_64
xorg-x11-drivers-7.4-2.fc15.x86_64
xorg-x11-drv-trident-1.3.4-7.fc16.x86_64
xorg-x11-fonts-ISO8859-15-75dpi-7.5-4.fc15.noarch
xorg-x11-drv-apm-1.2.3-8.fc16.x86_64
xorg-x11-fonts-ISO8859-15-100dpi-7.5-4.fc15.noarch
xorg-x11-server-utils-7.5-7.fc16.x86_64
xorg-x11-drv-vesa-2.3.0-9.fc16.x86_64
xorg-x11-fonts-ISO8859-1-75dpi-7.5-4.fc15.noarch
xorg-x11-xinit-1.3.1-1.fc16.x86_64
xorg-x11-font-utils-7.5-6.fc15.x86_64
xorg-x11-drv-mutouch-1.3.0-2.fc16.x86_64
xorg-x11-fonts-misc-7.5-4.fc15.noarch
xorg-x11-server-Xephyr-1.11.4-2.fc16.x86_64
xorg-x11-drv-siliconmotion-1.7.5-2.fc16.x86_64
xorg-x11-utils-7.5-3.fc16.x86_64
xorg-x11-fonts-ISO8859-9-100dpi-7.5-4.fc15.noarch
xorg-x11-drv-rendition-4.2.4-7.fc16.x86_64
xorg-x11-drv-glint-1.2.5-2.fc16.x86_64
xorg-x11-proto-devel-7.6-12.fc16.noarch
xorg-x11-fonts-ISO8859-1-100dpi-7.5-4.fc15.noarch
xorg-x11-fonts-Type1-7.5-4.fc15.noarch
xorg-x11-drv-ati-6.14.3-4.20120201git36c190671.fc16.x86_64
xorg-x11-drv-ast-0.91.10-7.fc16.x86_64
xorg-x11-drv-v4l-0.2.0-14.fc16.x86_64
xorg-x11-drv-tdfx-1.4.3-9.fc16.x86_64
xorg-x11-xkb-utils-7.5-5.fc16.x86_64
xorg-x11-fonts-ethiopic-7.5-4.fc15.noarch
xorg-x11-fonts-ISO8859-2-75dpi-7.5-4.fc15.noarch
xorg-x11-drv-wacom-0.12.0-1.fc16.x86_64
xorg-x11-drv-mach64-6.9.0-2.fc16.x86_64
xorg-x11-drv-savage-2.3.3-1.fc16.x86_64
xorg-x11-drv-voodoo-1.2.4-7.fc16.x86_64
xorg-x11-drv-vmmouse-12.7.0-2.fc16.x86_64
xorg-x11-xauth-1.0.6-1.fc16.x86_64
xorg-x11-fonts-cyrillic-7.5-4.fc15.noarch
xorg-x11-drv-i740-1.3.2-9.fc16.x86_64
xorg-x11-drv-mga-1.4.13-8.fc16.x86_64
xorg-x11-drv-synaptics-1.5.0-2.fc16.x86_64
xorg-x11-drv-intel-2.17.0-8.fc16.x86_64
xorg-x11-resutils-7.5-2.fc15.x86_64
xorg-x11-drv-keyboard-1.6.0-2.fc16.x86_64
xorg-x11-drv-penmount-1.5.0-3.fc16.x86_64
xorg-x11-drv-elographics-1.3.0-2.fc16.x86_64
xorg-x11-drv-vmware-11.0.3-6.fc16.x86_64
xorg-x11-drv-sisusb-0.9.4-7.fc16.x86_64
xorg-x11-drv-evdev-2.6.99.901-7.20120118git9d9c9870c.fc16.x86_64
xorg-x11-drv-dummy-0.3.4-7.fc16.x86_64
xorg-x11-fonts-ISO8859-14-100dpi-7.5-4.fc15.noarch
xorg-x11-server-Xorg-1.11.4-2.fc16.x86_64
xorg-x11-drv-openchrome-0.2.904-16.fc16.x86_64
xorg-x11-drv-aiptek-1.4.1-2.fc16.x86_64
xorg-x11-drv-void-1.4.0-2.fc16.x86_64
xorg-x11-drv-fpit-1.4.0-2.fc16.x86_64
xorg-x11-fonts-ISO8859-14-75dpi-7.5-4.fc15.noarch
xorg-x11-drv-mouse-1.7.1-2.fc16.x86_64
xorg-x11-fonts-75dpi-7.5-4.fc15.noarch
xorg-x11-drv-nouveau-0.0.16-27.20110720gitb806e3f.fc16.x86_64
xorg-x11-fonts-ISO8859-9-75dpi-7.5-4.fc15.noarch
xorg-x11-server-common-1.11.4-2.fc16.x86_64
xorg-x11-drv-r128-6.8.1-11.fc16.x86_64
xorg-x11-drv-acecad-1.5.0-2.fc16.x86_64
xorg-x11-fonts-100dpi-7.5-4.fc15.noarch


How reproducible:
100% after about 1 week of uptime.

Comment 1 Adam Jackson 2012-04-27 20:45:11 UTC
What driver are you using?

Comment 2 Jon Dufresne 2012-04-28 19:43:09 UTC
> What driver are you using?

Radeon

Comment 3 Jon Dufresne 2012-04-28 19:43:59 UTC
Created attachment 580995 [details]
Xorg.0.log

Comment 4 Lukas Middendorf 2012-06-29 11:29:20 UTC
I'm also seeing Xorg memory leaks on my Fedora 16 machine. 

I'm using KDE plasma desktop. After about a day of usage, X uses several hundred MBs of RAM (can be even several GB), and uses a considerable amount of CPU resources (up to one core) when idle. Several tasks, especially scrolling in evince and displaying the play list of amarok 1.4 becomes really slow.

I'm using a Geforce 8800 GTS. The problem appears with the nvidia driver as well as the nouveau driver, but the memory leak seems to be worse with the nvidia driver than the nouveau driver.

Comment 5 Paolo Patruno 2012-10-29 08:01:12 UTC
I have sistematic memory leak with different computer and driver (radeon and nvidia). I use xorg with audacious audio player with information bar activated (ctrl+shift+I).

xorg-x11-server-Xorg-1.11.4-3.fc16.x86_64

I attach a short valgrind session where I see some memory leak that is possible begin to be important in more long in time session.

Comment 6 Paolo Patruno 2012-10-29 08:03:25 UTC
Created attachment 634908 [details]
valgrind log

Comment 7 Paolo Patruno 2012-11-01 08:13:00 UTC
reported at:

https://bugs.freedesktop.org/show_bug.cgi?id=19200

Comment 8 Fedora End Of Life 2013-01-16 21:04:27 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 9 Lukas Middendorf 2013-01-29 15:21:07 UTC
I'm on Fedora 17 now with a different machine and I'm still seeing a memory leak in X, at least with the nvidia driver. After some days (with suspend to ram during the nights), I have about half a GiB of RAM usage and some tasks (like minimizing and maximizing the thunderbird window) takes more and more time (several seconds). xrestop does not show any unusual resource usage.

Comment 10 Fedora End Of Life 2013-02-26 15:16:44 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.