This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 214281 - Deadlock on start IDE in automatic tests
Summary: Deadlock on start IDE in automatic tests
Status: RESOLVED DUPLICATE of bug 211305
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.2
Hardware: PC Linux
: P2 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2012-06-15 13:28 UTC by Alexander Pepin
Modified: 2012-06-19 14:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Full stack dump on deadlock while IDE starting in test run (12.06 KB, text/plain)
2012-06-15 13:28 UTC, Alexander Pepin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2012-06-15 13:28:01 UTC
Deadlock happens on one machine (Ubuntu 12.04) once or twice in one testrun containing a lot of testsuites (IDE starts approximately 100 times).
Comment 1 Alexander Pepin 2012-06-15 13:28:38 UTC
Created attachment 120909 [details]
Full stack dump on deadlock while IDE starting in test run
Comment 2 Stanislav Aubrecht 2012-06-15 14:20:40 UTC
There are multiple threads running org.openide.loaders.FolderInstance blocking each other.
Comment 3 Jaroslav Tulach 2012-06-18 12:49:15 UTC
I don't think it is good evaluation. Imho, there is no AWT dispatch thread. I am not sure how Swing can run without EDT, I am assuming it is a JDK problem. But I leave it up to Standa, our Swing expert to confirm/deny.
Comment 4 Antonin Nebuzelsky 2012-06-19 10:50:19 UTC
Which Java version?

How are the tests started and which tests are those?
Comment 5 Marian Mirilovic 2012-06-19 11:37:43 UTC
I think it's duplicate of issue 211305 ... please confirm, tests are running in headless mode on JDK 7u4 and later ?

*** This bug has been marked as a duplicate of bug 211305 ***
Comment 6 Alexander Pepin 2012-06-19 14:45:30 UTC
Yes, we use java 7u4 on that machine. It is CND functional tests but IDE hangs while warming up before any of tests starts.