IBM Support

IV97096: JAVA 1.8 PROCESS COREDUMP DUE TO EBB ILL INST WHEN TPROF IS RUN APPLIES TO AIX 7200-00

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • 1XHEXCPCODE    J9Generic_Signal_Number: 00000010
    1XHEXCPCODE    Signal_Number: 00000004
    
    IAR: 0000000000008624
    
    Java 1.8 process coredump due to Illegal Instruction at
    IAR '0x8624'. This happens when tprof event based is
    used.
    This happens because tprof -E is a global tool with
    respect to PMSVCS and pmsvcs does not restore java?s
    pmcontext
    into CPU when global tool is running.
    
    As pmcontext of java is not restored in to PMU
    mmcr0[PMCC] bit is set ?00? revoking the access to mmcr0
    register
    in user space.
    When Java process tries to access the mmcr0 via
    ?_write_mmcr0_addr? routine it gets ILL INSTRUCTION
    EXCEPTION.
    

Local fix

  • power7 compat mode. OR
    Also as a workaround you could even disable
    RuntimeInstrumentation feature in IBM JAVA.
    -XX:-RuntimeInstrumentation
    

Problem summary

  • 1XHEXCPCODE J9Generic_Signal_Number:
    00000010
    1XHEXCPCODE Signal_Number: 00000004
    
    IAR: 0000000000008624
    
    Java 1.8 process coredump due to
    Illegal Instruction at IAR '0x8624'.
    This happens when tprof event based
    profiling is used.
    This happens because tprof -E is a
    global tool with respect to PMSVCS
    and pmsvcs does not restore java   s
    pmcontext into CPU when global tool
    is running.
    

Problem conclusion

  • Added the code to restore the access of mmcr0
    Register in user space even when global tool is
    running
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV97096

  • Reported component name

    AIX V7.2

  • Reported component ID

    5765CD200

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2017-06-09

  • Closed date

    2017-06-09

  • Last modified date

    2017-10-05

  • APAR is sysrouted FROM one or more of the following:

    IV96353

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    AIX V7.2

  • Fixed component ID

    5765CD200

Applicable component levels

  • R720 PSY U878415

       UP17/10/05 I 1000

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSVEF8","label":"AIX 7.2 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"720","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11S","label":"AIX 7.2 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"720","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
05 October 2017