Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338101

Summary: Freshly downloaded Eclipse 3.6.1 fails to start on Ubuntu. 3.7Msomething works fine.
Product: [Eclipse Project] Platform Reporter: Krzysztof Daniel <krzysztof.daniel>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: blocker    
Priority: P3 CC: grant_gayed, krzysztof.daniel, remy.suen
Version: 3.6.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Krzysztof Daniel CLA 2011-02-24 10:22:46 EST
The output is:

kdaniel@kdaniel-ThinkCentre-A52:~/eclipses/eclipse$ ./eclipse -debug -console
Start VM: /usr/bin/java
-Xms40m
-Xmx384m
-XX:MaxPermSize=256m
-jar /home/kdaniel/eclipses/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-os linux
-ws gtk
-arch x86
-showsplash
-launcher /home/kdaniel/eclipses/eclipse/eclipse
-name Eclipse
--launcher.library /home/kdaniel/eclipses/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.1.R36x_v20100810/eclipse_1309.so
-startup /home/kdaniel/eclipses/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-exitdata 5f0012
-debug
-console
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx384m
-XX:MaxPermSize=256m
-jar /home/kdaniel/eclipses/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar 
Install location:
    file:/home/kdaniel/eclipses/eclipse/
Configuration file:
    file:/home/kdaniel/eclipses/eclipse/configuration/config.ini loaded
Configuration location:
    file:/home/kdaniel/eclipses/eclipse/configuration/
Framework located:
    file:/home/kdaniel/eclipses/eclipse/plugins/org.eclipse.osgi_3.6.1.R36x_v20100806.jar
Framework classpath:
    file:/home/kdaniel/eclipses/eclipse/plugins/org.eclipse.osgi_3.6.1.R36x_v20100806.jar
/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so
Comment 1 DJ Houghton CLA 2011-02-24 10:27:16 EST
Potentially related to bug 152527 where there were similar problems on Suse?
Comment 2 Grant Gayed CLA 2011-03-09 08:59:52 EST
To confirm, you're running 32-bit eclipse on 64-bit linux, right?  This is not invalid, but requires that 32-bit versions of all dependent libraries be installed, and it looks like the failure is happening because it's trying and failing to load a 64-bit version of libgvfsdbus.so.

You say that a 3.7 milestone works for you, is it a 32- or 64-bit eclipse?
Comment 3 Krzysztof Daniel CLA 2011-03-09 09:21:03 EST
Grant,
yes, it is 32 bit eclipse on 64 bit system.
I thought it would work out of the box as when using Windows.
Comment 4 Grant Gayed CLA 2011-03-09 09:32:03 EST
It should work, as long as the machine has the required 32-bit libraries installed.  I'm just wondering about why a 3.7M build works for you while 3.6.1 doesn't.  If your 3.7M build is also 32-bit then it would seem that something has changed in swt to fix this (in which case this report can be closed since the 3.6.x stream is now finished).  If your 3.7M build is 64-bit then this may be the cause of it working better for you.
Comment 5 Grant Gayed CLA 2011-04-14 16:40:48 EDT
Closing report since this is working the 3.7 stream, and the 3.6 stream is now closed.  If there's a problem in 3.7 then please reopen, thanks.