-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0
-
rc1
-
x86
-
linux
d=0x51ed waiting on monitor [bd9ff000..bd9ff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x447da740> (a javax.swing.TimerQueue)
at javax.swing.TimerQueue.run(TimerQueue.java:234)
- locked <0x447da740> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Thread.java:539)
"tag file manager" daemon prio=1 tid=0x0x81b0558 nid=0x51eb waiting on monitor [bdbff000..bdbff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x445f1b78> (a org.armedbear.j.TagFileManager)
at java.lang.Object.wait(Object.java:425)
at org.armedbear.j.TagFileManager.getEntryFromQueue(TagFileManager.java:111)
- locked <0x445f1b78> (a org.armedbear.j.TagFileManager)
at org.armedbear.j.TagFileManager.run(TagFileManager.java:73)
"idle" daemon prio=1 tid=0x0x81a05b0 nid=0x51ea waiting on monitor [bddff000..bddff8b0]
at java.lang.Thread.sleep(Native Method)
at org.armedbear.j.IdleThread.run(IdleThread.java:100)
"Thread-3" daemon prio=1 tid=0x0x819d598 nid=0x51e9 waiting on monitor [bdfff000..bdfff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x447c01f0> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:432)
- locked <0x447c01f0> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:385)
"Thread-2" prio=1 tid=0x0x81d0870 nid=0x51d8 waiting on monitor [0..bfffd7a8]
"server" daemon prio=1 tid=0x0x81c16a0 nid=0x51e8 runnable [be1ff000..be1ff8b0]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:344)
- locked <0x447c02c8> (a java.net.PlainSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:441)
at java.net.ServerSocket.accept(ServerSocket.java:412)
at org.armedbear.j.Server.run(Server.java:78)
at java.lang.Thread.run(Thread.java:539)
"AWT-EventQueue-0" prio=1 tid=0x0x4c975308 nid=0x51e7 waiting for monitor entry [be3ff000..be3ff8b0]
at sun.awt.X11Renderer.doFillRect(Native Method)
at sun.awt.X11Renderer.fillRect(X11Renderer.java:132)
at sun.java2d.pipe.ValidatePipe.fillRect(ValidatePipe.java:49)
at sun.java2d.SunGraphics2D.fillRect(SunGraphics2D.java:2104)
at javax.swing.plaf.basic.BasicTextUI.paintBackground(BasicTextUI.java:487)
at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:558)
at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:702)
at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:681)
at javax.swing.JComponent.paintComponent(JComponent.java:540)
at javax.swing.JComponent.paint(JComponent.java:807)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4737)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4690)
at javax.swing.JComponent._paintImmediately(JComponent.java:4634)
at javax.swing.JComponent.paintImmediately(JComponent.java:4466)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:407)
at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:120)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:181)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:446)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:193)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:141)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:133)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:101)
"AWT-Shutdown" prio=1 tid=0x0x4c975140 nid=0x51e6 waiting on monitor [be9ff000..be9ff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x44570ae0> (a java.lang.Object)
at java.lang.Object.wait(Object.java:425)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:262)
- locked <0x44570ae0> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:539)
"AWT-Motif" daemon prio=1 tid=0x0x82028d8 nid=0x51e2 runnable [be7ff000..be7ff8b0]
at sun.awt.motif.MToolkit.run(Native Method)
at java.lang.Thread.run(Thread.java:539)
"Signal Dispatcher" daemon prio=1 tid=0x0x807b3a0 nid=0x51df waiting on monitor [0..0]
"Finalizer" daemon prio=1 tid=0x0x8075108 nid=0x51dc waiting for monitor entry [bf3ff000..bf3ff8b0]
at sun.awt.X11SurfaceData.nativeDispose(Native Method)
at sun.awt.X11SurfaceData.dispose(X11SurfaceData.java:446)
at sun.awt.X11SurfaceData.finalize(X11SurfaceData.java:436)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:86)
at java.lang.ref.Finalizer.access$100(Finalizer.java:17)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:163)
"Reference Handler" daemon prio=1 tid=0x0x8073670 nid=0x51db waiting on monitor [bf5ff000..bf5ff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x44511d68> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:425)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x44511d68> (a java.lang.ref.Reference$Lock)
"VM Thread" prio=1 tid=0x0x8070560 nid=0x51da runnable
"VM Periodic Task Thread" prio=1 tid=0x0x8079fa8 nid=0x51dd waiting on monitor
"Suspend Checker Thread" prio=1 tid=0x0x807a998 nid=0x51de runnable
Release Regression From : merlin-beta2
The above release value was the last known release where this
bug was knwon to work. Since then there has been a regression.
(Review ID: 135925)
======================================================================
Name: nt126004 Date: 12/18/2001
java version "1.4.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
When running a fairly large Swing application (the j editor - source is
available at http://armedbear.org/), Java intermittently hangs with the
following error message displayed in the xterm from which the application was
started:
Xlib: unexpected async reply (sequence 0x107d7)!
When this error occurs, Java is hung (or at least the event dispatch thread is
hung), the application no longer repaints, and the only way out is to kill the
application.
This error occurs frequently but I don't know of any scenario to reproduce it on
demand. Sometimes it occurs almost right away upon starting the application; at
other times, the application might run without error for over an hour. I'm using
a dual processor machine (but I don't know if that's relevant).
This error does NOT occur with any other version of Java besides 1.4 beta 3.
Even 1.4 beta 2 works fine (in this respect). It seems like it's a bug that was
introduced in beta 3.
Below is one example Thread dump generated with Ctrl-\.
I've looked at a number of these now, and no two are exactly alike. It
seems in this particular case the AWT-EventQueue-0 thread got stuck
(although the Finalizer thread appears to be in Xlib also). In any
case, when this happens the app no longer repaints (although
background threads continue to run).
--- cut here---
Full thread dump Java HotSpot(TM) Client VM (1.4.0-beta3-b84 mixed mode):
"process forker" daemon prio=1 tid=0x0x8334918 nid=0x515d waiting on monitor [bd5ff000..bd5ff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x447dd278> (a java.lang.Object)
at java.lang.UNIXProcessForker.run(Native Method)
at java.lang.Thread.run(Thread.java:539)
"process reaper" daemon prio=1 tid=0x0x8334740 nid=0x515c runnable [bd7ff000..bd7ff8b0]
at java.lang.UNIXProcessReaper.run(Native Method)
at java.lang.Thread.run(Thread.java:539)
"TimerQueue" daemon prio=1 tid=0x0x82fc310 nid=0x5149 waiting on monitor [be5ff000..be5ff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x44627b68> (a javax.swing.TimerQueue)
at javax.swing.TimerQueue.run(TimerQueue.java:234)
- locked <0x44627b68> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Thread.java:539)
"tag file manager" daemon prio=1 tid=0x0x81d0d20 nid=0x5147 waiting on monitor [bdbff000..bdbff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x445e4d18> (a org.armedbear.j.TagFileManager)
at java.lang.Object.wait(Object.java:425)
at org.armedbear.j.TagFileManager.getEntryFromQueue(TagFileManager.java:111)
- locked <0x445e4d18> (a org.armedbear.j.TagFileManager)
at org.armedbear.j.TagFileManager.run(TagFileManager.java:73)
"idle" daemon prio=1 tid=0x0x80b0340 nid=0x5146 waiting on monitor [bddff000..bddff8b0]
at java.lang.Thread.sleep(Native Method)
at org.armedbear.j.IdleThread.run(IdleThread.java:100)
"Thread-3" daemon prio=1 tid=0x0x8424288 nid=0x5145 waiting on monitor [bdfff000..bdfff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x44619340> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:432)
- locked <0x44619340> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:385)
"Thread-2" prio=1 tid=0x0x841f4a0 nid=0x5134 waiting on monitor [0..bfffd7a8]
"server" daemon prio=1 tid=0x0x820a748 nid=0x5144 runnable [be1ff000..be1ff8b0]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:344)
- locked <0x44619418> (a java.net.PlainSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:441)
at java.net.ServerSocket.accept(ServerSocket.java:412)
at org.armedbear.j.Server.run(Server.java:78)
at java.lang.Thread.run(Thread.java:539)
"AWT-EventQueue-0" prio=1 tid=0x0x80670b0 nid=0x5143 waiting for monitor entry [be3ff000..be3ff8b0]
at sun.awt.X11Renderer.doFillRect(Native Method)
at sun.awt.X11Renderer.fillRect(X11Renderer.java:132)
at sun.java2d.pipe.ValidatePipe.fillRect(ValidatePipe.java:49)
at sun.java2d.SunGraphics2D.fillRect(SunGraphics2D.java:2104)
at javax.swing.plaf.basic.BasicTextUI.paintBackground(BasicTextUI.java:487)
at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:558)
at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:702)
at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:681)
at javax.swing.JComponent.paintComponent(JComponent.java:540)
at javax.swing.JComponent.paint(JComponent.java:807)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4737)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4690)
at javax.swing.JComponent._paintImmediately(JComponent.java:4634)
at javax.swing.JComponent.paintImmediately(JComponent.java:4466)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:407)
at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:120)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:181)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:446)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:193)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:141)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:133)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:101)
"AWT-Shutdown" prio=1 tid=0x0x8066e80 nid=0x5142 waiting on monitor [be9ff000..be9ff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x4456f538> (a java.lang.Object)
at java.lang.Object.wait(Object.java:425)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:262)
- locked <0x4456f538> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:539)
"AWT-Motif" daemon prio=1 tid=0x0x82028d8 nid=0x513e runnable [be7ff000..be7ff8b0]
at sun.awt.motif.MToolkit.run(Native Method)
at java.lang.Thread.run(Thread.java:539)
"Signal Dispatcher" daemon prio=1 tid=0x0x807b3a0 nid=0x513b waiting on monitor [0..0]
"Finalizer" daemon prio=1 tid=0x0x8075108 nid=0x5138 waiting for monitor entry [bf3ff000..bf3ff8b0]
at sun.awt.X11SurfaceData.nativeDispose(Native Method)
at sun.awt.X11SurfaceData.dispose(X11SurfaceData.java:446)
at sun.awt.X11SurfaceData.finalize(X11SurfaceData.java:436)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:86)
at java.lang.ref.Finalizer.access$100(Finalizer.java:17)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:163)
"Reference Handler" daemon prio=1 tid=0x0x8073670 nid=0x5137 waiting on monitor [bf5ff000..bf5ff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x44511d68> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:425)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x44511d68> (a java.lang.ref.Reference$Lock)
"VM Thread" prio=1 tid=0x0x8070560 nid=0x5136 runnable
"VM Periodic Task Thread" prio=1 tid=0x0x8079fa8 nid=0x5139 waiting on monitor
"Suspend Checker Thread" prio=1 tid=0x0x807a998 nid=0x513a runnable
--- cut here ---
Here's another one,note that the Finalizer thread is in the same spot, for what that's
worth.
--- cut here ---
Full thread dump Java HotSpot(TM) Client VM (1.4.0-beta3-b84 mixed mode):
"TimerQueue" daemon prio=1 tid=0x0x4c9022e0 nid=0x51a1 waiting on monitor [bd9ff000..bd9ff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x447ed2b8> (a javax.swing.TimerQueue)
at javax.swing.TimerQueue.run(TimerQueue.java:234)
- locked <0x447ed2b8> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Thread.java:539)
"tag file manager" daemon prio=1 tid=0x0x814b540 nid=0x519f waiting on monitor [bdbff000..bdbff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x445e7b88> (a org.armedbear.j.TagFileManager)
at java.lang.Object.wait(Object.java:425)
at org.armedbear.j.TagFileManager.getEntryFromQueue(TagFileManager.java:111)
- locked <0x445e7b88> (a org.armedbear.j.TagFileManager)
at org.armedbear.j.TagFileManager.run(TagFileManager.java:73)
"idle" daemon prio=1 tid=0x0x80af2d8 nid=0x519e waiting on monitor [bddff000..bddff8b0]
at java.lang.Thread.sleep(Native Method)
at org.armedbear.j.IdleThread.run(IdleThread.java:100)
"Thread-3" daemon prio=1 tid=0x0x8256c10 nid=0x519d waiting on monitor [bdfff000..bdfff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x447befa8> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:432)
- locked <0x447befa8> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:385)
"Thread-2" prio=1 tid=0x0x819dd60 nid=0x518c waiting on monitor [0..bfffd7a8]
"server" daemon prio=1 tid=0x0x819c478 nid=0x519c runnable [be1ff000..be1ff8b0]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:344)
- locked <0x447bf080> (a java.net.PlainSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:441)
at java.net.ServerSocket.accept(ServerSocket.java:412)
at org.armedbear.j.Server.run(Server.java:78)
at java.lang.Thread.run(Thread.java:539)
"AWT-EventQueue-0" prio=1 tid=0x0x81bb4b8 nid=0x519b runnable [be3fe000..be3ff8b0]
at sun.awt.motif.MGlobalCursorManager.getCursorPos(Native Method)
at sun.awt.GlobalCursorManager._updateCursor(GlobalCursorManager.java:182)
at sun.awt.GlobalCursorManager.updateCursorImmediately(GlobalCursorManager.java:85)
at sun.awt.motif.MComponentPeer.updateCursorImmediately(MComponentPeer.java:213)
at java.awt.Component.updateCursorImmediately(Component.java:2223)
at java.awt.Container.validate(Container.java:890)
at javax.swing.CellRendererPane.paintComponent(CellRendererPane.java:126)
at javax.swing.plaf.basic.BasicListUI.paintCell(BasicListUI.java:136)
at javax.swing.plaf.basic.BasicListUI.paint(BasicListUI.java:218)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:145)
at javax.swing.JComponent.paintComponent(JComponent.java:540)
at javax.swing.JComponent.paint(JComponent.java:807)
at javax.swing.JComponent.paintChildren(JComponent.java:646)
- locked <0x44524280> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.paint(JComponent.java:816)
at javax.swing.JViewport.paint(JViewport.java:710)
at javax.swing.JComponent.paintChildren(JComponent.java:646)
- locked <0x44524280> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.paint(JComponent.java:816)
at javax.swing.JComponent.paintChildren(JComponent.java:646)
- locked <0x44524280> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.paint(JComponent.java:816)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4737)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4690)
at javax.swing.JComponent._paintImmediately(JComponent.java:4634)
at javax.swing.JComponent.paintImmediately(JComponent.java:4466)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:407)
at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:120)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:181)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:446)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:193)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:141)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:133)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:101)
"AWT-Shutdown" prio=1 tid=0x0x81bb288 nid=0x519a waiting on monitor [be9ff000..be9ff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x44590e50> (a java.lang.Object)
at java.lang.Object.wait(Object.java:425)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:262)
- locked <0x44590e50> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:539)
"AWT-Motif" daemon prio=1 tid=0x0x838da70 nid=0x5196 waiting for monitor entry [be7ff000..be7ff8b0]
at sun.awt.motif.MToolkit.run(Native Method)
at java.lang.Thread.run(Thread.java:539)
"Signal Dispatcher" daemon prio=1 tid=0x0x807b3a0 nid=0x5193 waiting on monitor [0..0]
"Finalizer" daemon prio=1 tid=0x0x8075108 nid=0x5190 waiting for monitor entry [bf3ff000..bf3ff8b0]
at sun.awt.X11SurfaceData.nativeDispose(Native Method)
at sun.awt.X11SurfaceData.dispose(X11SurfaceData.java:446)
at sun.awt.X11SurfaceData.finalize(X11SurfaceData.java:436)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:86)
at java.lang.ref.Finalizer.access$100(Finalizer.java:17)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:163)
"Reference Handler" daemon prio=1 tid=0x0x8073670 nid=0x518f waiting on monitor [bf5ff000..bf5ff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x44511d68> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:425)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x44511d68> (a java.lang.ref.Reference$Lock)
"VM Thread" prio=1 tid=0x0x8070560 nid=0x518e runnable
"VM Periodic Task Thread" prio=1 tid=0x0x8079fa8 nid=0x5191 waiting on monitor
"Suspend Checker Thread" prio=1 tid=0x0x807a998 nid=0x5192 runnable
--- cut here ---
Here's a third one, that's quite like the first one. As you can see,
these errors happen quite frequently, making beta 3 unusable for real
work.
--- cut here ---
Xlib: unexpected async reply (sequence 0xd566)!
Full thread dump Java HotSpot(TM) Client VM (1.4.0-beta3-b84 mixed mode):
"TimerQueue" daemon prio=1 tid=0x0x4c922920 ni
at java.lang.Object.wait(Native Method)
- waiting on <0x447da740> (a javax.swing.TimerQueue)
at javax.swing.TimerQueue.run(TimerQueue.java:234)
- locked <0x447da740> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Thread.java:539)
"tag file manager" daemon prio=1 tid=0x0x81b0558 nid=0x51eb waiting on monitor [bdbff000..bdbff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x445f1b78> (a org.armedbear.j.TagFileManager)
at java.lang.Object.wait(Object.java:425)
at org.armedbear.j.TagFileManager.getEntryFromQueue(TagFileManager.java:111)
- locked <0x445f1b78> (a org.armedbear.j.TagFileManager)
at org.armedbear.j.TagFileManager.run(TagFileManager.java:73)
"idle" daemon prio=1 tid=0x0x81a05b0 nid=0x51ea waiting on monitor [bddff000..bddff8b0]
at java.lang.Thread.sleep(Native Method)
at org.armedbear.j.IdleThread.run(IdleThread.java:100)
"Thread-3" daemon prio=1 tid=0x0x819d598 nid=0x51e9 waiting on monitor [bdfff000..bdfff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x447c01f0> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:432)
- locked <0x447c01f0> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:385)
"Thread-2" prio=1 tid=0x0x81d0870 nid=0x51d8 waiting on monitor [0..bfffd7a8]
"server" daemon prio=1 tid=0x0x81c16a0 nid=0x51e8 runnable [be1ff000..be1ff8b0]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:344)
- locked <0x447c02c8> (a java.net.PlainSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:441)
at java.net.ServerSocket.accept(ServerSocket.java:412)
at org.armedbear.j.Server.run(Server.java:78)
at java.lang.Thread.run(Thread.java:539)
"AWT-EventQueue-0" prio=1 tid=0x0x4c975308 nid=0x51e7 waiting for monitor entry [be3ff000..be3ff8b0]
at sun.awt.X11Renderer.doFillRect(Native Method)
at sun.awt.X11Renderer.fillRect(X11Renderer.java:132)
at sun.java2d.pipe.ValidatePipe.fillRect(ValidatePipe.java:49)
at sun.java2d.SunGraphics2D.fillRect(SunGraphics2D.java:2104)
at javax.swing.plaf.basic.BasicTextUI.paintBackground(BasicTextUI.java:487)
at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:558)
at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:702)
at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:681)
at javax.swing.JComponent.paintComponent(JComponent.java:540)
at javax.swing.JComponent.paint(JComponent.java:807)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4737)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4690)
at javax.swing.JComponent._paintImmediately(JComponent.java:4634)
at javax.swing.JComponent.paintImmediately(JComponent.java:4466)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:407)
at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:120)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:181)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:446)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:193)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:141)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:133)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:101)
"AWT-Shutdown" prio=1 tid=0x0x4c975140 nid=0x51e6 waiting on monitor [be9ff000..be9ff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x44570ae0> (a java.lang.Object)
at java.lang.Object.wait(Object.java:425)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:262)
- locked <0x44570ae0> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:539)
"AWT-Motif" daemon prio=1 tid=0x0x82028d8 nid=0x51e2 runnable [be7ff000..be7ff8b0]
at sun.awt.motif.MToolkit.run(Native Method)
at java.lang.Thread.run(Thread.java:539)
"Signal Dispatcher" daemon prio=1 tid=0x0x807b3a0 nid=0x51df waiting on monitor [0..0]
"Finalizer" daemon prio=1 tid=0x0x8075108 nid=0x51dc waiting for monitor entry [bf3ff000..bf3ff8b0]
at sun.awt.X11SurfaceData.nativeDispose(Native Method)
at sun.awt.X11SurfaceData.dispose(X11SurfaceData.java:446)
at sun.awt.X11SurfaceData.finalize(X11SurfaceData.java:436)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:86)
at java.lang.ref.Finalizer.access$100(Finalizer.java:17)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:163)
"Reference Handler" daemon prio=1 tid=0x0x8073670 nid=0x51db waiting on monitor [bf5ff000..bf5ff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x44511d68> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:425)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x44511d68> (a java.lang.ref.Reference$Lock)
"VM Thread" prio=1 tid=0x0x8070560 nid=0x51da runnable
"VM Periodic Task Thread" prio=1 tid=0x0x8079fa8 nid=0x51dd waiting on monitor
"Suspend Checker Thread" prio=1 tid=0x0x807a998 nid=0x51de runnable
Release Regression From : merlin-beta2
The above release value was the last known release where this
bug was knwon to work. Since then there has been a regression.
(Review ID: 135925)
======================================================================
Name: nt126004 Date: 12/18/2001
java version "1.4.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
When running a fairly large Swing application (the j editor - source is
available at http://armedbear.org/), Java intermittently hangs with the
following error message displayed in the xterm from which the application was
started:
Xlib: unexpected async reply (sequence 0x107d7)!
When this error occurs, Java is hung (or at least the event dispatch thread is
hung), the application no longer repaints, and the only way out is to kill the
application.
This error occurs frequently but I don't know of any scenario to reproduce it on
demand. Sometimes it occurs almost right away upon starting the application; at
other times, the application might run without error for over an hour. I'm using
a dual processor machine (but I don't know if that's relevant).
This error does NOT occur with any other version of Java besides 1.4 beta 3.
Even 1.4 beta 2 works fine (in this respect). It seems like it's a bug that was
introduced in beta 3.
Below is one example Thread dump generated with Ctrl-\.
I've looked at a number of these now, and no two are exactly alike. It
seems in this particular case the AWT-EventQueue-0 thread got stuck
(although the Finalizer thread appears to be in Xlib also). In any
case, when this happens the app no longer repaints (although
background threads continue to run).
--- cut here---
Full thread dump Java HotSpot(TM) Client VM (1.4.0-beta3-b84 mixed mode):
"process forker" daemon prio=1 tid=0x0x8334918 nid=0x515d waiting on monitor [bd5ff000..bd5ff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x447dd278> (a java.lang.Object)
at java.lang.UNIXProcessForker.run(Native Method)
at java.lang.Thread.run(Thread.java:539)
"process reaper" daemon prio=1 tid=0x0x8334740 nid=0x515c runnable [bd7ff000..bd7ff8b0]
at java.lang.UNIXProcessReaper.run(Native Method)
at java.lang.Thread.run(Thread.java:539)
"TimerQueue" daemon prio=1 tid=0x0x82fc310 nid=0x5149 waiting on monitor [be5ff000..be5ff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x44627b68> (a javax.swing.TimerQueue)
at javax.swing.TimerQueue.run(TimerQueue.java:234)
- locked <0x44627b68> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Thread.java:539)
"tag file manager" daemon prio=1 tid=0x0x81d0d20 nid=0x5147 waiting on monitor [bdbff000..bdbff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x445e4d18> (a org.armedbear.j.TagFileManager)
at java.lang.Object.wait(Object.java:425)
at org.armedbear.j.TagFileManager.getEntryFromQueue(TagFileManager.java:111)
- locked <0x445e4d18> (a org.armedbear.j.TagFileManager)
at org.armedbear.j.TagFileManager.run(TagFileManager.java:73)
"idle" daemon prio=1 tid=0x0x80b0340 nid=0x5146 waiting on monitor [bddff000..bddff8b0]
at java.lang.Thread.sleep(Native Method)
at org.armedbear.j.IdleThread.run(IdleThread.java:100)
"Thread-3" daemon prio=1 tid=0x0x8424288 nid=0x5145 waiting on monitor [bdfff000..bdfff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x44619340> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:432)
- locked <0x44619340> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:385)
"Thread-2" prio=1 tid=0x0x841f4a0 nid=0x5134 waiting on monitor [0..bfffd7a8]
"server" daemon prio=1 tid=0x0x820a748 nid=0x5144 runnable [be1ff000..be1ff8b0]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:344)
- locked <0x44619418> (a java.net.PlainSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:441)
at java.net.ServerSocket.accept(ServerSocket.java:412)
at org.armedbear.j.Server.run(Server.java:78)
at java.lang.Thread.run(Thread.java:539)
"AWT-EventQueue-0" prio=1 tid=0x0x80670b0 nid=0x5143 waiting for monitor entry [be3ff000..be3ff8b0]
at sun.awt.X11Renderer.doFillRect(Native Method)
at sun.awt.X11Renderer.fillRect(X11Renderer.java:132)
at sun.java2d.pipe.ValidatePipe.fillRect(ValidatePipe.java:49)
at sun.java2d.SunGraphics2D.fillRect(SunGraphics2D.java:2104)
at javax.swing.plaf.basic.BasicTextUI.paintBackground(BasicTextUI.java:487)
at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:558)
at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:702)
at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:681)
at javax.swing.JComponent.paintComponent(JComponent.java:540)
at javax.swing.JComponent.paint(JComponent.java:807)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4737)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4690)
at javax.swing.JComponent._paintImmediately(JComponent.java:4634)
at javax.swing.JComponent.paintImmediately(JComponent.java:4466)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:407)
at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:120)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:181)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:446)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:193)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:141)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:133)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:101)
"AWT-Shutdown" prio=1 tid=0x0x8066e80 nid=0x5142 waiting on monitor [be9ff000..be9ff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x4456f538> (a java.lang.Object)
at java.lang.Object.wait(Object.java:425)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:262)
- locked <0x4456f538> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:539)
"AWT-Motif" daemon prio=1 tid=0x0x82028d8 nid=0x513e runnable [be7ff000..be7ff8b0]
at sun.awt.motif.MToolkit.run(Native Method)
at java.lang.Thread.run(Thread.java:539)
"Signal Dispatcher" daemon prio=1 tid=0x0x807b3a0 nid=0x513b waiting on monitor [0..0]
"Finalizer" daemon prio=1 tid=0x0x8075108 nid=0x5138 waiting for monitor entry [bf3ff000..bf3ff8b0]
at sun.awt.X11SurfaceData.nativeDispose(Native Method)
at sun.awt.X11SurfaceData.dispose(X11SurfaceData.java:446)
at sun.awt.X11SurfaceData.finalize(X11SurfaceData.java:436)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:86)
at java.lang.ref.Finalizer.access$100(Finalizer.java:17)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:163)
"Reference Handler" daemon prio=1 tid=0x0x8073670 nid=0x5137 waiting on monitor [bf5ff000..bf5ff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x44511d68> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:425)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x44511d68> (a java.lang.ref.Reference$Lock)
"VM Thread" prio=1 tid=0x0x8070560 nid=0x5136 runnable
"VM Periodic Task Thread" prio=1 tid=0x0x8079fa8 nid=0x5139 waiting on monitor
"Suspend Checker Thread" prio=1 tid=0x0x807a998 nid=0x513a runnable
--- cut here ---
Here's another one,note that the Finalizer thread is in the same spot, for what that's
worth.
--- cut here ---
Full thread dump Java HotSpot(TM) Client VM (1.4.0-beta3-b84 mixed mode):
"TimerQueue" daemon prio=1 tid=0x0x4c9022e0 nid=0x51a1 waiting on monitor [bd9ff000..bd9ff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x447ed2b8> (a javax.swing.TimerQueue)
at javax.swing.TimerQueue.run(TimerQueue.java:234)
- locked <0x447ed2b8> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Thread.java:539)
"tag file manager" daemon prio=1 tid=0x0x814b540 nid=0x519f waiting on monitor [bdbff000..bdbff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x445e7b88> (a org.armedbear.j.TagFileManager)
at java.lang.Object.wait(Object.java:425)
at org.armedbear.j.TagFileManager.getEntryFromQueue(TagFileManager.java:111)
- locked <0x445e7b88> (a org.armedbear.j.TagFileManager)
at org.armedbear.j.TagFileManager.run(TagFileManager.java:73)
"idle" daemon prio=1 tid=0x0x80af2d8 nid=0x519e waiting on monitor [bddff000..bddff8b0]
at java.lang.Thread.sleep(Native Method)
at org.armedbear.j.IdleThread.run(IdleThread.java:100)
"Thread-3" daemon prio=1 tid=0x0x8256c10 nid=0x519d waiting on monitor [bdfff000..bdfff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x447befa8> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:432)
- locked <0x447befa8> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:385)
"Thread-2" prio=1 tid=0x0x819dd60 nid=0x518c waiting on monitor [0..bfffd7a8]
"server" daemon prio=1 tid=0x0x819c478 nid=0x519c runnable [be1ff000..be1ff8b0]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:344)
- locked <0x447bf080> (a java.net.PlainSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:441)
at java.net.ServerSocket.accept(ServerSocket.java:412)
at org.armedbear.j.Server.run(Server.java:78)
at java.lang.Thread.run(Thread.java:539)
"AWT-EventQueue-0" prio=1 tid=0x0x81bb4b8 nid=0x519b runnable [be3fe000..be3ff8b0]
at sun.awt.motif.MGlobalCursorManager.getCursorPos(Native Method)
at sun.awt.GlobalCursorManager._updateCursor(GlobalCursorManager.java:182)
at sun.awt.GlobalCursorManager.updateCursorImmediately(GlobalCursorManager.java:85)
at sun.awt.motif.MComponentPeer.updateCursorImmediately(MComponentPeer.java:213)
at java.awt.Component.updateCursorImmediately(Component.java:2223)
at java.awt.Container.validate(Container.java:890)
at javax.swing.CellRendererPane.paintComponent(CellRendererPane.java:126)
at javax.swing.plaf.basic.BasicListUI.paintCell(BasicListUI.java:136)
at javax.swing.plaf.basic.BasicListUI.paint(BasicListUI.java:218)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:145)
at javax.swing.JComponent.paintComponent(JComponent.java:540)
at javax.swing.JComponent.paint(JComponent.java:807)
at javax.swing.JComponent.paintChildren(JComponent.java:646)
- locked <0x44524280> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.paint(JComponent.java:816)
at javax.swing.JViewport.paint(JViewport.java:710)
at javax.swing.JComponent.paintChildren(JComponent.java:646)
- locked <0x44524280> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.paint(JComponent.java:816)
at javax.swing.JComponent.paintChildren(JComponent.java:646)
- locked <0x44524280> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.paint(JComponent.java:816)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4737)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4690)
at javax.swing.JComponent._paintImmediately(JComponent.java:4634)
at javax.swing.JComponent.paintImmediately(JComponent.java:4466)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:407)
at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:120)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:181)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:446)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:193)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:141)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:133)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:101)
"AWT-Shutdown" prio=1 tid=0x0x81bb288 nid=0x519a waiting on monitor [be9ff000..be9ff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x44590e50> (a java.lang.Object)
at java.lang.Object.wait(Object.java:425)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:262)
- locked <0x44590e50> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:539)
"AWT-Motif" daemon prio=1 tid=0x0x838da70 nid=0x5196 waiting for monitor entry [be7ff000..be7ff8b0]
at sun.awt.motif.MToolkit.run(Native Method)
at java.lang.Thread.run(Thread.java:539)
"Signal Dispatcher" daemon prio=1 tid=0x0x807b3a0 nid=0x5193 waiting on monitor [0..0]
"Finalizer" daemon prio=1 tid=0x0x8075108 nid=0x5190 waiting for monitor entry [bf3ff000..bf3ff8b0]
at sun.awt.X11SurfaceData.nativeDispose(Native Method)
at sun.awt.X11SurfaceData.dispose(X11SurfaceData.java:446)
at sun.awt.X11SurfaceData.finalize(X11SurfaceData.java:436)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:86)
at java.lang.ref.Finalizer.access$100(Finalizer.java:17)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:163)
"Reference Handler" daemon prio=1 tid=0x0x8073670 nid=0x518f waiting on monitor [bf5ff000..bf5ff8b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x44511d68> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:425)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x44511d68> (a java.lang.ref.Reference$Lock)
"VM Thread" prio=1 tid=0x0x8070560 nid=0x518e runnable
"VM Periodic Task Thread" prio=1 tid=0x0x8079fa8 nid=0x5191 waiting on monitor
"Suspend Checker Thread" prio=1 tid=0x0x807a998 nid=0x5192 runnable
--- cut here ---
Here's a third one, that's quite like the first one. As you can see,
these errors happen quite frequently, making beta 3 unusable for real
work.
--- cut here ---
Xlib: unexpected async reply (sequence 0xd566)!
Full thread dump Java HotSpot(TM) Client VM (1.4.0-beta3-b84 mixed mode):
"TimerQueue" daemon prio=1 tid=0x0x4c922920 ni
- duplicates
-
JDK-4502872 Xlib error running X client app on linux/jdk1.4, X server on Win2000/ReflectionX
-
- Closed
-