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

MultiBufferDuke crashes when changing from 8 to 16 bpp (win32 only) (multimon)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
      2d
    • CPU:
      x86
    • OS:
      windows_nt

      Description


      Set your display mode to 8 bits per pixel.

      Start MultiBufferDuke (in test/java/awt/fullscreen/MultiBufferDuke)

      Choose a display mode that is not 8 bpp (one of the 16 bpp will do).

      Here is the stack trace I get:

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x8E756EA
      Function=AwtPalette::GetSystemInverseLUT+0xA
      Library=N:\build\win32\bin\awt.dll
      Source file = ../../../src/win32/native/sun/windows/awt_Palette.h : 48


      Current Java thread:
              at sun.java2d.loops.Blit.Blit(Native Method)
              at sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:729)
              at sun.java2d.pipe.DrawImage.renderSurfaceData(DrawImage.java:374)
              at sun.java2d.pipe.DrawImage.clipAndRenderSurfaceData(DrawImage.java:711
      )
              at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:70)Win32SD.java: g
      d, graphicsConfig = Win32GraphicsDevice[screen=0], Win32GraphicsConfig[dev=Win32
      GraphicsDevice[screen=0],pixfmt=1]
              at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:53)
      Win32SD_initOps: wsdo, device, hmon, screen = 0x8c5700, 0x86ab88, 0x10001, 0
              at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:818)GetDDInstForDe
      vice, hmon = 0x10001
      ddInstance[0]->hMon = 0x10001
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2708)DDCreateSu
      rf: wsdo, wsdo->hmon = 0x8c5700, 0x10001
              at sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.
      java:738)
              at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:825)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2708)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2825)
              at MultiBufferDuke.restoreSpriteContent(MultiBufferDuke.java:388)
              at MultiBufferDuke.initOffscreen(MultiBufferDuke.java:372)
              at MultiBufferDuke.run(MultiBufferDuke.java:315)
              at java.lang.Thread.run(Thread.java:579)


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              chaasesunw Chet Haase (Inactive)
              Reporter:
              chaasesunw Chet Haase (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Imported:
                Indexed: