-
Bug
-
Resolution: Fixed
-
P1
-
6
There appears to be a regression in the libjsig.so library between jdk1.5.0 and jdk1.6.0 (b97). I'm testing a Java 3D application on Linux running the NVIDIA Cg library. Since it uses signal handlers, I use LD_PRELOAD to load the libjsig.so library from the jre. The behavior I see is:
jdk1.5.0 - Works
jdk1.6.0 - Crashes in native code (segv)
jdk1.6.0 with libjsig from jdk1.5.0 - WORKS!
I get the same problem with/without using JOGL.
Note that using jdk1.6.0, but setting LD_PRELOAD to the libjsig.so from jdk1.5.0 works. This suggests a regression in libjsig.so between Tiger and Mustang.
I have attached the log file.
To reproduce this bug, you will need a Linux system with an NVIDIA graphics card (5700 or better) and the OpenGL drivers and the libCg library installed. Let me know if you want a system to test it on. Once you have the system setup, you can run the following:
cd /home/kcr/java/bugs/libjsig
./RUN.sh
It will crash after a short time in native code. If instead you run:
./RUN-jsig5.sh
It will use the libjsig from jdk1.5.0 and run indefinitely.
This bug affects all JNI applications which uses signal handling to manage memory,
NOTE: This is a generic problem AND not specific to NVIDIA graphics.
jdk1.5.0 - Works
jdk1.6.0 - Crashes in native code (segv)
jdk1.6.0 with libjsig from jdk1.5.0 - WORKS!
I get the same problem with/without using JOGL.
Note that using jdk1.6.0, but setting LD_PRELOAD to the libjsig.so from jdk1.5.0 works. This suggests a regression in libjsig.so between Tiger and Mustang.
I have attached the log file.
To reproduce this bug, you will need a Linux system with an NVIDIA graphics card (5700 or better) and the OpenGL drivers and the libCg library installed. Let me know if you want a system to test it on. Once you have the system setup, you can run the following:
cd /home/kcr/java/bugs/libjsig
./RUN.sh
It will crash after a short time in native code. If instead you run:
./RUN-jsig5.sh
It will use the libjsig from jdk1.5.0 and run indefinitely.
This bug affects all JNI applications which uses signal handling to manage memory,
NOTE: This is a generic problem AND not specific to NVIDIA graphics.
- relates to
-
JDK-6229462 Library libjsig.so (from hotspot workspace) is missing dependence on libc.so (Solaris&Linux)
- Resolved