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

Java2D D3D pipeline crashes on Windows Vista amd64

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • None
    • 6u10, 6u24
    • client-libs
    • 2d
    • x86
    • windows_vista

      FULL PRODUCT VERSION :
      java version "1.6.0_10"
      Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
      Java HotSpot(TM) 64-Bit Server VM (build 11.0-b15, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Windows NT Version 6.0 Build: 6001 Service Pack 1
      Product (0x6): Windows Vista (TM) Business
      Edition: Business
      BuildString: 6001.18145.amd64fre.vistasp1_gdr.080917-1612
      Flavor: Multiprocessor Free
      Architecture: X64
      LCID: 1033

      A DESCRIPTION OF THE PROBLEM :
      Any Java application which initialises Java2D appears to crash the Java VM under Windows Vista 64-bit.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Compile and run the attached test case.


      ACTUAL -
      Most of the time this crashes out with a "Java(TM) Platform SE binary has stopped working" dialog.

      If I refuse to send information back to MS, I get exit code -1073740791

      (If I send information back I get exit code 255 which is probably bogus)


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      As Hotspot itself is not the one to handle the crash there is no hs_err file, but Windows outputs a heap dump file which I can provide.


      REPRODUCIBILITY :
      This bug can be reproduced often.

      ---------- BEGIN SOURCE ----------
      import javax.swing.JOptionPane;

      public class CrashJava {
          public static void main(String[] args) {
              JOptionPane.showMessageDialog(null, "Hi there.");
          }
      }

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

      CUSTOMER SUBMITTED WORKAROUND :
      Add this to the command-line: -Dsun.java2d.d3d=false

      Or remove usage of Swing and so forth, which also avoids the issue.

            tdv Dmitri Trembovetski (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: