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 68958 - IDE Deadlock
Summary: IDE Deadlock
Status: VERIFIED DUPLICATE of bug 68650
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 5.x
Hardware: Other Linux
: P2 blocker (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-18 18:39 UTC by Paul Byrne
Modified: 2005-11-21 07:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NB Log file (39.43 KB, text/plain)
2005-11-18 18:45 UTC, Paul Byrne
Details
Message log 2 (68.06 KB, text/plain)
2005-11-18 19:01 UTC, Paul Byrne
Details
Stack dump 2 (9.87 KB, text/plain)
2005-11-18 19:03 UTC, Paul Byrne
Details
Stack dump 3 (10.13 KB, text/plain)
2005-11-18 19:06 UTC, Paul Byrne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Byrne 2005-11-18 18:39:14 UTC
The IDE just deadlocked on me. It refused to respond to any input. Here is the
stack trace

NB 5.0 beta2

2005-11-18 10:36:20
Full thread dump Java HotSpot(TM) Client VM (1.6.0-rc-b60 mixed mode, sharing): 
"AntProjectSupport[MasterFileObject@16c9182[file:/export/home/paulby/local-code/java.net/lg3d/webstart-test/lg3d-core/build.xml]]"
daemon prio=10 tid=0x44246b00 nid=0x5a88 in Object.wait() [0x43ef2000..0x43ef2680]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:484)
        at java.awt.EventQueue.invokeAndWait(EventQueue.java:987)
        - locked <0x546b0080> (a java.awt.EventQueue$1AWTInvocationLock)
        at org.openide.util.Mutex.doEventAccess(Mutex.java:1158)
        at org.openide.util.Mutex.readAccess(Mutex.java:227)
        at
org.apache.tools.ant.module.xml.AntProjectSupport.createInputSource(AntProjectSupport.java:225)
        at
org.apache.tools.ant.module.xml.AntProjectSupport.parseDocument(AntProjectSupport.java:282)
        at
org.apache.tools.ant.module.xml.AntProjectSupport.getDocument(AntProjectSupport.java:144)
        - locked <0x5669d510> (a java.lang.Object)
        at
org.apache.tools.ant.module.xml.AntProjectSupport.getProjectElement(AntProjectSupport.java:316)
        at
org.apache.tools.ant.module.api.support.TargetLister$Script.<init>(TargetLister.java:257)
        at
org.apache.tools.ant.module.api.support.TargetLister.getTargets(TargetLister.java:87)
        at
org.apache.tools.ant.module.nodes.AntProjectChildren.refreshKeys(AntProjectChildren.java:64)
        at
org.apache.tools.ant.module.nodes.AntProjectChildren.stateChanged(AntProjectChildren.java:99)
        at
org.apache.tools.ant.module.xml.AntProjectSupport$ChangeFirer.run(AntProjectSupport.java:396)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:471)
        at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:904)
 
"Timer-1" prio=10 tid=0x44246500 nid=0x5a5b in Object.wait()
[0x43ea1000..0x43ea1500]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:484)
        at java.util.TimerThread.mainLoop(Timer.java:483)
        - locked <0x580b8978> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)
 
"Text-Layout" prio=10 tid=0x4424e700 nid=0x5734 in Object.wait()
[0x43af4000..0x43af4680]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:484)
        at
org.netbeans.editor.view.spi.ViewLayoutQueue.waitForTask(ViewLayoutQueue.java:128)
        - locked <0x5783be28> (a org.netbeans.editor.view.spi.ViewLayoutQueue)
        at
org.netbeans.editor.view.spi.ViewLayoutQueue$LayoutThread.run(ViewLayoutQueue.java:182)
 
"MDR event dispatcher" daemon prio=10 tid=0x437ba000 nid=0x3f54 in Object.wait()
[0x42bf0000..0x42bf0700]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:484)
        at
org.netbeans.mdr.util.EventNotifier$EventsDelivery.run(EventNotifier.java:257)
        - locked <0x55c90510> (a java.util.LinkedList)
        at java.lang.Thread.run(Thread.java:620)
 
"DestroyJavaVM" prio=10 tid=0x43780a00 nid=0x3f3d waiting on condition
[0x00000000..0x401d4750]
   java.lang.Thread.State: RUNNABLE
 
"AWT-EventQueue-1" prio=10 tid=0x0899b700 nid=0x3f53 waiting for monitor entry
[0x43aa3000..0x43aa3780]
   java.lang.Thread.State: BLOCKED (on object monitor)
        at
org.apache.tools.ant.module.xml.AntProjectSupport.getDocument(AntProjectSupport.java:141)
        - waiting to lock <0x5669d510> (a java.lang.Object)
        at
org.apache.tools.ant.module.xml.AntProjectSupport.getProjectElement(AntProjectSupport.java:316)
        at
org.apache.tools.ant.module.loader.AntProjectDataEditor.annotateWithProjectName(AntProjectDataEditor.java:83)
        at
org.apache.tools.ant.module.loader.AntProjectDataEditor.messageName(AntProjectDataEditor.java:67)
        at org.openide.text.CloneableEditor$2.run(CloneableEditor.java:459)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
 
