Bug 38977

Summary: Deadlock on index manager while shutting down target eclipse
Product: [Eclipse Project] JDT Reporter: Nick Edgar <n.a.edgar>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 3.0 M2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Nick Edgar CLA 2003-06-16 15:46:07 EDT
build I20030611

- launched target eclipse (org.eclipse.ui module in source, rest in binary 
[ensured I had the latest binaries imported])
- exitted
- got the following deadlock (stack traced captured from debugger)

Thread [Java indexing] (Suspended)
	IndexManager(Object).wait(long, int) line: not available [native method]
	IndexManager(Object).wait() line: 193
	IndexManager(JobManager).run() line: 350
	Thread.run() line: 801
Thread [main] (Suspended)
	Thread(Object).wait(long, int) line: not available [native method]
	Thread(Object).wait(long) line: 223
	Thread.join() line: 666
	IndexManager(JobManager).shutdown() line: 416
	IndexManager.shutdown() line: 539
	JavaModelManager.shutdown() line: 1298
	JavaCore.shutdown() line: 3114
	PluginRegistry$2.run() line: 295
	InternalPlatform.run(ISafeRunnable) line: 1006
	PluginRegistry$1.visit(IPluginDescriptor) line: 308
	PluginRegistry.accept(IPluginVisitor, boolean) line: 58
	PluginRegistry.shutdownPlugins() line: 311
	PluginRegistry.shutdown(IProgressMonitor) line: 277
	InternalPlatform.loaderShutdown() line: 630
	Method(AccessibleObject).invokeImpl(Object, Object[], Void) line: not 
available [native method]
	Method(AccessibleObject).invokeV(Object, Object[]) line: 199
	Method.invoke(Object, Object[]) line: 252
	InternalBootLoader.shutdown() line: 1008
	InternalBootLoader.run(String, URL, String, String[], Runnable) line: 
863
	BootLoader.run(String, URL, String, String[], Runnable) line: 461
	Method(AccessibleObject).invokeImpl(Object, Object[], Object) line: not 
available [native method]
	Method(AccessibleObject).invokeL(Object, Object[]) line: 207
	Method.invoke(Object, Object[]) line: 271
	Main.basicRun(String[]) line: 291
	Main.run(String[]) line: 747
	Main.main(String[]) line: 583
Comment 1 Philipe Mulet CLA 2003-06-16 16:23:40 EDT

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