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 228699 - Deadlock bettween Debugger, XmlMultiViewDataSynchronizer and Diffsidebar threads
Summary: Deadlock bettween Debugger, XmlMultiViewDataSynchronizer and Diffsidebar threads
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 7.3.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-18 11:00 UTC by rad
Modified: 2013-05-28 14:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Netbeans thread dump (42.96 KB, text/plain)
2013-04-18 11:00 UTC, rad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rad 2013-04-18 11:00:57 UTC
Created attachment 133561 [details]
Netbeans thread dump

Found one Java-level deadlock:
=============================
"Debugger Actions":
  waiting to lock monitor 0xb12210f0 (object 0x5cc4c198, a org.netbeans.modules.debugger.jpda.projects.LineTranslations),
  which is held by "XmlMultiViewDataSynchronizer RequestProcessor"
"XmlMultiViewDataSynchronizer RequestProcessor":
  waiting to lock monitor 0xb1228310 (object 0x65f41d08, a org.openide.windows.CloneableOpenSupport$Listener),
  which is held by "Diffsidebar long tasks"
"Diffsidebar long tasks":
  waiting to lock monitor 0xb122bb58 (object 0x65f41d20, a java.lang.Object),
  which is held by "XmlMultiViewDataSynchronizer RequestProcessor"
Comment 1 Martin Entlicher 2013-04-25 16:27:37 UTC
My action is waiting for the lock, thus it did not cause the deadlock.
Parsing should not wait in AWT for locks held by other threads.
Comment 2 Theofanis Oikonomou 2013-05-28 14:09:33 UTC
I cannot tell what version you are using but the parsing outside of EDT should be already fixed by http://hg.netbeans.org/main-golden/rev/7cbe1576bbb0. Please try a latest build and reopen if it still happens for you. Thank you