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

SIGSEGV in ciEnv::get_constant_by_index_impl

    Details

      Backports

        Description

        Test name: gc/lock/jni/jnilock002
        Build: jdk 1.8.0 b97, hotspot 25.0 b39

        Excerpt from hs_err:
        # SIGSEGV (0xb) at pc=0xf6e6b0ae, pid=10175, tid=3821009776
        #
        # JRE version: Java(TM) SE Runtime Environment (8.0-b97) (build 1.8.0-ea-b97)
        # Java VM: Java HotSpot(TM) Client VM (25.0-b39 compiled mode, sharing linux-x86 )
        # Problematic frame:
        # V [libjvm.so+0x1400ae] ciEnv::get_constant_by_index_impl(constantPoolHandle, int, int, ciInstanceKlass*)+0x3e
        ...
        Stack: [0xe3b7f000,0xe3c00000], sp=0xe3bfe5c0, free space=509k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x1400ae] ciEnv::get_constant_by_index_impl(constantPoolHandle, int, int, ciInstanceKlass*)+0x3e;; ciEnv::get_constant_by_index_impl(constantPoolHandle, int, int, ciInstanceKlass*)+0x3e
        V [libjvm.so+0x14073c] ciEnv::get_constant_by_index(constantPoolHandle, int, int, ciInstanceKlass*)+0x28c;; ciEnv::get_constant_by_index(constantPoolHandle, int, int, ciInstanceKlass*)+0x28c
        V [libjvm.so+0x166308] ciBytecodeStream::get_constant()+0x198;; ciBytecodeStream::get_constant()+0x198
        V [libjvm.so+0xb9297] GraphBuilder::load_constant()+0x27;; GraphBuilder::load_constant()+0x27
        V [libjvm.so+0xc6853] GraphBuilder::iterate_bytecodes_for_block(int)+0x1823;; .L3210+0xc
        V [libjvm.so+0xc737b] GraphBuilder::iterate_all_blocks(bool)+0xfb;; GraphBuilder::iterate_all_blocks(bool)+0xfb
        V [libjvm.so+0xc9384] GraphBuilder::GraphBuilder(Compilation*, IRScope*)+0x404;; GraphBuilder::GraphBuilder(Compilation*, IRScope*)+0x404
        V [libjvm.so+0xcf77f] IRScope::IRScope(Compilation*, IRScope*, int, ciMethod*, int, bool)+0x12f;; IRScope::IRScope(Compilation*, IRScope*, int, ciMethod*, int, bool)+0x12f
        V [libjvm.so+0xcfa27] IR::IR(Compilation*, ciMethod*, int)+0x77;; IR::IR(Compilation*, ciMethod*, int)+0x77
        V [libjvm.so+0xb31ee] Compilation::build_hir()+0xbe;; Compilation::build_hir()+0xbe
        V [libjvm.so+0xb355c] Compilation::compile_java_method()+0x5c;; Compilation::compile_java_method()+0x5c
        V [libjvm.so+0xb36a4] Compilation::compile_method()+0x54;; Compilation::compile_method()+0x54
        V [libjvm.so+0xb3976] Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*)+0x1f6;; Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*)+0x1f6
        V [libjvm.so+0xb48a2] Compiler::compile_method(ciEnv*, ciMethod*, int)+0x92;; Compiler::compile_method(ciEnv*, ciMethod*, int)+0x92
        V [libjvm.so+0x1a7c69] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xd39;; CompileBroker::invoke_compiler_on_method(CompileTask*)+0xd39
        V [libjvm.so+0x1a9a35] CompileBroker::compiler_thread_loop()+0x545;; CompileBroker::compiler_thread_loop()+0x545
        V [libjvm.so+0x512ca8] compiler_thread_entry(JavaThread*, Thread*)+0x18;; compiler_thread_entry(JavaThread*, Thread*)+0x18
        V [libjvm.so+0x519a89] JavaThread::thread_main_inner()+0x109;; JavaThread::thread_main_inner()+0x109
        V [libjvm.so+0x519c7e] JavaThread::run()+0x1be;; JavaThread::run()+0x1be
        V [libjvm.so+0x448ff9] java_start(Thread*)+0x119;; java_start(Thread*)+0x119
        C [libpthread.so.0+0x6a49] abort@@GLIBC_2.0+0x6a49

          Attachments

          1. hs_err_pid10175.log
            64 kB
          2. hs_err_pid3720.log
            21 kB
          3. hs_err_pid4515.log
            59 kB
          4. replay_pid4515.log
            97 kB

            Issue Links

              Activity

                People

                • Assignee:
                  coleenp Coleen Phillimore
                  Reporter:
                  atimofee Aleksey Timofeev (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: