Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (533)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Java2D guys -> EventQueue deadlock  (Read 748 times)
0 Members and 1 Guest are viewing this topic.
Offline GKW

Senior Member




Revenge is mine!


« Posted 2004-10-04 20:00:24 »

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?


1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51  
52  
53  
54  
55  
56  
57  
58  
59  
60  
61  
62  
63  
64  
65  
66  
67  
68  
69  
70  
71  
72  
73  
74  
75  
76  
77  
78  
79  
80  
81  
82  
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
Offline dranonymous

Junior Member




Hoping to become a Java Titan someday!


« Reply #1 - Posted 2004-10-05 14:01:38 »

I don't understand your post.  Sad

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>
Offline trembovetski

Senior Member




If only I knew what I'm talking about!


« Reply #2 - Posted 2004-10-06 05:08:16 »

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..
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

pw (24 views)
2014-07-24 01:59:36

Riven (24 views)
2014-07-23 21:16:32

Riven (18 views)
2014-07-23 21:07:15

Riven (21 views)
2014-07-23 20:56:16

ctomni231 (50 views)
2014-07-18 06:55:21

Zero Volt (45 views)
2014-07-17 23:47:54

danieldean (36 views)
2014-07-17 23:41:23

MustardPeter (39 views)
2014-07-16 23:30:00

Cero (54 views)
2014-07-16 00:42:17

Riven (55 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!