IBM Support

IV65518: JIT MAY CRASH IN LIBC STRCHR DURING COMPILATION

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: SIGSEGV of the form:Unhandled
    exceptionType=Segmentation error
    vmState=0x00057cffJ9Generic_Signal_Number=00000004
    Signal_Number=0000000b Error_Value=00000000
    Signal_Code=00000001Handler1=00000FFF85FA3B60
    Handler2=00000FFF85DE39D0
    .
    Stack Trace: Example backtrace from a POWER7 Linux machine:p>
    20140824-04:44:03 <gdb> #12 0x00000fff86a2bb98 in .strchr ()
    from /lib64/power7/libc.so.6p> 20140824-04:44:03 <gdb> #13
    0x00000fff847d96e8 in
    ._ZN17TR_ResolvedMethod17makeParameterListEP23TR_ResolvedMethodS
    ymbol () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #14 0x00000fff8485feb0 in
    ._ZN23TR_ResolvedMethodSymbolC1EP17TR_ResolvedMethodP14TR_Compil
    ation () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #15 0x00000fff84888374 in
    ._ZN23TR_SymbolReferenceTable24findOrCreateMethodSymbolE8mcount_
    tiP17TR_ResolvedMethodN15TR_MethodSymbol5KindsEb () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #16 0x00000fff84889150 in
    ._ZN23TR_SymbolReferenceTable25methodSymRefWithSignatureEP18TR_S
    ymbolReferencePci () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #17 0x00000fff853c66f8 in
    ._ZN22TR_ByteCodeIlGenerator26expandPlaceholderSignatureEP18TR_S
    ymbolReferenceii () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #18 0x00000fff853c6218 in
    ._ZN22TR_ByteCodeIlGenerator26expandPlaceholderSignatureEP18TR_S
    ymbolReferencei () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #19 0x00000fff853c6cf0 in
    ._ZN22TR_ByteCodeIlGenerator21genNodeAndPopChildrenE5ILOpsiP18TR
    _SymbolReferenceii () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #20 0x00000fff853c5c40 in
    ._ZN22TR_ByteCodeIlGenerator21genNodeAndPopChildrenE5ILOpsiP18TR
    _SymbolReferencei () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #21 0x00000fff853d1f44 in
    ._ZN22TR_ByteCodeIlGenerator9genInvokeEP18TR_SymbolReferenceP7TR
    _Node () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #22 0x00000fff853b4ba0 in
    ._ZN22TR_ByteCodeIlGenerator15genInvokeStaticEi () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #23 0x00000fff853af284 in
    ._ZN22TR_ByteCodeIlGenerator6walkerEP8TR_Block () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #24 0x00000fff8539acf8 in
    ._ZN22TR_ByteCodeIlGenerator18genILFromByteCodesEv () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #25 0x00000fff85398338 in
    ._ZN22TR_ByteCodeIlGenerator13internalGenILEv () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #26 0x00000fff85397c64 in
    ._ZN22TR_ByteCodeIlGenerator5genILEv () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #27 0x00000fff84865050 in
    ._ZN23TR_ResolvedMethodSymbol5genILEP11TR_FrontEndP14TR_Compilat
    ionP23TR_SymbolReferenceTableP15TR_ILGenRequest () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #28 0x00000fff845f5648 in
    ._ZN23TR_ResolvedJ9MethodBase21genMethodILForPeekingEP23TR_Resol
    vedMethodSymbolP14TR_Compilationb () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #29 0x00000fff84909ce8 in
    ._ZN28TR_MultipleCallTargetInliner12walkCallSiteEP23TR_ResolvedM
    ethodSymbolP12TR_CallStackP10TR_TreeTopP7TR_NodeS7_P24TR_Virtual
    GuardSelectionP19TR_OpaqueClassBlockbi () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #30 0x00000fff84909904 in
    ._ZN28TR_MultipleCallTargetInliner13walkCallSitesEP23TR_Resolved
    MethodSymbolP12TR_CallStackP24TR_InnerPreexistenceInfoi () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #31 0x00000fff84909260 in
    ._ZN28TR_MultipleCallTargetInliner15doWalkCallSitesEP23TR_Resolv
    edMethodSymbolP24TR_InnerPreexistenceInfo () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #32 0x00000fff848d56fc in
    ._ZN14TR_InlinerBase15performInliningEP23TR_ResolvedMethodSymbol
    () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #33 0x00000fff848d52c8 in
    ._ZN10TR_Inliner7performEv () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #34 0x00000fff84948778 in
    ._ZN16TR_OptimizerImpl19performOptimizationEPNS_12OptimizationEi
    ii () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #35 0x00000fff849469a8 in
    ._ZN16TR_OptimizerImpl8optimizeEv () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #36 0x00000fff847a11d0 in
    ._ZN14TR_Compilation20performOptimizationsEv () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #37 0x00000fff8479da54 in
    ._ZN14TR_Compilation7compileEv () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #38 0x00000fff845c5f5c in
    ._ZN31TR_CompilationInfoPerThreadBase7compileEP10J9VMThreadP14TR
    _CompilationP10TR_OptionsP17TR_ResolvedMethodR11TR_FrontEndP19TR
    _OptimizationPlanb () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #39 0x00000fff845c283c in
    ._ZN31TR_CompilationInfoPerThreadBase14wrappedCompileEP13J9PortL
    ibraryP17CompileParameters () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #40 0x00000fff85d9c764 in
    .j9sig_protect () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9prt27.so
    p> 20140824-04:44:03 <gdb> #41 0x00000fff845bd598 in
    ._ZN31TR_CompilationInfoPerThreadBase7compileEP10J9VMThreadP21TR
    _MethodToBeCompiledb () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #42 0x00000fff845bb354 in
    ._Z30protectedCompilationThreadProcP13J9PortLibraryP27TR_Compila
    tionInfoPerThread () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #43 0x00000fff85d9c764 in
    .j9sig_protect () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9prt27.so
    p> 20140824-04:44:03 <gdb> #44 0x00000fff845b8b7c in
    ._Z21compilationThreadProcPv () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9jit27.so
    p> 20140824-04:44:03 <gdb> #45 0x00000fff85dfb4bc in
    .thread_wrapper () from
    /jtctest/sdk_installs/ESPRESSO/PKG/pxp6470_27sr2/pxp6470_27sr2-2
    0140821_05/ibm-java-ppc64-71/jre/lib/ppc64/default/libj9thr27.so
    p> 20140824-04:44:03 <gdb> #46 0x00000fff86bec6cc in
    .start_thread () from /lib64/power7/libpthread.so.0p>
    20140824-04:44:03 <gdb> #47 0x00000fff86a92908 in .__clone ()
    from /lib64/power7/libc.so.6
    .
    This problem only applies to Java 6.0.1, Java 7, and Java 7.1.
    

Local fix

  • You may be able to avoid the problem by preventing the current
    method being compiled. Otherwise, disable the JIT with -Xint,
    however this will have a severe performance penalty.
    

Problem summary

  • The JIT uses an inappropriate C library string routine for the
    type of string being processed.
    

Problem conclusion

  • The JIT has been corrected to use the appropriate C library
    routine.
    .
    This APAR will be fixed in the following Java Releases:
       7 R1 SR2       (7.1.2.0)
       7    SR8       (7.0.8.0)
       6 R1 SR8 FP2   (6.1.8.2)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, Java maintenance is available
    from:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV65518

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-10-02

  • Closed date

    2014-10-02

  • Last modified date

    2014-10-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

  • R130 PSY

       UP

  • R260 PSY

       UP



Document information

More support for: Runtimes for Java Technology
Just In Time (JIT) Compiler

Software version: 130

Reference #: IV65518

Modified date: 02 October 2014