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

Java crashes in x64 version in random situations, x86 version doesn't crash

XMLWordPrintable

    • x86
    • windows_8

      FULL PRODUCT VERSION :
      java version "1.8.0_60-ea"
      Java(TM) SE Runtime Environment (build 1.8.0_60-ea-b19)
      Java HotSpot(TM) 64-Bit Server VM (build 25.60-b19, mixed mode)

      FULL OS VERSION :
      Microsoft Windows [Version 6.3.9600]

      A DESCRIPTION OF THE PROBLEM :
      Netbeans was open but I only scrolled thru some code lines. Then a Window poped up from Windows which said that netbeans is crashed and will be finished.

      I switched CrashDumps on, at my system. So I have a File with the whole Dump.

      THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Yes

      THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes

      REGRESSION. Last worked in version 7u75

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Can reproduce, because it happens at not specific point.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Microsoft (R) Windows Debugger Version 6.3.9600.17336 AMD64
      Copyright (c) Microsoft Corporation. All rights reserved.


      Loading Dump File [C:\Users\André\AppData\Local\CrashDumps\netbeans64.exe.3996.dmp]
      User Mini Dump File with Full Memory: Only application data is available


      ************* Symbol Path validation summary **************
      Response Time (ms) Location
      Deferred SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
      Symbol search path is: SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
      Executable search path is:
      Windows 8 Version 9600 MP (6 procs) Free x64
      Product: WinNt, suite: SingleUserTS
      Built by: 6.3.9600.17031 (winblue_gdr.140221-1952)
      Machine Name:
      Debug session time: Fri Jun 19 16:37:49.000 2015 (UTC + 2:00)
      System Uptime: 0 days 10:37:47.310
      Process Uptime: 0 days 3:48:48.000
      ................................................................
      .....................
      Loading unloaded module list
      ...........
      This dump file has an exception of interest stored in it.
      The stored exception information can be accessed via .ecxr.
      (f9c.768): Access violation - code c0000005 (first/second chance not available)
      00000000`061aa781 493b00 cmp rax,qword ptr [r8] ds:00000000`00000000=????????????????
      0:019> .ecxr
      rax=ffffffffffffffff rbx=00000000ef051a28 rcx=000000000000001e
      rdx=00000000ef051a08 rsi=00000000c25e9e88 rdi=00000000c25e9e88
      rip=00000000061aa781 rsp=000000001902250c rbp=000000001902e178
       r8=0000000000000000 r9=00000000c25e9e88 r10=00000000ef051a08
      r11=0000000000000000 r12=0000000000000000 r13=000000001902e208
      r14=000000001902e288 r15=00000000187f5000
      iopl=0 nv up ei pl nz na pe nc
      cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010200
      00000000`061aa781 493b00 cmp rax,qword ptr [r8] ds:00000000`00000000=????????????????
      0:019> !analyze -v
      *******************************************************************************
      * *
      * Exception Analysis *
      * *
      *******************************************************************************

      *** ERROR: Symbol file could not be found. Defaulted to export symbols for jvm.dll -
      *** ERROR: Symbol file could not be found. Defaulted to export symbols for nbexec64.dll -
      *** ERROR: Module load completed but symbols could not be loaded for netbeans64.exe
      *** ERROR: Symbol file could not be found. Defaulted to export symbols for net.dll -
      *** ERROR: Symbol file could not be found. Defaulted to export symbols for awt.dll -
      *** WARNING: Unable to verify checksum for jnidispatch-410.dll
      *** ERROR: Symbol file could not be found. Defaulted to export symbols for jnidispatch-410.dll -
      *** ERROR: Symbol file could not be found. Defaulted to export symbols for java.dll -
      *** ERROR: Symbol file could not be found. Defaulted to export symbols for zip.dll -

      FAULTING_IP:
      +180b4f1d0
      00000000`061aa781 493b00 cmp rax,qword ptr [r8]

      EXCEPTION_RECORD: ffffffffffffffff -- (.exr 0xffffffffffffffff)
      ExceptionAddress: 00000000061aa781
         ExceptionCode: c0000005 (Access violation)
        ExceptionFlags: 00000008
      NumberParameters: 2
         Parameter[0]: 0000000000000000
         Parameter[1]: 0000000000000000
      Attempt to read from address 0000000000000000

      CONTEXT: 0000000000000000 -- (.cxr 0x0;r)
      rax=ffffffffffffffff rbx=00000000ef051a28 rcx=000000000000001e
      rdx=00000000ef051a08 rsi=00000000c25e9e88 rdi=00000000c25e9e88
      rip=00000000061aa781 rsp=000000001902250c rbp=000000001902e178
       r8=0000000000000000 r9=00000000c25e9e88 r10=00000000ef051a08
      r11=0000000000000000 r12=0000000000000000 r13=000000001902e208
      r14=000000001902e288 r15=00000000187f5000
      iopl=0 nv up ei pl nz na pe nc
      cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010200
      00000000`061aa781 493b00 cmp rax,qword ptr [r8] ds:00000000`00000000=????????????????

      PROCESS_NAME: netbeans64.exe

      ERROR_CODE: (NTSTATUS) 0xc0000005 - Die Anweisung in 0x%08lx verweist auf Speicher 0x%08lx. Der Vorgang %s konnte nicht im Speicher durchgef hrt werden.

      EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - Die Anweisung in 0x%08lx verweist auf Speicher 0x%08lx. Der Vorgang %s konnte nicht im Speicher durchgef hrt werden.

      EXCEPTION_PARAMETER1: 0000000000000000

      EXCEPTION_PARAMETER2: 0000000000000000

      READ_ADDRESS: 0000000000000000

      FOLLOWUP_IP:
      jvm+55ca
      00000000`727355ca 488bd8 mov rbx,rax

      NTGLOBALFLAG: 0

      APPLICATION_VERIFIER_FLAGS: 0

      APP: netbeans64.exe

      ANALYSIS_VERSION: 6.3.9600.17336 (debuggers(dbg).150226-1500) amd64fre

      IP_ON_HEAP: 00000000061aa781
      The fault address in not in any loaded module, please check your build's rebase
      log at <releasedir>\bin\build_logs\timebuild\ntrebase.log for module which may
      contain the address if it were loaded.

      FAULTING_THREAD: 0000000000000768

      ADDITIONAL_DEBUG_TEXT: Followup set based on attribute [Is_ChosenCrashFollowupThread] from Frame:[0] on thread:[PSEUDO_THREAD]

      LAST_CONTROL_TRANSFER: from 0000000000000000 to 00000000061aa781

      DEFAULT_BUCKET_ID: STACK_CORRUPTION_SEHOP

      PRIMARY_PROBLEM_CLASS: STACK_CORRUPTION_SEHOP

      BUGCHECK_STR: APPLICATION_FAULT_STACK_CORRUPTION_NULL_POINTER_READ_SEHOP

      STACK_TEXT:
      00000000`19021788 00007ffc`0d4d7fb6 ntdll!RtlpxLookupFunctionTable+0xca
      00000000`190217d0 00007ffc`0d58f428 ntdll!RtlpDynamicFunctionTableLock+0x0
      00000000`190217e8 00007ffc`0d51e20a ntdll!RtlpLookupDynamicFunctionEntry+0x3d77a
      00000000`19021828 00007ffc`0d4b5ceb ntdll!RtlLookupFunctionEntry+0x2cb
      00000000`19021878 00007ffc`0d511b9f ntdll!RtlDispatchException+0x5d4af
      00000000`19021f48 00007ffc`0d4f30bf ntdll!KiUserExceptionDispatch+0x5f
      00000000`1902a108 00007ffc`0d4973c5 ntdll!RtlpDeCommitFreeBlock+0xcd
      00000000`1902a298 00000000`72924bf6 jvm!JVM_GetThreadStateNames+0x586c6
      00000000`1902a2a8 00000000`7292464d jvm!JVM_GetThreadStateNames+0x5811d
      00000000`1902a2d8 00000000`7292513a jvm!JVM_GetThreadStateNames+0x58c0a
      00000000`1902a348 00000000`72925337 jvm!JVM_GetThreadStateNames+0x58e07
      00000000`1902a380 00000000`72924b70 jvm!JVM_GetThreadStateNames+0x58640
      00000000`1902a390 00000000`72d39b28 jvm!AdvancedThresholdPolicy::`vftable'+0x0
      00000000`1902a398 00000000`7292585d jvm!JVM_GetThreadStateNames+0x5932d
      00000000`1902a3f8 00000000`72965d24 jvm!JVM_GetThreadStateNames+0x997f4
      00000000`1902ab78 00000000`72b74dde jvm!JVM_FindSignal+0x1b16de
      00000000`1902af68 00000000`727fbfd7 jvm!JVM_GetManagementExt+0xa8577
      00000000`1902afc8 00007ffc`0d495f39 ntdll!RtlpFreeHeap+0x8c9
      00000000`1902b008 00000000`7282403b jvm!JVM_GetManagementExt+0xd05db
      00000000`1902b038 00000000`72824151 jvm!JVM_GetManagementExt+0xd06f1
      00000000`1902b0c8 00000000`728e524c jvm!JVM_GetThreadStateNames+0x18d1c
      00000000`1902b348 00000000`725b22bc zip!Java_java_util_zip_ZipFile_read+0x100
      00000000`1902b378 00007ffc`0a73155c kernelbase!SetEvent+0xc
      00000000`1902b4d8 00000000`7286a3e0 jvm!JVM_GetManagementExt+0x116980
      00000000`1902b4f8 00000000`72a05044 jvm!JVM_FindSignal+0x41944
      00000000`1902b528 00000000`7279e551 jvm!JVM_GetManagementExt+0x4aaf1
      00000000`1902b558 00000000`7279f9bb jvm!JVM_GetManagementExt+0x4bf5b
      00000000`1902b878 00007ffc`0a7383a8 kernelbase!ReadFile+0x74
      00000000`1902b8f8 00000000`725dcb38 java!handleRead+0x24
      00000000`1902b998 00000000`725b8be5 zip!Java_java_util_zip_ZipFile_getZipMessage+0x67d9
      00000000`1902b9c8 00000000`7288a723 jvm!JNI_GetCreatedJavaVMs+0x1f7f3
      00000000`1902c438 00000000`727ed120 jvm!JVM_GetManagementExt+0x996c0
      00000000`1902c4a8 00000000`727ebcb0 jvm!JVM_GetManagementExt+0x98250
      00000000`1902c528 00000000`727ec317 jvm!JVM_GetManagementExt+0x988b7
      00000000`1902c558 00000000`729312ae jvm!JVM_GetThreadStateNames+0x64d7e
      00000000`1902c598 00000000`727ebdcc jvm!JVM_GetManagementExt+0x9836c
      00000000`1902c5f8 00000000`727edf4d jvm!JVM_GetManagementExt+0x9a4ed
      00000000`1902c608 00000000`727ef1f3 jvm!JVM_GetManagementExt+0x9b793
      00000000`1902c698 00000000`727f06dd jvm!JVM_GetManagementExt+0x9cc7d
      00000000`1902c728 00000000`727f1c07 jvm!JVM_GetManagementExt+0x9e1a7
      00000000`1902c7b8 00000000`727f2582 jvm!JVM_GetManagementExt+0x9eb22
      00000000`1902c878 00000000`727f2c3d jvm!JVM_GetManagementExt+0x9f1dd
      00000000`1902c898 00000000`727dfbc7 jvm!JVM_GetManagementExt+0x8c167
      00000000`1902c8b8 00000000`7293c3d2 jvm!JVM_GetThreadStateNames+0x6fea2
      00000000`1902c918 00000000`7295c0ff jvm!JVM_GetThreadStateNames+0x8fbcf
      00000000`1902cf18 00000000`729448bd jvm!JVM_GetThreadStateNames+0x7838d
      00000000`1902cfa8 00000000`727bfb5b jvm!JVM_GetManagementExt+0x6c0fb
      00000000`1902cfd8 00000000`727c027a jvm!JVM_GetManagementExt+0x6c81a
      00000000`1902d010 00000000`72d17428 jvm!virtual_call_Relocation::`vftable'+0x0
      00000000`1902d018 00000000`727c70c1 jvm!JVM_GetManagementExt+0x73661
      00000000`1902d048 00000000`7295d731 jvm!JVM_GetThreadStateNames+0x91201
      00000000`1902d2c8 00000000`7296add7 jvm!JVM_GetThreadStateNames+0x9e8a7
      00000000`1902d438 00000000`7296f60e jvm!JVM_GetThreadStateNames+0xa30de
      00000000`1902d468 00000000`72c40600 jvm!JVM_FindSignal+0x27cf00
      00000000`1902d648 00000000`72c4074b jvm!JVM_FindSignal+0x27d04b
      00000000`1902d688 00000000`72826631 jvm!JVM_GetManagementExt+0xd2bd1
      00000000`1902d728 00000000`72a05131 jvm!JVM_FindSignal+0x41a31
      00000000`1902d768 00000000`727c8f4f jvm!JVM_GetManagementExt+0x754ef
      00000000`1902daf8 00000000`72a054bb jvm!JVM_FindSignal+0x41dbb
      00000000`1902ddc8 00000000`72764e85 jvm!JVM_GetManagementExt+0x11425
      00000000`1902ddf8 00000000`7295dcb1 jvm!JVM_GetThreadStateNames+0x91781
      00000000`1902de58 00000000`7295e777 jvm!JVM_GetThreadStateNames+0x92247
      00000000`1902e088 00000000`72944422 jvm!JVM_GetThreadStateNames+0x77ef2
      00000000`1902e0b8 00000000`7286b7b0 jvm!JNI_GetCreatedJavaVMs+0x880
      00000000`1902e548 00000000`729c3ecc jvm!JVM_FindSignal+0x7cc
      00000000`1902ea98 00000000`72950c6c jvm!JVM_GetThreadStateNames+0x8473c
      00000000`1902eab8 00000000`7294a701 jvm!JVM_GetThreadStateNames+0x7e1d1
      00000000`1902eae8 00000000`727ea463 jvm!JVM_GetManagementExt+0x96a03
      00000000`1902eb28 00000000`728c1765 jvm!JVM_DefineClassWithSourceCond+0x4d5
      00000000`1902eb48 00000000`72948d77 jvm!JVM_GetThreadStateNames+0x7c847
      00000000`1902eb68 00000000`7296a8ef jvm!JVM_GetThreadStateNames+0x9e3bf
      00000000`1902eb98 00000000`7296a83c jvm!JVM_GetThreadStateNames+0x9e30c
      00000000`1902ebc8 00000000`72b7370c jvm!JVM_FindSignal+0x1b000c
      00000000`1902ec18 00000000`7292fc66 jvm!JVM_GetThreadStateNames+0x63736
      00000000`1902eef8 00000000`72944fc5 jvm!JVM_GetThreadStateNames+0x78a95
      00000000`1902ef08 00000000`7294a69d jvm!JVM_GetThreadStateNames+0x7e16d
      00000000`1902ef28 00000000`7294b1c2 jvm!JVM_GetThreadStateNames+0x7ec92
      00000000`1902ef58 00000000`7294b0c5 jvm!JVM_GetThreadStateNames+0x7eb95
      00000000`1902f058 00000000`7296ab87 jvm!JVM_GetThreadStateNames+0x9e657
      00000000`1902f088 00000000`72969621 jvm!JVM_GetThreadStateNames+0x9d0f1
      00000000`1902f0b8 00000000`728b0d8a jvm!JVM_HoldsLock+0x1ea
      00000000`1902f6a8 00000000`72942953 jvm!JVM_GetThreadStateNames+0x76423
      00000000`1902f838 00000000`729422d0 jvm!JVM_GetThreadStateNames+0x75da0
      00000000`1902f848 00000000`72a5cc02 jvm!JVM_FindSignal+0x99502
      00000000`1902f878 00000000`72942dac jvm!JVM_GetThreadStateNames+0x7687c
      00000000`1902f8b8 00000000`724aee00 awt!Java_java_awt_TextField_initIDs+0x21f8
      00000000`1902f958 00000000`72942f5b jvm!JVM_GetThreadStateNames+0x76a2b
      00000000`1902f9b8 00007ffc`0a7317cb kernelbase!VirtualAlloc+0x4b
      00000000`1902f9c8 00000000`7294bf9a jvm!JVM_GetThreadStateNames+0x7fa6a
      00000000`1902fa18 00000000`727355ca jvm+0x55ca
      00000000`1902fa28 00000000`728afd5d jvm!jio_printf+0xcd
      00000000`1902fa48 00007ffc`0a734c9b kernelbase!VirtualProtect+0x1b
      00000000`1902fab8 00000000`72973104 jvm!JVM_GetThreadStateNames+0xa6bd4
      00000000`1902fb38 00000000`729c9f1a jvm!JVM_FindSignal+0x681a
      00000000`1902fbf8 00007ffc`0d475410 ntdll!RtlUserThreadStart+0x0
      00000000`1902fe98 00000000`726720da msvcr100!getptd_noexit+0x76
      00000000`1902feb8 00000000`729c9efb jvm!JVM_FindSignal+0x67fb
      00000000`1902fec8 00000000`726720fb msvcr100!getptd+0xb
      00000000`1902fef8 00000000`72671d9f msvcr100!endthreadex+0x43
      00000000`1902ff28 00000000`72671e3b msvcr100!endthreadex+0xdf
      00000000`1902ff30 00000000`72702ac0 msvcr100!_initialmbcinfo+0x0
      00000000`1902ff58 00007ffc`0b6013d2 kernel32!BaseThreadInitThunk+0x22
      00000000`1902ff80 00000000`72671dbc msvcr100!endthreadex+0x60
      00000000`1902ff88 00007ffc`0d475444 ntdll!RtlUserThreadStart+0x34
      00000000`1902ff90 00007ffc`0b6013b0 kernel32!BaseThreadInitThunk+0x0


      SYMBOL_STACK_INDEX: 59

      SYMBOL_NAME: jvm+55ca

      FOLLOWUP_NAME: MachineOwner

      DEBUG_FLR_IMAGE_TIMESTAMP: 0

      STACK_COMMAND: dpS 19020000 19030000 ; dps 19021788 ; kb

      BUCKET_ID: BAD_STACK

      MODULE_NAME: jvm

      IMAGE_NAME: jvm.dll

      FAILURE_BUCKET_ID: STACK_CORRUPTION_SEHOP_c0000005_jvm.dll!Unloaded

      ANALYSIS_SOURCE: UM

      FAILURE_ID_HASH_STRING: um:stack_corruption_sehop_c0000005_jvm.dll!unloaded

      FAILURE_ID_HASH: {68ab3c2b-7c28-ec50-ed5f-15061c79a1cd}

      Followup: MachineOwner
      ---------


      REPRODUCIBILITY :
      This bug can be reproduced often.

      CUSTOMER SUBMITTED WORKAROUND :
      Install the x86 version of JDK/JRE, then I don't get this crashes. I wasn't ever able to use any of the JDK/JRE x64 version until 7_45, always get the crashes, not only with netbeans, it happens with apps like "yed" and it happens with eclipse, etc.

      Only at the x64 version, the x86 version works with the same applications like a charme.

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

              Created:
              Updated:
              Resolved: