libX11 error upon closing the window

Hi All,

I’ve recently started using JOGL. My experience so far is excellent. Thanks to everybody for making this library available.

I do have a question related to a libX11 error that I’m getting when closing my OpenGL Window. Here is the error message:

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007fb64ae726b8, pid=4016, tid=140422151800560

JRE version: 6.0_15-b03

Java VM: Java HotSpot™ 64-Bit Server VM (14.1-b02 mixed mode linux-amd64 )

Problematic frame:

C [libX11.so.6+0x376b8] XQueryExtension+0x28

This seems to happen with the NeHe samples as well as my own code which simply draws a triangle. I’m running on Ubuntu64-bit and on an ATI Mobility Radeon 4650. The problem only happens when closing the window.

Thanks for any suggestions,
Oguz

Hi!

Give me a small piece of code in order to reproduce your bug on my machine, I’m on Mandriva Linux 2010.

Hi,

Please find my code attached as a .jar file. All it does is clear the background to red and draw a green triangle. You should be able to just run it and observe the problem. I’ve noticed that sometimes (very rarely) the problem does not happen. So about 1 out of 10 times I can close the window and it quits without that error message.

Thanks,
Oguz

I’ll give a try at home. Do you use a native window or a GLCanvas? If you use a GLCanvas, do you reproduce this problem with JOGL 1.1.1a?