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 38435

Summary: Deadlock between CloneableEditorSupport and document
Product: platform Reporter: Peter Zavadsky <pzavadsky>
Component: TextAssignee: Petr Nejedly <pnejedly>
Status: VERIFIED FIXED    
Severity: blocker Keywords: THREAD
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: thread dump
Possible lock order fix (PR.M first)

Description Peter Zavadsky 2004-01-06 16:45:43 UTC
build from fresh sources (yesterday I guess), jdk
1.4.2

See the thread dump.
Comment 1 Peter Zavadsky 2004-01-06 16:46:14 UTC
Created attachment 12716 [details]
thread dump
Comment 2 Petr Nejedly 2004-01-09 16:16:35 UTC
Seems it happened during save and modification at once, while the save
happened because of some CVS operation.
Probably very rare, but I'd like to fix it together with other LineSet
vs. CES vs. Document problem.
Comment 3 Petr Nejedly 2004-01-20 17:13:49 UTC
Created attachment 12981 [details]
Possible lock order fix (PR.M first)
Comment 4 Petr Nejedly 2004-01-20 17:16:07 UTC
Sorry, the last comment (diff) doesn't belong to this issue!
Comment 5 Petr Nejedly 2004-01-26 19:09:43 UTC
Fixed by acquiring read access before starting the save operation,
which is good anyway.
openide/src/org/openide/text/CloneableEditorSupport.java, v1.105
Comment 6 Lukas Hasik 2004-02-26 17:00:58 UTC
verified (PZ said ;)