unexpected exception (fedora core 2 / radeon)

hi!

i installed fedora core 2 on my laptop and now i always get an unexpected exception outside the vm. with core 1 it worked great.

specs:

  • Java HotSpot™ Client VM (1.4.2_04-b05 mixed mode)
  • sony vaio GRX416G
  • ATI Mobility Radeon 7500
  • fedora core 2
  • X-Server from X.org
  • Kernel 2.6.4
  • glibc2.3.3

what can i do?

thanks,
chris

details:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xEF1
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.

Current Java thread:
at net.java.games.jogl.impl.GLUImpl.dispatch_gluPerspective(Native Method)
at net.java.games.jogl.impl.GLUImpl.gluPerspective(GLUImpl.java:935)
at WinMan$MyGLListener.init(WinMan.java:94)
at net.java.games.jogl.impl.GLDrawableHelper.init(GLDrawableHelper.java:68)
at net.java.games.jogl.GLCanvas$InitAction.run(GLCanvas.java:199)
at net.java.games.jogl.impl.x11.X11GLContext.makeCurrent(X11GLContext.java:158)
- locked <0x59620750> (a net.java.games.jogl.impl.x11.X11OnscreenGLContext)
at net.java.games.jogl.impl.x11.X11OnscreenGLContext.makeCurrent(X11OnscreenGLContext.java:111)
- locked <0x59620750> (a net.java.games.jogl.impl.x11.X11OnscreenGLContext)
at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:203)
- locked <0x59620750> (a net.java.games.jogl.impl.x11.X11OnscreenGLContext)
at net.java.games.jogl.GLCanvas.reshape(GLCanvas.java:105)
at java.awt.Component.setBounds(Component.java:1664)
at java.awt.BorderLayout.layoutContainer(BorderLayout.java:691)
- locked <0x59aa62a0> (a java.awt.Component$AWTTreeLock)
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.validate(Container.java:1067)
- locked <0x59aa62a0> (a java.awt.Component$AWTTreeLock)
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)

more details:

the exception is thrown when i use GLU.gluPerspective() or GLU.gluLookAt()

what could that be?

thanks

As gluPerspective and gluLookAt call no driver code it’s completely unrelated to your Fedora kernel problem - it’s a JOGL bug.

Cas :slight_smile:

[quote]the exception is thrown when i use GLU.gluPerspective() or GLU.gluLookAt()

what could that be?
[/quote]
Have you checked to make sure that libGLU.so is present and is the correct version? Do C programs that use GLU work?

There have been problems reported in the past on Linux regarding the use of GLU. I think we need to resolve these by stopping using the GLU native library and just port all of the routines to Java.

A very wise move.

Cas :slight_smile:

package xorg-x11-Mesa-libGLU-6.7.0-2 is installed and provides:

/usr/X11R6/lib/libGLU.so.1
/usr/X11R6/lib/libGLU.so.1.3
/usr/lib/libGLU.so.1

it seems that all other native programms work fine. (all gl screensavers for example)

i’ve heard of an ati driver for linux, but on ati.com i can’t find one for my radeon 7500 mobile. they don’t have mobile drivers. are there any unofficial ones? is it possible that jogl would work using this drivers?

thanks

Hi,

Few months ago I also had problems with using GLU from JOGL on Linux (RedHat 9, VIA CLE266 w/ DRI drivers). I tried to figure out the problem that time, but after also decided to port some functions to Java and embed them into Xith3D canvas setup code.

I will vote for pure Java version of GLU.

Yuri