IBM Support

IV71385: HANG WHEN PRODUCING JAVACORE DUMP ON THREAD START OR STOP EVENTS ON WINDOWS

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: Hang may occur when producing a javacore dump on
    a thread start or thread stop event on Windows. The normal
    JVMDUMP013I and JVMDUMP032I messages appear when the dump is
    triggered, for example:JVMDUMP013I Processed dump event
    "thrstop", detail "".JVMDUMP032I JVM requested Java dump using
    'C:\dumps\javacore-stop-0028.txt' in response to an eventBut the
    normal JVMDUMP010I and JVMDUMP013I messages on completion of the
    javacore dump fail to appear.
    .
    Stack Trace:
    ntdll!NtWaitForSingleObject+0xantdll!AlpcFreeCompletionListMessa
    ge+0x1f1ntdll!RtlEnterCriticalSection+0xe4ntdll!LdrLockLoaderLoc
    k+0x1c0ntdll!RtlEqualWnfChangeStamps+0x96bntdll!LdrGetDllHandleE
    x+0xa3antdll!LdrLoadDll+0x99KERNELBASE!LoadLibraryExW+0xcaj9prt2
    8!j9getdbghelp_loadDLL+0x31j9prt28!load_dbg_library+0xa5j9prt28!
    j9introspect_threads_startDo_with_signal+0x12aj9prt28!runInTryEx
    cept+0x16j9prt28!j9sig_protect+0x1cdj9dmp28!JavaCoreDumpWriter::
    writeThreadsWithNativeStacks+0x381j9dmp28!protectedWriteThreadsW
    ithNativeStacks+0xdj9prt28!runInTryExcept+0x16j9prt28!j9sig_prot
    ect+0x1cdj9dmp28!JavaCoreDumpWriter::writeThreadSection+0x155j9d
    mp28!protectedWriteSection+0xaj9prt28!runInTryExcept+0x16
    .
    

Local fix

  • Disable native stack collection in javacore dumps by setting the
    -Xdump:java:request=exclusive option.
    

Problem summary

  • The problem occurs when the JVM attempts to load the debug
    library dbghelp.dll.
    

Problem conclusion

  • The JVM has been updated to prevent the hang by not loading the
    debug library on the thread start and thread stop dump events.
    .
    This APAR will be fixed in the following Java Releases:
       6 R1 SR8 FP4   (6.1.8.4)
       7    SR9       (7.0.9.0)
       7 R1 SR3       (7.1.3.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the Service
    Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV71385

  • 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

    2015-03-23

  • Closed date

    2015-03-23

  • Last modified date

    2015-04-21

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

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

    IV71386

Fix information

  • Fixed component name

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R270 PSY

       UP

  • R260 PSY

       UP



Document information

More support for: Runtimes for Java Technology
Virtual Machine

Software version: 270

Reference #: IV71385

Modified date: 21 April 2015