Bug 68937

Summary: [index] Eclipse sometimes hangs on shutdown
Product: [Eclipse Project] JDT Reporter: Billy Biggs <billy.biggs>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: john.arthorne, philippe_mulet
Version: 3.0Keywords: needinfo
Target Milestone: 3.1 RC2   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:
Attachments:
Description Flags
Thread dump from the hung eclipse process none

Description Billy Biggs CLA 2004-06-29 17:50:21 EDT
3.0

Eclipse hung on exit when I shut down once today.  The UI was gone and cleaned
up, but the process was still alive and the workspace in use and so I had to
kill it manually.  I could not reproduce the problem.  I will post the full
thread dump.

"System Bundle Shutdown" prio=1 tid=0x087f5a28 nid=0x3b0c in Object.wait()
[5aede000..5aede854]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x463f2a18> (a java.lang.Thread)
        at java.lang.Thread.join(Thread.java:1001)
        - locked <0x463f2a18> (a java.lang.Thread)
        at java.lang.Thread.join(Thread.java:1054)
        at
org.eclipse.jdt.internal.core.search.processing.JobManager.shutdown(JobManager.java:416)
        at
org.eclipse.jdt.internal.core.JavaModelManager.shutdown(JavaModelManager.java:1833)
        at org.eclipse.jdt.core.JavaCore.stop(JavaCore.java:3601)
        at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:990)
        at
org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:502)
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.stop(AbstractBundle.java:437)
        at
org.eclipse.core.runtime.adaptor.BundleStopper.basicStopBundles(BundleStopper.java:75)
        at
org.eclipse.core.runtime.adaptor.BundleStopper.stopBundles(BundleStopper.java:62)
        at
org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStopping(EclipseAdaptor.java:551)
        at
org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:457)
        - locked <0x45b0aed8> (a org.eclipse.osgi.framework.internal.core.Framework)
        at
org.eclipse.osgi.framework.internal.core.SystemBundle$1.run(SystemBundle.java:182)
        at java.lang.Thread.run(Thread.java:534)
Comment 1 Billy Biggs CLA 2004-06-29 17:50:47 EDT
Created attachment 12896 [details]
Thread dump from the hung eclipse process
Comment 2 John Arthorne CLA 2004-06-30 12:06:47 EDT
It looks like the Java indexer thread is not correctly shutting down.
Comment 3 Frederic Fusier CLA 2004-10-28 12:43:32 EDT
*** Bug 76704 has been marked as a duplicate of this bug. ***
Comment 4 Philipe Mulet CLA 2005-04-07 08:04:43 EDT
Does this still happen in 3.1m6 ? If so, pls reopen.
Note: we made improvements a while ago in this area.
Comment 5 Frederic Fusier CLA 2005-06-08 05:51:04 EDT
Close at no more info on this issue. Consider that improvements done in this
area have fixed this issue.
Comment 6 Denis Roy CLA 2009-08-30 02:05:24 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.