[Pkg-xfce-devel] Bug#734526: Bug#734526: lightdm-gtk-greeter: leaking memory

Yves-Alexis Perez corsac at debian.org
Tue Jan 7 21:36:02 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Tue, Jan 07, 2014 at 09:49:48PM +0100, Zlatko Calusic wrote:
> Package: lightdm-gtk-greeter
> Version: 1.6.1-4
> Severity: normal
> 
> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> root     27352  0.2  0.8 143040 36104 tty7     Ss+  17:25   0:22 /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
> lightdm  27370  0.4  0.6 401064 26404 ?        Ssl  17:25   0:45 /usr/sbin/lightdm-gtk-greeter
> 
> An hour later...
> 
> root     27352  0.2  0.9 145452 38476 tty7     Ss+  17:25   0:30 /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
> lightdm  27370  0.4  0.6 402252 27460 ?        Ssl  17:25   1:01 /usr/sbin/lightdm-gtk-greeter
> 
> That's about +1MB RSS per hour for lightdm-gtk-greeter, and about +2MB RSS per
> hour for X. Last time I went on a 2 week vacation, when I returned greeter had
> half a gig RSS. Forgot to screenshot it.
> 
> To make matters worse, X is not releasing allocated memory after login. It
> persists until the end of the session, when it is finally restarted.
> 
> I tried reverting to the default theme (Adwaita), but it doesn't change a
> thing (still leaks).
> 
> Finally, CPU usage is also a bit problematic. I suspect it is somehow connected
> to the memory leak. Eventhough 0.2 - 0.4% CPU is not much, it's still unexpected
> for a display manager. Not to mention that it doesn't allow CPU on an otherwise
> dormant machine to go to deep sleep and probably wastes a lot of power.

Can you provide a valgrind log? See
http://valgrind.org/docs/manual/quick-start.html

Regards,
- -- 
Yves-Alexis Perez
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBCgAGBQJSzHM+AAoJEG3bU/KmdcClQpUH/3rxN9WXeu97WazgsXdlHi1+
v/p6txTuAXZYWona/Ehka/8JYYf6W62Q6bgFSwPCVMagY5IGZYzWjkD3DBGtDn42
O91WCJ844QkAztqYOqqpUEFWuUmD7dafosaF5RFu5ZmnGfjN8CLrkv+kK7B9R0/F
IoG1rsrnTbzYE/Xx+yviwLG3vkBs3iK3YWmoAnYYcJM7nxyYAQmosjihSa2MEqzP
XCGBz1DDo3kqjC37aoHofnY0KFQC7CgYgNsxwEtioghINJRZ1jcUBwS00uRmMvgA
passHc0CIizTJQRtK03gv7NxL2gDtEifvNH1RmDJ8deO99NduoaxFoFoc9cSI78=
=aFK8
-----END PGP SIGNATURE-----



More information about the Pkg-xfce-devel mailing list