NeHe Lesson01 SIGSEGV (0xb)

Started by Horizon, December 08, 2004, 17:17:33

Previous topic - Next topic

Horizon

I've setup lwjgl 0.93 in Netbeans as instructed. I am able to run the OpenGL > Game example fine. However there seems to be some problem with fullscreen, as the program exits with just this:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x00000000, pid=5747, tid=16384
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode)
# Problematic frame:
# C  0x00000000
#
# An error report file with more information is saved as hs_err_pid5747.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

Also it doesn't reset the resolution, and key repeat is off, but I read these are because some stuff isn't properly destroyed. I would still like to be able to use fullscreen mode though.

Some more info:
Running Gentoo-dev-sources 2.6.3, NetBeans 4RC2, Sun Java 5.0 (1.5.0) on a P4 2.8GHz 512 MB Dual Channel, Radeon 9800 Pro all on an Asus Mobo.

If you've got any code that I should run to find out what the problem is, let me know.

N.B. OpenGL is working fine in other applications and as I said OpenGL > Game demo is working fine, so I don't think that is the problem.
I've also searched the forum for SIGSEGV, but the problem I found, though very much like this, wasn't exactly the same, as his only occured after exiting the program, while with me the program just crashes.

elias

Isn't there some kind of stack trace in the crash log? Do other fullscreen OpenGL apps work?

- elias

Horizon

No stack trace, I'm afraid. OpenGL > FullScreenTest fails too.

Have you got any suggestions for a fullscreen opengl app to test? I know that the demo of Nexus: The jupiter incident runs, but that's directX under Wine.

Btw, I use Xorg with ati closed source drivers, don't know if it matters.

elias

Hmm, I can't even get X.org to work with the ATI drivers here. I don't think X.org is officially supported by ATI yet.

- elias

Horizon

Well, X.org works mighty fine. I'm also able to run non-fullscreen opengl fine (glxgears and fgl_glxgears). I can also run Nexus fullscreen on wine (but thats directX?), so no problems with the graphics so far.

What I needed to do to get the ati-drivers to work on X.org is use a slightly older version of X.org, namely 6.7.0-r2 instead of the latest. If you run Gentoo, you'll notice that ati-drivers have a dependency on specifically this version.