Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (475)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
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  
  Multithreading problem?  (Read 1286 times)
0 Members and 1 Guest are viewing this topic.
Offline adriankierman

Junior Newbie




Java games rock!


« Posted 2003-09-03 04:12:03 »

Hi foks
I've been using jogl for a couple of weeks and I've been hugely impressed with how clean the api's are. Nice work guys  Smiley

I seem to have run into a problem that has stumped me a little though - perhaps one of you guys has some idea what might be causing this error message.

<-- Error message follows  -->

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xA11C9BD7
Function=XVisualIDFromVisual+0x7
Library=/usr/X11R6/lib/libX11.so.6

Current Java thread:
       at net.java.games.jogl.impl.JAWT_DrawingSurface.GetDrawingSurfaceInfo0(Native Method)
       at net.java.games.jogl.impl.JAWT_DrawingSurface.GetDrawingSurfaceInfo(JAWT_DrawingSurface.java:42)
       at net.java.games.jogl.impl.x11.X11OnscreenGLContext.lockSurface(X11OnscreenGLContext.java:167)
       at net.java.games.jogl.impl.x11.X11OnscreenGLContext.makeCurrent(X11OnscreenGLContext.java:108)
       - locked <0x44927448> (a net.java.games.jogl.impl.x11.X11OnscreenGLContext)
       at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:162)
       - locked <0x44927448> (a net.java.games.jogl.impl.x11.X11OnscreenGLContext)
       at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:196)
       at net.java.games.jogl.GLCanvas.display(GLCanvas.java:91)
       at net.java.games.jogl.Animator$1.run(Animator.java:104)
       at java.lang.Thread.run(Thread.java:536)

Dynamic libraries:


< ---              --- >


This was generated from the last nightly using code that is almost exactly the same as the nvidia refraction demo (except no refraction extensions used here)
This is running on redhat linux with jvm 1.4.1 and an nvidia 5600 with the latest nvidia drivers.

Any advice appreciated.


I also tried it with java version 1.4.2 and I get a different exception as follows

net.java.games.jogl.GLException: Error making context current
       at net.java.games.jogl.impl.x11.X11GLContext.makeCurrent(X11GLContext.java:141)
       at net.java.games.jogl.impl.x11.X11OnscreenGLContext.makeCurrent(X11OnscreenGLContext.java:111)
       at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:162)
       at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:196)
       at net.java.games.jogl.GLCanvas.display(GLCanvas.java:91)
       at net.java.games.jogl.Animator$1.run(Animator.java:104)
       at java.lang.Thread.run(Thread.java:534)
net.java.games.jogl.GLException: Error making context current
       at net.java.games.jogl.impl.x11.X11GLContext.makeCurrent(X11GLContext.java:141)
       at net.java.games.jogl.impl.x11.X11OnscreenGLContext.makeCurrent(X11OnscreenGLContext.java:111)
       at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:162)
       at net.java.games.jogl.GLCanvas.reshape(GLCanvas.java:119)
       at java.awt.Component.setBounds(Component.java:1664)
       at java.awt.BorderLayout.layoutContainer(BorderLayout.java:691)
       at java.awt.Container.layout(Container.java:1020)
       at java.awt.Container.doLayout(Container.java:1010)
       at java.awt.Container.validateTree(Container.java:1092)
       at java.awt.Container.validateTree(Container.java:1099)
       at java.awt.Container.validateTree(Container.java:1099)
       at java.awt.Container.validateTree(Container.java:1099)
       at java.awt.Container.validateTree(Container.java:1099)
       at java.awt.Container.validateTree(Container.java:1099)
       at java.awt.Container.validateTree(Container.java:1099)
       at java.awt.Container.validateTree(Container.java:1099)
       at java.awt.Container.validateTree(Container.java:1099)
       at java.awt.Container.validate(Container.java:1067)
       at java.awt.Window.dispatchEventImpl(Window.java:1604)
       at java.awt.Component.dispatchEvent(Component.java:3477)
       at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
       at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
       at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
       at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
net.java.games.jogl.GLException: Error making context current
       at net.java.games.jogl.impl.x11.X11GLContext.makeCurrent(X11GLContext.java:141)
       at net.java.games.jogl.impl.x11.X11OnscreenGLContext.makeCurrent(X11OnscreenGLContext.java:111)
       at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:162)
       at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:196)
       at net.java.games.jogl.GLCanvas.display(GLCanvas.java:91)
       at net.java.games.jogl.GLCanvas.paint(GLCanvas.java:102)
       at sun.awt.RepaintArea.paint(RepaintArea.java:177)
       at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:405)
       at java.awt.Component.dispatchEventImpl(Component.java:3678)
       at java.awt.Component.dispatchEvent(Component.java:3477)
       at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
       at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
       at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
       at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Offline kevglass

JGO Kernel


Medals: 120
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #1 - Posted 2003-09-03 06:41:49 »

The second stack trace is becoming a common theme Smiley

Seems to be a problem when you're trying to run JOGL with X in 16 bit graphics mode.

This report report here:

http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=newbies;action=display;num=1062001166

Might be worth adding to the FAQ if its actually the case?

Kev

Offline adriankierman

Junior Newbie




Java games rock!


« Reply #2 - Posted 2003-09-03 07:09:36 »

Yep thats solved the problem. Thanks  Smiley
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Ken Russell

JGO Coder




Java games rock!


« Reply #3 - Posted 2003-09-07 06:21:01 »

Actually could one of you please file an issue about this on http://jogl.dev.java.net/ ? This is the first report I've personally seen about this problem. Thanks.
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 (6 views)
2014-07-24 01:59:36

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

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

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

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

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

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

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

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

Riven (49 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!