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 214266 - Deadlock on Startup between Folder Instance Processor and AWT-EventQueue
Summary: Deadlock on Startup between Folder Instance Processor and AWT-EventQueue
Status: RESOLVED DUPLICATE of bug 210752
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 7.2
Hardware: PC Linux
: P1 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2012-06-15 09:58 UTC by Petr Cyhelsky
Modified: 2012-06-15 13:30 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
threaddump of deadlocked startup (24.16 KB, text/plain)
2012-06-15 09:58 UTC, Petr Cyhelsky
Details
VisualVM application snapshot (17.17 KB, application/octet-stream)
2012-06-15 09:59 UTC, Petr Cyhelsky
Details
messages.log (17.96 KB, text/plain)
2012-06-15 10:00 UTC, Petr Cyhelsky
Details
Full stack dump on deadlock while IDE starting in test run (12.06 KB, text/plain)
2012-06-15 13:05 UTC, Alexander Pepin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Cyhelsky 2012-06-15 09:58:43 UTC
Created attachment 120889 [details]
threaddump of deadlocked startup

Product Version  = NetBeans IDE 7.2 RC1 (Build 201206141830)(#598a891158fb)
Operating System = Linux version 3.2.0-24-generic running on i386
Java; VM; Vendor = 1.7.0_04; Java HotSpot(TM) Client VM 23.0-b21; Oracle 

Happened on first start of the ide (fresh userdir and cachedir).
See attached threaddump, messages.log and VisualVM application snapshot for details
Comment 1 Petr Cyhelsky 2012-06-15 09:59:31 UTC
Created attachment 120890 [details]
VisualVM application snapshot
Comment 2 Petr Cyhelsky 2012-06-15 10:00:52 UTC
Created attachment 120891 [details]
messages.log
Comment 3 Alexander Pepin 2012-06-15 12:25:03 UTC
 I also found that while running automatic tests on CND on Linux (Ubuntu 12.04) using java 1.7

"main" prio=10 tid=0x00007f4d4800e800 nid=0x40ab in Object.wait() [0x00007f4d4e8dd000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000f0ab4990> (a org.netbeans.core.startup.TopThreadGroup)
	at java.lang.Object.wait(Object.java:503)
	at org.netbeans.core.startup.TopThreadGroup.start(TopThreadGroup.java:116)
	- locked <0x00000000f0ab4990> (a org.netbeans.core.startup.TopThreadGroup)
	at org.netbeans.core.startup.Main.main(Main.java:98)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.netbeans.MainImpl.main(MainImpl.java:94)
	at org.netbeans.Main.main(Main.java:78)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.netbeans.junit.NbModuleSuite$S.runInRuntimeContainer(NbModuleSuite.java:898)
	at org.netbeans.junit.NbModuleSuite$S.access$100(NbModuleSuite.java:660)
	at org.netbeans.junit.NbModuleSuite$S$1.protect(NbModuleSuite.java:679)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at org.netbeans.junit.NbModuleSuite$S.run(NbModuleSuite.java:677)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:422)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:931)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:785)
Comment 4 Petr Cyhelsky 2012-06-15 13:01:20 UTC
Seems

*** This bug has been marked as a duplicate of bug 210752 ***
Comment 5 Alexander Pepin 2012-06-15 13:05:00 UTC
Created attachment 120908 [details]
Full stack dump on deadlock while IDE starting in test run
Comment 6 Tomas Hurka 2012-06-15 13:16:09 UTC
(In reply to comment #5)
> Created attachment 120908 [details]
> Full stack dump on deadlock while IDE starting in test run
This thread dump is unrelated to this deadlock. Please file a separate issue.
Comment 7 Alexander Pepin 2012-06-15 13:30:03 UTC
Done, bug #214281