Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Eclipse crashing
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
chiefmonkey
Tux's lil' helper
Tux's lil' helper


Joined: 07 Nov 2004
Posts: 82

PostPosted: Sun Feb 25, 2007 6:28 pm    Post subject: Eclipse crashing Reply with quote

For some reason Eclipse has started to crash on me, I installed a few updates today. At first i thought it was those. However i downloaded a fresh version of eclipse and now it refuses to start.

When the original installed crashes or the new installation fails to start I get the same error

Code:

/usr/lib/jvm/sun-jdk-1.5/bin/java: symbol lookup error: /home/gmclachl/Desktop/eclipse/configuration/org.eclipse.osgi/bundles/81/1/.cp/libswt-mozilla-gcc3-gtk-3236.so: undefined symbol: NS_InitEmbedding


Anyone come across this?

George
Back to top
View user's profile Send private message
chiefmonkey
Tux's lil' helper
Tux's lil' helper


Joined: 07 Nov 2004
Posts: 82

PostPosted: Sun Feb 25, 2007 6:45 pm    Post subject: Reply with quote

It seems that Eclipse 3.2.2 is broken on Gentoo.

The mozilla build on gentoo doesn't seem to be exporting certain symbols required for embedding.

George
Back to top
View user's profile Send private message
flawlessdistortion
n00b
n00b


Joined: 20 Jan 2006
Posts: 18
Location: Chicago

PostPosted: Sun Feb 25, 2007 8:50 pm    Post subject: Reply with quote

Yes, I am having this problem as well... There's quite a bit of chatter about it on different mailing lists, but I haven't come across a solution.
Back to top
View user's profile Send private message
fudge
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2002
Posts: 117

PostPosted: Tue Mar 20, 2007 12:28 pm    Post subject: Reply with quote

I too had this problem as soon as I moved to 3.2.2. Whenever Eclipse did a Javadoc tooltip popup, crash it went. However, with a little snooping and guesswork, I have found a solution that works for me, and it's simple too.

Just set the environment variable MOZILLA_FIVE_HOME to some rubbish, like:
Code:
export MOZILLA_FIVE_HOME=/thisdoesnotexist

and suddenly the crashes stopped.

Fudge
Back to top
View user's profile Send private message
lordcris
Apprentice
Apprentice


Joined: 09 Jul 2002
Posts: 248

PostPosted: Tue Mar 20, 2007 2:49 pm    Post subject: Reply with quote

tnx fudge.
it worked!
Back to top
View user's profile Send private message
m4chine
Apprentice
Apprentice


Joined: 12 Mar 2003
Posts: 271
Location: Ventura, CA, USA

PostPosted: Tue Mar 27, 2007 12:06 am    Post subject: Reply with quote

wow, that is rubish. I wish I would have found this post sooner. Fix worked for me too. Thanks fudge.
_________________
never trust a man who can count to 1023 on his fingers.

-m4chine
Back to top
View user's profile Send private message
bernieb
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2003
Posts: 119

PostPosted: Fri Aug 03, 2007 3:38 pm    Post subject: Reply with quote

I'm having the same problem, however the fix doesn't work for me.

Although eclipse will start up now, it crashes everytime I try to configure a webbrower or even everytime eclipse attempts to draw a pop-up widget (e.g. a code complete widget that provides available methods as you type).

While eclipse does start up, it becomes hardly usable in any manner.

I'm still trying to figure out what the issue is. Eclipse 3.2.2 worked fine on my laptop.

I came across this resource:
http://www.eclipse.org/swt/faq.php#browserlinux

It states:
Quote:

Firefox can be used with Eclipse 3.1 and newer (Linux only), provided that it has been compiled with linkable Gecko libraries. It is important to note that Firefox downloads from mozilla.org currently do not satisfy this criteria, but Firefox installations that are included in major Linux distributions often do in the absence of a XULRunner installation. Attempting to use a statically-linked Firefox install will display the error message "No more handles [NS_InitEmbedding...error -2147221164]".


I was wondering if the firefox installed by portage might be statically linked for some odd reason, but even trying the same firefox version on my laptop, which has eclipse working (i.e. downgrading from 2.0.0.5 to 2.0.0.3) gave the same issue.

Any help with this will be very appreciated.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum