JVM Crash glDrawArrays

Hi all, I’ve been experiencing this jvm crash for some time now. According to the log it happens during a call to glDrawArrays. It seems to happen sporadically on some machines, and consistently on others. I could really use some help figuring this one out. I’ve attached the log if it helps.

Thanks ahead of time,

David

Hi!

Which version of JOGL do you use? Which version of OpenGL does your graphics card support? I experienced such crash when I was using the TextRenderer class and VBO.

I have this draw-a-box app in JOGL, which crashes after roughly 10K calls to glDrawArrays using VBOs.

A direct port to LWJGL solved the problem.

I know this is the JOGL sub-forum, and talking about LWJGL is one sure way to get gouessej all worked up, but heck… I couldn’t work it out in JOGL, and LWJGL just did the job perfectly fine. Shoot me.

[quote=“Riven,post:3,topic:34517”]
I could have said the same kind of thing when I found a regression in LWJGL, the black screen when launching almost all LWJGL application on my crappy machine, I didn’t, I found the exact change list causing it, I encourage you to do the same kind of thing, it would be more constructive than coming here to make some advertising for LWJGL. I don’t want to shoot anyone. I have used VBO with JOGL since 2 years and an half and it works like a charm. If VBO were as buggy as you pretend, I would have abandoned JOGL.

intuition, please tell me more about what you do with VBO, could you provide me a small test case?

LWJLG notwithstanding…
…I notice you have installed JOGL in your JRE bin directory, which is a recipe for trouble. You should never do this or you’ll end up in DLL hell. Install all the DLLs you need in your local app directory and set the application library path to point at them with -Djava.library.path=…

Cas :slight_smile:

You’re right:

[quote]0x0c820000 - 0x0c825000 C:\Program Files\Java\jdk1.6.0_14\jre\bin\jogl_awt.dll
[/quote]
I should have read this file more carefully.

have you still the app around? It would be great if you could post it here or send it to me.

I;m sorry. I wasn’t entirely honest. I never run the app on my own PC. I just had the sourcecode sent to me, and I did some remote debugging with somebody that had the app constantly crashing. A direct port to LWJGL solved it, and I had both sourcecodes, and put them on pastebin.com. As this has been more than 1 month ago, both codedumps are gone now, and I’ll have to contact the person that provided me with both testcases. This might take a while, but I’ll keep you updated.

cool, thanks riven.