Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322608 - Eclipse will not start.
Summary: Eclipse will not start.
Status: CLOSED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6   Edit
Hardware: PC Linux-GTK
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 21:12 EDT by Ram CLA
Modified: 2016-10-18 16:00 EDT (History)
2 users (show)

See Also:


Attachments
hs err pid log file when starting eclipse (97.85 KB, text/plain)
2010-09-01 07:36 EDT, Ram CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ram CLA 2010-08-12 21:12:13 EDT
Build Identifier: Helios

OS: Ubuntu 10.04 64 bit. 
Eclipse Helios for RCP/RAP. 
Eclipse has been working for a while. But it will not even start anymore. I get the following when I attempt to open it:
JVM terminated. Exit code=1
/usr/bin/java
-XX:MaxPermSize=512m
-Xms40m
-Xmx512m
-jar /home/ramm/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /home/ramm/eclipse/eclipse
-name Eclipse
--launcher.library /home/ramm/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.0.v20100503/eclipse_1307.so
-startup /home/ramm/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-exitdata 680017
-product org.eclipse.epp.package.rcp.product
-vm /usr/bin/java
-vmargs
-XX:MaxPermSize=512m
-Xms40m
-Xmx512m
-jar /home/ramm/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar 

I have tried to downgrade to JDK 1.5. No luck. Same thing. 

Reproducible: Always

Steps to Reproduce:
1. Latest and greatest Ubuntu 10.04 64 bit with all updates
2. Download Eclipse 
3.Try to start. 
Reason I want this to be major is because it has completely stopped working. Could this be a JVM Issue? If so, what are the workarounds?
Comment 1 Remy Suen CLA 2010-08-13 06:14:51 EDT
If you get a new download does that one work?
http://download.eclipse.org/eclipse/downloads/drops/R-3.6-201006080911/index.php
Comment 2 Ram CLA 2010-08-13 09:01:15 EDT
Same thing:
JVM terminated. Exit code=1
/usr/bin/java
-Xms40m
-Xmx384m
-XX:MaxPermSize=256m
-jar /home/ramm/eclipsenew/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /home/ramm/eclipsenew/eclipse/eclipse
-name Eclipse
--launcher.library /home/ramm/eclipsenew/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.0.v20100503/eclipse_1307.so
-startup /home/ramm/eclipsenew/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-exitdata 8e0015
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx384m
-XX:MaxPermSize=256m
-jar /home/ramm/eclipsenew/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar

Tried with a new workspace. Same Error. 
Removed java completely and re-installed. Same error. 
Removed folder in mozilla and specified a new workspace. Same error. 

Not sure what else is causing it. Any ideas on how to figure out what is going on?
Comment 3 Remy Suen CLA 2010-08-13 09:03:54 EDT
What does 'java -version' show?
Comment 4 Ram CLA 2010-08-13 09:31:31 EDT
This is what I get:

ramm@ramm-laptop:~$ java -version
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)
ramm@ramm-laptop:~$
Comment 5 Remy Suen CLA 2010-08-13 09:42:43 EDT
Does the splash screen come up? Do you get to select a workspace?
Comment 6 Ram CLA 2010-08-13 09:58:24 EDT
Yes. Splash screen shows up. 
Yes. Workspace selection also shows up. 
Progress bar shows up and the various components loading show up. And then I see "loading workbench". At this point, I can tell that the workbench started because it flashes and then I get the error window.
Comment 7 Remy Suen CLA 2010-08-13 10:03:11 EDT
What versions of Firefox/Seamonkey/XULRunner do you have installed?
Comment 8 Ram CLA 2010-08-13 10:29:00 EDT
Firefox version 3.6.8 
Mozilla firefox for ubuntu canonical -1.0

Seamonkey - Not installed. 
XULRunner - 1.9.2 is installed.
Comment 9 Ram CLA 2010-08-13 14:42:49 EDT
More information:
I used eclipse -console -debug to attempt to start it. Here are the results: 

ramm@ramm-laptop:~/eclipse$ ./eclipse -console -debug
Start VM: /usr/bin/java
-Xms40m
-Xmx384m
-XX:MaxPermSize=256m
-jar /home/ramm/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /home/ramm/eclipse/eclipse
-name Eclipse
--launcher.library /home/ramm/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.0.v20100503/eclipse_1307.so
-startup /home/ramm/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-exitdata ad0019
-console
-debug
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx384m
-XX:MaxPermSize=256m
-jar /home/ramm/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar 
Install location:
    file:/home/ramm/eclipse/
Configuration file:
    file:/home/ramm/eclipse/configuration/config.ini loaded
Configuration location:
    file:/home/ramm/eclipse/configuration/
Framework located:
    file:/home/ramm/eclipse/plugins/org.eclipse.osgi_3.6.0.v20100517.jar
Framework classpath:
    file:/home/ramm/eclipse/plugins/org.eclipse.osgi_3.6.0.v20100517.jar
Splash location:
    /home/ramm/eclipse/plugins/org.eclipse.platform_3.6.0.v201006080911/splash.bmp

