Bug 304703

Summary: eclipse europa crashes on startup
Product: [openSUSE] openSUSE 10.3 Reporter: Michael Schneider <michaelschneider>
Component: JavaAssignee: E-mail List <bnc-team-java>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: coolo, felix, joachim.goeschel, zooey
Version: Beta 2   
Target Milestone: ---   
Hardware: 64bit   
OS: openSUSE 10.3   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: bug report generated from pop-up at crash

Description Michael Schneider 2007-08-26 15:20:47 UTC
Hardware:

asus p5k premium
Q6600
4gb memory
nvidia 7300
latest nvidia drivers installed

suse 10.3 beta 2 
java 1.5 (from install)





I downloaded eclipse 3.3 europa, and it crashed on startup.

I then set the environment variable

scmikes@dhcppc4:/scratch/scmikes/bin/eclipse>  export LIBXCB_ALLOW_SLOPPY_LOCK=1

scmikes@dhcppc4:/scratch/scmikes/bin/eclipse> eclipse
glibtop: cannot find btime in /proc/stat: Resource temporarily unavailable

A pop-up occured, and asked to save bug report. (I attached the bug report)


-------------------- eclipse/configuration/???.log------------------

scmikes@dhcppc4:/scratch/scmikes/bin/eclipse/configuration> cat 1188140978812.log
!SESSION 2007-08-26 11:09:38.618 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2007-08-26 11:09:38.999
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:72)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
scmikes@dhcppc4:/scratch/scmikes/bin/eclipse/configuration>
Comment 1 Michael Schneider 2007-08-26 15:22:20 UTC
Created attachment 159882 [details]
bug report generated from pop-up at crash
Comment 2 Felix Möller 2007-08-27 08:57:00 UTC
have you downloaded eclipse from the official homepage or from the openSUSE repository?

The official openSUSE packages at least start but will crash later ( see #293439 )
Comment 3 Michael Schneider 2007-08-27 15:02:55 UTC
Good question, this download was from the eclipse site.

It is the eurpo  j2ee version. 

Thanks for the reference to the other bug #
Comment 4 Christian Prause 2007-08-28 16:49:49 UTC
From what i see in your log snippets you are running x86_64. 
Where did you find a x86_64 J2EE Europe Package on Eclipse.org?

I can only see eclipse-jee-europa-linux-gtk.tar.gz which fails with:


!ENTRY org.eclipse.osgi 4 0 2007-08-28 18:16:52.655
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: no swt-gtk-3346 or swt-gtk in swt.library.path, java.library.path or the jar file
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:219)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:151)
        at org.eclipse.swt.internal.C.<clinit>(C.java:21)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
....

On ß2 With java-1_5_0-sun-1.5.0_update12-18

When i use eclipse-SDK-3.3-linux-gtk-x86_64.tar.gz

It seems i run into bug #293439. It starts but crashes later :-(

With Eclipse from the openSUSE RPMs i see bug #305452
Comment 5 Felix Möller 2007-09-21 19:54:37 UTC
How far does it get with current factory, Michael?
Comment 6 Michael Schneider 2007-09-22 17:50:28 UTC
I am downloading RC1,  I will try it out as soon as I get it installed.

Thanks
Mike
Comment 7 Joachim Goeschel 2007-10-02 16:03:48 UTC
I am running openSUSE-10.3-GM-x86-64 (found a mirror that had it last nite) and installed Eclipse 3.3 and the CDT via the usual OSS repository.

It crashes right at startup and gives me the little error message seen in previous bug reports

JVM terminated. Exit code=13
/usr/lib64/jvm/java-1.6.0.u1-sun-1.6.0.u1/jre/bin/java
-jar /usr/share/eclipse/./plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar
-os linux
-ws gtk
-arch x86
-showsplash
-launcher /usr/lib/eclipse/eclipse
-name Eclipse
--launcher.library /usr/lib/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.0.v20070606/eclipse_1017a.so
-startup /usr/share/eclipse/./plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar
-exitdata b8005 
-vm /usr/lib64/jvm/java-1.6.0.u1-sun-1.6.0.u1/jre/bin/java
-vmargs
-jar /usr/share/eclipse/./plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar 
Comment 8 Oliver Tappe 2007-10-22 20:04:07 UTC
Using openSUSE-10.3-x86-64, I experienced what might be the same crash whenever I started eclipse (the 3.3-SUSE-packages, with java-1.6 installed).

I noticed that eclipse would work when started from a root-shell, but crashed only when invoked by my default user.

When I compared env-vars, I noticed that the default user has GTK_MODULES set, root does not. After I had removed GTK_MODULES from the environment, eclipse started to work.

Michael, if you are still seeing the crashes, could you please try if that fixes things for you, too?

cheers,
    Oliver
Comment 9 Stephan Kulow 2007-11-25 09:08:06 UTC
I don't think the info is needed anymore
Comment 10 Ales Nosek 2008-09-24 09:33:49 UTC
Well, I'm sorry but I cannot support Eclipse builds from eclipse.org.

I tested Eclipse 3.4 in upcoming openSUSE 11.1. It's very stable. Please, upgrade your distribution after 11.1 is released.