IBM Support

IZ75314: CRASH DUE TO DIVIDE BY ZERO ERROR IN J9TIME_USEC_CLOCK()

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: A GPF is received when a user tries to launch
    JAVA on a Windows box.
    .
    Stack Trace: _alldiv+0x4b (lldiv.asm:120, 0x7FED801B
    <OSB>J9PRT24+0x1801b<CSB>)
    j9time_usec_clock+0x52 (j9time.c:76, 0x7FED46B2
    <OSB>J9PRT24+0x146b2<CSB>)
    TR_CompilationInfo::startCompilationThread+0x20
    (compilationthread.cpp:1444, 0x7F82A900
    <OSB>j9jit24+0xa900<CSB>)
    onLoadInternal+0x682 (rossa.cpp:1964, 0x7F847BC2
    <OSB>j9jit24+0x27bc2<CSB>)
    J9VMDllMain+0x4cf (rossa.cpp:879, 0x7F84816F
    <OSB>j9jit24+0x2816f<CSB>)
    runJ9VMDllMain+0xcd (jvminit.c:2483, 0x7FF169AD
    <OSB>j9vm24+0x269ad<CSB>)
    pool_do+0x54 (pool.c:432, 0x7FF381C4 <OSB>j9vm24+0x481c4<CSB>)
    runInitializationStage+0x55 (jvminit.c:2445, 0x7FF1AE25
    <OSB>j9vm24+0x2ae25<CSB>)
    protectedInitializeJavaVM+0x49d (jvminit.c:6512, 0x7FF1DB4D
    <OSB>j9vm24+0x2db4d<CSB>)
    j9sig_protect+0x41 (j9signal.c:144, 0x7FECBFA1
    <OSB>J9PRT24+0xbfa1<CSB>)
    initializeJavaVM+0x166 (jvminit.c:1089, 0x7FF1DDC6
    <OSB>j9vm24+0x2ddc6<CSB>)
    JNI_CreateJavaVM+0x6e (jniinv.c:101, 0x7FF0A39E
    <OSB>j9vm24+0x1a39e<CSB>)
    JNI_CreateJavaVM+0x8b0 (jvm.c:1526, 0x7FBD6830
    <OSB>jvm+0x6830<CSB>)
    handleAvailable+0x2c (io_util_md.c:295, 0x00402F6E
    <OSB>java+0x2f6e<CSB>)
    JNU_CallMethodByNameV+0xf7 (jni_util.c:295, 0x00403429
    <OSB>java+0x3429<CSB>)
    Java_java_io_WinNTFileSystem_getDriveDirectory+0x69
    (winntfilesystem_md.c:732, 0x00409615 <OSB>java+0x9615<CSB>)
    GetModuleHandleA+0xdf (0x77E6482F <OSB>kernel32+0x2482f<CSB>)
    .
    n/a
    

Local fix

  • n/a
    

Problem summary

  • The problem manifests when we read the high performance counter
    from Windows OS. If the value returned is less than 1000000 then
    we crash (due to divide by zero). The fix is applicable "only"
    on those systems where the value returned by
    QueryPerformanceFrequency() is lessthan 1000000
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR9
    5.0.0 SR12
    .
    JVM has been updated to take care of this divide by zero
    scenario.
    .
    To obtain the fix:
    Install build 20100410 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ75314

  • Reported component name

    JAVA 5 J9 COMMO

  • Reported component ID

    620500127

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-04-30

  • Closed date

    2010-05-05

  • Last modified date

    2010-05-05

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

    IZ75310

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

Fix information

  • Fixed component name

    JAVA 5 J9 COMMO

  • Fixed component ID

    620500127

Applicable component levels

  • R500 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3W","label":"Virtual Machine"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
05 May 2010