Bug 36698 - CPU Peg in early releases of GTK 2.2.1
Summary: CPU Peg in early releases of GTK 2.2.1
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Felipe Heidrich CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 24762 36109 37731 37800 38390 39016 39256 39585 39732 41406 45197 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-04-21 10:15 EDT by Felipe Heidrich CLA
Modified: 2003-11-10 11:09 EST (History)
11 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felipe Heidrich CLA 2003-04-21 10:15:37 EDT
In the first releases of GTK 2.2.1 there is a bug in the gtk_tree_view which 
causes eclipse to hang and several situations. (examples: Bug#31525, Bug#36429, 
etc).

This bug will not be fixed or worked-around by SWT code since it was already 
fixed in GTK.  Therefore those who are having this bugs will need to 
update/patch their GTK lib.

Here is how to update gtk:
RedHat)
8.0 - uses GTK 2.0.6, therefore doesn't have the bug.
8.1 - uses GTK 2.2.1-1 - Has the bug - the fix is to update to Redhat 9.0
9.0 - uses GTK 2.2.1-4 - The bug is fixed in this version.

Mandrake)
9.0 - uses GTK 2.0.6, therefore doesn't have the bug.
9.1 - uses GTK 2.2.1-mdk2, has the bug. Need to update to gtk-2.2.1-mdk3, for 
instructions refer to:
http://qa.mandrakesoft.com/show_bug.cgi?id=3761
Bug#36429.

Suse)
8.1 - uses GTK 2.0.6, therefore doesn't have the bug.
8.2 - untested

Source)
If you have download the source (ftp://ftp.gtk.org/pub/gtk/v2.2/), compiled, 
and installed it HAS the bug. In this case you will need to apply a patch, re-
compile and re-install GTK.
The patch is available in http://bugzilla.redhat.com/bugzilla/attachment.cgi?
id=90407&action=view
For more info refer to:
Bug#31525
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=85317
http://bugzilla.gnome.org/show_bug.cgi?id=106311
Comment 1 Felipe Heidrich CLA 2003-04-21 10:46:20 EDT
closing bug.
Comment 2 Tod Creasey CLA 2003-04-28 10:55:54 EDT
*** Bug 24762 has been marked as a duplicate of this bug. ***
Comment 3 Felipe Heidrich CLA 2003-05-20 11:11:54 EDT
*** Bug 37800 has been marked as a duplicate of this bug. ***
Comment 4 Felipe Heidrich CLA 2003-06-04 13:06:13 EDT
*** Bug 38390 has been marked as a duplicate of this bug. ***
Comment 5 Daniel Steudel CLA 2003-06-16 10:41:20 EDT
*** Bug 37731 has been marked as a duplicate of this bug. ***
Comment 6 Luc Bourlier CLA 2003-06-16 11:21:39 EDT
I fixed the problem on my machine on Mandrake 9.1 by updating GTK to 2.2.2-mkd1.
See my comment on the bug in the Mandrake bugzilla.
Comment 7 Felipe Heidrich CLA 2003-06-18 12:47:30 EDT
*** Bug 39016 has been marked as a duplicate of this bug. ***
Comment 8 Felipe Heidrich CLA 2003-06-23 12:52:29 EDT
SuSE 8.2 also has the bug. 

I've entered a problem report againt SuSE already. Right now I running eclipse 
on top of GTK 2.2.2 which I have to download and compile.

Here is the procedure I used to install GTK 2.2.2 (as root):
cd /usr/local/src/
wget ftp://ftp.gtk.org/pub/gtk/v2.2/atk-1.2.4.tar.bz2
wget ftp://ftp.gtk.org/pub/gtk/v2.2/glib-2.2.2.tar.bz2
wget ftp://ftp.gtk.org/pub/gtk/v2.2/pango-1.2.3.tar.bz2
wget ftp://ftp.gtk.org/pub/gtk/v2.2/gtk+-2.2.2.tar.bz2
tar xjvf atk-1.2.4.tar.bz2 
tar xjvf glib-2.2.2.tar.bz2 
tar xjvf gtk+-2.2.2.tar.bz2 
tar xjvf pango-1.2.3.tar.bz2 
cd glib-2.2.2/
./configure --prefix=/usr/local/gtk-2.2.2/
make
make install
cd ../atk-1.2.4/
export PKG_CONFIG_PATH=/usr/local/gtk-2.2.2/lib/pkgconfig/
export LD_LIBRARY_PATH=/usr/local/gtk-2.2.2/lib/
./configure --prefix=/usr/local/gtk-2.2.2/
make
make install
cd ../pango-1.2.3/
./configure --prefix=/usr/local/gtk-2.2.2/
make
make install
cd ../gtk+-2.2.2/
./configure --prefix=/usr/local/gtk-2.2.2/
make 
make install

For every terminal to run eclipse on top GTK 2.2.2 prior running 
eclipse I need to execute:
export LD_LIBRARY_PATH=/usr/local/gtk-2.2.2/lib/
otherwise eclipse run on top of default version of gtk2 in the system.

Comment 9 Felipe Heidrich CLA 2003-06-25 17:47:49 EDT
From bug#38301:

"Contacted Per, followed his instructions and they seem to fix this problem as
well as the freaky scroll bars.

FOR GENTOO USERS:
To solve this and a number of other GTK-related problems, please install gtk+
2.2.1-r1 or later.  You may need to accept the ~x86 keyword to get the newer GTK
to install.  The following code snippet takes care of it all (thanks to Per
Cederberg):

#> ACCEPT_KEYWORDS="~x86"; emerge gtk+-2.2.1-r1
"
Comment 10 Andreas Kuckartz CLA 2003-06-26 07:08:39 EDT
Since about yesterday SuSE provides an upgrade to GTK 2.2.1-77 (installed was 
2.2.1-29).

So far the problem mentioned in Bug 33679 does not have reoccured.
Comment 11 Felipe Heidrich CLA 2003-07-07 11:29:25 EDT
*** Bug 36109 has been marked as a duplicate of this bug. ***
Comment 12 Felipe Heidrich CLA 2003-07-08 10:45:15 EDT
*** Bug 39585 has been marked as a duplicate of this bug. ***
Comment 13 Felipe Heidrich CLA 2003-07-08 11:15:03 EDT
*** Bug 39732 has been marked as a duplicate of this bug. ***
Comment 14 Veronika Irvine CLA 2003-07-23 12:16:08 EDT
*** Bug 39256 has been marked as a duplicate of this bug. ***
Comment 15 Silenio Quarti CLA 2003-10-02 23:33:35 EDT
*** Bug 41406 has been marked as a duplicate of this bug. ***
Comment 16 Grant Gayed CLA 2003-11-10 11:09:15 EST
*** Bug 45197 has been marked as a duplicate of this bug. ***