"TimerQueue" daemon prio=10 tid=0x428ad500 nid=0x3f52 in Object.wait()
[0x43292000..0x43292800]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at javax.swing.TimerQueue.run(TimerQueue.java:233)
        - locked <0x55b11cd8> (a javax.swing.TimerQueue)
        at java.lang.Thread.run(Thread.java:620)
 
"AWT-Shutdown" prio=10 tid=0x428ac700 nid=0x3f4d in Object.wait()
[0x43241000..0x43241680]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:484)
        at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
        - locked <0x55715a00> (a java.lang.Object)
        at java.lang.Thread.run(Thread.java:620)
 
"AWT-XAWT" daemon prio=10 tid=0x4288d500 nid=0x3f4a runnable
[0x430d6000..0x430d6800]
   java.lang.Thread.State: RUNNABLE
        at sun.awt.X11.XToolkit.waitForEvents(Native Method)
        at sun.awt.X11.XToolkit.run(XToolkit.java:584)
        at sun.awt.X11.XToolkit.run(XToolkit.java:559)
        at java.lang.Thread.run(Thread.java:620)
 
"Java2D Disposer" daemon prio=10 tid=0x0835d500 nid=0x3f49 in Object.wait()
[0x4306d000..0x4306d480]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x55715ba0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
        at sun.java2d.Disposer.run(Disposer.java:123)
        at java.lang.Thread.run(Thread.java:620)
 
"Active Reference Queue Daemon" daemon prio=10 tid=0x0831e800 nid=0x3f48 in
Object.wait() [0x42c92000..0x42c92500]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x556c8e40> (a java.lang.ref.ReferenceQueue$Lock)
        at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:2968)
        at java.lang.Thread.run(Thread.java:620)
 
"Timer-0" daemon prio=10 tid=0x08075c00 nid=0x3f47 in Object.wait()
[0x42c41000..0x42c41580]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:484)
        at java.util.TimerThread.mainLoop(Timer.java:483)
        - locked <0x556c8ee0> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)
 
"CLI Requests Server" daemon prio=10 tid=0x42819e00 nid=0x3f45 runnable
[0x42b9f000..0x42b9f680]
   java.lang.Thread.State: RUNNABLE
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        - locked <0x556c8ff8> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:450)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at org.netbeans.CLIHandler$Server.run(CLIHandler.java:832)
 
"Low Memory Detector" daemon prio=10 tid=0x0808dc00 nid=0x3f43 runnable
[0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE
 
"CompilerThread0" daemon prio=10 tid=0x0808c600 nid=0x3f42 waiting on condition
[0x00000000..0x42705448]
   java.lang.Thread.State: RUNNABLE
 
"Signal Dispatcher" daemon prio=10 tid=0x0808b500 nid=0x3f41 runnable
[0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE
 
"Finalizer" daemon prio=10 tid=0x08085f00 nid=0x3f40 in Object.wait()
[0x425fa000..0x425fa500]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x556c92d8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
 
"Reference Handler" daemon prio=10 tid=0x08081d00 nid=0x3f3f in Object.wait()
[0x425a9000..0x425a9580]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:484)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
        - locked <0x556c8dc8> (a java.lang.ref.Reference$Lock)
 
"VM Thread" prio=10 tid=0x08080a00 nid=0x3f3e runnable
 
"VM Periodic Task Thread" prio=10 tid=0x42800600 nid=0x3f44 waiting on condition
 
JNI global references: 1837
Comment 1 Paul Byrne 2005-11-18 18:45:28 UTC
Created attachment 27055 [details]
NB Log file
Comment 2 Paul Byrne 2005-11-18 18:46:50 UTC
I've attached the log file. I have console logging enabled and I did not notice
the exceptions in the log file being issued when the ide froze so I'm not sure
if they are related to this problem.
Comment 3 Paul Byrne 2005-11-18 19:01:43 UTC
Created attachment 27056 [details]
Message log 2
Comment 4 Paul Byrne 2005-11-18 19:02:18 UTC
It's just deadlocked for the second time. I was editing our build.xml file and
the entire ide simply stopped responding. Apart from lots of exceptions during
startup there were no exceptions displayed immediately prior to the deadlock.
Stack and log files attached
Comment 5 Paul Byrne 2005-11-18 19:03:04 UTC
Created attachment 27057 [details]
Stack dump 2
Comment 6 Paul Byrne 2005-11-18 19:06:59 UTC
Created attachment 27058 [details]
Stack dump 3
Comment 7 Paul Byrne 2005-11-18 19:08:25 UTC
Previously I had been using Mustang, so I tried JDK 1.5.0_05. Same problem, see
stack 3 attachment.

As this problem persists on a production VM I'm raising the priority.
Comment 8 Paul Byrne 2005-11-18 21:03:25 UTC
I've been unable to reproduce the problem in 5.0beta. 
Comment 9 Milan Kubec 2005-11-21 07:38:53 UTC
Duplicate, already fixed.

*** This issue has been marked as a duplicate of 68650 ***
Comment 10 Marian Mirilovic 2005-11-21 07:54:45 UTC
verified duplicate