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 34611 - deadlock on starting debuging
Summary: deadlock on starting debuging
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 3.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-26 12:23 UTC by pzajac
Modified: 2003-12-11 14:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
threads dump (30.57 KB, text/plain)
2003-06-26 12:24 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2003-06-26 12:23:52 UTC
[200306260100] [jdk 1.4.1_03]
Found one Java-level deadlock:
=============================
"Debugger operator thread":
  waiting to lock monitor 0x8087de4 (object
0x449c98c0, a java.awt.Component$AWTTreeLock),
  which is held by "AWT-EventQueue-0"
"AWT-EventQueue-0":
  waiting to lock monitor 0x8087a2c (object
0x46367360, a
org.netbeans.modules.debugger.jpda.JPDADebugger),
  which is held by "Debugger operator thread"
Comment 1 pzajac 2003-06-26 12:24:40 UTC
Created attachment 10805 [details]
threads dump
Comment 2 pzajac 2003-06-26 13:05:43 UTC
I can repreduce it in my code:
I placed breakpoint to my unit test   (TestVersin.java:88). 
I started debugger. 
The debugger stopped on my breakpoint. After step into the deadlock
occured. I can reproduce it only on one line in my code:-(

priority increased p2->p1. 

please evaluate. 


      
Comment 3 Jan Jancura 2003-06-26 14:16:14 UTC
Will be fixed to next release.
What do you mean by evaluate?!?
Comment 4 Milan Kubec 2003-06-27 08:31:14 UTC
Possibly look at the stack trace and decide if the problem is in our
debugger and consider if it's likely to happen. And if so, plan fixing
the issue, since reproducible deadlock during starting debugger seems
as very important issue.

Petr, please attach your test code. Thanks.
Comment 5 pzajac 2003-06-30 08:55:24 UTC
I'm sorry, I cannot attach my sources.  My code uses library with NON
SPL licence. I think that this bug is next Q-build showstopper. 
Comment 6 Jan Jancura 2003-07-02 14:56:14 UTC
Looks like this bug is already fixed in release35 branch, but fix was
not propagated to trunk. 
Comment 7 Jan Jancura 2003-07-02 15:26:50 UTC
Fixed in main trunk.
Comment 8 Jan Chalupa 2003-07-03 09:06:50 UTC
Diff???
Comment 9 pzajac 2003-07-03 14:06:43 UTC
cannot reproduce on build [200307030100] ->verified