IBM Support

IJ06410: CRASH DOING CRYPTO WITH AGENT ATTACHED

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: A crash is reported in the JIT module when doing
    cryptographic operations and with an agent attached
    .
    Stack Trace: com/ibm/crypto/provider/*
    .
    This problem can only occur on x86 and POWER platforms
    

Local fix

  • This problem can be avoided by disabling hardware accelerated
    cryptography using the option
    -Dcom.ibm.jit.crypto.nohardwarecrypt=true
    

Problem summary

  • Java agents can prefix native methods as part of their
    monitoring functionality via JVMTI. The agent requests control
    in order to perform its tasks when transitioning from executing
    Java code to executing native code via JNI. Hardware
    acceleration of cryptographic functions is implemented using
    JNI. The JIT re-orders the parameters of certain hardware
    accelerated methods on certain platforms. When an agent prefixes
    one of these methods to get control, this parameter re-ordering
    is no longer valid and thus the parameters of called methods may
    not be in the right locations which will likely result in a
    crash.
    

Problem conclusion

  • The JIT compiler has been updated to prevent parameter
    re-ordering of hardware accelerated cryptography methods
    prefixed by agents.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR5 FP15  (8.0.5.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

Comments

APAR Information

  • APAR number

    IJ06410

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-05-14

  • Closed date

    2018-05-14

  • Last modified date

    2018-05-14

  • 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":"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:
14 May 2018