APAR status
Closed as program error.
Error description
Error Message: SIGSEGV crash when user attempts to catch native exception in Java application code on zOS. . Stack Trace: N/A . SIGSEGV crash in the JIT due to incorrect assumptions about register context at beginning of a catch block.This only happens on zOS. The sequence of events that lead up to the crash: Java application code calls some Java Native Methods and the native code could potentially throw an exception. If the Java application attempts to catch this native exception , then a crash will occur.Example of Java application that can cause this error:try {// call out to some java native method that could throw an exceptioncallSomeJNIMethod();}catch (SomeExceptionType obj) {// this application attempts to catch Native exceptions and handle them// crashes here due to incorrect assumptions about the register context}Note: the mechanism that allows the Java application code to catch native exceptions are handled by the LE (language environment) on zOS.
Local fix
Problem summary
The JIT made some incorrect assumptions about the states of the registers. It thought certain registers were preserved but this is not the case when the execution returns to a catch block coming from some native code that threw the exception.
Problem conclusion
The JIT compiler has been modified to not make these assumptions and restore the register context correctly. . This APAR will be fixed in the following Java Releases: 7 R1 SR2 FP10 (7.1.2.10) . Contact your IBM Product's Service Team for these Service Refreshes and Fix Packs. For those running stand-alone, information about the Service Refreshes and Fix Packs can be found at: https://www.ibm.com/developerworks/java/jdk/
Temporary fix
Comments
APAR Information
APAR number
IV68347
Reported component name
JIT
Reported component ID
620700124
Reported release
130
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-01-06
Closed date
2015-01-06
Last modified date
2015-01-06
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
JIT
Fixed component ID
620700124
Applicable component levels
R130 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSC9HBA","label":"Just In Time (JIT) Compiler"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"130","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
06 January 2015