The attached files contain a tarball that has the class files and libraries for a test case that uses NVidia's Cg library from Java when run on 32-bit Liunx using Java 1.5.0_01. The test case fails with a SEGV that appears to be from an error in the JVM (see the comments for more detail).
To run the test case, start with a machine running 32-bit RHEL3 with an NVidia graphics card and recent NVidia graphics drivers. Unpack the tarball, set JAVA_HOME, cd to 'gpu' and run ./runTest.
The NVidia driver needs to be version 7664, available at:
http://www.nvidia.com/object/linux_display_ia32_1.0-7664.html
Newer drivers expose a problem with the test case which prevents reproducting the bug.
Also, the Cg libraries need to be installed from:
http://download.nvidia.com/developer/cg/Cg_1.4/Cg-1.4.0-4.i386.rpm