Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13894 - Eclipse 2.0.2 with Sun JDK 1.4.1_01 hangs on exit & compile
Summary: Eclipse 2.0.2 with Sun JDK 1.4.1_01 hangs on exit & compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Highest critical
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-14 01:10 UTC by Garrick West
Modified: 2003-03-16 20:44 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Garrick West 2003-01-14 01:10:11 UTC
I suspect this is an "Eclipse only" issue, not a build issue, but with 1.4 being
at rc2 already it may be worth looking at.  Here goes: 

REPRO:
Launch Eclipse 2.0.2 with Sun JDK 1.4.1_01 and attempt to compile or simply go
to file->exit to quit.  Either compile or shutdown will start and progress bars
move just fine until they reach the end of the status indicator.  At that point,
your mouse cursor is stuck in "wait".  

NOTES: This seems significant since it happens on exit and build attempts. 
Also, FYI, it's not just the Gentoo package / JDK 1.4.1_01 combo, but the binary
GTK file from www.eclipse.org that does this as well.  Out of curiosity, I
grabbed the Eclipse M4 milestone build (Wed, 18 Dec 2002 -- 13:04 (-0500)) and
that works fine.  Again, this may be more of an "upstream" issue, but
considering the significant impact may be worth noting.  Then again, could just
be my box.

MY BOX: Linux norad.commandline.org 2.4.19-gentoo-r10 #1 Sat Jan 11 16:57:29 PST
2003 i686 AMD Athlon(tm) XP 1800+ AuthenticAMD GNU/Linux
Comment 1 Pat Double 2003-01-20 10:01:13 UTC
Some behavior I've seen: 
 
I have gtk+-1.2 and eclipse 2.0.2, works fine. I upgraded to gtk+2.2.0, exhibits the 
behavior mentioned. I moved back to gtk+-1.2, works fine, moved to gtk+-2.2 again 
and same problem. 
 
A co-worker had eclipse 2.1 (beta) and gtk+-1.2 and had some problems, not sure 
exactly what. He moved to gtk+2.2 and has no problems. 
 
It looks like eclipse 2.0.2 requires gtk+1.2 and eclipse 2.1 requires gtk+2.2 from my 
minimal observations. 
Comment 2 Matthew Kennedy (RETIRED) gentoo-dev 2003-01-20 20:08:27 UTC
I don't follow. Eclipse uses GTK+2.x, not GTK+1.x
Comment 3 Pat Double 2003-01-20 22:27:09 UTC
Sorry... 
 
s/gtk+1.2/gtk+2.1/g 
 
Comment 4 Per Cederberg 2003-01-30 18:25:13 UTC
This issue has been reported by users on other Linux distributions as well. There are two upstream bugs reported on the topic, none of which have been investigated further, as the M4 build resolved the problem. See http://dev.eclipse.org/bugs/show_bug.cgi?id=29001 and
http://dev.eclipse.org/bugs/show_bug.cgi?id=29622 for more information on that.

A good resolution here, as I see it, would be to include masked ebuilds for M4 in portage. That way it is fairly easy to resolve this issue for a user, at least after they have found this bug or other related forum discussions. Bug #7634 is clearly related to this issue.
Comment 5 Matthew Kennedy (RETIRED) gentoo-dev 2003-01-31 11:39:47 UTC
I think you're right. Including M4 in portage would be a solution. I will try to get to this this weekend. 

Matt
Comment 6 Matthew Kennedy (RETIRED) gentoo-dev 2003-02-07 13:04:50 UTC
resolved
Comment 7 Joseph Toth 2003-03-16 20:44:30 UTC
The eclipse crash on progress bar problem has something to do with your theme setup.

My .gtkrc-2.0 looked like the following when I was having the problem:

include "/usr/share/themes/Bluecurve/gtk-2.0/gtkrc"
gtk-font-name = "Verdana 9"

I commented out
#include "/usr/share/themes/Bluecurve/gtk-2.0/gtkrc"
Now, it works fine.