IBM Support

IV58521: RUNNING JAVA APPLICATIONS WITH THE -XMT OPTION MAY RESULT IN A G PF AFTER CALLING SYSTEM.EXIT()

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: Unhandled exceptionType=Segmentation error
    vmState=0x00000000Windows_ExceptionCode=c0000005
    J9Generic_Signal=00000004 ExceptionAddress=0000000077113004
    ContextFlags=0010001fHandler1=000007FEF7A56D80
    Handler2=000007FEF8DA4FC0RDI=000000000000001F
    RSI=000007FE800EBEB6 RAX=0000000000000020
    RBX=00000000771E264CRCX=0000000000000000 RDX=0000000023B0ED90
    R8=0000000077152E64 R9=0000000023B0D150R10=00000000770D850C
    R11=0000000023B0D088 R12=00000000771E2454
    R13=0000000000031C80R14=00000000770C0000
    R15=0000000023B0D7D0RIP=0000000077113004 RSP=0000000023B0CFB0
    RBP=0000000023B0ED90 GS=002BFS=0053 ES=002B DS=002BXMM0
    0000000000000000 (f: 0.000000, d: 0.000000e+000)XMM1
    0000000000000000 (f: 0.000000, d: 0.000000e+000)XMM2
    0000000000000000 (f: 0.000000, d: 0.000000e+000)XMM3
    0000000000000000 (f: 0.000000, d: 0.000000e+000)XMM4
    0000000000000000 (f: 0.000000, d: 0.000000e+000)XMM5
    0000000000000000 (f: 0.000000, d: 0.000000e+000)XMM6
    0000000000000000 (f: 0.000000, d: 0.000000e+000)XMM7
    0000000000000000 (f: 0.000000, d: 0.000000e+000)XMM8
    0000000000000000 (f: 0.000000, d: 0.000000e+000)XMM9
    0000000000000000 (f: 0.000000, d: 0.000000e+000)XMM10
    0000000000000000 (f: 0.000000, d: 0.000000e+000)XMM11
    0000000000000000 (f: 0.000000, d: 0.000000e+000)XMM12
    0000000000000000 (f: 0.000000, d: 0.000000e+000)XMM13
    0000000000000000 (f: 0.000000, d: 0.000000e+000)XMM14
    0000000000000000 (f: 0.000000, d: 0.000000e+000)XMM15
    0000000000000000 (f: 0.000000, d:
    0.000000e+000)Module=C:\\windows\\SYSTEM32\\ntdll.dllModule_base
    _address=00000000770C0000
    Offset_in_DLL=0000000000053004Target=2_70_20131129_176802
    (Windows Server 2008 R2 6.1 build 7601 Service Pack 1)CPU=amd64
    (16 logical CPUs) (0x7fff7e000 RAM)----------- Stack Backtrace
    -----------RtlLeaveCriticalSection+0x4 (0x0000000077113004
    <OSB>ntdll+0x53004<CSB>)MD5Final+0x8b5 (0x0000000077152E85
    <OSB>ntdll+0x92e85<CSB>)RtlUnwindEx+0x4f3 (0x00000000770D8AE3
    <OSB>ntdll+0x18ae3<CSB>)RtlDecodePointer+0x13d
    (0x00000000770E9D8D <OSB>ntdll+0x29d8d<CSB>)RtlUnwindEx+0x43c
    (0x00000000770D8A2C <OSB>ntdll+0x18a2c<CSB>)RtlUnwindEx+0x1e
    (0x0000000076B72D3E <OSB>kernel32+0x32d3e<CSB>)longjmp+0xea
    (0x0000000071A68ACA
    <OSB>msvcr100+0x78aca<CSB>)longjmpHelper+0xaa (vmthread.c:2006,
    0x000007FEF7AA4DFA
    <OSB>j9vm27+0x74dfa<CSB>)_ZN22VM_BytecodeInterpreter3runEP10J9VM
    ThreadyPv+0x4ddf (0x000007FEF7AC5BEF
    <OSB>j9vm27+0x95bef<CSB>)(0x0000000001D2DBF8)(0x0000000001D2DBD8
    )fopen_s+0x5b (0x0000000071A1E70B
    <OSB>msvcr100+0x2e70b<CSB>)globalInvokeInterface+0x0
    (0x000007FEF80C75D0
    <OSB>jvm+0x375d0<CSB>)MemoryManagerFunctions+0x0
    (0x000007FEF69EC010
    <OSB>j9gc27+0x34c010<CSB>)releaseExclusiveVMAccess+0x648
    (vmaccess.c:505, 0x000007FEF7A9E4D8 <OSB>j9vm27+0x6e4d8<CSB>)
    .
    Stack Trace: RtlLeaveCriticalSection+0x4 (0x0000000077113004
    <OSB>ntdll+0x53004<CSB>)RtlUnwindEx+0x1e (0x0000000076B72D3E
    <OSB>kernel32+0x32d3e<CSB>)longjmp+0xea (0x0000000071A68ACA
    <OSB>msvcr100+0x78aca<CSB>)longjmpHelper+0xaa (vmthread.c:2006,
    0x000007FEF7AA4DFA <OSB>j9vm27+0x74dfa<CSB>)
    .
    N/A
    

Local fix

  • A possible work around is to throw a java/lang/RuntimeException
    in place of System.exit()
    

Problem summary

  • Intermittent GPF after calling System.exit() on Windows when
    running with -Xmt.
    

Problem conclusion

  • This APAR will be fixed in the following Java Releases:
       7 R1 SR1       (7.1.1.0)
    .
    The JVM was updated to eliminate this problem
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV58521

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-04-01

  • Closed date

    2014-04-22

  • Last modified date

    2014-04-22

  • 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

  • R270 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022