progname=Eclipse; RGBA=on
Debug options:
    file:/home/ramm/eclipse/.options not found

osgi> Time to load bundles: 6
Starting application: 2956
The program 'Eclipse' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 4629 error_code 8 request_code 154 minor_code 4)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

progname=Eclipse; RGBA=on

Anyone know about this?
Comment 10 Remy Suen CLA 2010-08-13 14:45:13 EDT
What versions of X and GTK+ do you have installed?
Comment 11 Ram CLA 2010-08-13 16:14:04 EDT
X looks like it is 1.7.6. GTK is libgtk2.0-0. 
Please see below. 
Thanks. 
 
ramm@ramm-laptop:~$ X -version

X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-27-server x86_64 Ubuntu
Current Operating System: Linux ramm-laptop 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 05:14:15 UTC 2010 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-24-generic root=UUID=c48db628-0440-4a54-8db3-b51e7b353314 ro vga=786 quiet splash
Build Date: 16 June 2010  09:34:29AM
xorg-server 2:1.7.6-2ubuntu7.2 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.16.4
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
ramm@ramm-laptop:~$ dpkg -s libgtk2.0-0
Package: libgtk2.0-0
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 6476
Maintainer: Ubuntu Desktop Team <ubuntu-desktop@lists.ubuntu.com>
Architecture: amd64
Source: gtk+2.0
Version: 2.20.1-0ubuntu2
Provides: gtk2.0-binver-2.10.0
Depends: libgtk2.0-common, libatk1.0-0 (>= 1.29.3), libc6 (>= 2.11), libcairo2 (>= 1.6.4-6.1), libcups2 (>= 1.4.0), libfontconfig1 (>= 2.8.0), libfreetype6 (>= 2.2.1), libglib2.0-0 (>= 2.23.6), libgnutls26 (>= 2.7.14-0), libgssapi-krb5-2 (>= 1.6.dfsg.2), libjasper1 (>= 1.900.1), libjpeg62, libpango1.0-0 (>= 1.20.0), libpng12-0 (>= 1.2.13-4), libtiff4, libx11-6 (>= 0), libxcomposite1 (>= 1:0.3-1), libxcursor1 (>> 1.1.2), libxdamage1 (>= 1:1.1), libxext6 (>= 0), libxfixes3 (>= 1:4.0.1), libxi6 (>= 0), libxinerama1, libxrandr2 (>= 2:1.2.99.3), libxrender1, zlib1g (>= 1:1.1.4), shared-mime-info
Recommends: hicolor-icon-theme, libgtk2.0-bin
Suggests: librsvg2-common, gvfs
Conffiles:
 /etc/gtk-2.0/im-multipress.conf c358838e1789c1d4e6da7f525fc922cf
Description: The GTK+ graphical user interface library
 The GTK+ is a multi-platform toolkit for creating graphical user
 interfaces. Offering a complete set of widgets, the GTK+ is suitable
 for projects ranging from small one-off tools to complete application
 suites.
 .
 This package contains the shared libraries.
Original-Maintainer: Sebastien Bacher <seb128@debian.org>
Comment 12 Ram CLA 2010-08-31 20:30:39 EDT
Anyone have any ideas? I am stuck.
Comment 13 Remy Suen CLA 2010-08-31 20:34:47 EDT
Do you have any hs_err_pid log files lying around?
Comment 14 Ram CLA 2010-08-31 21:00:29 EDT
Unfortunately, no. Any specific ways you want to me to create them or just use -XX:errorfile=somefile in eclipse.ini?
Comment 15 Remy Suen CLA 2010-08-31 21:07:26 EDT
(In reply to comment #14)
> Any specific ways you want to me to create them or just use
> -XX:errorfile=somefile in eclipse.ini?

Doesn't really matter. Just need one generated for more context.

Are you using GNOME or KDE? Or Fluxbox or something else?
Comment 16 Ram CLA 2010-08-31 21:11:14 EDT
GNOME. 
Let me try to create some logs.
Comment 17 Ram CLA 2010-09-01 07:36:12 EDT
Created attachment 177937 [details]
hs err pid log file when starting eclipse

hs_err_pid log file is attached.
Comment 18 Ram CLA 2010-09-01 07:36:42 EDT
Added hs_err_pid log file.
Comment 19 Remy Suen CLA 2010-09-01 08:13:09 EDT
Comment on attachment 177937 [details]
hs err pid log file when starting eclipse

If you use a 32-bit Eclipse and launch it with a 32-bit JRE, does it run?
Comment 20 Ram CLA 2010-09-01 10:47:31 EDT
Yup. Installed ia32 compat libs. Then installed Java 32-bit manually. Then downloaded Eclipse Helios for J2EE developers and unzipped. 
Added the following in eclipse.ini:
-vm
/opt/java32/jdk1.6.0_21/bin/java

Then started 32 bit eclipse and I have it up and running. 

Any ideas when we can get the 64 bit bug dianosed and/or fixed?
Comment 21 Eric Williams CLA 2016-10-18 16:00:48 EDT
I can't reproduce this issue.