IBM Support

IJ25377: IBM JAVA REGISTERS A HANDLER BY DEFAULT FOR SIGABRT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • When a native application creates a Java Virtual Machine (JVM)
    instance through JNI, the JVM's SIGABRT handler overrides the
    native application's SIGABRT handler, which is installed prior
    to creating the JVM instance. If a SIGABRT is received by the
    native application, only the JVM's SIGABRT handler will be
    invoked and the native application's SIGABRT handler will not be
    invoked.
    

Problem conclusion

  • A new JVM option -XX:<OSB>+<PIPE>-<CSB>HandleSIGABRT is
    introduced. When the option is enabled (default behavior), the
    JVM handles the signal SIGABRT and generates the various dump
    files. When the option is disabled (-XX:-HandleSIGABRT), the JVM
    does not handle the signal SIGABRT.
    Explicitly enabling -XX:+HandleSIGABRT with -Xrs is not
    supported. An error is thrown if both options are enabled
    together.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR6 FP15  (8.0.6.15)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

  • Enable the JVM option -Xrs:sync. The JVM will not register a
    signal handler for SIGABRT, and the application signal handler
    will be invoked if installed. If not installed, the operating
    system will handle the signal.
    It should also be noted that IBM J9 won't register a signal
    handler for other signals such as SIGBUS, SIGILL, SIGFPE,
    SIGTRAP and SIGABEND when -Xrs:sync is specified. -Xrs should be
    used if the native application wants to completely disable JVM
    signal handling.
    

Comments

APAR Information

  • APAR number

    IJ25377

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-06-03

  • Closed date

    2020-06-10

  • Last modified date

    2020-06-10

  • 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

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R270 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
22 February 2022