This is roughly related to my previous postings about trouble with ATI v5200, but I’ve investigated some more and have some new information.
Summary: I see hotspot crashes after a fairly-consistent length of time when running one of my applications. The thread dump shows that it is crashing in code that looks like this:
double x[] = new double[6], y[] = new double[6], z[] = new double[6];
// fill x,y,z with interesting stuff
glBegin(GL_LINES);
glVertex3f(x,y,z);
glEnd(GL_LINES);
The hotspot crash shows a segfault in glVertex3f (looks like a null pointer dereference.)
If I run my application with -Djogl.1thread=false, the problem does not occur (in fact, everything seems happy!)
I find it interesting that the crashes only seem to occur when I’m creating transitory double[]s, despite the fact that my code spends a lot more time pushing data that I keep around. (garbage collector interaction?)
I believe I only do GL operations from the GLEventListener methods.
Thoughts?