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 194044

Summary: Deadlock while closing IDE (in automated tests)
Product: projects Reporter: J Bachorik <yardus>
Component: Ant ProjectAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: normal CC: jtulach, mmirilovic
Priority: P1 Keywords: TEST, THREAD
Version: 7.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 194904    
Bug Blocks: 190901    
Attachments: Deadlock stacktrace

Description J Bachorik 2011-01-05 11:45:49 UTC
While running automated performance tests the IDE deadlocked while being shut down.
The stackatrace is attached.
Comment 1 J Bachorik 2011-01-05 11:46:24 UTC
Created attachment 104721 [details]
Deadlock stacktrace
Comment 2 J Bachorik 2011-01-05 13:20:36 UTC
Quite reproducible. I am not able to finish the automated perf tests :(
Comment 3 Jesse Glick 2011-01-10 15:40:09 UTC
Triggered by fix of bug #190901. Maybe solvable by just dropping synch on System.getProperties(), which seems a bit unsafe but maybe OK.
Comment 4 J Bachorik 2011-01-11 13:05:16 UTC
Unfortunately, this problem makes the perf tests fail all the time by timeout.
Comment 5 Jaroslav Tulach 2011-01-11 15:22:02 UTC
If you believe ProjectProperties.java:430 is OK in locking the properties, I can check the property just once on start and not everytime a class is about to be loaded. Just assign to me then.
Comment 6 Jesse Glick 2011-01-12 16:38:06 UTC
core-main #a785989e4840
Comment 7 Quality Engineering 2011-01-13 07:39:17 UTC
Integrated into 'main-golden', will be available in build *201101130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a785989e4840
User: Jesse Glick <jglick@netbeans.org>
Log: #194044: Deadlock while closing IDE (in automated tests)