Community
Participate
Working Groups
Eclipse crashes wnenever I create a new project. This is the error code it throws after crash: JVM terminated. Exit code=1 /usr/java/j2sdk1.4.1/bin/java -cp /opt/eclipse/startup.jar org.eclipse.core.launcher.Main -os linux -ws gtk -arch x86 -showsplash /opt/eclipse/eclipse -showsplash 600
Please provide the following additional details: - which eclipse build are you running? - which widget toolkit (Motif or GTK), and which version? - is there anything in your .log file (under workspace/.metadata)? - what kind of project are you creating? - at what point does it crash (e.g. when hitting Finish on the new project wizard, do you see any other dialogs)?
I tested it on RedHat 8.0.94 (phoebe-3 beta) and the corresponding RPM packages. 1) eclipse 2.1 RC1, RC2. For your convenience, M5 beta of 2.1 works fine. 2) gtk+-1.2.10-25, gtk2-2.2.1-1 3) A content of the workspace/.metadata log file is the following (every time it happened): java.version=1.4.1_01 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86 -install file:/opt/eclipse/ !ENTRY org.eclipse.ui 4 4 Mar 01, 2003 17:16:12.594 !MESSAGE Could not create view: 'org.eclipse.jdt.ui.PackageExplorer'. !ENTRY org.eclipse.ui 4 4 Mar 01, 2003 17:16:12.599 !MESSAGE Could not create view: 'org.eclipse.jdt.ui.TypeHierarchy'. !ENTRY org.eclipse.ui 4 4 Mar 01, 2003 17:16:13.94 !MESSAGE Unable to find Action Set: org.eclipse.jdt.ui.JavaActionSet !ENTRY org.eclipse.ui 4 4 Mar 01, 2003 17:16:13.96 !MESSAGE Unable to find Action Set: org.eclipse.jdt.ui.JavaElementCreationActionSet !ENTRY org.eclipse.ui 4 4 Mar 01, 2003 17:16:13.98 !MESSAGE Unable to find Action Set: org.eclipse.jdt.debug.ui.JDTDebugActionSet !ENTRY org.eclipse.ui 4 4 Mar 01, 2003 17:16:13.100 !MESSAGE Unable to find Action Set: org.eclipse.jdt.ui.SearchActionSet !ENTRY org.eclipse.ui 4 4 Mar 01, 2003 17:16:13.101 !MESSAGE Unable to find Action Set: org.eclipse.jdt.ui.A_OpenActionSet !ENTRY org.eclipse.ui 4 4 Mar 01, 2003 17:16:13.103 !MESSAGE Unable to find Action Set: org.eclipse.jdt.ui.CodingActionSet 4) Java project 5) I don't remember if it was after clicking finish in the wizard, but during a wizard session for sure
GTK 2.2.1 issue. Sounds similar to bug 34194. The log messages are most likely unrelated, but are unexpected. cc'ing Erich for these.
Can you attach the java core file that was created?
Sorry, I can't find any dumped core in my home dir nor in any other dir (maybe it did not throw any). The problem is probably related to the gtk-2.2.1, because it does not occur in the motif version. The log I included really seems to be unrelated, it concerned the deadlock problem I faced with the GTK release of the eclipse 2.0, I think.
Look for a file called hs_err_pid*.log
What kind of Linux system do you have (Debian, RedHat) and what version? What is the result of "rpm -q atk gtk2 glib pango freetype"? Are you using a theme and if so, what is it?
Created attachment 4064 [details] hs_err_pid16167.log
hs_err_pid*.log should be attached. As for the other questions: 1) Redhat 8.1 beta (8.0.94 phoebe-3 beta) as I said previously 2) The result of your query "rpm -q atk gtk2 glib pango freetype" is the following: atk-1.2.0-2 gtk2-2.2.1-1 glib-1.2.10-10 pango-1.2.1-3 freetype-2.1.3-6 3) I probably do not understand question, but if so, then: eclipse gtk, if you mean desktop env., then kde 3.1 bluecurve (but it's probably not what you are looking for)
Roman, is this bug always reproducible for you ? I mean does it always happens when you try to create a new java project ? *** This bug has been marked as a duplicate of 32204 ***
Always in RC1 and RC2, M5 is ok, as I said.