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

Snapshot2Test crashes in MTLContext::nDrawIndexedQuads

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2 P2
    • None
    • internal
    • javafx
    • fx-sandbox:metal branch

      To reproduce:

      $ gradle sdk shims
      $ gradle -PTEST_ONLY=true -PFULL_TEST=true -PUSE_ROBOT=true :systemTests:test --tests test.javafx.scene.Snapshot2Test

      Several of the tests will fail, and then it will crash.

      Here are the failures:

      Snapshot2Test > [0] > testSnapshot2x2TilesDifferentSizeImm[0] FAILED
          java.lang.AssertionError
              at org.junit.Assert.fail(Assert.java:87)
              at org.junit.Assert.assertTrue(Assert.java:42)
              at org.junit.Assert.assertTrue(Assert.java:53)
              at test.javafx.scene.Snapshot2Test.lambda$doTestTiledSnapshotImm$12(Snapshot2Test.java:378)

      Snapshot2Test > [0] > testSnapshot1x2TilesDifferentSizeImm[0] FAILED
          java.lang.AssertionError
              at org.junit.Assert.fail(Assert.java:87)
              at org.junit.Assert.assertTrue(Assert.java:42)
              at org.junit.Assert.assertTrue(Assert.java:53)
              at test.javafx.scene.Snapshot2Test.lambda$doTestTiledSnapshotImm$12(Snapshot2Test.java:378)

      Snapshot2Test > [0] > testSnapshot1x2TilesDifferentSizeDefer[0] FAILED
          java.lang.AssertionError
              at org.junit.Assert.fail(Assert.java:87)
              at org.junit.Assert.assertTrue(Assert.java:42)
              at org.junit.Assert.assertTrue(Assert.java:53)
              at test.javafx.scene.Snapshot2Test.lambda$doTestTiledSnapshotDefer$13(Snapshot2Test.java:394)

      Snapshot2Test > [0] > testSnapshot2x2TilesDifferentSizeDefer[0] FAILED
          java.lang.AssertionError
              at org.junit.Assert.fail(Assert.java:87)
              at org.junit.Assert.assertTrue(Assert.java:42)
              at org.junit.Assert.assertTrue(Assert.java:53)
              at test.javafx.scene.Snapshot2Test.lambda$doTestTiledSnapshotDefer$13(Snapshot2Test.java:394)

      Snapshot2Test > [0] > testSnapshot2x1TilesDifferentSizeDefer[0] FAILED
          java.lang.AssertionError
              at org.junit.Assert.fail(Assert.java:87)
              at org.junit.Assert.assertTrue(Assert.java:42)
              at org.junit.Assert.assertTrue(Assert.java:53)
              at test.javafx.scene.Snapshot2Test.lambda$doTestTiledSnapshotDefer$13(Snapshot2Test.java:394)

      Snapshot2Test > [0] > testSnapshot2x2TilesSameHeightImm[0] FAILED
          java.lang.AssertionError
              at org.junit.Assert.fail(Assert.java:87)
              at org.junit.Assert.assertTrue(Assert.java:42)
              at org.junit.Assert.assertTrue(Assert.java:53)
              at test.javafx.scene.Snapshot2Test.lambda$doTestTiledSnapshotImm$12(Snapshot2Test.java:378)

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x000000018fe9dc20, pid=80383, tid=33539
      #
      # JRE version: Java(TM) SE Runtime Environment (21.0.2+13) (build 21.0.2+13-LTS-58)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (21.0.2+13-LTS-58, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
      # Problematic frame:
      # C [libobjc.A.dylib+0x9c20] objc_msgSend+0x20
      #
      # 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/kcr/dev/javafx/jfx-metal/jfx/rt/tests/system/hs_err_pid80383.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.
      #

      The hs_err file and crash log are attached.

            arapte Ambarish Rapte
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: