Bug 16008 - Hang during shutdown
Summary: Hang during shutdown
Status: RESOLVED DUPLICATE of bug 15857
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-14 23:06 EDT by Tim Francis CLA
Modified: 2002-05-15 05:03 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 Tim Francis CLA 2002-05-14 23:06:45 EDT
During the headless workbench, JDT hung during shutdown.  Looks like the 
threads are deadlocked.

Full thread dump Classic VM (J2RE 1.3.1 IBM Windows 32 build cn131-20020403, 
native threads):
    "Java indexing" (TID:0x9A8D30, sys_thread_t:0x13449968, state:CW, native 
ID:0xB8C) prio=4
	at 
org.eclipse.jdt.internal.core.search.indexing.AddJarFileToIndex.execute
(AddJarFileToIndex.java:152)
	at org.eclipse.jdt.internal.core.search.processing.JobManager.run
(JobManager.java:314)
	at java.lang.Thread.run(Thread.java:512)
    "Finalizer" (TID:0x901900, sys_thread_t:0x890938, state:CW, native 
ID:0xC30) prio=8
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:133)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:148)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:213)
    "Reference Handler" (TID:0x901948, sys_thread_t:0x881948, state:CW, native 
ID:0xC2C) prio=10
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:429)
	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:131)
    "Signal dispatcher" (TID:0x901990, sys_thread_t:0x8538A0, state:R, native 
ID:0xC40) prio=5
    "main" (TID:0x9019D8, sys_thread_t:0x7B0CB0, state:CW, native ID:0xBFC) 
prio=5
	at java.lang.Thread.sleep(Native Method)
	at 
org.eclipse.jdt.internal.core.search.processing.JobManager.discardJobs
(JobManager.java(Compiled Code))
	at org.eclipse.jdt.internal.core.search.processing.JobManager.shutdown
(JobManager.java:346)
	at org.eclipse.jdt.internal.core.search.indexing.IndexManager.shutdown
(IndexManager.java:442)
	at org.eclipse.jdt.internal.core.JavaModelManager.shutdown
(JavaModelManager.java:1330)
	at org.eclipse.jdt.core.JavaCore.shutdown(JavaCore.java:1834)
	at org.eclipse.core.internal.plugins.PluginRegistry$2.run
(PluginRegistry.java:268)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:802)
	at org.eclipse.core.internal.plugins.PluginRegistry$1.visit
(PluginRegistry.java:281)
	at org.eclipse.core.internal.plugins.PluginRegistry.accept
(PluginRegistry.java:45)
	at org.eclipse.core.internal.plugins.PluginRegistry.shutdownPlugins
(PluginRegistry.java:284)
	at org.eclipse.core.internal.plugins.PluginRegistry.shutdown
(PluginRegistry.java:250)
	at org.eclipse.core.internal.runtime.InternalPlatform.loaderShutdown
(InternalPlatform.java:496)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.internal.boot.InternalBootLoader.shutdown
(InternalBootLoader.java:831)
	at org.eclipse.core.boot.BootLoader.shutdown(BootLoader.java:470)
	at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.shutdown
(BatchDeploy.java:164)
	at com.ibm.etools.ejbdeploy.EJBDeploy.shutdown(EJBDeploy.java:364)
	at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:90)
	at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:302)
Comment 1 Tim Francis CLA 2002-05-14 23:07:31 EDT
(This was observed on the 0508 build)
Comment 2 Philipe Mulet CLA 2002-05-15 05:03:02 EDT
This is a duplicate of bug 15857, fixed into integration build 20020514.
A patch for this is available on JDT/Core dev resources page:

http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/jdt-core-
home/org.eclipse.jdt.core-STABLE.zip

*** This bug has been marked as a duplicate of 15857 ***