I'm running an IDE built from the latest trunk sources. I tried to open project
'nbbuild' of said source tree along with all dependent projects and the IDE
According to the UI, it's stuck opening the Struts project, but that probably
This was with JDK 1.6.0_00, thread dump attached.
Created attachment 40375 [details]
Deadlock thread stack dump.
As an aside, I suspect (but am by no means certain) that this can be easily
reproduced by selecting "nbbuild" in the project chooser, checking "open
required projects" and hitting OK *before* the system is able to compute what
the list of required projects is.
Also, I think you can consistently work around it by waiting until the required
list is fully computed before hitting OK.
I've seen this deadlock a few times now, always on dual core or dual CPU
machines. May not be reproducible on single threaded hardware.
Reassigning to Java for evaluation.
I don't see any deadlock in this thread dump. Nor do I see anything that
specifically indicates a problem in apisupport - the IDE looks to be happily
opening the projects (which is slow for NBM projects but should terminate).
This issue is either invalid, or a red herring. It seems that the opening
process is just unexpectedly slow sometimes, even on really fast machines.
At the point where I thought it was deadlocked, the entire UI (including the
progress bar monitoring the java parsing) froze for a very long time. I'm able
to reproduce this delay, but it's not very long today (30 seconds to a minute at
The cause of the UI freeze may be CVS processing on the AWT thread, see attached
Created attachment 40577 [details]
New threaddump showing CVS activity on AWT thread.
Hmm, shouldn't block EQ this way.
ide/allmodules is now the "main" project to open.
Using a dev build (Basic IDE) on Ubuntu / JDK 6, does not freeze GUI; "Opening Projects" dialog opens and lists the
projects one by one as they are opened. The background compiler can also be seen working in the process area. Of course
there are hundreds of projects and it takes a long time.