← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 494189] [NEW] memory leak when scrolling windows

 

You have been subscribed to a public bug:

Binary package hint: gdm

Some apps are experiencing issues where memory usage grows wildly when
scrolling in a window. When the total system memory usage grows close to
100%, the app I am scrolling crashes and the memory it once consumed is
returned. Top reports memory belonging to Xorg.

Here is some data about my system:
 * 4GB of memory, only 10% in use after boot and launching normally used apps
 * Kernel is linux-image-generic-pae (although at the time of the bug filing I am using linux-image-generic to see if PAE was the issue)
 * Using Gnome desktop, and problem exists with or without compositing enabled
 * All software is up-to-date as of the time of posting
 * NVidia GeForce 7300 LE, running dual monitors via TwinView

To reproduce, I open gnome-terminal, do something to that generates
enough output to scroll the window, move the scroll bar up and down
repeatedly, memory grows, then it appears to fill physical memory and
then gnome-terminal crashes and then memory is recovered. Under normal
use, it happens in gnome-terminal or Eclipse Galileo within a few hours
of working (I'm a Java developer), and is EXTREMELY frustrating. This
also happened when scrolling in gedit and evince. It did not happen when
scrolling in firefox, gvim, or open office.

A workaround for an unrelated issue with Eclipse to fix an issue with
dialog display resolves the scrolling/memory problem. The workaround was
to set the environment var GDK_NATIVE_WINDOWS=1, which disables client
side windows. This workaround  also resolves the scrolling/memory
problem in all other apps when set properly.

Although I have a working workaround, the bug still exists.

ProblemType: Bug
Architecture: i386
Date: Tue Dec  8 15:29:10 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/sbin/gdm-binary
NonfreeKernelModules: nvidia
Package: gdm 2.28.1-0ubuntu2 [modified: var/lib/gdm/.gconf.defaults/%gconf-tree.xml]
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-16.52-generic
SourcePackage: gdm
Uname: Linux 2.6.31-16-generic i686

** Affects: xorg-server (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: apport-bug i386
-- 
memory leak when scrolling windows
https://bugs.launchpad.net/bugs/494189
You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in ubuntu.