lwjgl/jdk1.4.1/glibc

While changing the lwjgl linux code into what is going to become 0.6, I ran into this serious stability problem, causing a segfault in libGL.so.1 (nvidia) when creating a Display/GL more than once.

After investigating a little, I discovered that the problem only shows on redhat 8 with the latest glibc (2.3.2), and not on plain rh 8 (glibc 2.2.93). I fixed it by downgrading my glibc to the default one, but I fear the problem will persist on rh 9, suse 8.2 and other glibc 2.3.x enabled distributions.

What’s interesting, is that loading liblwjgl.so through a C progam and creating the display, won’t ever cause a segfault, even with the newest glibc.

So, what’s up with the jdk1.4.1_02/glibc2.3.x/opengl combo? Any magic compiler flags I forgot? Any known problem with jdk1.4.1_02 and glibc 2.3?

  • elias