Bug 214015 - [Workbench] Eclipse crashes when saving.
Summary: [Workbench] Eclipse crashes when saving.
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Linux
: P5 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2007-12-29 07:39 EST by darren CLA
Modified: 2009-04-16 14:43 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description darren CLA 2007-12-29 07:39:19 EST
Build ID: M20060921-0945 (Ubuntu version: 3.2.1-0ubuntu3)

Steps To Reproduce:
1.Open eclipse
2.Create or edit a file 
3.Save


More information:
JVM terminated. Exit code=1
/usr/lib/jvm/java-1.5.0-sun/bin/java
-Djava.library.path=/usr/lib/jni
-Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.1/classmap.db
-Dgnu.gcj.runtime.VMClassLoader.library_control=never
-Dosgi.locking=none
-jar /usr/lib/eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /usr/lib/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 350013
-install /usr/lib/eclipse
-vm /usr/lib/jvm/java-1.5.0-sun/bin/java
-vmargs
-Djava.library.path=/usr/lib/jni
-Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.1/classmap.db
-Dgnu.gcj.runtime.VMClassLoader.library_control=never
-Dosgi.locking=none
-jar /usr/lib/eclipse/startup.jar
Comment 1 Remy Suen CLA 2007-12-30 11:09:15 EST
It looks to me as though you have downloaded Eclipse from the Ubuntu repositories. Please download Eclipse from eclipse.org and then try again. Alternatively, please file a bug to the Ubuntu package maintainers.
http://download.eclipse.org/eclipse/downloads/

I'm also seeing some GCJ arguments in that command line invocation which may or may not be affecting the execution of the application. When executing the downloaded Eclipse binary from eclipse.org, please use the -vm argument to ensure that you are using your Sun Java runtime environment to execute Eclipse.

./eclipse -vm /usr/lib/jvm/java-1.5.0-sun/bin/java
Comment 2 Darin Wright CLA 2008-01-02 09:13:14 EST
Moving to UI.
Comment 3 Tod Creasey CLA 2008-01-02 11:00:28 EST
If you could attach the traces that would make it easier for us to determine what is going on
Comment 4 Paul Faria CLA 2008-10-19 21:57:35 EDT
I have the exact same problem on both 32 and 64-bit ubuntu. The steps are exactly the same as below, however I need to save about 3 or 4 times before the crash happens. The following is the output of my error:

JVM terminated. Exit code=1
/usr/lib/jvm/java-6-sun/bin/java
-Djava.library.path=/usr/lib/jni
-Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db
-Dgnu.gcj.runtime.VMClassLoader.library_control=never
-Dosgi.locking=none
-jar /usr/lib/eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /usr/lib/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 37800e
-install /usr/lib/eclipse
-vm /usr/lib/jvm/java-6-sun/bin/java
-vmargs
-Djava.library.path=/usr/lib/jni
-Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db
-Dgnu.gcj.runtime.VMClassLoader.library_control=never
-Dosgi.locking=none
-jar /usr/lib/eclipse/startup.jar 

On a side note: I am working on a python project, and my version of Java is also different from the java version of the person who originally posted this bug report. I'm also going to post a bug report in Ubuntu as well.
Comment 5 Remy Suen CLA 2008-10-20 01:08:15 EDT
(In reply to comment #4)
Hi Paul, where did you download Eclipse? From Eclipse.org? Or from Synaptic? Or elsewhere...?

Thanks.
Comment 6 Paul Faria CLA 2008-10-20 01:10:11 EDT
I downloaded it using apt-get in ubuntu 8.04 in both 32-bit and 64-bit.
Comment 7 Remy Suen CLA 2008-10-20 01:14:59 EDT
(In reply to comment #6)
> I downloaded it using apt-get in ubuntu 8.04 in both 32-bit and 64-bit.

Please see my comment 1 regarding this matter. When downloading a build from Eclipse.org, please make sure that you get a 32-bit build if you're using a 32-bit JRE and likewise, get a 64-bit build if you're using a 64-bit JRE.
Comment 8 Paul Webster CLA 2009-04-16 14:43:47 EDT
If this is still a problem with 3.4.x please re-open with requested info.

PW