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 184475

Summary: [69cat] Deadlock after cvs 'Revert Modification'
Product: editor Reporter: Michel Graciano <hmichel>
Component: SpellcheckerAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED FIXED    
Severity: normal CC: aldobrucale, pjiricka, yardus
Priority: P1    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: VisualVM thread dump.
jstack thread dump.

Description Michel Graciano 2010-04-19 15:16:34 UTC
[ BUILD # : c544019c245b ]
[ JDK VERSION : 1.6.* ]

The IDE stops to work and I needed to kill the app after cvs 'Revert
Modification'. I will attach some thread dumps.
Comment 1 Michel Graciano 2010-04-19 15:17:09 UTC
Created attachment 97643 [details]
VisualVM thread dump.
Comment 2 Michel Graciano 2010-04-19 15:17:36 UTC
Created attachment 97644 [details]
jstack thread dump.
Comment 3 Jan Lahoda 2010-04-19 17:05:47 UTC
I will try to split the lock that controls access to ComponentPeer.tokenList.
Comment 4 Jan Lahoda 2010-04-19 17:11:24 UTC
*** Bug 184414 has been marked as a duplicate of this bug. ***
Comment 5 Jan Lahoda 2010-04-19 19:46:25 UTC
*** Bug 184424 has been marked as a duplicate of this bug. ***
Comment 6 Jan Lahoda 2010-04-19 21:03:29 UTC
This should fix it:
http://hg.netbeans.org/jet-main/rev/a6c3edc86d5e
Comment 7 Vitezslav Stejskal 2010-04-20 14:05:55 UTC
*** Bug 184529 has been marked as a duplicate of this bug. ***
Comment 8 Quality Engineering 2010-04-21 04:30:21 UTC
Integrated into 'main-golden', will be available in build *201004210200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a6c3edc86d5e
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #184475: preventing deadlock - getTokenList uses its own lock.