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 - Deadlock (or really long delay) using NB 6
Summary: Deadlock (or really long delay) using NB 6
Status: VERIFIED DUPLICATE of bug 99225
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-24 01:52 UTC by _ pcw
Modified: 2007-09-08 10:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread stack dump. (22.23 KB, text/plain)
2007-03-24 01:53 UTC, _ pcw
Details

Note You need to log in before you can comment on or make changes to this bug.
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