IDE got completely frozen. Memory usage was fine, so attaching thread dump.
Product Version = NetBeans IDE Dev (Build 100414-3e6cc34b4640)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_04
Runtime = Java HotSpot(TM) Client VM 10.0-b19
Created attachment 97391 [details]
Reassigning, please evaluate.
*** Bug 184227 has been marked as a duplicate of this bug. ***
IMO we should first read-lock the document even in the HighlightingManager (possibly both the old and new one in case of document property change). Vito what do you think?
Umm, I'm not sure, but I'll have a look.
Just happened again. Attaching stack trace.
Created attachment 97551 [details]
If I am not mistaken, both times I had just invoked CVS -> Diff and it got locked a couple of seconds later. I am pretty sure this is what I did for the most recent one.
Fixed by doing doc.render() around rebuildAll().
Integrated into 'main-golden', will be available in build *201006170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Miloslav Metelka <email@example.com>
Log: #184207 - IDE deadlocked - HighlightingManager versus Document's read-lock.