Bug#627007: Severe "Processor Leak" when Pointer is on GTK/GDK Window

Elliott Mitchell ehem at m5p.com
Tue May 17 00:35:41 UTC 2011


Package: libgtk2.0-0
Version: 2.20.1-2
Severity: important

Seems a rather serious processor consumption bug appeared in the
libgtk2.0-0 package somewhere between versions 2.12.12-1~lenny2 and
2.20.1-2.

I'm unsure whether any special configuration is required to tweak this.
The only thing that comes to mind is I've got the traditional
FocusFollowsMouse, and for the moment metacity is my window manager. This
might also require a computer with a single processor (I suspect not, but
I could be wrong; at a minimum multiple cores would likely make this less
noticable). The steps are simple to reproduce, start one of the many
effected programs. When the mouse cursor is over the program's window the
program, X-server and window manager will all be fighting to reach 100%
processor utilization. Move the mouse cursor off the window, even if the
window retains focus, processor utilization will drop to idle.

This effects nearly every package that links to libgtk/libgdk, including:
(but not limited to)

abiword
galculator
epiphany-browser
gnome-terminal
gxine
wireshark
xsane

I've managed to find a *small* number of programs that are not effected,
and some with more complicated behavior. The only two I've found that
appear completely immune are gnome-panel and iceweasel. galeon displays
this behavior when the pointer is over the menus, but not when the
pointer is over the central browser portion of the window. I'm theorizing
galeon handles all drawing in the central area, whereas epiphany-browser
may create a GTK canvas widget and allow GTK/GDK to wrap all X
interactions.

I'd have to rate this as pretty severe given the number of packages hurt
by this (the above list isn't even close to exhaustive).


-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         EHeM at gremlin.m5p.com PGP F6B23DE0         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
2477\___\_|_/DC21 03A0 5D61 985B <-PGP-> F2BE 6526 ABD2 F6B2\_|_/___/3DE0








More information about the pkg-gnome-maintainers mailing list