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.
This deadlock happened to me when opening a XML file. See the attachment.
Created attachment 24862 [details] console output + thread dump of the deadlock
it seems that some thread forgot to unlock PriorityMutex...
It's AnnotationView against folds and views (they use the same lock). I'm wondering whether AnnotationView can use some more internal locking so that it would not be locked when entering modelToView(). The document model should be read-locked anyway. Added Honza L. to cc if he knows how to resolve.
Hm, I have probably introduced this by fix for issue #63402. I will look at it.
I will defer clearing the modelToView cache so it is not done under the fold lock.
Done in trunk: Checking in AnnotationView.java; /cvs/editor/errorstripe/src/org/netbeans/modules/editor/errorstripe/AnnotationView.java,v <-- AnnotationView.java new revision: 1.21; previous revision: 1.20 done