IV39798: THROWING A JAVA EXCEPTION CAUSES A CRASH IN LIBJ9VM26.SO ON POWE R
Closed as program error.
Error Message: A SIGSEGV or GPF is raised in libj9vm26.so on POWER platforms (Linux or AIX), when a Java program tries to throw an exception. . Stack Trace: java/lang/J9VMInternals.getStackTrace(Native Method) java/lang/Throwable.getInternalStackTrace(Throwable.java:208(Com piled Code)) java/lang/Throwable.printStackTrace(Throwable.java:399(Compiled Code)) java/lang/Throwable.printStackTrace(Throwable.java:245(Compiled Code)) Native stack trace: #12 getOriginalROMMethod #13 iterateStackTrace #14 getStackTrace #15 java_lang_J9VMInternals_getStackTrace .
This problem can be avoided with the JVM option -Xnoclassgc but this might result in a memory leak if dynamic class loading is in use. The problem can also be avoided by preventing the JIT compiler from inlining methods that could be unloaded without the root method also being unloaded at the same time. We believe that the following option will have that effect with a performance penalty of less then 20%: -Xjit:disableVirtualInlining A more conservative work-around would be to disable inlining entirely: -Xjit:disableInlining
The problem is caused by the JIT compiler incorrectly handling unloaded methods on POWER platforms.
This defect will be addressed by APAR IV47046 for Java 6, Java 6.0.1, and Java 7.
Reported component name
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
Fixed component ID
Applicable component levels
Translate this page: