Java2D guys -> EventQueue deadlock

At least one paint event seems to make it through a cycle as I do see one frame of animation but that is it. The bug database seems to be down or I would look for a dup. Any ideas java2d guys?


Full thread dump Java HotSpot(TM) Client VM (1.5.0-beta3-b60 mixed mode, sharing
):

"Thread-4" prio=5 tid=0x04c81248 nid=0xd1c in Object.wait() [0x0585f000..0x0585fb68]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x23046768> (a net.java.games.jogl.impl.windows.WindowsGLC
ontextFactory$NativeWindowThread)
        at java.lang.Object.wait(Unknown Source)
        at net.java.games.jogl.impl.windows.WindowsGLContextFactory$NativeWindow
Thread.run(WindowsGLContextFactory.java:271)
        - locked <0x23046768> (a net.java.games.jogl.impl.windows.WindowsGLConte
xtFactory$NativeWindowThread)

"DestroyJavaVM" prio=5 tid=0x00035868 nid=0xc9c waiting on condition [0x00000000..0x0007fae8]

"Thread-3" prio=5 tid=0x04c85358 nid=0xd14 runnable [0x053ef000..0x053efbe8]
        at java.awt.EventQueue.postEvent(Unknown Source)
        at java.awt.EventQueue.invokeAndWait(Unknown Source)
        - locked <0x22a6b4d0> (a java.awt.EventQueue$1AWTInvocationLock)
        at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:203)
        at net.java.games.jogl.GLCanvas.display(GLCanvas.java:75)
        at net.java.games.jogl.Animator$1.run(Animator.java:107)
        at java.lang.Thread.run(Unknown Source)

"AWT-EventQueue-0" prio=7 tid=0x04cb96e0 nid=0xd10 in Object.wait() [0x053af000..0x053afc68]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Unknown Source)
        at java.awt.EventQueue.getNextEvent(Unknown Source)
        - locked <0x22f7f150> (a java.awt.EventQueue)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

"AWT-Windows" daemon prio=7 tid=0x04c79608 nid=0xd0c runnable [0x04f2f000..0x04f2fce8]
        at sun.awt.windows.WToolkit.eventLoop(Native Method)
        at sun.awt.windows.WToolkit.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

"AWT-Shutdown" prio=5 tid=0x04c791d8 nid=0xd08 in Object.wait() [0x04eef000..0x04eefd68]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x22f43bf8> (a java.lang.Object)
        at java.lang.Object.wait(Unknown Source)
        at sun.awt.AWTAutoShutdown.run(Unknown Source)
        - locked <0x22f43bf8> (a java.lang.Object)
        at java.lang.Thread.run(Unknown Source)

"Java2D Disposer" daemon prio=10 tid=0x04c75ab0 nid=0xd04 in Object.wait() [0x04eaf000..0x04eaf9e8]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x22f6ad08> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(Unknown Source)
        - locked <0x22f6ad08> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(Unknown Source)
        at sun.java2d.Disposer.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

"Low Memory Detector" daemon prio=5 tid=0x00a6b6a0 nid=0xce0 runnable [0x00000000..0x00000000]

"CompilerThread0" daemon prio=10 tid=0x00a6a270 nid=0xcd8 waiting on condition [0x00000000..0x02bcf8c0]

"Signal Dispatcher" daemon prio=10 tid=0x00a69578 nid=0xcd4 waiting on condition
 [0x00000000..0x00000000]

"Finalizer" daemon prio=9 tid=0x00a42a00 nid=0xccc in Object.wait() [0x02b4f000..0x02b4fc68]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x22f6aeb0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(Unknown Source)
        - locked <0x22f6aeb0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(Unknown Source)
        at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

"Reference Handler" daemon prio=10 tid=0x00a66a90 nid=0xcc8 in Object.wait() [0x02b0f000..0x02b0fce8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Unknown Source)
        at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
        - locked <0x22f6af30> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x0003e708 nid=0xcc4 runnable

"VM Periodic Task Thread" prio=10 tid=0x00a6c8b0 nid=0xce4 waiting on condition

I don’t understand your post. :frowning:

You’re getting a deadlock, but you can’t figure out why? Do you have any code snippets or an explanation of what you are doing?

Cheers,
Dr. A>

You’re apparently using jogl, wouldn’t it make sense to ask on JOGL forum? I don’t think it’s a Java2D related problem…