Community
Participate
Working Groups
I executed a profile that included installing bundles. Oomph completed the install and prompted me to restart but the Eclipse instance never came back. It looks like the following thread was blocking the shutdown: pre. "Framework stop" #69 prio=6 os_prio=31 tid=0x0000000106888000 nid=0xa93b in Object.wait() [0x0000000127656000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:502) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:200) - locked <0x00000007970555b0> (a org.eclipse.swt.widgets.RunnableLock) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4721) at org.eclipse.oomph.ui.UIUtil.syncExec(UIUtil.java:320) at org.eclipse.oomph.setup.ui.recorder.RecorderManager$Lifecycle.stop(RecorderManager.java:278) at org.eclipse.oomph.setup.ui.SetupUIPlugin$Implementation.stop(SetupUIPlugin.java:383) at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827) at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820) at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950) at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324) at org.eclipse.osgi.container.Module.doStop(Module.java:626) at org.eclipse.osgi.container.Module.stop(Module.java:488) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542) - locked <0x0000000740d3bce8> (a java.lang.Object) at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248) at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145) at org.eclipse.osgi.container.Module.doStop(Module.java:626) at org.eclipse.osgi.container.Module.stop(Module.java:488) at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186) at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160) at java.lang.Thread.run(Thread.java:745) Full thread dump attached.
Created attachment 249861 [details] stack dump
I suspect that bug 448860 is the root cause. Nevertheless I'm going to take some action in Oomph's RecorderManager to avoid such deadlocks...
Committed: http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/commit/?id=6a737ba9ae931e920619c2af7e7a915057db6cd2
*** Bug 449979 has been marked as a duplicate of this bug. ***