Exception at program end with Linux driver 61.06

Hello,

JOGL works great. But when I exit (System.exit) any JOGL-program
(e g the demo Gears) under Linux driver 61.06 (NVIDIA) and the GPU 5700
I get an exception (Signal 11). I didn’t notice that error in the previous
driver 53.36. I have not checked the new driver 61.11 since I don’t have
the permission to install.

The error is independant of JOGL-version. GLDebug gives no further
information. The programs include animator.stop.

Any ideas/experiences? I intend to contact NVIDIA later on.

The messages (shortened) with Gears follows below.

Magnus Bondesson

=======================================
CANVAS GL IS: net.java.games.jogl.impl.x11.X11GLImpl
CANVAS GLU IS: net.java.games.jogl.impl.GLUImpl
INIT GL IS: net.java.games.jogl.impl.x11.X11GLImpl
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce FX 5700/AGP/SSE2
GL_VERSION: 1.5.1 NVIDIA 61.06

glLoadTransposeMatrixfARB() supported: true
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce FX 5700/AGP/SSE2
GL_VERSION: 1.5.1 NVIDIA 61.06

glLoadTransposeMatrixfARB() supported: true

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4E6F89D2 during VM shutdown
Function=_nv000832gl+0x12
Library=/usr/lib/libGLcore.so.1

Dynamic libraries:
08048000-0804e000 r-xp 00000000 00:16 368373 /-/ed-pkg/pkg/j2sdk-1.4.2/j2sdk1.4.2/bin/java
0804e000-0804f000 rw-p 00005000 00:16 368373 /-/ed-pkg/pkg/j2sdk-1.4.2/j2sdk1.4.2/bin/java
40000000-40015000 r-xp 00000000 03:02 528085 /lib/ld-2.3.2.so
40015000-40016000 rw-p 00014000 03:02 528085 /lib/ld-2.3.2.so
40017000-4001f000 r-xp 00000000 00:16 367750 /-/ed-pkg/pkg/j2sdk-1.4.2/j2sdk1.4.2/jre/lib/i386/native_threads/libhpi.so
4001f000-40020000 rw-p 00007000 00:16 367750 /-/ed-pkg/pkg/j2sdk-1.4.2/j2sdk1.4.2/jre/lib/i386/native_threads/libhpi.so

/-/course/TDA360/LINUX04/JOGL/libjogl.so
4e318000-4e31a000 rw-p 00105000 00:17 33196 /-/course/TDA360/LINUX04/JOGL/libjogl.so
4e31a000-4e326000 rw-s 00000000 00:04 79888385 /SYSV00000000 (deleted)
4e32e000-4e386000 r-xp 00000000 03:02 400341 /usr/lib/libGL.so.1.0.6106
4e386000-4e395000 rwxp 00058000 03:02 400341 /usr/lib/libGL.so.1.0.6106
4e396000-4e410000 r-xp 00000000 03:02 388584 /usr/X11R6/lib/libGLU.so.1.3
4e410000-4e412000 rw-p 00079000 03:02 388584 /usr/X11R6/lib/libGLU.so.1.3
4e412000-4eabb000 r-xp 00000000 03:02 400120 /usr/lib/libGLcore.so.1.0.6106
4eabb000-4ead6000 rw-p 006a9000 03:02 400120 /usr/lib/libGLcore.so.1.0.6106
4eaea000-4eaeb000 r-xp 00000000 03:02 50885 /usr/lib/tls/libnvidia-tls.so.1.0.6106
4eaeb000-4eaec000 rw-p 00000000 03:02 50885 /usr/lib/tls/libnvidia-tls.so.1.0.6106
4eaec000-4eb95000 r-xp 00000000 03:02 400253 /usr/lib/libstdc++.so.5.0.3
4eb95000-4eb9a000 rw-p 000a8000 03:02 400253 /usr/lib/libstdc++.so.5.0.3
4eb9f000-4eba7000 r-xp 00000000 03:02 532719 /lib/libgcc_s-3.2.3-20040701.so.1
4eba7000-4eba8000 rw-p 00007000 03:02 532719 /lib/libgcc_s-3.2.3-20040701.so.1
4edcf000-4f2cf000 rw-s e0000000 03:02 71615 /dev/nvidia0
4f72c000-4f72d000 rw-s 00000000 00:04 83853314 /SYSV00000000 (deleted)
4f72d000-4f787000 rw-s e0528000 03:02 71615 /dev/nvidia0
4f787000-4f7e1000 rw-s e7e94000 03:02 71615 /dev/nvidia0
4f7e1000-4f83b000 rw-s e7e94000 03:02 71615 /dev/nvidia0
4f8e5000-4fae5000 rw-s e7c4d000 03:02 71615 /dev/nvidia0

Heap at VM Abort:
Heap
def new generation total 576K, used 165K [0x44700000, 0x447a0000, 0x44be0000)
eden space 512K, 32% used [0x44700000, 0x44729448, 0x44780000)
from space 64K, 0% used [0x44790000, 0x44790118, 0x447a0000)
to space 64K, 0% used [0x44780000, 0x44780000, 0x44790000)
tenured generation total 1408K, used 695K [0x44be0000, 0x44d40000, 0x48700000)
the space 1408K, 49% used [0x44be0000, 0x44c8de80, 0x44c8e000, 0x44d40000)
compacting perm gen total 4608K, used 4598K [0x48700000, 0x48b80000, 0x4c700000)
the space 4608K, 99% used [0x48700000, 0x48b7da38, 0x48b7dc00, 0x48b80000)

Local Time = Tue Aug 17 17:13:09 2004
Elapsed Time = 28

The exception above was detected in native code outside the VM

Java VM: Java HotSpot™ Client VM (1.4.2-b28 mixed mode)

An error report file has been saved as hs_err_pid14786.log.

Please refer to the file for further information.

Abort

Have you made sure that the animator has stopped properly? That was the main cause of a number of my errors for awhile…

sorry missed that line about animator.stop(). :’(

but clearly what I meant was calling dispose() on your graphics context since I guess the section at the bottom is about memory and IIRC jogl can have problems with “memory leaks” due to the native method bindings. If this is wrong can someone correct me since I know nothing about how the binds work…

SNR

I get a similar core dump using the 6111 drivers when ending the gears demo. I’ve tried this with both blackdown 1.4.1 and the lastest Sun 1.5.0 release.

Anyone have anymore info on this ?

Thank you for the confirmation that the error still exists in 61.11. Infact
I verified that for myself just before you sent your letter.

I have tried the NVIDIA forum too, but didn’t get any answers.

Now have filed an error report to linux-bugs@nvidia.com.

As for a previous answer suggesting dispose on the graphics context
I didn’t try it since it would require - as I see it - a rewrite of the
code.

Magnus Bondesson