Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324180

Summary: Building workspace 100% never completes
Product: [Technology] Subversive Reporter: Kristen Harum <krh>
Component: CoreAssignee: Igor Burilo <igor.burilo>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: major    
Priority: P2 CC: john.arthorne, js.karra, ob1.eclipse, remy.suen
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Thread Dump none

Description Kristen Harum CLA 2010-09-01 07:50:39 EDT
Build Identifier: I20100608-0911

A fresh Helios installation using Java build 1.6.0_21-b07, Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing, never completes "Building workspace (100%)".

Whether starting Eclipse with the -clean optin makes no difference.
C:\eclipse>eclipse -clean
After some minutes it is stuck, and any attempt to cancelling the operation also hangs forever.

I've been using the same workspace for years, and building completes fine when using Eclipse Galileo.

Some resonings: 
The problem might well reside in my workspace, such that if I started with a fresh workspace the problem would be gone.  But, never-the-less this is a change in behaviour from it's Eclipse predecessors, and such it represents a major obstacle for productivity.  In my opinion, this can be nothing but a bug!

Reproducible: Always

Steps to Reproduce:
1. start Eclipse (-clean)
2. wait some minutes
3. Building workspace (100%) stuck
Comment 1 Remy Suen CLA 2010-09-01 08:20:32 EDT
Please get a thread dump of the Eclipse process when the build appears to be stuck.
http://wiki.eclipse.org/index.php/How_to_report_a_deadlock
Comment 2 Francis Upton IV CLA 2010-10-11 13:22:09 EDT
Please reopen if you can provide a thread dump
Comment 3 Joshua CLA 2011-04-20 03:01:17 EDT
Created attachment 193655 [details]
Thread Dump
Comment 4 Joshua CLA 2011-04-20 03:03:09 EDT
I am facing a similar problem while importing already existing projects into a workspace. Eclipse shows "Building Workspace (100%)" for a long time almost an hour, but never completes.
Comment 5 Oleg Besedin CLA 2011-04-20 10:51:55 EDT
The thread dump looks like there is a deadlock between two Subversion thread - the one running "core" and the thread running Subversion decorator.

Worker-4	Subversion decorator	has the workspace modification lock -> blocked by thread "Worker 1"
Worker-1	Subversion core		waits on the workspace lock
Comment 6 Alexander Gurov CLA 2011-04-24 03:55:32 EDT
This is the Subclipse plug-in issue, so please report it to the Subclipse tracker:

org.tigris.subversion.subclipse.core.status.SynchronizerSyncInfoCache