Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333526 - Deadlock while starting Eclipse (stuck at "Initializing Java Tooling (1%)" forever)
Summary: Deadlock while starting Eclipse (stuck at "Initializing Java Tooling (1%)" fo...
Status: CLOSED DUPLICATE of bug 327801
Alias: None
Product: WTP Common Tools
Classification: WebTools
Component: wst.common (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: 3.2.3   Edit
Assignee: Jason Sholl CLA
QA Contact: Carl Anderson CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-04 21:59 EST by eclipse CLA
Modified: 2011-01-05 11:33 EST (History)
1 user (show)

See Also:


Attachments
Thread dump while Eclipse is sitting and spinning. (31.83 KB, text/plain)
2011-01-04 22:01 EST, eclipse CLA
no flags Details
Another thread dump, this time with jstack -l (32.20 KB, text/plain)
2011-01-04 22:18 EST, eclipse CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description eclipse CLA 2011-01-04 21:59:31 EST
Build Identifier: 20100917-0705

Following plugins are installed:

Subclipse 1.6.16
m2eclipse 0.12
m2eclipse-extras 0.12
Code Collaborator 4.0.864

3 Tasks are running: 
Configuring org.eclipse.jst.j2ee.internal.web.container
Initializing JavaScript Tooling
Loading Web Service DOM (Waiting)

No progress is made, no matter how long I wait.  eclipse -clean is unhelpful.

Will attach thread dump.

Reproducible: Always

Steps to Reproduce:
Install plugins above.
Try to start Eclipse.
Comment 1 eclipse CLA 2011-01-04 22:01:12 EST
Created attachment 186064 [details]
Thread dump while Eclipse is sitting and spinning.
Comment 2 eclipse CLA 2011-01-04 22:18:32 EST
Created attachment 186066 [details]
Another thread dump, this time with jstack -l
Comment 3 eclipse CLA 2011-01-04 22:26:16 EST
If I run dtruss on the eclipse process, it just reports gettimeofday calls by the thousands.  (ie, it looks like it's just spinning, chewing CPU like crazy.)
Comment 4 Carl Anderson CLA 2011-01-05 09:22:33 EST
Assigning to Jason for initial investigation.
Comment 5 eclipse CLA 2011-01-05 11:21:22 EST
On further investigation, I think this might be https://bugs.eclipse.org/bugs/show_bug.cgi?id=327801 .  I'll try the suggested patch there and see if it matters.
Comment 6 eclipse CLA 2011-01-05 11:33:46 EST
Verified it's a duplicate of 327801.  The patch for that issue fixes it.  Further, it was something in m2eclipse-extras WTP integration that was tickling the bug in my case.

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