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

VM crash in java2d on old win98 computer.

    • 2d
    • x86
    • windows_98

      Any attempt to draw image causes JVM crash as shown bellow on win98.

      The Java2Demo started with jdk1.5b12 on jctjck03 mashine.
      jctjck03 is win98 computer with standard VGA adapter (16 colors).
      It is used for JCK QA.

      When I start Java2Demo, The windows show dialog:
      "You mast running in 256 color mode or higher"
      and then java crash.
      May by this is unsupported configuraion, but, in any case, crash is not correct
      behavior.

      > java.exe -jar Java2Demo.jar
      ----------------------------------
      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x301B514
      Function=[Unknown.]
      Library=(N/A)

      NOTE: We are unable to locate the function name symbol for the error
            just occurred. Please refer to release documentation for possible
            reason and solutions.


      Current Java thread:
      at sun.java2d.loops.Blit.Blit(Native Method)
      at sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:640)
      at sun.java2d.pipe.DrawImage.renderSurfaceData(DrawImage.java:346)
      at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:66)
      at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:50)
      at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:736)
      at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2755)
      at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2745)
      at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4818)
      at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4761)
      at javax.swing.JComponent.paint(JComponent.java:798)
      at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
      at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
      at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
      at java.awt.Container.paint(Container.java:1312)
      at sun.awt.RepaintArea.paint(RepaintArea.java:177)
      at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:260)
      at java.awt.Component.dispatchEventImpl(Component.java:3677)
      at java.awt.Container.dispatchEventImpl(Container.java:1627)
      at java.awt.Window.dispatchEventImpl(Window.java:1606)
      at java.awt.Component.dispatchEvent(Component.java:3476)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:208)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:157)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:151)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:143)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:104)

      Dynamic libraries:
      0x7CC00000 - 0x7CC1D000 C:\WINDOWS\SYSTEM\IMAGEHLP.DLL

      Heap at VM Abort:
      Heap
       def new generation total 576K, used 485K [0x10010000, 0x100b0000, 0x104f0000)
        eden space 512K, 82% used [0x10010000, 0x10079590, 0x10090000)
        from space 64K, 100% used [0x100a0000, 0x100b0000, 0x100b0000)
        to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
       tenured generation total 1408K, used 89K [0x104f0000, 0x10650000, 0x14010000)
         the space 1408K, 6% used [0x104f0000, 0x105065c0, 0x10506600, 0x10650000)
       compacting perm gen total 4352K, used 4255K [0x14010000, 0x14450000, 0x18010000)
         the space 4352K, 97% used [0x14010000, 0x14437fb8, 0x14438000, 0x14450000)

      Local Time = Thu Jul 31 17:49:00 2003
      Elapsed Time = 10
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0-beta-b05 mixed mode)
      #
      # An error report file has been saved as hs_err_pid4294513223.log.
      # Please refer to the file for further information.
      #

            tdv Dmitri Trembovetski (Inactive)
            alisunw Ali Ali (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: