Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8130239

Java VM crashed in OS native frames

XMLWordPrintable

    • x86
    • windows_2008

      FULL PRODUCT VERSION :
      java version: 8.0.45.14
      Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
      Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

      FULL OS VERSION :
      WindowsNTVersion: 6.1; Build:7601 Service Pack 1;
      Product(0x8): Windows Server 2008 R2 Datacenter
      BuildString: 7601.18247.amd64fre.win7sp1_gdr.130828-1532
      Architecture: X64

      A DESCRIPTION OF THE PROBLEM :
      Obtained the below stack trace of the crashing thread. The crash happened in the operating system's native frames, not in the JVM. It is related to HeapFree() of kernel32.dll
      RtlUserThreadStart RtlReportCriticalFailure
      ntdll.dll!RtlReportCriticalFailure() + 0x62 bytes
      ntdll.dll!RtlpReportHeapFailure() + 0x26 bytes
      ntdll.dll!RtlpHeapHandleError() + 0x12 bytes
      ntdll.dll!RtlpLogHeapFailure() + 0xa4 bytes
      ntdll.dll!string "Enabling heap debug options\n"() - 0x18db1 bytes
      kernel32.dll!HeapFree() + 0xa bytes
      msvcr100.dll!free() + 0x1c bytes
      jvm.dll!0000000073465c0e()
      [Frames below may be incorrect and/or missing, no symbols loaded for jvm.dll]
      jvm.dll!00000000735f5bca()
      jvm.dll!00000000735f7262()
      jvm.dll!0000000073617622()
      jvm.dll!000000007361784e()
      jvm.dll

      THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: No

      THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Obtained the below stack trace of the crashing thread from the WER dump. The crash happened in the operating system's native frames, not in the JVM. It is related to HeapFree() of kernel32.dll
      ==============================
      RtlUserThreadStart RtlReportCriticalFailure
      ntdll.dll!RtlReportCriticalFailure() + 0x62 bytes
      ntdll.dll!RtlpReportHeapFailure() + 0x26 bytes
      ntdll.dll!RtlpHeapHandleError() + 0x12 bytes
      ntdll.dll!RtlpLogHeapFailure() + 0xa4 bytes
      ntdll.dll!string "Enabling heap debug options\n"() - 0x18db1 bytes
      kernel32.dll!HeapFree() + 0xa bytes
      msvcr100.dll!free() + 0x1c bytes
      jvm.dll!0000000073465c0e()
      [Frames below may be incorrect and/or missing, no symbols loaded for jvm.dll]
      jvm.dll!00000000735f5bca()
      jvm.dll!00000000735f7262()
      jvm.dll!0000000073617622()
      jvm.dll!000000007361784e()
      jvm.dll!000000007366853a()
      msvcr100.dll!_endthreadex() + 0x43 bytes
      msvcr100.dll!_endthreadex() + 0xdf bytes
      kernel32.dll!BaseThreadInitThunk() + 0xd bytes
      ntdll.dll!RtlUserThreadStart() + 0x21 bytes
      ==============================
      A similar crash report online suggest the heap corruption is relate to the user mode stack trace database is enabled.
      http://jpassing.com/2008/05/11/the-case-of-the-mysterious-jvm-x64-crashes/
      Also, the fact that the crash didn't generate the hs_err_pidxxx.log file indicates this is not a JVM crash.

      REPRODUCIBILITY :
      This bug can be reproduced rarely.

      ---------- BEGIN SOURCE ----------
      N/A
      I can provide the dump file if needed.
      To better understand the below crash, could you give any suggestion on what could be the root cause and troubleshooting tips? As there is no jvm.dll PDB file is available, I am not sure what happened in the JVM world.
      ---------- END SOURCE ----------

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: