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 184207

Summary: [69cat] IDE deadlocked
Product: editor Reporter: misterm <misterm>
Component: Painting & PrintingAssignee: issues@editor <issues>
Status: RESOLVED FIXED    
Severity: normal CC: hmichel, jtulach, mmirilovic, ovrabec, ppis
Priority: P2 Keywords: RANDOM, THREAD
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: stack trace
stack trace

Description misterm 2010-04-14 19:32:21 UTC
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
Comment 1 misterm 2010-04-14 19:33:47 UTC
Created attachment 97391 [details]
stack trace
Comment 2 Peter Pis 2010-04-15 07:41:36 UTC
Reassigning, please evaluate.
Comment 3 Peter Pis 2010-04-15 08:11:48 UTC
*** Bug 184227 has been marked as a duplicate of this bug. ***
Comment 4 Miloslav Metelka 2010-04-15 08:27:47 UTC
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?
Comment 5 Vitezslav Stejskal 2010-04-15 11:12:56 UTC
Umm, I'm not sure, but I'll have a look.
Comment 6 misterm 2010-04-16 16:21:52 UTC
Just happened again. Attaching stack trace.
Comment 7 misterm 2010-04-16 16:23:17 UTC
Created attachment 97551 [details]
stack trace
Comment 8 misterm 2010-04-16 16:24:23 UTC
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.
Comment 9 Miloslav Metelka 2010-06-16 12:49:14 UTC
Fixed by doing doc.render() around rebuildAll().

http://hg.netbeans.org/jet-main/rev/0fcfc85dca98
Comment 10 Quality Engineering 2010-06-17 03:17:53 UTC
Integrated into 'main-golden', will be available in build *201006170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0fcfc85dca98
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #184207 - IDE deadlocked - HighlightingManager versus Document's read-lock.