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

C2: CreateExNode::Identity fails with assert(i < _max) failed: oob: i=1, _max=1

    XMLWordPrintable

Details

    • b25
    • x86_64
    • linux

    Backports

      Description

        Test: applications/javafuzzer/BigTest.java

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/opt/mach5/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S137645/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/72a847c5-0dfa-463d-80ea-653cfc7b10d2/runs/9b5e7e00-47a5-4f25-807b-13a7d2e68fd7/workspace/open/src/hotspot/share/opto/node.hpp:391), pid=3845172, tid=3845191
        # assert(i < _max) failed: oob: i=1, _max=1
        #
        # JRE version: Java(TM) SE Runtime Environment (20.0+24) (fastdebug build 20-ea+24-1716)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 20-ea+24-1716, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0x95f703] Node::in(unsigned int) const [clone .constprop.1]+0x43
        #
        # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /tmp/fuzzer.tmp.v4XtScQSMB/core.3845172)
        #
        # If you would like to submit a bug report, please visit:
        # https://bugreport.java.com/bugreport/crash.jsp
        #

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

        Command Line: -XX:-TieredCompilation -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+StressLCM -XX:+StressGCM -XX:+StressIGVN -XX:+StressCCP -XX:StressSeed=2110910222 -Xmx1G -Xcomp -Xbatch -XX:CompileOnly=Test -XX:CompileCommand=quiet -XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S95112/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b2e63de8-ca02-4fe5-b102-74b605ca0976/runs/3842a7e9-919c-431f-9cc9-bdf4450d8cf5/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_javafuzzer_BigTest_java/tmp Test

        Host: AMD EPYC 7742 64-Core Processor, 12 cores, 23G, Oracle Linux Server release 8.6
        Time: Sun Nov 13 01:06:49 2022 UTC elapsed time: 0.854743 seconds (0d 0h 0m 0s)

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

        Current thread (0x00007fd66833c870): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=3845191, stack(0x00007fd658e61000,0x00007fd658f62000)]


        Current CompileTask:
        C2: 854 9 b Test::vMeth (290 bytes)

        Stack: [0x00007fd658e61000,0x00007fd658f62000], sp=0x00007fd658f5c620, free space=1005k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x95f703] Node::in(unsigned int) const [clone .constprop.1]+0x43 (node.hpp:391)
        V [libjvm.so+0x96c148] CreateExNode::Identity(PhaseGVN*)+0x1e8 (cfgnode.cpp:2785)
        V [libjvm.so+0x17a025a] PhaseIterGVN::transform_old(Node*)+0x2da (phaseX.cpp:1322)
        V [libjvm.so+0x179849e] PhaseIterGVN::optimize()+0x6e (phaseX.cpp:1203)
        V [libjvm.so+0xafd1c2] PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x6e2 (loopnode.hpp:1166)
        V [libjvm.so+0xaf9265] Compile::Optimize()+0xfc5 (compile.cpp:2381)
        V [libjvm.so+0xafb3fd] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x15ed (compile.cpp:831)
        V [libjvm.so+0x90bb27] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x4e7 (c2compiler.cpp:113)
        V [libjvm.so+0xb083ec] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xa7c (compileBroker.cpp:2237)
        V [libjvm.so+0xb091d8] CompileBroker::compiler_thread_loop()+0x608 (compileBroker.cpp:1916)
        V [libjvm.so+0x107c576] JavaThread::thread_main_inner()+0x206 (javaThread.cpp:699)
        V [libjvm.so+0x1a7e0d0] Thread::call_run()+0x100 (thread.cpp:224)
        V [libjvm.so+0x1714e43] thread_native_entry(Thread*)+0x103 (os_linux.cpp:710)

        Attachments

          Issue Links

            Activity

              People

                thartmann Tobias Hartmann
                dholmes David Holmes
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: