Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324180 - Building workspace 100% never completes
Summary: Building workspace 100% never completes
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: Subversive
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 major (vote)
Target Milestone: ---   Edit
Assignee: Igor Burilo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-01 07:50 EDT by Kristen Harum CLA
Modified: 2011-04-24 03:55 EDT (History)
4 users (show)

See Also:


Attachments
Thread Dump (19.66 KB, text/plain)
2011-04-20 03:01 EDT, Joshua CLA
no flags Details

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