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

compiler/vectorapi/VectorMaskLoadStoreTest.java failed with "Error: ShouldNotReachHere()"

XMLWordPrintable

    • b02
    • x86_64
    • linux, windows

      The following test is failing in the JDK19 CI:

      compiler/vectorapi/VectorMaskLoadStoreTest.java

      Here's a snippet from the log file:

      #section:testng
      ----------messages:(5/384)----------
      command: testng -XX:-TieredCompilation -XX:CompileThreshold=100 compiler.vectorapi.VectorMaskLoadStoreTest
      reason: User specified action: run testng/othervm -XX:-TieredCompilation -XX:CompileThreshold=100 compiler.vectorapi.VectorMaskLoadStoreTest
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules jdk.incubator.vector
      elapsed time (seconds): 49.941
      ----------configuration:(3/48)----------
      Boot Layer
        add modules: jdk.incubator.vector

      ----------System.out:(26/2368)----------
      For random generator using seed: 7390143994744694725
      To re-run test with same seed value please add "-Djdk.test.lib.random.seed=7390143994744694725" to command line.
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/x86.ad:1228
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/opt/mach5/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S13725/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7d45d565-bba6-4b59-9947-09b2f8377689/runs/2fda05e7-cb3a-4ad2-87f4-a3380ec0269b/workspace/open/src/hotspot/cpu/x86/x86.ad:1228), pid=30502, tid=30517
      # Error: ShouldNotReachHere()
      #
      # JRE version: Java(TM) SE Runtime Environment (19.0+1) (fastdebug build 19-ea+1-10)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 19-ea+1-10, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x469aa9] long_to_maskGT8_avxNode::emit(CodeBuffer&, PhaseRegAlloc*) const+0x259
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S13765/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/d04033f1-d9e2-4f4e-9b23-8b996a656faf/runs/e0fc0dab-9c6a-453a-984f-9701800702f6/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_not_fast_compiler/scratch/4/core.30502)
      #
      # An error report file with more information is saved as:
      # /opt/mach5/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S13765/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/d04033f1-d9e2-4f4e-9b23-8b996a656faf/runs/e0fc0dab-9c6a-453a-984f-9701800702f6/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_not_fast_compiler/scratch/4/hs_err_pid30502.log
      #
      # Compiler replay data is saved as:
      # /opt/mach5/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S13765/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/d04033f1-d9e2-4f4e-9b23-8b996a656faf/runs/e0fc0dab-9c6a-453a-984f-9701800702f6/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_not_fast_compiler/scratch/4/replay_pid30502.log
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #
      ----------System.err:(1/55)----------
      WARNING: Using incubator modules: jdk.incubator.vector
      ----------rerun:(47/7888)*----------

      Here's the crashing thread's stack:

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

      Current thread (0x00007f457432f120): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=30517, stack(0x00007f4555afb000,0x00007f4555bfc000)]


      Current CompileTask:
      C2: 40424 6396 b compiler.vectorapi.VectorMaskLoadStoreTest::testByte128 (23 bytes)

      Stack: [0x00007f4555afb000,0x00007f4555bfc000], sp=0x00007f4555bf6980, free space=1006k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x469aa9] long_to_maskGT8_avxNode::emit(CodeBuffer&, PhaseRegAlloc*) const+0x259
      V [libjvm.so+0x1635c68] PhaseOutput::scratch_emit_size(Node const*)+0x438
      V [libjvm.so+0x162c0d8] PhaseOutput::shorten_branches(unsigned int*)+0x2e8
      V [libjvm.so+0x163ed0a] PhaseOutput::Output()+0xc6a
      V [libjvm.so+0xa84737] Compile::Code_Gen()+0x427
      V [libjvm.so+0xa90b1e] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x166e
      V [libjvm.so+0x8a9364] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x664
      V [libjvm.so+0xaa0d48] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xc88
      V [libjvm.so+0xaa1b08] CompileBroker::compiler_thread_loop()+0x648
      V [libjvm.so+0x1929eaa] JavaThread::thread_main_inner()+0x25a
      V [libjvm.so+0x1932270] Thread::call_run()+0x100
      V [libjvm.so+0x1614624] thread_native_entry(Thread*)+0x104

            jiefu Jie Fu
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: