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

DisplayModeTest from Java tutorial crashes VM (see #125024)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.4.0
    • client-libs
    • x86
    • windows_2000



      Name: bsC130419 Date: 05/31/2001


      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b65)
      Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)

      Machine tested:
      1Ghz Athlon
      GeForce2
      Windows 2000 SP1
      DirectX 8

      1. Compile and run the DisplayModeTest application from the Java Tutorial.
      (http://java.sun.com/docs/books/tutorial/extra/fullscreen/example-
      1dot4/DisplayModeTest.java)

      2. The list of video modes comes up and shows quite a few modes. The current
      video mode is 1152x864x32bpp, 85Hz.

      2. Select any display mode and click the 'Set Display Mode' button.

      3. The VM crashes. The following is shown in the .log file produced:

      -----------------------------------------------------------

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D066520
      Function=Java_sun_print_Win32PrintJob_printRawData+0x4C7
      Library=C:\Program Files\JavaSoft\JRE\1.4\bin\awt.dll

      Current Java thread:
      at sun.java2d.loops.Blit.Blit(Native Method)
      at sun.java2d.SunGraphics2D.blitSurfaceData(Unknown Source)
      at sun.java2d.SunGraphics2D.renderSurfaceData(Unknown Source)
      at sun.java2d.SunGraphics2D.clipAndRenderSurfaceData(Unknown Source)
      at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
      at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
      at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
      at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
      at javax.swing.JComponent._paintImmediately(Unknown Source)
      at javax.swing.JComponent.paintImmediately(Unknown Source)
      at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
      at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run
      (Unknown Source)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

      Dynamic libraries:
      0x00400000 - 0x00405000 C:\WINNT\system32\java.exe
      0x77F80000 - 0x77FFA000 C:\WINNT\System32\ntdll.dll
      0x77DB0000 - 0x77E0A000 C:\WINNT\system32\ADVAPI32.dll
      0x77E80000 - 0x77F35000 C:\WINNT\system32\KERNEL32.DLL
      0x77D40000 - 0x77DB0000 C:\WINNT\system32\RPCRT4.DLL
      0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
      0x6D400000 - 0x6D503000 C:\Program Files\JavaSoft\JRE\1.4
      \bin\hotspot\jvm.dll
      0x77E10000 - 0x77E74000 C:\WINNT\system32\USER32.dll
      0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
      0x77570000 - 0x775A0000 C:\WINNT\system32\WINMM.dll
      0x10000000 - 0x10019000 C:\WINNT\system32\NVDESK32.DLL
      0x6D200000 - 0x6D207000 C:\Program Files\JavaSoft\JRE\1.4\bin\hpi.dll
      0x6D3D0000 - 0x6D3DD000 C:\Program Files\JavaSoft\JRE\1.4\bin\verify.dll
      0x6D240000 - 0x6D255000 C:\Program Files\JavaSoft\JRE\1.4\bin\java.dll
      0x6D3F0000 - 0x6D3FD000 C:\Program Files\JavaSoft\JRE\1.4\bin\zip.dll
      0x6D010000 - 0x6D0FB000 C:\Program Files\JavaSoft\JRE\1.4\bin\awt.dll
      0x77800000 - 0x7781D000 C:\WINNT\system32\WINSPOOL.DRV
      0x75E60000 - 0x75E7A000 C:\WINNT\system32\IMM32.dll
      0x77A50000 - 0x77B45000 C:\WINNT\system32\ole32.dll
      0x6D1B0000 - 0x6D1FF000 C:\Program Files\JavaSoft\JRE\1.4
      \bin\fontmanager.dll
      0x6D350000 - 0x6D357000 C:\Program Files\JavaSoft\JRE\1.4\bin\nio.dll
      0x75030000 - 0x75044000 C:\WINNT\system32\WS2_32.dll
      0x75020000 - 0x75028000 C:\WINNT\system32\WS2HELP.DLL
      0x6D340000 - 0x6D34E000 C:\Program Files\JavaSoft\JRE\1.4\bin\net.dll
      0x75050000 - 0x75058000 C:\WINNT\system32\WSOCK32.dll
      0x78280000 - 0x7828C000 C:\WINNT\System32\rnr20.dll
      0x77980000 - 0x779A4000 C:\WINNT\system32\DNSAPI.DLL
      0x777E0000 - 0x777E8000 C:\WINNT\System32\winrnr.dll
      0x77950000 - 0x77979000 C:\WINNT\system32\WLDAP32.DLL
      0x728A0000 - 0x728A6000 C:\WINNT\system32\DCIMAN32.dll
      0x0AE20000 - 0x0AF95000 C:\WINNT\system32\nvoglnt.dll
      0x0D530000 - 0x0D549000 C:\Program
      Files\Creative\BlasterControl\BlstApp.DLL
      0x77820000 - 0x77827000 C:\WINNT\system32\VERSION.dll
      0x759B0000 - 0x759B6000 C:\WINNT\system32\LZ32.DLL
      0x51000000 - 0x51044000 C:\WINNT\system32\ddraw.dll
      0x77920000 - 0x77942000 C:\WINNT\system32\imagehlp.dll
      0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
      0x690A0000 - 0x690AB000 C:\WINNT\system32\PSAPI.DLL

      Local Time = Sat May 26 12:21:25 2001
      Elapsed Time = 7
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-beta-b65 mixed mode)
      #

      ------------------------------------------------

      I tried switching to the following video modes and they all gave me the same
      error:
      640x480x8bpp, 60Hz
      1152x864x32bpp, 60Hz
      1024x768x32bpp, 85 Hz

      I tried running the DisplayModeTest application while in 1024x768x32 and it
      still crashed.

      Running this program on another machine (P3 733, Geforce2, Win2k SP1) exhibited
      the same behvaior, but gave a slightly different crash:

      ----------------------------------------------------

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D062FFD
      Function=Java_sun_awt_windows_Win32BlitLoops_Blit+0x75
      Library=F:\jdk1.4\jre\bin\awt.dll

      Current Java thread:
      at sun.awt.windows.Win32BlitLoops.Blit(Native Method)
      at sun.java2d.SunGraphics2D.blitSurfaceData(SunGraphics2D.java:2966)
      at sun.java2d.SunGraphics2D.renderSurfaceData(SunGraphics2D.java:2892)
      at sun.java2d.SunGraphics2D.clipAndRenderSurfaceData
      (SunGraphics2D.java:2949)
      at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3258)
      at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3490)
      at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4604)
      at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4547)
      at javax.swing.JComponent._paintImmediately(JComponent.java:4497)
      at javax.swing.JComponent.paintImmediately(JComponent.java:4329)
      at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:407)
      at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run
      (SystemEventQueueUtilities.java:120)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:167)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
      at java.awt.EventDispatchThread.pumpOneEvent
      (EventDispatchThread.java:150)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

      Dynamic libraries:
      0x00400000 - 0x00405000 f:\jdk1.4\bin\java.exe
      0x77F80000 - 0x77FFA000 C:\WINNT\System32\ntdll.dll
      0x77DB0000 - 0x77E0A000 C:\WINNT\system32\ADVAPI32.dll
      0x77E80000 - 0x77F35000 C:\WINNT\system32\KERNEL32.DLL
      0x77D40000 - 0x77DB0000 C:\WINNT\system32\RPCRT4.DLL
      0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
      0x6D400000 - 0x6D503000 f:\jdk1.4\jre\bin\hotspot\jvm.dll
      0x77E10000 - 0x77E74000 C:\WINNT\system32\USER32.dll
      0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
      0x77570000 - 0x775A0000 C:\WINNT\System32\WINMM.dll
      0x10000000 - 0x10019000 C:\WINNT\System32\NVDESK32.DLL
      0x6D200000 - 0x6D207000 f:\jdk1.4\jre\bin\hpi.dll
      0x6D3D0000 - 0x6D3DD000 f:\jdk1.4\jre\bin\verify.dll
      0x6D240000 - 0x6D255000 f:\jdk1.4\jre\bin\java.dll
      0x6D3F0000 - 0x6D3FD000 f:\jdk1.4\jre\bin\zip.dll
      0x6D010000 - 0x6D0FB000 F:\jdk1.4\jre\bin\awt.dll
      0x77800000 - 0x7781D000 C:\WINNT\System32\WINSPOOL.DRV
      0x75E60000 - 0x75E7A000 C:\WINNT\System32\IMM32.dll
      0x77A50000 - 0x77B45000 C:\WINNT\system32\ole32.dll
      0x6D1B0000 - 0x6D1FF000 F:\jdk1.4\jre\bin\fontmanager.dll
      0x6D350000 - 0x6D357000 F:\jdk1.4\jre\bin\nio.dll
      0x75030000 - 0x75044000 C:\WINNT\System32\WS2_32.dll
      0x75020000 - 0x75028000 C:\WINNT\System32\WS2HELP.DLL
      0x6D340000 - 0x6D34E000 F:\jdk1.4\jre\bin\net.dll
      0x75050000 - 0x75058000 C:\WINNT\System32\WSOCK32.dll
      0x78280000 - 0x7828C000 C:\WINNT\System32\rnr20.dll
      0x77980000 - 0x779A4000 C:\WINNT\System32\DNSAPI.DLL
      0x77340000 - 0x77353000 C:\WINNT\System32\iphlpapi.dll
      0x77520000 - 0x77525000 C:\WINNT\System32\ICMP.DLL
      0x77320000 - 0x77337000 C:\WINNT\System32\MPRAPI.DLL
      0x75150000 - 0x7515F000 C:\WINNT\System32\SAMLIB.DLL
      0x75170000 - 0x751BF000 C:\WINNT\System32\NETAPI32.DLL
      0x77BE0000 - 0x77BEF000 C:\WINNT\System32\SECUR32.DLL
      0x751C0000 - 0x751C6000 C:\WINNT\System32\NETRAP.DLL
      0x77950000 - 0x77979000 C:\WINNT\system32\WLDAP32.DLL
      0x779B0000 - 0x77A45000 C:\WINNT\system32\OLEAUT32.DLL
      0x773B0000 - 0x773DE000 C:\WINNT\System32\ACTIVEDS.DLL
      0x77380000 - 0x773A2000 C:\WINNT\System32\ADSLDPC.DLL
      0x77830000 - 0x7783E000 C:\WINNT\System32\RTUTILS.DLL
      0x77880000 - 0x7790D000 C:\WINNT\System32\SETUPAPI.DLL
      0x77C10000 - 0x77C6D000 C:\WINNT\System32\USERENV.DLL
      0x774E0000 - 0x77512000 C:\WINNT\System32\RASAPI32.DLL
      0x774C0000 - 0x774D1000 C:\WINNT\System32\RASMAN.DLL
      0x77530000 - 0x77552000 C:\WINNT\System32\TAPI32.DLL
      0x71730000 - 0x717BA000 C:\WINNT\system32\COMCTL32.DLL
      0x70BD0000 - 0x70C20000 C:\WINNT\system32\SHLWAPI.DLL
      0x77360000 - 0x77379000 C:\WINNT\System32\DHCPCSVC.DLL
      0x691D0000 - 0x69255000 C:\WINNT\System32\CLBCATQ.DLL
      0x777E0000 - 0x777E8000 C:\WINNT\System32\winrnr.dll
      0x728A0000 - 0x728A6000 C:\WINNT\System32\DCIMAN32.dll
      0x0D280000 - 0x0D401000 C:\WINNT\System32\nvoglnt.dll
      0x145A0000 - 0x145EC000 C:\WINNT\System32\PGP60sc.dll
      0x76B30000 - 0x76B6E000 C:\WINNT\system32\comdlg32.dll
      0x69800000 - 0x69A42000 C:\WINNT\system32\SHELL32.DLL
      0x145F0000 - 0x1467A000 C:\WINNT\System32\PGP_SDK.dll
      0x14680000 - 0x1478E000 C:\WINNT\System32\PGP60cl.dll
      0x14790000 - 0x147C0000 C:\WINNT\System32\PGPsdkNL.dll
      0x147C0000 - 0x147F6000 C:\WINNT\System32\PGPsdkUI.dll
      0x51000000 - 0x51044000 C:\WINNT\System32\ddraw.dll
      0x77920000 - 0x77942000 C:\WINNT\system32\imagehlp.dll
      0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
      0x690A0000 - 0x690AB000 C:\WINNT\System32\PSAPI.DLL

      Local Time = Sat May 26 12:32:51 2001
      Elapsed Time = 12
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-beta-b65 mixed mode)
      #
      (Review ID: 125169)
      ======================================================================

            mmartaksunw Michael Martak (Inactive)
            bstrathesunw Bill Strathearn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: