[karmic] eclipse 3.5.1-0ubuntu2 does not start

Bug #448688 reported by Stefan Fleiter
38
This bug affects 6 people
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Fix Released
Undecided
Niels Thykier
Nominated for Karmic by Hans-Dominik

Bug Description

Binary package hint: eclipse

Eclipse does not seem to find a shared library.
See also attached .metadata/.log.

!SESSION 2009-10-10 21:20:33.073 -----------------------------------------------
eclipse.buildId=M20090917-0800
java.version=1.6.0_0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Command-line arguments: -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2009-10-10 21:20:35.973
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: org.eclipse.swt.internal.gtk.OS._gdk_window_restack(JJZ)V
        at org.eclipse.swt.internal.gtk.OS._gdk_window_restack(Native Method)
        at org.eclipse.swt.internal.gtk.OS.gdk_window_restack(OS.java:4900)
        at org.eclipse.swt.widgets.Control.restackWindow(Control.java:3337)
        at org.eclipse.swt.widgets.Control.setZOrder(Control.java:4192)
        at org.eclipse.swt.widgets.Control.setZOrder(Control.java:4130)
        at org.eclipse.swt.widgets.Control.moveAbove(Control.java:1091)
        at org.eclipse.jface.action.StatusLine$StatusLineLayout.layout(StatusLine.java:175)
        at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1428)
        at org.eclipse.swt.widgets.Composite.layout(Composite.java:920)
        at org.eclipse.swt.widgets.Composite.layout(Composite.java:878)
        at org.eclipse.swt.widgets.Composite.layout(Composite.java:841)
        at org.eclipse.jface.action.StatusLineManager.update(StatusLineManager.java:340)
        at org.eclipse.jface.action.StatusLineManager.createControl(StatusLineManager.java:100)
        at org.eclipse.ui.presentations.AbstractPresentationFactory.createStatusLineControl(AbstractPresentationFactory.java:125)
        at org.eclipse.ui.internal.WorkbenchWindow.createStatusLine(WorkbenchWindow.java:3906)
        at org.eclipse.ui.internal.WorkbenchWindow.createDefaultContents(WorkbenchWindow.java:1084)
        at org.eclipse.ui.internal.WorkbenchWindowConfigurer.createDefaultContents(WorkbenchWindowConfigurer.java:625)
        at org.eclipse.ui.application.WorkbenchWindowAdvisor.createWindowContents(WorkbenchWindowAdvisor.java:268)
        at org.eclipse.ui.internal.WorkbenchWindow.createContents(WorkbenchWindow.java:1000)
        at org.eclipse.jface.window.Window.create(Window.java:431)
        at org.eclipse.ui.internal.Workbench$20.runWithException(Workbench.java:1032)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
        at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

ProblemType: Bug
Architecture: amd64
Date: Sun Oct 11 15:10:45 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: eclipse 3.5.1-0ubuntu2
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-13.44-generic
SourcePackage: eclipse
Uname: Linux 2.6.31-13-generic x86_64
XsessionErrors: (polkit-gnome-authentication-agent-1:3448): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

Revision history for this message
Stefan Fleiter (stefan-fleiter) wrote :
Revision history for this message
Benjamin Drung (bdrung) wrote :

Can you run "rm -rf ~/.eclipse" and try again?

Benjamin Drung (bdrung)
Changed in eclipse (Ubuntu):
status: New → Incomplete
Revision history for this message
Stefan Fleiter (stefan-fleiter) wrote :

That does indeed work.
But it is no satisfying solution to have to do this.
Eclipse settings accumulate over time and it does cause quite some work to get them back
to the desired state.

But many thanks nonetheless especially for giving support.
That is very much appreciated!

Revision history for this message
djaara (djaara) wrote :

After Eclipse upgrade, eclipse cannot start.

After removing ~/.eclipse directory, eclipse starts up. After some time, JVM hangs with backtrace in attachement.

ii eclipse 3.5.1-0ubuntu2 Extensible Tool Platform and Java IDE
ii eclipse-jdt 3.5.1-0ubuntu2 Eclipse Java Development Tools (JDT)
ii eclipse-pde 3.5.1-0ubuntu2 Eclipse Plug-in Development Environment (PDE
ii eclipse-platform 3.5.1-0ubuntu2 Eclipse platform without plug-ins to develop
ii eclipse-platform-data 3.5.1-0ubuntu2 Eclipse platform without plug-ins to develop
ii eclipse-plugin-cvs 3.5.1-0ubuntu2 Eclipse Team Integration (CVS support)
ii eclipse-rcp 3.5.1-0ubuntu2 Eclipse Rich Client Platform (RCP)
ii libswt-gtk-3.5-java 3.5.1-0ubuntu2 Standard Widget Toolkit for Java, GTK+ versi
ii libswt-gtk-3.5-jni 3.5.1-0ubuntu2 Standard Widget Toolkit for Java, GTK+ versi

Revision history for this message
djaara (djaara) wrote :

And nearly same for Sun JDK

Revision history for this message
Hans-Dominik (hdm-mail) wrote :

same to me, although tried rm .elipse and workspace but didn't help anything. even reinstalled complete Java env. sunava and removed all other java versions.

getting eclipse from eclipse.org and tried to use this although doesn't work correctly. eclipse udate didn't find any http update sites even the web links are ok

Revision history for this message
Hans-Dominik (hdm-mail) wrote :

--> eclipse -clean -degug -consolelog

ends with an empty smal window

see log attached

Revision history for this message
Louis Simard (louis-simard-deactivatedaccount) wrote :

I have an identical log to the bug reporter's; renaming .eclipse to another name (per comment #2) did make Eclipse work, but lost settings. The window for the appearance of this bug seems to be 2009-10-07 - 2009-10-11.

I'd mark this Confirmed, but I don't know why it's marked Incomplete instead; care to shed some light into this, Benjamin?

Revision history for this message
Benjamin Drung (bdrung) wrote :

Due to my question I set the status to Incomplete. After answering the question the status can be set back to it's previous value.

Changed in eclipse (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Niels Thykier (niels-thykier) wrote :

Hi

Can you please re-try this again with eclipse 3.5.1-0ubuntu3 - again you may have to rename/remove ~/.eclipse (again yes) for it to work.

@djaara: Your crash appears to be different from the original one; though I suspect the solution is the same. Your eclipse uses libraries from two different versions of xulrunner (namely 1.9 and 1.9.1), which is probably the source of your crash. Though if you still experience this problem after this, please file a separate bug.

Thank you in advance,
~Niels

Changed in eclipse (Ubuntu):
assignee: nobody → Niels Thykier (niels-thykier)
status: Confirmed → Incomplete
Revision history for this message
Hans-Dominik (hdm-mail) wrote :

works now fine for me !

unless I'm not able to use the 'Help -> Install New Software' functionality

I've got a pop-up which tells "Cannot complete the request. This installation hast not been configured properly for Software Updates"

Thanks for your support !

Revision history for this message
Benjamin Drung (bdrung) wrote :

@Hans-Dominik: That is fixed in 3.5.1-0ubuntu3.

Revision history for this message
Hans-Dominik (hdm-mail) wrote :

don't know if confusing or helpful

I downloaded eclipse-cpp-galileo-SR1-linux-gtk.tar.gz provided by eclipse.org.

at 'Help -> Install New Software' choosing a update address and wait until download of update information finished, there is no context shown in the "Name/Version" edit field. if I resize the Install Window all the "available Software" Pakages are shown.

although some Push-buttons dont work with a mouse click but work by pressing tab and then using space bar.

trying same in Ubuntu 9.4 works perfect.

Revision history for this message
djaara (djaara) wrote :

@Niels Thykier:

after todays update it seems to work, thanks.

Revision history for this message
Niels Thykier (niels-thykier) wrote :

Alright.

It looks like all the problems here are solved (possible in a later version) or are reported as separate bug. Closing this as fixed.

@Stefan Fleiter: We are trying to minimize the need for "rm'ing" ~/.eclipse, we do not particularly like that neither.

~Niels

Changed in eclipse (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
Philippe Coval (rzr) wrote :

Hi,

Just to tell this bug has been mentionned on android-sdk page :

http://code.google.com/p/android/issues/detail?id=4406

but i dont think this is very informative since eclipse works fine (for me at least),
also w/ android-sdk if installed outside eclipse...

Regards

BTW thanx to the eclipse packagers that release was so awaited

Revision history for this message
Moritz Winter (winter-moritz) wrote :

The problem with the ignored mouseclicks affecting Hans-Dominik (2009-10-16) also affects me

Revision history for this message
Benjamin Drung (bdrung) wrote :

You experience bug #443004, which was already fixed in the Ubuntu package.

halavart (halavart)
Changed in eclipse (Ubuntu):
status: Fix Released → Incomplete
status: Incomplete → Fix Released
Revision history for this message
EzNet (zeroezezero) wrote :

Thank you! Removing .eclipse and WORKSPACE/.metadata made Eclipse work again!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.