IBM Support

IV58624: JAVA PROGRAM CRASHES AFTER KEYTOOL CREATES A SHARED CLASS CACHE

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 SIGSEGV, GPF, or S0C4 ABEND is raised in an
    AOT-compiled Java method that has been loaded from the shared
    class cache. The shared class cache has previously been created
    with the Java "keytool" utility, which was invoked with class
    sharing enabled.
    .
    Stack Trace:
    org/apache/harmony/security/fortress/Services$NormalServices.sor
    tDefaultProviderInfos()org/apache/harmony/security/fortress/Serv
    ices$NormalServices.getService()org/apache/harmony/security/fort
    ress/Services$NormalServices.access$2900()org/apache/harmony/sec
    urity/fortress/Services.getService()org/apache/harmony/security/
    fortress/Engine.getInstance()java/security/KeyStore.getInstance(
    )
    .
    

Local fix

  • This issue can be avoided by disabling AOT compilations with the
    -Xnoaot option.
    

Problem summary

  • The problem is caused by missing relocation records in the
    AOT-compiled method. The missing records cause a second JVM
    instance to skip required compatibility checks when loading the
    compiled code from the shared class cache. As a result, the JVM
    incorrectly concludes that the code can be loaded and executed,
    when the code is in fact invalid for that JVM instance.
    

Problem conclusion

  • This APAR will be fixed in the following Java Releases:
       6 R1 SR8       (6.1.8.0)
    .
    The JIT compiler has been updated to generate relocation records
    correctly in this case.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV58624

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-04-02

  • Closed date

    2014-04-02

  • Last modified date

    2014-04-02

  • 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

  • R260 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":"260","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 April 2014