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

C1: assert(goto_state->is_same(sux_state)) failed: states must match now

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • hs23
    • 7
    • hotspot
    • None
    • b10
    • generic
    • generic
    • Verified

        Test in attachment crashes in fastdebug with hs_err below.
        Works fine in product.

        ;; Using jvm: "/export/local/common/jdk/baseline/solaris-sparc/jre/lib/sparc/client/libjvm.so"
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/tmp/jprt/P1/183235.never/source/src/share/vm/c1/c1_Optimizer.cpp:190), pid=1878, tid=7
        # assert(goto_state->is_same(sux_state)) failed: states must match now
        #
        # JRE version: 7.0-b147
        # Java VM: Java HotSpot(TM) Client VM (23.0-b06-internal-201111181832.never.7110489-fastdebug compiled mode, sharing solaris-sparc )
        # Core dump written. Default location: /export/local/56398.JDK7.NIGHTLY.VM_solaris-sparc_jittester_client_comp_testlist/results/wrk_dir1321846985332/core or core.1878
        #
        # If you would like to submit a bug report, please visit:
        # http://bugreport.sun.com/bugreport/crash.jsp
        #

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

        Current thread (0x000f3800): JavaThread "C1 CompilerThread0" daemon [_thread_in_native, id=7, stack(0xfb130000,0xfb1b0000)]

        Stack: [0xfb130000,0xfb1b0000], sp=0xfb1aed90, free space=507k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0xd9d9a4] void VMError::report_and_die()+0x7e0;; void VMError::report_and_die()+0x7e0
        V [libjvm.so+0x4ed1b0] void report_vm_error(const char*,int,const char*,const char*)+0x74;; void report_vm_error(const char*,int,const char*,const char*)+0x74
        V [libjvm.so+0x31f1d0] void CE_Eliminator::block_do(BlockBegin*)+0xc48;; void CE_Eliminator::block_do(BlockBegin*)+0xc48
        V [libjvm.so+0x288a28] void BlockBegin::iterate_preorder(boolArray&,BlockClosure*)+0xcc;; void BlockBegin::iterate_preorder(boolArray&,BlockClosure*)+0xcc
        V [libjvm.so+0x288aec] void BlockBegin::iterate_preorder(boolArray&,BlockClosure*)+0x190;; void BlockBegin::iterate_preorder(boolArray&,BlockClosure*)+0x190
        V [libjvm.so+0x288aec] void BlockBegin::iterate_preorder(boolArray&,BlockClosure*)+0x190;; void BlockBegin::iterate_preorder(boolArray&,BlockClosure*)+0x190
        V [libjvm.so+0x288e74] void BlockBegin::iterate_preorder(BlockClosure*)+0x1a0;; void BlockBegin::iterate_preorder(BlockClosure*)+0x1a0
        V [libjvm.so+0x31fa28] void Optimizer::eliminate_conditional_expressions()+0x44;; void Optimizer::eliminate_conditional_expressions()+0x44
        V [libjvm.so+0x27c8e0] void IR::optimize()+0x94;; void IR::optimize()+0x94
        V [libjvm.so+0x244974] void Compilation::build_hir()+0x2e8;; void Compilation::build_hir()+0x2e8
        V [libjvm.so+0x2459bc] int Compilation::compile_java_method()+0x1f8;; int Compilation::compile_java_method()+0x1f8
        V [libjvm.so+0x245e78] void Compilation::compile_method()+0xb0;; void Compilation::compile_method()+0xb0
        V [libjvm.so+0x246ac8] Compilation::Compilation(AbstractCompiler*,ciEnv*,ciMethod*,int,BufferBlob*)+0x1f4;; Compilation::Compilation(AbstractCompiler*,ciEnv*,ciMethod*,int,BufferBlob*)+0x1f4
        V [libjvm.so+0x249340] void Compiler::compile_method(ciEnv*,ciMethod*,int)+0x3c4;; void Compiler::compile_method(ciEnv*,ciMethod*,int)+0x3c4
        V [libjvm.so+0x45a8e0] void CompileBroker::invoke_compiler_on_method(CompileTask*)+0x16d4;; void CompileBroker::invoke_compiler_on_method(CompileTask*)+0x16d4
        V [libjvm.so+0x458d10] void CompileBroker::compiler_thread_loop()+0x71c;; void CompileBroker::compiler_thread_loop()+0x71c
        V [libjvm.so+0xd013e4] void JavaThread::thread_main_inner()+0x2fc;; void JavaThread::thread_main_inner()+0x2fc
        V [libjvm.so+0xd010d0] void JavaThread::run()+0x25c;; void JavaThread::run()+0x25c
        V [libjvm.so+0xb343b4] java_start+0x264;; java_start+0x264


        Current CompileTask:
        C1: 579710 4456 b Test_Class_2::<clinit> (97 bytes)

              roland Roland Westrelin
              lmesnik Leonid Mesnik
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: