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 55251 - Deadlock during replaying of macro
Summary: Deadlock during replaying of macro
Status: RESOLVED DUPLICATE of bug 55171
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-19 10:53 UTC by Jan Lahoda
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Full Thread Dump. (13.86 KB, text/plain)
2005-02-19 10:54 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2005-02-19 10:53:11 UTC
NB pre-beta build 200502180835, JDK1.5.0_02.

I have created a macro and replayed it, and the
IDE deadlocked. Full thread dump attached.

I think that the following happened:
1. In the AWT-EventQueue-1 thread,
BaseDocument.insertString acquires a write lock.
2. In the AWT-EventQueue-1 thread, an attempt is
made to lock object 0x880637c8 (at the top of this
thread).
3. In the editor.completion thread, object
0x880637c8 is locked.
4. In the editor.completion thread, an attempt is
made to acquire a read lock on the document, which
will wait until the write lock is unlocked, which
cannot be unlock untill object 0x880637c8 is unlocked.
Comment 1 Jan Lahoda 2005-02-19 10:54:01 UTC
Created attachment 20425 [details]
Full Thread Dump.
Comment 2 Jan Lahoda 2005-02-19 22:21:42 UTC
Duplicate of issue #55171.

*** This issue has been marked as a duplicate of 55171 ***