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

assert(in_bb(n)) failed: must be

XMLWordPrintable

    • b27
    • Verified

        Attached test crashes with
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (open/src/hotspot/share/opto/superword.hpp:358), pid=15949, tid=15960
        # assert(in_bb(n)) failed: must be
        #
        # JRE version: Java(TM) SE Runtime Environment (14.0+20) (fastdebug build 14-ea+20-879)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-ea+20-879, compiled mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0x165ef71] SuperWord::bb_idx(Node*)+0x41
        #
        # Core dump will be written. Default location: Core dumps may be processed with "/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e %P %I %h" (or dumping to /tmp/fuzzer.tmp.K4CDlMZW6b/core.15949)
        #
        # If you would like to submit a bug report, please visit:
        # http://bugreport.java.com/bugreport/crash.jsp
        #

        --------------- S U M M A R Y ------------

        Command Line: -Xmx1G -Xcomp -Xbatch -XX:CompileOnly=Test Test

        Host:, Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz, 4 cores, 14G, Oracle Linux Server release 7.5
        Time: Fri Oct 25 09:08:38 2019 UTC elapsed time: 0 seconds (0d 0h 0m 0s)

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

        Current thread (0x00007f7e54257800): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=15960, stack(0x00007f7e2aff5000,0x00007f7e2b0f6000)]


        Current CompileTask:
        C2: 237 10 b 4 Test::mainTest (579 bytes)

        Stack: [0x00007f7e2aff5000,0x00007f7e2b0f6000], sp=0x00007f7e2b0f0200, free space=1004k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x165ef71] SuperWord::bb_idx(Node*)+0x41
        V [libjvm.so+0x164f0ef] SuperWord::independent(Node*, Node*)+0x1f
        V [libjvm.so+0x1650119] SuperWord::co_locate_pack(Node_List*)+0xef9
        V [libjvm.so+0x16503fd] SuperWord::schedule()+0x2d
        V [libjvm.so+0x165e42a] SuperWord::SLP_extract()+0x22a
        V [libjvm.so+0x165e950] SuperWord::transform_loop(IdealLoopTree*, bool)+0x220
        V [libjvm.so+0x1200105] PhaseIdealLoop::build_and_optimize(LoopOptsMode)+0x1155
        V [libjvm.so+0x9d63da] PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x2ea
        V [libjvm.so+0x9d366c] Compile::Optimize()+0xadc
        V [libjvm.so+0x9d4c34] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x1094
        V [libjvm.so+0x81b760] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x110
        V [libjvm.so+0x9e104c] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x2cc
        V [libjvm.so+0x9e1ff8] CompileBroker::compiler_thread_loop()+0x468
        V [libjvm.so+0x16ece36] JavaThread::thread_main_inner()+0x226
        V [libjvm.so+0x16f2626] Thread::call_run()+0xf6
        V [libjvm.so+0x14150ae] thread_native_entry(Thread*)+0x10e

          1. Test.java
            7 kB
          2. Test.class
            5 kB
          3. replay_pid15981.log
            158 kB
          4. replay_pid15949.log
            103 kB
          5. hs_err_pid15981.log
            70 kB
          6. hs_err_pid15949.log
            70 kB
          7. FuzzerUtils$1.class
            0.8 kB
          8. FuzzerUtils.java
            13 kB
          9. FuzzerUtils.class
            8 kB

              chagedorn Christian Hagedorn
              lmesnik Leonid Mesnik
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: