Skip to main content

Deadlock in AWT with Java 6 update 12 EA (Linux)

5 replies [Last post]
lkishalmi
Offline
Joined: 2005-10-11

It seems to be there is a regression in Java 6 update 12 EA on Linux. I tried it with netbeans and some java plugins, but sooner or later I bump into a GUI freeze due to an AWT Deadlock. I've got similar thread dumps like below every time. I've tested Ubuntu 8.10 both i686 and amd64 versions. It happens both b02 and b03 builds.

2009-01-09 10:10:18
Full thread dump Java HotSpot(TM) 64-Bit Server VM (11.2-b01 mixed mode):

"JMX server connection timeout 187" daemon prio=10 tid=0x00007fd68a8db400 nid=0x4fd5 in Object.wait() [0x0000000046e15000..0x0000000046e15d00]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00007fd6b72a8f18> (a [I)
at com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.run(ServerCommunicatorAdmin.java:150)
- locked <0x00007fd6b72a8f18> (a [I)
at java.lang.Thread.run(Thread.java:619)

Locked ownable synchronizers:
- None

"RMI Scheduler(0)" daemon prio=10 tid=0x00007fd6888c5400 nid=0x4fd3 waiting on condition [0x0000000047c1c000..0x0000000047c1cd80]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00007fd6b71bc718> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
at java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:583)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:576)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)

Locked ownable synchronizers:
- None

"RMI TCP Connection(1)-127.0.1.1" daemon prio=10 tid=0x00007fd68a8dd000 nid=0x4fd1 runnable [0x0000000047e1d000..0x0000000047e1dc00]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
- locked <0x00007fd6b7250860> (a java.io.BufferedInputStream)
at java.io.FilterInputStream.read(FilterInputStream.java:66)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:517)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

Locked ownable synchronizers:
- <0x00007fd6b71c6068> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)

"RMI TCP Accept-0" daemon prio=10 tid=0x0000000040b6f800 nid=0x4fce runnable [0x0000000046611000..0x0000000046611c80]
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
- locked <0x00007fd6b71c0848> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at sun.management.jmxremote.LocalRMIServerSocketFactory$1.accept(LocalRMIServerSocketFactory.java:34)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:369)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:341)
at java.lang.Thread.run(Thread.java:619)

Locked ownable synchronizers:
- None

"Attach Listener" daemon prio=10 tid=0x00007fd69213a800 nid=0x4fcd runnable [0x0000000000000000..0x0000000042ff6a90]
java.lang.Thread.State: RUNNABLE

Locked ownable synchronizers:
- None

"XMPPSessionProvider 1" daemon prio=10 tid=0x0000000040bd0400 nid=0x3da6 in Object.wait() [0x0000000045207000..0x0000000045207b80]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00007fd6a20a37f0> (a org.netbeans.lib.collab.util.Worker)
at java.lang.Object.wait(Object.java:485)
at org.netbeans.lib.collab.util.Worker.run(Worker.java:195)
- locked <0x00007fd6a20a37f0> (a org.netbeans.lib.collab.util.Worker)
at java.lang.Thread.run(Thread.java:619)

Locked ownable synchronizers:
- None

"Timer-1" daemon prio=10 tid=0x00007fd685329000 nid=0x3da1 in Object.wait() [0x0000000043bfc000..0x0000000043bfca00]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00007fd6a3182460> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:485)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x00007fd6a3182460> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)

Locked ownable synchronizers:
- None

"Thread-12" prio=10 tid=0x00007fd684692400 nid=0x3d3f in Object.wait() [0x0000000045006000..0x0000000045006b00]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00007fd6a20a37a0> (a java.util.LinkedList)
at org.netbeans.lib.collab.xmpp.XMPPSessionProvider$KeepAliveThread.run(XMPPSessionProvider.java:441)
- locked <0x00007fd6a20a37a0> (a java.util.LinkedList)

Locked ownable synchronizers:
- None

"Thread-11" prio=10 tid=0x00007fd684943000 nid=0x3d3c runnable [0x0000000044e05000..0x0000000044e05b80]
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:215)
at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:65)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
- locked <0x00007fd6a20a4238> (a sun.nio.ch.Util$1)
- locked <0x00007fd6a20a4220> (a java.util.Collections$UnmodifiableSet)
- locked <0x00007fd6a20a3e80> (a sun.nio.ch.EPollSelectorImpl)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:84)
at org.netbeans.lib.collab.util.SelectWorker.run(SelectWorker.java:277)
at java.lang.Thread.run(Thread.java:619)

Locked ownable synchronizers:
- None

"XMPPSessionProvider 0" prio=10 tid=0x00007fd684b83c00 nid=0x3d37 in Object.wait() [0x0000000044a03000..0x0000000044a03a00]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00007fd6a20a37f0> (a org.netbeans.lib.collab.util.Worker)
at java.lang.Object.wait(Object.java:485)
at org.netbeans.lib.collab.util.Worker.run(Worker.java:195)
- locked <0x00007fd6a20a37f0> (a org.netbeans.lib.collab.util.Worker)
at java.lang.Thread.run(Thread.java:619)

Locked ownable synchronizers:
- None

"Java Source Worker Thread" daemon prio=10 tid=0x00007fd68ad32400 nid=0x3cf6 waiting on condition [0x0000000044c04000..0x0000000044c04a00]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00007fd6a12db888> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
at java.util.concurrent.PriorityBlockingQueue.poll(PriorityBlockingQueue.java:245)
at org.netbeans.api.java.source.JavaSource$CompilationJob.run(JavaSource.java:1607)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

Locked ownable synchronizers:
- <0x00007fd6a12db308> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)

"GSF Source Worker Thread" daemon prio=10 tid=0x00007fd685309400 nid=0x3cf1 waiting on condition [0x0000000044802000..0x0000000044802d00]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00007fd6a12e3f00> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
at java.util.concurrent.PriorityBlockingQueue.poll(PriorityBlockingQueue.java:245)
at org.netbeans.napi.gsfret.source.Source$CompilationJob.run(Source.java:1337)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

Locked ownable synchronizers:
- <0x00007fd6a12dba30> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)

"org.netbeans.modules.gsfret.source.usages.RepositoryUpdater" daemon prio=10 tid=0x00007fd688878000 nid=0x3ced in Object.wait() [0x0000000043ffe000..0x0000000043ffeb00]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00007fd6a12e4b10> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:485)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x00007fd6a12e4b10> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)

Locked ownable synchronizers:
- None

"DestroyJavaVM" prio=10 tid=0x00007fd68c114000 nid=0x3b5f waiting on condition [0x0000000000000000..0x00000000406e5cf0]
java.lang.Thread.State: RUNNABLE

Locked ownable synchronizers:
- None

"Collaboration Notification" daemon prio=10 tid=0x00007fd68aaa0000 nid=0x3c2b in Object.wait() [0x00000000439fb000..0x00000000439fbb00]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00007fd6a073dfb8> (a java.lang.Object)
at java.lang.Object.wait(Object.java:485)
at org.netbeans.modules.collab.ui.NotificationThread.run(NotificationThread.java:121)
- locked <0x00007fd6a073dfb8> (a java.lang.Object)

Locked ownable synchronizers:
- None

"AWT-EventQueue-1" prio=10 tid=0x00007fd68c652c00 nid=0x3c26 waiting on condition [0x0000000040306000..0x0000000040309b80]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00007fd69ef79790> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:747)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:778)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1114)
at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:186)
at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:262)
at sun.awt.SunToolkit.awtLock(SunToolkit.java:241)
at sun.awt.X11.XDropTargetRegistry.unregisterDropSite(XDropTargetRegistry.java:569)
at sun.awt.X11.XWindowPeer.removeDropTarget(XWindowPeer.java:1598)
- locked <0x00007fd6b62e5e80> (a sun.awt.X11.XDialogPeer)
at sun.awt.X11.XComponentPeer.removeDropTarget(XComponentPeer.java:1511)
at java.awt.dnd.DropTarget.removeNotify(DropTarget.java:517)
at java.awt.Component.removeNotify(Component.java:6724)
- locked <0x00007fd69ef79f10> (a java.awt.Component$AWTTreeLock)
at java.awt.Container.removeNotify(Container.java:2611)
- locked <0x00007fd69ef79f10> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.removeNotify(JComponent.java:4699)
at javax.swing.text.JTextComponent.removeNotify(JTextComponent.java:1623)
at java.awt.Container.removeNotify(Container.java:2604)
- locked <0x00007fd69ef79f10> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.removeNotify(JComponent.java:4699)
at java.awt.Container.removeNotify(Container.java:2604)
- locked <0x00007fd69ef79f10> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.removeNotify(JComponent.java:4699)
at java.awt.Container.removeNotify(Container.java:2604)
- locked <0x00007fd69ef79f10> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.removeNotify(JComponent.java:4699)
at org.netbeans.modules.subversion.ui.commit.CommitPanel.removeNotify(CommitPanel.java:110)
at java.awt.Container.removeNotify(Container.java:2604)
- locked <0x00007fd69ef79f10> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.removeNotify(JComponent.java:4699)
at java.awt.Container.removeNotify(Container.java:2604)
- locked <0x00007fd69ef79f10> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.removeNotify(JComponent.java:4699)
at java.awt.Container.removeNotify(Container.java:2604)
- locked <0x00007fd69ef79f10> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.removeNotify(JComponent.java:4699)
at javax.swing.JRootPane.removeNotify(JRootPane.java:750)
at java.awt.Container.removeNotify(Container.java:2604)
- locked <0x00007fd69ef79f10> (a java.awt.Component$AWTTreeLock)
at java.awt.Window.removeNotify(Window.java:685)
- locked <0x00007fd69ef79f10> (a java.awt.Component$AWTTreeLock)
at org.netbeans.core.windows.services.NbPresenter.removeNotify(NbPresenter.java:349)
at java.awt.Window$1DisposeAction.run(Window.java:1013)
at java.awt.Window.doDispose(Window.java:1025)
at java.awt.Dialog.doDispose(Dialog.java:1248)
at java.awt.Window.dispose(Window.java:972)
at org.netbeans.core.windows.services.NbPresenter$ButtonListener.actionPerformed(NbPresenter.java:1153)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6216)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5981)
at java.awt.Container.processEvent(Container.java:2036)
at java.awt.Component.dispatchEventImpl(Component.java:4583)
at java.awt.Container.dispatchEventImpl(Container.java:2094)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4551)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4215)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4145)
at java.awt.Container.dispatchEventImpl(Container.java:2080)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
at java.awt.Dialog$1.run(Dialog.java:1051)
at java.awt.Dialog$3.run(Dialog.java:1103)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1101)
at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:867)
at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:901)
at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:889)
at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:109)
at org.openide.util.Mutex.doEventAccess(Mutex.java:1355)
at org.openide.util.Mutex.readAccess(Mutex.java:268)
at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:874)
at java.awt.Component.show(Component.java:1516)
at java.awt.Component.setVisible(Component.java:1468)
at java.awt.Window.setVisible(Window.java:841)
at java.awt.Dialog.setVisible(Dialog.java:991)
at org.netbeans.modules.subversion.ui.commit.CommitAction.showCommitDialog(CommitAction.java:334)
at org.netbeans.modules.subversion.ui.commit.CommitAction.commitKnownChanges(CommitAction.java:141)
at org.netbeans.modules.subversion.ui.commit.CommitAction.commit(CommitAction.java:109)
at org.netbeans.modules.subversion.ui.commit.CommitAction.performContextAction(CommitAction.java:522)
at org.netbeans.modules.subversion.ui.actions.ContextAction.performAction(ContextAction.java:109)
at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:581)
at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77)
at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:577)
at org.netbeans.modules.versioning.util.SystemActionBridge.actionPerformed(SystemActionBridge.java:91)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
at java.awt.Component.processMouseEvent(Component.java:6216)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5981)
at java.awt.Container.processEvent(Container.java:2036)
at java.awt.Component.dispatchEventImpl(Component.java:4583)
at java.awt.Container.dispatchEventImpl(Container.java:2094)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4551)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4215)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4145)
at java.awt.Container.dispatchEventImpl(Container.java:2080)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Locked ownable synchronizers:
- None

"TimerQueue" daemon prio=10 tid=0x00007fd68c652400 nid=0x3c25 in Object.wait() [0x0000000042df5000..0x0000000042df5a00]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00007fd69fe37f50> (a javax.swing.TimerQueue)
at javax.swing.TimerQueue.run(TimerQueue.java:236)
- locked <0x00007fd69fe37f50> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Thread.java:619)

Locked ownable synchronizers:
- None

"*** JFluid Separate Command Execution Thread" daemon prio=10 tid=0x00007fd6846c5400 nid=0x3c1a in Object.wait() [0x00000000435f9000..0x00000000435f9d00]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00007fd6a0057eb8> (a java.lang.Object)
at java.lang.Object.wait(Object.java:485)
at org.netbeans.lib.profiler.ProfilerClient$SeparateCmdExecutionThread.run(ProfilerClient.java:101)
- locked <0x00007fd6a0057eb8> (a java.lang.Object)

Locked ownable synchronizers:
- None

"Thread-5" daemon prio=10 tid=0x00007fd6846d5400 nid=0x3c14 in Object.wait() [0x00000000433f8000..0x00000000433f8c00]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00007fd6a01bf078> (a java.util.LinkedList)
at java.lang.Object.wait(Object.java:485)
at java.util.prefs.AbstractPreferences$EventDispatchThread.run(AbstractPreferences.java:1461)
- locked <0x00007fd6a01bf078> (a java.util.LinkedList)

Locked ownable synchronizers:
- None

"AWT-Shutdown" prio=10 tid=0x00007fd684116800 nid=0x3bb0 in Object.wait() [0x0000000042bf4000..0x0000000042bf4a00]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00007fd69ef79d98> (a java.lang.Object)
at java.lang.Object.wait(Object.java:485)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
- locked <0x00007fd69ef79d98> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:619)

Locked ownable synchronizers:
- None

"AWT-XAWT" daemon prio=10 tid=0x00007fd6840b7800 nid=0x3ba5 waiting for monitor entry [0x00000000429f3000..0x00000000429f3a80]
java.lang.Thread.State: BLOCKED (on object monitor)
at sun.awt.X11.XWindow.setMouseAbove(XWindow.java:793)
- waiting to lock <0x00007fd6b62e5e80> (a sun.awt.X11.XDialogPeer)
at sun.awt.X11.XWindowPeer.setMouseAbove(XWindowPeer.java:1009)
at sun.awt.X11.XWindow.leaveNotify(XWindow.java:803)
at sun.awt.X11.XWindow.handleXCrossingEvent(XWindow.java:816)
at sun.awt.X11.XWindowPeer.handleXCrossingEvent(XWindowPeer.java:1729)
at sun.awt.X11.XBaseWindow.dispatchEvent(XBaseWindow.java:1119)
at sun.awt.X11.XBaseWindow.dispatchToWindow(XBaseWindow.java:1079)
at sun.awt.X11.XToolkit.dispatchEvent(XToolkit.java:475)
at sun.awt.X11.XToolkit.run(XToolkit.java:588)
at sun.awt.X11.XToolkit.run(XToolkit.java:523)
at java.lang.Thread.run(Thread.java:619)

Locked ownable synchronizers:
- <0x00007fd69ef79790> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)

"Java2D Disposer" daemon prio=10 tid=0x00007fd68405f000 nid=0x3b95 in Object.wait() [0x00000000427f2000..0x00000000427f2d00]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00007fd69f449a60> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x00007fd69f449a60> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at sun.java2d.Disposer.run(Disposer.java:125)
at java.lang.Thread.run(Thread.java:619)

Locked ownable synchronizers:
- None

"Timer-0" daemon prio=10 tid=0x00007fd68c130000 nid=0x3b87 in Object.wait() [0x00000000425f1000..0x00000000425f1c80]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00007fd69f44e918> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:509)
- locked <0x00007fd69f44e918> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)

Locked ownable synchronizers:
- None

"CLI Requests Server" daemon prio=10 tid=0x00007fd68c12bc00 nid=0x3b85 runnable [0x00000000413f4000..0x00000000413f4b00]
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
- locked <0x00007fd69f450af8> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at org.netbeans.CLIHandler$Server.run(CLIHandler.java:1010)

Locked ownable synchronizers:
- None

"Active Reference Queue Daemon" daemon prio=10 tid=0x00007fd68c006800 nid=0x3b78 in Object.wait() [0x00000000411f3000..0x00000000411f3b80]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00007fd69f42bad8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x00007fd69f42bad8> (a java.lang.ref.ReferenceQueue$Lock)
at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:3088)
at java.lang.Thread.run(Thread.java:619)

Locked ownable synchronizers:
- None

"Low Memory Detector" daemon prio=10 tid=0x0000000040adc400 nid=0x3b6c runnable [0x0000000000000000..0x0000000000000000]
java.lang.Thread.State: RUNNABLE

Locked ownable synchronizers:
- None

"CompilerThread1" daemon prio=10 tid=0x0000000040ad9c00 nid=0x3b6b waiting on condition [0x0000000000000000..0x0000000041c2d590]
java.lang.Thread.State: RUNNABLE

Locked ownable synchronizers:
- None

