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

Bug 359199

Summary: "Subversive JDT ignore recommendations" plug-in deadlocks on Eclipse startup
Product: [Technology] Subversive Reporter: Missing name <bubbleguuum>
Component: CoreAssignee: Igor Burilo <igor.burilo>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=505611
Whiteboard:
Attachments:
Description Flags
Thread dump while tasks deadlocked
none
Thread dump while tasks deadlocked 2 none

Description Missing name CLA 2011-09-28 05:29:43 EDT
Build Identifier: 20110916-0149

I'm using Subversive with SVNKit 1.3.3 (issue happen also with 1.3.5).
I'm also using ADT, the Anroid Developer tools to compile my Android projects.

On Eclipse startup, depending on the projects that are actually opened in the workspace, sometimes a deadlock happens resulting in Android task "Android Library Update" getting stuck forever at step "Cleaning Output folders for <project name>", blocking normal eclipse build and further locking the UI if going into certain part of Eclipse such as project properties.

I suspect there is a conflict between ADT initialization tasks and SVN tasks both accessing the filesystem.

I attached 2 thread dumps taken when Eclipse is deadlocked.

From the dumps I suspect the problem is in SVNKit and not in ADT.
If I remove all SVN connectors the problem go away.



Reproducible: Sometimes

Steps to Reproduce:
depends on projects loaded, pointing at a timing-dependent issue. But given the same configuration, happen on each Eclipse startup reliably.
Comment 1 Missing name CLA 2011-09-28 05:30:57 EDT
Created attachment 204155 [details]
Thread dump while tasks deadlocked
Comment 2 Missing name CLA 2011-09-28 05:32:03 EDT
Created attachment 204156 [details]
Thread dump while tasks deadlocked 2
Comment 3 Alexander Gurov CLA 2011-11-14 02:27:57 EST
It seems the real problem in this case is the Subversive-JDT integration, accessing some JDT parts, stalled by the build process.
Comment 4 Alexander Gurov CLA 2011-11-14 04:19:43 EST
Fixed.
Comment 5 Missing name CLA 2011-11-16 12:36:13 EST
Thanks. This was a really annoying problem when it happened.