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 210938 - Deadlock on IDE startup: AWT-EQ-0 x AppKit Thread
Summary: Deadlock on IDE startup: AWT-EQ-0 x AppKit Thread
Status: CLOSED DUPLICATE of bug 210752
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.2
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords: JDK_SPECIFIC, THREAD
Depends on:
Blocks:
 
Reported: 2012-04-10 12:27 UTC by Tomas Danek
Modified: 2012-06-07 12:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
threaddump (16.19 KB, text/plain)
2012-04-10 12:27 UTC, Tomas Danek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2012-04-10 12:27:56 UTC
Created attachment 118053 [details]
threaddump

dev build #20120404, jdk 7u4 b19
----------------------------------
similar to issue 210752:


Found one Java-level deadlock:
=============================
"AWT-EventQueue-0":
  waiting to lock monitor 0x00007fbf42804c90 (object 0x00000007d02c61d0, a sun.awt.PostEventQueue),
  which is held by "AppKit Thread"
"AppKit Thread":
  waiting for ownable synchronizer 0x00000007d038f548, (a java.util.concurrent.locks.ReentrantLock$NonfairSync),
  which is held by "AWT-EventQueue-0"

Java stack information for the threads listed above:
===================================================
"AWT-EventQueue-0":
	at sun.awt.PostEventQueue.noEvents(SunToolkit.java:2104)
	- waiting to lock <0x00000007d02c61d0> (a sun.awt.PostEventQueue)
	at sun.awt.SunToolkit.isPostEventQueueEmpty(SunToolkit.java:577)
	at java.awt.EventQueue.detachDispatchThread(EventQueue.java:1048)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:103)
"AppKit Thread":
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <0x00000007d038f548> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)
	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:867)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1197)
	at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:214)
	at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:290)
	at java.awt.EventQueue.postEventPrivate(EventQueue.java:235)
	at java.awt.EventQueue.postEvent(EventQueue.java:221)
	at sun.awt.PostEventQueue.flush(SunToolkit.java:2116)
	- locked <0x00000007d02c61d0> (a sun.awt.PostEventQueue)
	at sun.awt.SunToolkit.flushPendingEvents(SunToolkit.java:563)
	at java.awt.EventQueue.postEvent(EventQueue.java:220)
	at java.awt.EventQueue.invokeLater(EventQueue.java:1188)
	at com.apple.eawt._AppEventHandler$_AppEventMultiplexor.dispatch(_AppEventHandler.java:430)
	at com.apple.eawt._AppEventHandler.handleNativeNotification(_AppEventHandler.java:197)

Found 1 deadlock.
Comment 1 Tomas Danek 2012-04-10 12:49:25 UTC
attached threaddump to CR 7159230
Comment 2 Marian Mirilovic 2012-06-07 12:39:00 UTC

*** This bug has been marked as a duplicate of bug 210752 ***