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 98867

Summary: Deadlock (or really long delay) using NB 6
Product: profiler Reporter: _ pcw <pcw>
Component: BaseAssignee: issues@ide <issues>
Status: VERIFIED DUPLICATE    
Severity: blocker CC: jiriprox
Priority: P2    
Version: 5.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Thread stack dump.

Description _ pcw 2007-03-24 01:52:23 UTC
I was using the editor & trying to build.  See attached thread dump, IDE has
been locked for about 5 minutes right now.
Comment 1 _ pcw 2007-03-24 01:53:15 UTC
Created attachment 39906 [details]
Thread stack dump.
Comment 2 Jiri Prox 2007-03-27 18:31:19 UTC
Is is reproducible also with disabled profiler?
Comment 3 _ pcw 2007-03-27 19:34:18 UTC
It's most likely a rare race condition.  I have no clue how to reproduce it.

However, the stack trace on AWT thread attributed to the profiler is not a
pretty one.  I can't imagine what justification there is to call
"waitScanFinished()" on AWT thread, as that is guarranteed to block UI for an
indefinite uncancellable period of time.
Comment 4 Jiri Prox 2007-03-28 09:17:56 UTC
Yes, you're right, I didn't noticed it. 
Reassigning to profiler for evaluation
Comment 5 J Bachorik 2007-03-28 11:08:37 UTC
you are right - the AWT blocking is rather nasty. it's caused by an
inappropriate usage of the retouche infrastructure in profiler actions. i'm
working on it for m9
Comment 6 Marian Mirilovic 2007-03-28 12:05:11 UTC

*** This issue has been marked as a duplicate of 99225 ***
Comment 7 Alexander Kouznetsov 2007-09-08 10:27:03 UTC
Verified as a duplicate