IBM Support

IJ54626: JVM UNEXPECTEDLY TERMINATES ON WINDOWS

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: When running on Windows with control flow guard
    enabled the JVM may stop unexpectedly. None of the usual crash
    data is generated.
    .
    Stack Trace: N/A
    .
    

Local fix

  • The problem can be avoided by any of:
    Use -Xrs on the JVM command line
    Use -Xjit:disableTraps on the JVM command line
    Disable control flow guard
    

Problem summary

  • As part of Microsoft's control flow guard technology a check is
    made that the stack pointer points to a valid range of the C
    stack on returning from a signal handler. This is incompatible
    with the normal operation of the JVM which may call a signal
    handler while the stack pointer is pointing to the Java stack
    (this being unknown to the operating system and not within the C
    stack area). As a result CFG terminates the process without
    opportunity to generate the usual crash data.
    

Problem conclusion

  • The JVM has been updated to detect whether Microsoft's CFG is
    enabled. If CFG is active, the JVM will operate without relying
    on signal handlers during normal execution, resolving the
    conflict.
    .
    This APAR will be fixed in the following Releases:
    .
    IBM Semeru Runtimes
       21              21.0.7.0
       17              17.0.15.0
       11              11.0.27.0
    IBM SDK, Java Technology Edition
       8    SR8 FP50  (8.0.8.50)
    .
    Downloads and supplementary documentation can be found at the
    following locations:
    - For non z/OS operating systems:
      - IBM Semeru Runtimes, Version 11 and later
        https://www.ibm.com/semeru-runtimes/downloads/
      - IBM SDK, Java Technology Edition, Version 8
        https://www.ibm.com/support/pages/java-sdk-downloads/
    - For the z/OS operating system:
      - Java SDK Products on z/OS
        https://www.ibm.com/support/pages/java-sdk-products-zos
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ54626

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2025-05-07

  • Closed date

    2025-05-07

  • Last modified date

    2025-05-07

  • 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

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"130","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
07 May 2025