Posted by
rhatcher on
Sep 19, 2012; 5:51pm
URL: https://forum.jogamp.org/JVM-Crash-During-X11-Shutdown-tp4026218.html
Fedora 12
JRE/JDK 7u7
GeForce 9800 GT + NVIDIA driver 304.37
JOGAMP/JOGL custom build from 09/17/2012 repos
While testing a build from repos cloned on 09/17/2012 to see if Sven's fix for
Bug 615 worked (it did; comments forthcoming in that bug) I started getting JVM dumps while shutting down our graphics app.
I needed two X screens configured to test the bug fix, but I verified that this crash also happens with a single screen configured.
The crashes happen on every shutdown, and always includes something like this at the top of the hs_err_pid... file:
C [libGL.so.1+0x70d71] fileno+0x70d71
C [libnativewindow_x11.so+0x319a] Java_jogamp_nativewindow_x11_X11Lib_XCloseDisplay__J+0x75
j jogamp.nativewindow.x11.X11Lib.XCloseDisplay(J)I+0
j jogamp.nativewindow.x11.X11Util.XCloseDisplay(J)I+66
j jogamp.nativewindow.x11.X11Util.closePendingDisplayConnections()I+117
j jogamp.nativewindow.x11.X11Util.shutdown()V+213
...more stuff...
The complete hs_err_pid file from which this snippet was taken is
here.
The previous JOGL version we were running with was RC10 plus our initial fix for Bug 615, and it didn't have any shutdown issues.
A diff of X11Lib.java between our RC10 version and the 09/17 version reveals that quite a bit has changed related to X11 shutdown.
Has anyone seen similar crashes?