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

Need to track add/remove of monitors on display changes

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b08
    • CPU:
      x86
    • OS:
      linux, windows_2000, windows_xp
    • Verification:
      Verified

      Backports

        Description

        Run the attached test on a multi-mon machine machine configured so that only one monitor is active. Adding a secondary display will crash with the following results:

        An unexpected exception has been detected in native code outside the VM.
        Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x50075421
        Function=Java_sun_print_Win32PrintJob_printRawData+0x4C7
        Library=J:\java\jdk1.4\win\jre\bin\awt.dll

        Current Java thread:
                at sun.java2d.loops.Blit.Blit(Native Method)
                at sun.java2d.SunGraphics2D.blitSurfaceData(SunGraphics2D.java:2778)
                at sun.java2d.SunGraphics2D.renderSurfaceData(SunGraphics2D.java:2704)
                at sun.java2d.SunGraphics2D.clipAndRenderSurfaceData(SunGraphics2D.java:2761)
                at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3105)
                at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3189)
                at sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.java:748)
                at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3151)
                at MultiDitherTest$DitherCanvas.paint(MultiDitherTest.java:375)
                at MultiDitherTest$DitherCanvas.update(MultiDitherTest.java:380)
                at sun.awt.RepaintArea.paintRect(RepaintArea.java:331)
                at sun.awt.RepaintArea.paint(RepaintArea.java:321)
                at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:254)
                at java.awt.Component.dispatchEventImpl(Component.java:3533)
                at java.awt.Component.dispatchEvent(Component.java:3327)
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
                at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:140)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:121)
                at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

        Dynamic libraries:
        0x00400000 - 0x00405000 j:\java\jdk1.4\win\bin\java.exe
        0x77F80000 - 0x77FF9000 E:\WINNT\System32\ntdll.dll
        0x77DB0000 - 0x77E0A000 E:\WINNT\system32\ADVAPI32.dll
        0x77E80000 - 0x77F36000 E:\WINNT\system32\KERNEL32.DLL
        0x77D40000 - 0x77DAF000 E:\WINNT\system32\RPCRT4.DLL
        0x78000000 - 0x78046000 E:\WINNT\system32\MSVCRT.dll
        0x50410000 - 0x50509000 j:\java\jdk1.4\win\jre\bin\hotspot\jvm.dll
        0x77E10000 - 0x77E75000 E:\WINNT\system32\USER32.dll
        0x77F40000 - 0x77F7C000 E:\WINNT\system32\GDI32.DLL
        0x77570000 - 0x775A0000 E:\WINNT\System32\WINMM.dll
        0x50210000 - 0x50217000 j:\java\jdk1.4\win\jre\bin\hpi.dll
        0x503E0000 - 0x503ED000 j:\java\jdk1.4\win\jre\bin\verify.dll
        0x50250000 - 0x50265000 j:\java\jdk1.4\win\jre\bin\java.dll
        0x50400000 - 0x5040D000 j:\java\jdk1.4\win\jre\bin\zip.dll
        0x50020000 - 0x50109000 J:\java\jdk1.4\win\jre\bin\awt.dll
        0x77800000 - 0x7781D000 E:\WINNT\System32\WINSPOOL.DRV
        0x75E60000 - 0x75E7A000 E:\WINNT\System32\IMM32.dll
        0x77A50000 - 0x77B45000 E:\WINNT\system32\ole32.dll
        0x501C0000 - 0x5020F000 J:\java\jdk1.4\win\jre\bin\fontmanager.dll
        0x72800000 - 0x72846000 E:\WINNT\System32\ddraw.dll
        0x728A0000 - 0x728A6000 E:\WINNT\System32\DCIMAN32.dll
        0x76B20000 - 0x76B25000 E:\WINNT\System32\RICHED32.DLL
        0x772B0000 - 0x7731C000 E:\WINNT\System32\RICHED20.dll
        0x61220000 - 0x6122E000 E:\Program Files\Microsoft Hardware\Mouse\MSH_ZWF.dll
        0x77920000 - 0x77942000 E:\WINNT\system32\imagehlp.dll
        0x72A00000 - 0x72A2D000 E:\WINNT\system32\DBGHELP.dll
        0x690A0000 - 0x690AB000 E:\WINNT\System32\PSAPI.DLL

        Local Time = Thu Feb 22 00:11:59 2001
        Elapsed Time = 29
        #
        # The exception above was detected in native code outside the VM
        #
        # Java VM: Java HotSpot(TM) Client VM (B53 mixed mode)
        #
        # An error report file has been saved as hs_err_pid476.log.
        # Please refer to the file for further information.
        #

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                tdv Dmitri Trembovetski (Inactive)
                Reporter:
                bchristi Brent Christian
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: