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

Lanai: javax/swing/JFileChooser/8013442: SIGSEGV at AMDMTLBronzeDriver/AppleIntelHD5000GraphicsMTLDriver

XMLWordPrintable

    • x86_64
    • os_x
    • Verified

      The test javax/swing/JFileChooser/8013442/Test8013442.java fails with the following output :

      #section:main
      ----------messages:(5/196)----------
      command: main Test8013442
      reason: Assumed action based on file name: run main Test8013442
      Mode: othervm
      Additional options from @modules: --add-modules java.desktop
      elapsed time (seconds): 2.004
      ----------configuration:(3/40)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(26/1051)----------
      Metal
      count = 1; true
      count = 2; true
      count = 1; false
      count = 0; false
      Nimbus
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007fff31121aac, pid=11360, tid=78647
      #
      # JRE version: OpenJDK Runtime Environment (15.0+9) (build 15+9-blanai.55)
      # Java VM: OpenJDK 64-Bit Server VM (15+9-blanai.55, mixed mode, sharing, tiered, compressed oops, g1 gc, bsd-amd64)
      # Problematic frame:
      # C [AMDMTLBronzeDriver+0x7aac] _ZL39amdBronzeMtlTextureStdWriteTileVecDisp2PvS_jj+0x28
      #
      # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # An error report file with more information is saved as:
      # /Users/vprovodin/workspace/github/JetBrainsRuntime_Lanai/JTwork/scratch/hs_err_pid11360.log
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #
      ----------System.err:(1/15)----------
      metalEnabled=1

      The test successfully passes with -Dsun.java2d.metal=false
      It is a regression - the issue was not observed before 29-Feb-2020. It look like the regression was introduced one of the commits:
      - 8240234: Improve performance of bulk MTLRenderer_FillAAParallelogram ops
      - 8233226: Implement XOR Mode rendering option

      The reproducibility: 100%
      Steps to reproduce:

      $ jtreg -Dsun.java2d.metal=true -testjdk:[path_to_lanai_home] test/jdk/javax/swing/JFileChooser/8013442/Test8013442.java

            avu Alexey Ushakov
            vprovodin Vitaly Provodin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: