IBM Support

IJ53953: CRASH WHILE RESOLVING METHODHANDLENATIVES

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: Unhandled exception
    Type=Segmentation error
    .
    Stack Trace: Below are the stacktraces from the reported issues
    thus far.
    Stacktrace1:
    j9vm29!decodeUTF8Char
    j9vm29!computeHashForUTF8
    j9vm29!constraintHashFn
    j9vm29!hashTableGrowListNodes
    j9vm29!hashTableGrow
    j9vm29!hashTableAdd
    j9vm29!registerClassLoadingConstraint
    j9vm29!j9bcv_checkClassLoadingConstraintForName
    j9vm29!j9bcv_checkClassLoadingConstraintsForSignature
    j9vm29!processMethod
    j9vm29!javaLookupMethodImpl
    j9vm29!javaLookupMethod
    j9vm29!resolveStaticMethodRefInto
    j9vm29!resolveStaticMethodRef
    j9vm29!VM_BytecodeInterpreterCompressed::run
    
    Stacktrace2:
    __memcmp_avx2_movbe (libc.so.6)
    constraintHashEqualFn (libj9vm29.so)
    hashTableAddNodeInList (libj9vm29.so)
    registerClassLoadingConstraint (libj9vm29.so)
    j9bcv_checkClassLoadingConstraintForName (libj9vm29.so)
    j9bcv_checkClassLoadingConstraintsForSignature(libj9vm29.so)
    javaLookupMethodImpl (libj9vm29.so)
    lookupMethod (libjclse29.so)
    Java_java_lang_invoke_MethodHandleNatives_resolve
    (libjclse29.so)
    .
    

Local fix

Problem summary

  • The problem is because the string object for the class name is
    slack allocated so when the stack popped off, the class name
    pointer became invalid.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IJ53953

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    290

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2025-03-18

  • Closed date

    2025-03-20

  • Last modified date

    2025-03-20

  • 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

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

Document Information

Modified date:
20 March 2025