Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341521 - Eclipse hangs when launching the debugger (sometimes...)
Summary: Eclipse hangs when launching the debugger (sometimes...)
Status: CLOSED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-31 12:25 EDT by Ian Bull CLA
Modified: 2011-03-31 14:09 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Bull CLA 2011-03-31 12:25:50 EDT
I've noticed this 3 times in the past two days. I launch the debugger, and Eclipse hangs (on Linux x86 GTK).

I'm using:  I20110322-0800

I got the following stack from jstack:


"main" prio=10 tid=0x098b9c00 nid=0x441a runnable [0xbfe7e000]
   java.lang.Thread.State: RUNNABLE
        at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
        at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8227)
        at org.eclipse.swt.widgets.Display.eventProc(Display.java:1244)
        at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(Native Method)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3204)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
        at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        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:344)
        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:622)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Comment 1 Ian Bull CLA 2011-03-31 14:09:33 EDT
This got to a point where Eclipse was unusable (even hanging on startup). I decided to reboot my machine, and I haven't seen the problem since.  I'm not sure how to explain it, but maybe something (gtk?) was updated at some point.

I'll close this as worksforme, as it now works. If I see it again, I can re-open.