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

OSR compilation at unreachable bci causes C1 crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 8u111, 9
    • hotspot
    • b156
    • generic
    • generic
    • Verified

        product:
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0x00007f732e0a5234, pid=14672, tid=0x00007f72ef308700
        #
        # JRE version: OpenJDK Runtime Environment (8.0_111-b14) (build 1.8.0_111-8u111-b14-3-b14)
        # Java VM: OpenJDK 64-Bit Server VM (25.111-b14 mixed mode linux-amd64 compressed oops)
        # Problematic frame:
        # V [libjvm.so+0x338234] GraphBuilder::GraphBuilder(Compilation*, IRScope*)+0x3f4

        fastdebug:
        # Internal Error (.../src/share/vm/c1/c1_GraphBuilder.cpp:3288), pid=14904, tid=0x00007f47f0c57700
        # assert(osr_block->is_set(BlockBegin::was_visited_flag)) failed: osr entry must have been visited for osr compile

        Stack:
        V [libjvm.so+0x11a3b14] VMError::report_and_die()+0x154
        V [libjvm.so+0x77866b] report_vm_error(char const*, int, char const*, char const*)+0x7b
        V [libjvm.so+0x4b4ebf] GraphBuilder::GraphBuilder(Compilation*, IRScope*)+0x68f
        V [libjvm.so+0x4bc9d1] IR::IR(Compilation*, ciMethod*, int)+0x761
        V [libjvm.so+0x491934] Compilation::build_hir() [clone .part.85]+0x124
        V [libjvm.so+0x495ba8] Compilation::compile_java_method()+0x988
        V [libjvm.so+0x495c6a] Compilation::compile_method()+0x7a
        V [libjvm.so+0x496353] Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*)+0x373
        V [libjvm.so+0x496ef2] Compiler::compile_method(ciEnv*, ciMethod*, int)+0x152
        V [libjvm.so+0x6f05b6] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x566
        V [libjvm.so+0x6f19f7] CompileBroker::compiler_thread_loop()+0x5e7
        V [libjvm.so+0x1115f78] JavaThread::thread_main_inner()+0x168
        V [libjvm.so+0x11162ae] JavaThread::run()+0x2ce
        V [libjvm.so+0xeca362] java_start(Thread*)+0xf2
        C [libpthread.so.0+0x7464] start_thread+0xc4

        Current CompileTask:
        C1: 570 219 % b 3 compiler.c1.Test8172751::executeLoop @ 23 (46 bytes)

              aw Andreas Woess
              aw Andreas Woess
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: