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

-XX:MaxVectorSize=1 -XX:NumberOfLoopInstrToAlign=1605046930 caused fatal error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 11.0.23
    • hotspot
    • generic
    • generic

      ADDITIONAL SYSTEM INFORMATION :
      openjdk version "11.0.23" 2024-04-16
      OpenJDK Runtime Environment Temurin-11.0.23+9 (build 11.0.23+9)
      OpenJDK 64-Bit Server VM Temurin-11.0.23+9 (build 11.0.23+9, mixed mode)

      A DESCRIPTION OF THE PROBLEM :
      A testcase which got a fatal error when executing within -XX:MaxVectorSize=1 -XX:NumberOfLoopInstrToAlign=1605046930.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      java -XX:MaxVectorSize=1 -XX:NumberOfLoopInstrToAlign=1605046930 -cp . constprop02

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -

      Exception in thread "main" java.lang.NullPointerException
      at java.base/java.lang.System.getProperty(System.java:587)
      at java.base/java.lang.System.getProperty(System.java:575)
      at java.desktop/java.awt.Font.getFont(Font.java:1775)
      at java.desktop/java.awt.Font.getFont(Font.java:1603)
      at constprop02.testDiv_hand_opt(constprop02.jasm)
      at constprop02.main(constprop02.jasm)
      ACTUAL -
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffa3324fe67, pid=26168, tid=5300
      #
      # JRE version: OpenJDK Runtime Environment Temurin-11.0.23+9 (11.0.23+9) (build 11.0.23+9)
      # Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.23+9 (11.0.23+9, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
      # Problematic frame:
      # V [jvm.dll+0x6fe67]
      #
      # No core dump will be written. Minidumps are not enabled by default on client versions of Windows

      ---------- BEGIN SOURCE ----------
      import java.awt.Font;

      public class constprop02 {
          public constprop02() {
          }

          public static void main(String[] var0) {
              constprop02 var3 = new constprop02();
              var3.testDiv_hand_opt();
          }

          String testDiv_hand_opt() {
              byte var10 = 0;

              try {
                  int var1 = -1073741824 / var10;
                  return "case 9 failed";
              } catch (Exception var9) {
                  Font var11 = Font.getFont((String)null);
                  return null;
              }
          }
      }

      ---------- END SOURCE ----------

      FREQUENCY : always


            thartmann Tobias Hartmann
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: