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

Missing check for is_LoadVector in StoreNode::Identity

XMLWordPrintable

    • b25
    • 23
    • b26

        The attached Java Fuzzer test starts to fail after JDK-8325520:

        To reproduce:
        $ java -XX:CompileCommand=compileonly,*Test*::* -Xcomp Test.java
        $ java -XX:CompileCommand=compileonly,*Reduced*::* -Xcomp Reduced.java

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (c:\sb\prod\1716679374\workspace\open\src\hotspot\share\opto/node.hpp:999), pid=33076, tid=63116
        # assert(is_LoadVector()) failed: invalid node class: Phi
        #
        # JRE version: Java(TM) SE Runtime Environment (23.0+25) (fastdebug build 23-ea+25-2041)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 23-ea+25-2041, compiled mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
        ..........
        Command Line: -Xmx1G -XX:+IgnoreUnrecognizedVMOptions -XX:CompileCommand=quiet -XX:CompileCommand=compileonly,*Test*::* -Xcomp -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk\22\36\bundles\windows-x64\jdk-22_windows-x64_bin.zip\jdk-22 -Djava.io.tmpdir=c:\sb\prod\1716758884\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_javafuzzer_BigTest_java\tmp -XX:+CreateCoredumpOnCrash Test
        .........
        Current CompileTask:
        C2:544 8 !b 4 Test::mainTest (621 bytes)

        Stack: [0x0000000816d00000,0x0000000816e00000]
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [jvm.dll+0xc90fe1] os::win32::platform_print_native_stack+0x101 (os_windows_x86.cpp:235)
        V [jvm.dll+0xf54b9b] VMError::report+0x149b (vmError.cpp:1010)
        V [jvm.dll+0xf5723e] VMError::report_and_die+0x80e (vmError.cpp:1845)
        V [jvm.dll+0xf57964] VMError::report_and_die+0x64 (vmError.cpp:1610)
        V [jvm.dll+0x555efb] report_vm_error+0x5b (debug.cpp:193)
        V [jvm.dll+0x4e43f6] Node::as_LoadVector+0x56 (node.hpp:999)
        V [jvm.dll+0xbc05d3] StoreNode::Identity+0x133 (memnode.cpp:3520)
        V [jvm.dll+0xcdaf1c] PhaseIterGVN::transform_old+0x35c (phaseX.cpp:1264)
        V [jvm.dll+0xcd6f39] PhaseIterGVN::optimize+0x259 (phaseX.cpp:1047)
        V [jvm.dll+0x4e34a8] Compile::Optimize+0xcc8 (compile.cpp:2435)
        V [jvm.dll+0x4e0565] Compile::Compile+0x1165 (compile.cpp:854)
        V [jvm.dll+0x3f0bb9] C2Compiler::compile_method+0x179 (c2compiler.cpp:145)
        V [jvm.dll+0x4fd847] CompileBroker::invoke_compiler_on_method+0x747 (compileBroker.cpp:2306)
        V [jvm.dll+0x4faebb] CompileBroker::compiler_thread_loop+0x33b (compileBroker.cpp:1962)
        V [jvm.dll+0x7fdac6] JavaThread::thread_main_inner+0x266 (javaThread.cpp:760)
        V [jvm.dll+0xeb84f7] Thread::call_run+0x1b7 (thread.cpp:230)
        V [jvm.dll+0xc8f5e6] thread_native_entry+0xd6 (os_windows.cpp:552)
        C [ucrtbase.dll+0x1fb80] (no source info available)
        C [KERNEL32.DLL+0x84d4] (no source info available)
        C [ntdll.dll+0x51791] (no source info available)

          1. FuzzerUtils.java
            13 kB
          2. hs_err_pid33076.log
            82 kB
          3. Reduced.java
            0.8 kB
          4. Test.java
            7 kB

              dfenacci Damon Fenacci
              chagedorn Christian Hagedorn
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: