Bug 68937 - [index] Eclipse sometimes hangs on shutdown
Summary: [index] Eclipse sometimes hangs on shutdown
Status: CLOSED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: 3.1 RC2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
: 76704 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-29 17:50 EDT by Billy Biggs CLA
Modified: 2009-08-30 02:05 EDT (History)
2 users (show)

See Also:


Attachments
Thread dump from the hung eclipse process (6.98 KB, text/plain)
2004-06-29 17:50 EDT, Billy Biggs CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.