"CompilerThread0" daemon prio=10 tid=0x0000000040ad5c00 nid=0x3b6a waiting on condition [0x0000000000000000..0x0000000041b2c610]
java.lang.Thread.State: RUNNABLE

Locked ownable synchronizers:
- None

"Signal Dispatcher" daemon prio=10 tid=0x0000000040ad4000 nid=0x3b69 runnable [0x0000000000000000..0x0000000041a2c890]
java.lang.Thread.State: RUNNABLE

Locked ownable synchronizers:
- None

"Finalizer" daemon prio=10 tid=0x0000000040ab5000 nid=0x3b64 in Object.wait() [0x00000000421ef000..0x00000000421efc80]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00007fd69f429050> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x00007fd69f429050> (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)

Locked ownable synchronizers:
- None

"Reference Handler" daemon prio=10 tid=0x0000000040aadc00 nid=0x3b63 in Object.wait() [0x0000000041fee000..0x0000000041feeb00]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00007fd69f254480> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:485)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x00007fd69f254480> (a java.lang.ref.Reference$Lock)

Locked ownable synchronizers:
- None

"VM Thread" prio=10 tid=0x0000000040aa8400 nid=0x3b62 runnable

"GC task thread#0 (ParallelGC)" prio=10 tid=0x0000000040a52400 nid=0x3b60 runnable

"GC task thread#1 (ParallelGC)" prio=10 tid=0x0000000040a53c00 nid=0x3b61 runnable

"VM Periodic Task Thread" prio=10 tid=0x0000000040ade800 nid=0x3b6d waiting on condition

JNI global references: 5030

Found one Java-level deadlock:
=============================
"AWT-EventQueue-1":
waiting for ownable synchronizer 0x00007fd69ef79790, (a java.util.concurrent.locks.ReentrantLock$NonfairSync),
which is held by "AWT-XAWT"
"AWT-XAWT":
waiting to lock monitor 0x00007fd68b04a3a8 (object 0x00007fd6b62e5e80, a sun.awt.X11.XDialogPeer),
which is held by "AWT-EventQueue-1"

Java stack information for the threads listed above:
===================================================
"AWT-EventQueue-1":
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00007fd69ef79790> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:747)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:778)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1114)
at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:186)
at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:262)
at sun.awt.SunToolkit.awtLock(SunToolkit.java:241)
at sun.awt.X11.XDropTargetRegistry.unregisterDropSite(XDropTargetRegistry.java:569)
at sun.awt.X11.XWindowPeer.removeDropTarget(XWindowPeer.java:1598)
- locked <0x00007fd6b62e5e80> (a sun.awt.X11.XDialogPeer)
at sun.awt.X11.XComponentPeer.removeDropTarget(XComponentPeer.java:1511)
at java.awt.dnd.DropTarget.removeNotify(DropTarget.java:517)
at java.awt.Component.removeNotify(Component.java:6724)
- locked <0x00007fd69ef79f10> (a java.awt.Component$AWTTreeLock)
at java.awt.Container.removeNotify(Container.java:2611)
- locked <0x00007fd69ef79f10> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.removeNotify(JComponent.java:4699)
at javax.swing.text.JTextComponent.removeNotify(JTextComponent.java:1623)
at java.awt.Container.removeNotify(Container.java:2604)
- locked <0x00007fd69ef79f10> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.removeNotify(JComponent.java:4699)
at java.awt.Container.removeNotify(Container.java:2604)
- locked <0x00007fd69ef79f10> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.removeNotify(JComponent.java:4699)
at java.awt.Container.removeNotify(Container.java:2604)
- locked <0x00007fd69ef79f10> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.removeNotify(JComponent.java:4699)
at org.netbeans.modules.subversion.ui.commit.CommitPanel.removeNotify(CommitPanel.java:110)
at java.awt.Container.removeNotify(Container.java:2604)
- locked <0x00007fd69ef79f10> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.removeNotify(JComponent.java:4699)
at java.awt.Container.removeNotify(Container.java:2604)
- locked <0x00007fd69ef79f10> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.removeNotify(JComponent.java:4699)
at java.awt.Container.removeNotify(Container.java:2604)
- locked <0x00007fd69ef79f10> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.removeNotify(JComponent.java:4699)
at javax.swing.JRootPane.removeNotify(JRootPane.java:750)
at java.awt.Container.removeNotify(Container.java:2604)
- locked <0x00007fd69ef79f10> (a java.awt.Component$AWTTreeLock)
at java.awt.Window.removeNotify(Window.java:685)
- locked <0x00007fd69ef79f10> (a java.awt.Component$AWTTreeLock)
at org.netbeans.core.windows.services.NbPresenter.removeNotify(NbPresenter.java:349)
at java.awt.Window$1DisposeAction.run(Window.java:1013)
at java.awt.Window.doDispose(Window.java:1025)
at java.awt.Dialog.doDispose(Dialog.java:1248)
at java.awt.Window.dispose(Window.java:972)
at org.netbeans.core.windows.services.NbPresenter$ButtonListener.actionPerformed(NbPresenter.java:1153)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6216)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5981)
at java.awt.Container.processEvent(Container.java:2036)
at java.awt.Component.dispatchEventImpl(Component.java:4583)
at java.awt.Container.dispatchEventImpl(Container.java:2094)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4551)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4215)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4145)
at java.awt.Container.dispatchEventImpl(Container.java:2080)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
at java.awt.Dialog$1.run(Dialog.java:1051)
at java.awt.Dialog$3.run(Dialog.java:1103)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1101)
at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:867)
at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:901)
at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:889)
at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:109)
at org.openide.util.Mutex.doEventAccess(Mutex.java:1355)
at org.openide.util.Mutex.readAccess(Mutex.java:268)
at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:874)
at java.awt.Component.show(Component.java:1516)
at java.awt.Component.setVisible(Component.java:1468)
at java.awt.Window.setVisible(Window.java:841)
at java.awt.Dialog.setVisible(Dialog.java:991)
at org.netbeans.modules.subversion.ui.commit.CommitAction.showCommitDialog(CommitAction.java:334)
at org.netbeans.modules.subversion.ui.commit.CommitAction.commitKnownChanges(CommitAction.java:141)
at org.netbeans.modules.subversion.ui.commit.CommitAction.commit(CommitAction.java:109)
at org.netbeans.modules.subversion.ui.commit.CommitAction.performContextAction(CommitAction.java:522)
at org.netbeans.modules.subversion.ui.actions.ContextAction.performAction(ContextAction.java:109)
at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:581)
at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77)
at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:577)
at org.netbeans.modules.versioning.util.SystemActionBridge.actionPerformed(SystemActionBridge.java:91)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
at java.awt.Component.processMouseEvent(Component.java:6216)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5981)
at java.awt.Container.processEvent(Container.java:2036)
at java.awt.Component.dispatchEventImpl(Component.java:4583)
at java.awt.Container.dispatchEventImpl(Container.java:2094)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4551)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4215)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4145)
at java.awt.Container.dispatchEventImpl(Container.java:2080)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
"AWT-XAWT":
at sun.awt.X11.XWindow.setMouseAbove(XWindow.java:793)
- waiting to lock <0x00007fd6b62e5e80> (a sun.awt.X11.XDialogPeer)
at sun.awt.X11.XWindowPeer.setMouseAbove(XWindowPeer.java:1009)
at sun.awt.X11.XWindow.leaveNotify(XWindow.java:803)
at sun.awt.X11.XWindow.handleXCrossingEvent(XWindow.java:816)
at sun.awt.X11.XWindowPeer.handleXCrossingEvent(XWindowPeer.java:1729)
at sun.awt.X11.XBaseWindow.dispatchEvent(XBaseWindow.java:1119)
at sun.awt.X11.XBaseWindow.dispatchToWindow(XBaseWindow.java:1079)
at sun.awt.X11.XToolkit.dispatchEvent(XToolkit.java:475)
at sun.awt.X11.XToolkit.run(XToolkit.java:588)
at sun.awt.X11.XToolkit.run(XToolkit.java:523)
at java.lang.Thread.run(Thread.java:619)

Found 1 deadlock.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mrmorris
Offline
Joined: 2006-07-26

I also experience these dreadful deadlocks, too bad, I rather liked the better browser integration. Since b4 is not to be found anywhere I reverted to u11.

trembovetski
Offline
Joined: 2003-12-31

I believe this one is fixed in 6u12 b04.

Dmitri

valentijn_venus
Offline
Joined: 2009-01-10

I can confirm the GUI freeze on linux amd64. So fixed in build 04, where can i find this build?

trembovetski
Offline
Joined: 2003-12-31

It's not out yet. Should be next week.

trembovetski
Offline
Joined: 2003-12-31

BTW, I was talking about this bug:
6784816: Deadlock occurs when handling mouseLeave on XToolkit

Dmitri