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.
Summary: | Deadlock while selecting <c:choose> in JSP | ||
---|---|---|---|
Product: | editor | Reporter: | Vladimir Riha <vriha> |
Component: | -- Other -- | Assignee: | Miloslav Metelka <mmetelka> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | mfukala |
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
1st threadump
2nd threadump |
Created attachment 133133 [details]
2nd threadump
I must admit I do not know hot the lock happened. The EDT is blocked by JspKit$JspDeleteCharAction waiting for the document' write lock, while AnnotationHolder thread tries to acquire the DocumentView's PriorityMutex lock. Who has the PM locked I can't figure out. Milo, can you please take a look at the thread dump? Thank you. > while AnnotationHolder thread tries to acquire the DocumentView's
> PriorityMutex lock.
forgot to mention it tries to acquire the PM under the document's read lock, which blocks the EDT.
> Milo, can you please take a look at the thread dump? Thank you.
Same question as Marek - who owns the PriorityMutex?
Vlado, please run the IDE with
-J-Dorg.netbeans.lib.editor.util.PriorityMutex.level=FINEST
It should log who's the owning thread and the locking stacktrace.
Since it's a one year old issue I close as worksforme please reopen if necessary.
|
Created attachment 133132 [details] 1st threadump I simply selected text between <c:choose>...</c:choose> and IDE froze. I'm attaching 2 thread dumps taken in interval of approx 15 minutes. I can't reproduce it. Product Version: NetBeans IDE Dev (Build web-main-10182-on-20130327) Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b32 System: Linux version 3.2.0-39-generic-pae running on i386; UTF-8; en_US (nb)