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

EXCEPTION_ACCESS_VIOLATION in ciEnv::get_constant_by_index_impl

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: hs25
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:

      Description

      nsk/stress/except/except007 failed on windows.

      hs_err attached.

      ;; Using jvm: "C:/local/aurora/sandbox/java/re/jdk/8/promoted/all/b102/binaries/windows-i586/jre/bin/client/jvm.dll"
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x725ca7bd, pid=5756, tid=7032
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0-b102) (build 1.8.0-ea-b102)
      # Java VM: Java HotSpot(TM) Client VM (25.0-b44 compiled mode, sharing windows-x86 )
      # Problematic frame:
      # V [jvm.dll+0x1a7bd] ciEnv::get_constant_by_index_impl+0x2d
      #
      # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
      #

      --------------- T H R E A D ---------------

      Current thread (0x252ff800): JavaThread "C1 CompilerThread0" daemon [_thread_in_vm, id=7032, stack(0x26760000,0x267b0000)]

      siginfo: ExceptionCode=0xc0000005, reading address 0x00000014;;
      ;; si_signo=0xc0000005 EXCEPTION_ACCESS_VIOLATION /* The thread tried to read from or write to a virtual address for which it does not have the appropriate access. */

      Registers:
      EAX=0x00000000, EBX=0x252ff800, ECX=0x00000002, EDX=0x00000004
      ESP=0x267af038, EBP=0x267af04c, ESI=0xffffffff, EDI=0x267af544
      EIP=0x725ca7bd, EFLAGS=0x00010246

      Top of Stack: (sp=0x267af038)
      0x267af038: 267af0cc 267af544 267af0cc 267af0cc
      0x267af048: 761d11e0 267af078 725caa86 267af0cc
      0x267af058: 0370f768 252ff800 ffffffff 00000002
      0x267af068: 259793a8 267af544 0370f768 267af0cc
      0x267af078: 267af0b8 725d5a59 267af0cc 0370f768
      0x267af088: 252ff800 ffffffff 00000002 259793a8
      0x267af098: 267af1dc 267af1dc 00000012 0370f768
      0x267af0a8: 252ff800 252ff800 ffffffff 00000002

      Instructions: (pc=0x725ca7bd)
      0x725ca79d: 57 50 8b f9 ff 15 f8 c1 84 72 83 7d 18 00 8b 75
      0x725ca7ad: 14 8b d8 7c 2c 8b 4d 0c e8 36 4c 08 00 8b 4d 18
      0x725ca7bd: 8b 44 88 0c 85 c0 74 0e 8b 4f 1c 50 e8 92 a1 00
      0x725ca7cd: 00 e9 4e 02 00 00 8b 55 0c 8b 42 18 0f b7 74 48
      (*****) Only runs on Solaris or Linux
      ;;

      Register to memory mapping:

      EAX=0x00000000 is an unknown value
      EBX=0x252ff800 is a thread
      ECX=0x00000002 is an unknown value
      EDX=0x00000004 is an unknown value
      ESP=0x267af038 is pointing into the stack for thread: 0x252ff800
      EBP=0x267af04c is pointing into the stack for thread: 0x252ff800
      ESI=0xffffffff is an unknown value
      EDI=0x267af544 is pointing into the stack for thread: 0x252ff800

      ...

      Stack: [0x26760000,0x267b0000], sp=0x267af038, free space=316k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0x1a7bd] ciEnv::get_constant_by_index_impl+0x2d;; ?get_constant_by_index_impl@ciEnv@@AAE?AVciConstant@@VconstantPoolHandle@@HHPAVciInstanceKlass@@@Z+0x2d
      V [jvm.dll+0x1aa86] ciEnv::get_constant_by_index+0x46;; ?get_constant_by_index@ciEnv@@AAE?AVciConstant@@VconstantPoolHandle@@HHPAVciInstanceKlass@@@Z+0x46
      V [jvm.dll+0x25a59] ciBytecodeStream::get_constant+0xc9;; ?get_constant@ciBytecodeStream@@QAE?AVciConstant@@XZ+0xc9
      V [jvm.dll+0x26c494] GraphBuilder::load_constant+0x24;; ?load_constant@GraphBuilder@@AAEXXZ+0x24
      V [jvm.dll+0x271fe5] GraphBuilder::iterate_bytecodes_for_block+0x7a5;; ?iterate_bytecodes_for_block@GraphBuilder@@AAEPAVBlockEnd@@H@Z+0x7a5
      V [jvm.dll+0x273686] GraphBuilder::GraphBuilder+0x326;; ??0GraphBuilder@@QAE@PAVCompilation@@PAVIRScope@@@Z+0x326
      V [jvm.dll+0x2775dd] IRScope::IRScope+0x10d;; ??0IRScope@@QAE@PAVCompilation@@PAV0@HPAVciMethod@@H_N@Z+0x10d
      V [jvm.dll+0x27772b] IR::IR+0x7b;; ??0IR@@QAE@PAVCompilation@@PAVciMethod@@H@Z+0x7b
      V [jvm.dll+0x265bd2] Compilation::build_hir+0x62;; ?build_hir@Compilation@@AAEXXZ+0x62
      V [jvm.dll+0x265dbb] Compilation::compile_java_method+0x7b;; ?compile_java_method@Compilation@@AAEHXZ+0x7b
      V [jvm.dll+0x265f0a] Compilation::compile_method+0x7a;; ?compile_method@Compilation@@AAEXXZ+0x7a
      V [jvm.dll+0x266072] Compilation::Compilation+0xf2;; ??0Compilation@@QAE@PAVAbstractCompiler@@PAVciEnv@@PAVciMethod@@HPAVBufferBlob@@@Z+0xf2
      V [jvm.dll+0x266380] Compiler::compile_method+0xb0;; ?compile_method@Compiler@@UAEXPAVciEnv@@PAVciMethod@@H@Z+0xb0
      V [jvm.dll+0x6844c] CompileBroker::invoke_compiler_on_method+0x3ac;; ?invoke_compiler_on_method@CompileBroker@@CAXPAVCompileTask@@@Z+0x3ac
      V [jvm.dll+0x68ac9] CompileBroker::compiler_thread_loop+0x269;; ?compiler_thread_loop@CompileBroker@@SAXXZ+0x269
      V [jvm.dll+0x16547c] JavaThread::thread_main_inner+0x8c;; ?thread_main_inner@JavaThread@@QAEXXZ+0x8c
      V [jvm.dll+0x165cca] JavaThread::run+0xba;; ?run@JavaThread@@UAEXXZ+0xba
      V [jvm.dll+0x1a9336] java_start+0x86;; ?java_start@@YGIPAVThread@@@Z+0x86
      C [msvcr100.dll+0x10fac]
      C [msvcr100.dll+0x110b1]
      C [kernel32.dll+0x133aa]
      C [ntdll.dll+0x39f72]
      C [ntdll.dll+0x39f45]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rbackman Rickard Backman
                Reporter:
                dfazunen Dmitry Fazunenko (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: