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

[REDO] JDK-8289208 Test DrawRotatedStringUsingRotatedFont.java occasionally crashes on MacOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 20
    • 17, 18, 19, 20
    • client-libs
    • 2d
    • b13

      The following test is failing in the JDK20 CI:

      sun/java2d/Disposer/TestDisposerRace.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(5/289)----------
      command: main -mx128m TestDisposerRace
      reason: User specified action: run main/othervm -mx128m TestDisposerRace
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.desktop --add-exports java.desktop/sun.java2d=ALL-UNNAMED
      elapsed time (seconds): 4.884
      ----------configuration:(4/103)----------
      Boot Layer
        add modules: java.desktop
        add exports: java.desktop/sun.java2d ALL-UNNAMED

      ----------System.out:(0/0)----------
      ----------System.err:(12/744)----------
      java.lang.RuntimeException: Disposed more records than were added
      at TestDisposerRace.checkRecordsCountIsSane(TestDisposerRace.java:74)
      at TestDisposerRace.main(TestDisposerRace.java:45)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:1589)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Disposed more records than were added
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Disposed more records than were added
      ----------rerun:(37/5066)*----------

      <snip>

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Disposed more records than were added


      This test failure first happened in jdk-20+11-616-tier3 and the only
      new changeset is:

      JDK-8289208 Test DrawRotatedStringUsingRotatedFont.java occasionally crashes on MacOS

      Since this appears to be a regression, I'm starting this bug off as a P2.

            mkartashev Maxim Kartashev
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: