Bug#673349: xserver-xorg: Memory leak in process /usr/bin/X

2012-06-01 Thread Yasir Assam

I'm still experiencing this bug.

I've offered to diagnose it by running valgrind but I don't know how to 
start kdm under valgrind.


Yasir


Yasir Assam  (18/05/2012):

Over the last week or so I've noticed that /usr/bin/X uses loads of
memory, i.e.

$ ps aux | grep X
root  1558  1.7 74.5 3459428 1535756 tty7  Ssl+ 08:46   1:10 /usr/bin/X :0 
vt7 -br -nolisten tcp -auth /var/run/xauth/A:0-zFHYma

After about an hour of use, it's using around 1.5G. I get to this
point by running KDE, emacs, Konsole and Chromium. If I quit emacs,
Konsole and Chromium, X still uses loads of memory.

Within a couple of hours my system grinds to a halt and I have to
restart X (by restarting kdm)

Wild guess, one of your virtualbox devices (input or video) is doing
that?

Mraw,
KiBi.





--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fc9696d.2040...@gmail.com



Bug#673349: xserver-xorg: Memory leak in process /usr/bin/X

2012-05-18 Thread Yasir Assam

Thank you for your help.

I can't find any relevant bug reports for vbox.

Excuse my ignorance, but how do I run Xorg under valgrind? I normally 
run X via kdm, e.g.

# invoke-rc.d kdm start

Yasir


Yasir Assam  (18/05/2012):

How can I determine if that's the case?

You could try running the same things on another machine with a similar
setup, but with non-vbox drivers.

Alternatively, you could try running Xorg under valgrind and see whether
leaks are happening. You're going to need patience, since things will be
dog-slow. Maybe better to check whether there are already bug reports
against virtualbox talking about memory leaks.

Mraw,
KiBi.





--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fb70321.3040...@gmail.com



Bug#673349: xserver-xorg: Memory leak in process /usr/bin/X

2012-05-18 Thread Yasir Assam

On 18/05/2012 6:25 PM, Cyril Brulebois wrote:

Wild guess, one of your virtualbox devices (input or video) is doing
that?


How can I determine if that's the case?

Yasir




--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fb60910.4090...@gmail.com



Bug#673349: xserver-xorg: Memory leak in process /usr/bin/X

2012-05-17 Thread Yasir Assam
Package: xserver-xorg
Version: 1:7.6+13
Severity: normal

Dear Maintainer,

Over the last week or so I've noticed that /usr/bin/X uses loads of memory, i.e.

$ ps aux | grep X
root  1558  1.7 74.5 3459428 1535756 tty7  Ssl+ 08:46   1:10 /usr/bin/X :0 
vt7 -br -nolisten tcp -auth /var/run/xauth/A:0-zFHYma

After about an hour of use, it's using around 1.5G. I get to this point by 
running KDE, emacs, Konsole and Chromium. If I quit emacs, Konsole and 
Chromium, X still uses loads of memory.

Within a couple of hours my system grinds to a halt and I have to restart X (by 
restarting kdm)

-- Package-specific info:
X server symlink status:

lrwxrwxrwx 1 root root 13 Jan  7  2010 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 2085616 May  7 10:17 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
--
00:02.0 VGA compatible controller [0300]: InnoTek Systemberatung GmbH 
VirtualBox Graphics Adapter [80ee:beef]

Xorg X server configuration file status:

-rw-r--r-- 1 root root 123 Aug 16  2011 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
---
Section "InputDevice"
Identifier  "VBoxMouse"
Driver  "vboxmouse"
Option  "CorePointer"
EndSection

/etc/X11/xorg.conf.d does not exist.

KMS configuration files:

/etc/modprobe.d/i915-kms.conf:
  options i915 modeset=1
/etc/modprobe.d/radeon-kms.conf:
  options radeon modeset=1

Kernel version (/proc/version):
---
Linux version 3.2.0-2-amd64 (Debian 3.2.17-1) (debian-ker...@lists.debian.org) 
(gcc version 4.6.3 (Debian 4.6.3-5) ) #1 SMP Sat May 12 23:08:28 UTC 2012

Xorg X server log files on system:
--
-rw-r--r-- 1 root root 24622 Apr 21  2011 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 29162 May 18 08:47 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
-
[13.285] 
X.Org X Server 1.12.1
Release Date: 2012-04-13
[13.287] X Protocol Version 11, Revision 0
[13.287] Build Operating System: Linux 3.2.0-2-amd64 x86_64 Debian
[13.287] Current Operating System: Linux tiny 3.2.0-2-amd64 #1 SMP Sat May 
12 23:08:28 UTC 2012 x86_64
[13.287] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-2-amd64 
root=UUID=f75741cc-7fee-490e-b935-0a089b27d96b ro quiet
[13.287] Build Date: 07 May 2012  12:15:23AM
[13.287] xorg-server 2:1.12.1-2 (Cyril Brulebois ) 
[13.287] Current version of pixman: 0.24.4
[13.287]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[13.287] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[13.287] (==) Log file: "/var/log/Xorg.0.log", Time: Fri May 18 08:46:45 
2012
[13.341] (==) Using config file: "/etc/X11/xorg.conf"
[13.341] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[13.360] (==) No Layout section.  Using the first Screen section.
[13.360] (==) No screen section available. Using defaults.
[13.360] (**) |-->Screen "Default Screen Section" (0)
[13.360] (**) |   |-->Monitor ""
[13.374] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[13.374] (==) Automatically adding devices
[13.374] (==) Automatically enabling devices
[13.386] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
[13.386]Entry deleted from font path.
[13.387] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[13.387]Entry deleted from font path.
[13.387] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[13.387]Entry deleted from font path.
[13.387] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[13.387]Entry deleted from font path.
[13.415] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[13.415]Entry deleted from font path.
[13.415] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[13.415]Entry deleted from font path.
[13.415] (WW) The directory 
"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[13.415]Entry deleted from font path.
[13.415] (==) FontPath set to:
/usr/share/fonts/X11/Type1,
built-ins
[13.416] (==) ModulePath set to "/usr/lib/xorg/modules"
[13.416] (==) |-->Input Device "VBoxMouse"
[13.416] (==) No Layout section. Using the first core pointer device.
[13.416] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[13.416] (II) Loader magi