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

assert(i == p->size()-1) failed: must be last element of the pack

    XMLWordPrintable

Details

    • b11
    • 11
    • b17
    • Verified

    Backports

      Description

        JavaFuzzer test failed with
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (open/src/hotspot/share/opto/superword.cpp:2053), pid=3387, tid=3398
        # assert(i == p->size()-1) failed: must be last element of the pack
        #
        # JRE version: Java(TM) SE Runtime Environment (14.0+10) (fastdebug build 14-ea+10-332)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-ea+10-332, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0x162370e] SuperWord::profitable(Node_List*)+0x47e
        #
        # 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.DyMIHLD0sJ/core.3387)
        #
        # 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 Test

        Host: Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz, 4 cores, 14G, Oracle Linux Server release 7.5
        Time: Thu Aug 22 06:56:29 2019 UTC elapsed time: 1 seconds (0d 0h 0m 1s)

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

        Current thread (0x00007f6940257800): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=3398, stack(0x00007f6917177000,0x00007f6917278000)]


        Current CompileTask:
        C2: 1022 61 ! 4 Test::mainTest (562 bytes)

        Stack: [0x00007f6917177000,0x00007f6917278000], sp=0x00007f6917272300, 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+0x162370e] SuperWord::profitable(Node_List*)+0x47e
        V [libjvm.so+0x1625cf0] SuperWord::filter_packs()+0x130
        V [libjvm.so+0x1639102] SuperWord::SLP_extract()+0x222
        V [libjvm.so+0x1639630] SuperWord::transform_loop(IdealLoopTree*, bool)+0x220
        V [libjvm.so+0x11e1070] PhaseIdealLoop::build_and_optimize(LoopOptsMode)+0x11e0
        V [libjvm.so+0x9c6b2a] PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x2ea
        V [libjvm.so+0x9c3c64] Compile::Optimize()+0xbc4
        V [libjvm.so+0x9c527f] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x109f
        V [libjvm.so+0x807cad] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x10d
        V [libjvm.so+0x9d1962] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x2d2
        V [libjvm.so+0x9d2858] CompileBroker::compiler_thread_loop()+0x3b8
        V [libjvm.so+0x16cac36] JavaThread::thread_main_inner()+0x226
        V [libjvm.so+0x16d0276] Thread::call_run()+0xf6
        V [libjvm.so+0x13ecede] thread_native_entry(Thread*)+0x10e

        Attachments

          1. FuzzerUtils.class
            8 kB
          2. FuzzerUtils.java
            13 kB
          3. FuzzerUtils$1.class
            0.8 kB
          4. hs_err_pid3387.log
            77 kB
          5. hs_err_pid3578.log
            74 kB
          6. IntermediateResultUse.png
            IntermediateResultUse.png
            15 kB
          7. replay_pid3387.log
            103 kB
          8. replay_pid3578.log
            156 kB
          9. Test.class
            5 kB
          10. Test.java
            10 kB

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: