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

REGRESSION: Regression-test sun/java2d/DirectX/D3dTranslucency.java fails

XMLWordPrintable

    • 2d
    • tiger
    • x86
    • windows_xp
    • Verified



      Name: mmR10223 Date: 09/03/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b17 (passes using JDK1.4.2-b28)
      Testbase : Regression-test
      Platform[s] : Windows XP Pro
      switch/Mode : default
      Falling test[s]: sun/java2d/DirectX/D3dTranslucency.java

      This test also fails using JDK1.5.0-b16 on Windows XP Pro, but it passes on Windows 2000/XP Home.

      $cat hs_err_pid5080.log
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x02ed164d, pid=5080, tid=20216
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0-beta-b17 mixed mode)
      # Problematic frame:
      # C [awt.dll+0xb164d]
      #

      --------------- T H R E A D ---------------

      Current thread (0x02c8e5a0): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=20216]

      siginfo: ExceptionCode=0xc0000005, reading address 0x00000054

      Registers:
      EAX=0x00000000, EBX=0x00000007, ECX=0x00000000, EDX=0x00000020
      ESP=0x0312f3f8, EBP=0x02c83380, ESI=0x00004000, EDI=0x00000000
      EIP=0x02ed164d, EFLAGS=0x00010246

      Top of Stack: (sp=0x0312f3f8)
      0x0312f3f8: 02ed244e 00000020 02c83328 02c8d9d0
      0x0312f408: 00000000 00010001 00000000 0312fc64
      0x0312f418: 02f0907b ffffffff 02ecdbf9 00000100
      0x0312f428: 00000100 00000020 00000000 00000003
      0x0312f438: 00004000 02c8d9d0 02c83328 0312f500
      0x0312f448: 02ecdb89 02c8d9d0 00000000 02c83328
      0x0312f458: 02c8e65c 02c8d9d0 00000003 02ec5c5b
      0x0312f468: 02c8d9d0 00000000 02c8e65c 02c8d9d0

      Instructions: (pc=0x02ed164d)
      0x02ed163d: 50 85 d2 74 15 8d 41 10 c2 04 00 83 fa 20 75 0a
      0x02ed164d: 8b 51 54 85 d2 74 03 8d 41 30 c2 04 00 90 90 90


      Stack: [0x030f0000,0x03130000), sp=0x0312f3f8, free space=252k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [awt.dll+0xb164d]

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j sun.awt.windows.Win32OffScreenSurfaceData.initSurface(IIIIZI)V+0
      j sun.awt.windows.Win32OffScreenSurfaceData.<init>(IILsun/java2d/loops/SurfaceType;Ljava/awt/image/ColorModel;Ljava/awt/GraphicsConfiguration;Ljava/awt/Image;II)V+32
      j sun.awt.windows.Win32OffScreenSurfaceData.createData(IILjava/awt/image/ColorModel;Ljava/awt/GraphicsConfiguration;Ljava/awt/Image;I)Lsun/awt/windows/Win32OffScreenSurfaceData;+42
      j sun.awt.windows.WinCachingSurfaceManager.initAcceleratedSurface(Ljava/awt/GraphicsConfiguration;II)V+82
      j sun.awt.image.CachingSurfaceManager.validate(Ljava/awt/GraphicsConfiguration;)V+40
      j sun.awt.image.CachingSurfaceManager.getSourceSurfaceData(Lsun/java2d/SurfaceData;Lsun/java2d/loops/CompositeType;Ljava/awt/Color;Z)Lsun/java2d/SurfaceData;+53
      j sun.java2d.SurfaceData.getSourceSurfaceData(Ljava/awt/Image;Lsun/java2d/SurfaceData;Lsun/java2d/loops/CompositeType;Ljava/awt/Color;Z)Lsun/java2d/SurfaceData;+13
      j sun.java2d.pipe.DrawImage.copyImage(Lsun/java2d/SunGraphics2D;Ljava/awt/Image;IIIIIILjava/awt/Color;)Z+22
      j sun.java2d.pipe.DrawImage.copyImage(Lsun/java2d/SunGraphics2D;Ljava/awt/Image;IILjava/awt/Color;)Z+30
      j sun.java2d.pipe.DrawImage.copyImage(Lsun/java2d/SunGraphics2D;Ljava/awt/Image;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z+15
      j sun.java2d.SunGraphics2D.drawImage(Ljava/awt/Image;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z+12
      j sun.java2d.SunGraphics2D.drawImage(Ljava/awt/Image;IILjava/awt/image/ImageObserver;)Z+7
      j TranslucentTarget.paint(Ljava/awt/Graphics;)V+57
      j java.awt.GraphicsCallback$PaintCallback.run(Ljava/awt/Component;Ljava/awt/Graphics;)V+2
      j sun.awt.SunGraphicsCallback.runOneComponent(Ljava/awt/Component;Ljava/awt/Rectangle;Ljava/awt/Graphics;Ljava/awt/Shape;I)V+155
      j sun.awt.SunGraphicsCallback.runComponents([Ljava/awt/Component;Ljava/awt/Graphics;I)V+104
      j java.awt.Container.paint(Ljava/awt/Graphics;)V+62
      j sun.awt.RepaintArea.paintComponent(Ljava/awt/Component;Ljava/awt/Graphics;)V+6j sun.awt.RepaintArea.paint(Ljava/lang/Object;Z)V+326
      j sun.awt.windows.WComponentPeer.handleEvent(Ljava/awt/AWTEvent;)V+63
      j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+753
      j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
      j java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
      j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
      j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+41
      j java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z+177
      j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26
      j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
      j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
      j java.awt.EventDispatchThread.run()V+9
      v ~StubRoutines::call_stub

      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )
      =>0x02c8e5a0 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=20216]
        0x02c89378 JavaThread "AWT-Windows" daemon [_thread_in_native, id=14744]
        0x02c890b0 JavaThread "AWT-Shutdown" [_thread_blocked, id=9524]
        0x02be2028 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=18024]
        0x00a1c158 JavaThread "MainThread" [_thread_blocked, id=29708]
        0x009b7378 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=28492]
        0x009b6038 JavaThread "CompilerThread0" daemon [_thread_blocked, id=6504]
        0x0003f410 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=15772]
        0x0097e130 JavaThread "Finalizer" daemon [_thread_blocked, id=4452]
        0x0097cc50 JavaThread "Reference Handler" daemon [_thread_blocked, id=6344]
        0x00035618 JavaThread "main" [_thread_blocked, id=7268]

      Other Threads:
        0x009b5f40 VMThread [id=8896]
        0x009b8478 WatcherThread [id=28588]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
       def new generation total 576K, used 439K [0x10010000, 0x100b0000, 0x104f0000)
        eden space 512K, 73% used [0x10010000, 0x1006dcf0, 0x10090000)
        from space 64K, 100% used [0x100a0000, 0x100b0000, 0x100b0000)
        to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
       tenured generation total 1408K, used 119K [0x104f0000, 0x10650000, 0x14010000) the space 1408K, 8% used [0x104f0000, 0x1050dfd0, 0x1050e000, 0x10650000)
       compacting perm gen total 4096K, used 3425K [0x14010000, 0x14410000, 0x18010000)
         the space 4096K, 83% used [0x14010000, 0x14368568, 0x14368600, 0x14410000)

      Dynamic libraries:
      0x00400000 - 0x00406000 h:\java\jdk1.5.0\win32\bin\java.exe
      0x77f50000 - 0x77ff9000 C:\WINDOWS\System32\ntdll.dll
      0x77e60000 - 0x77f45000 C:\WINDOWS\system32\kernel32.dll
      0x77dd0000 - 0x77e5b000 C:\WINDOWS\system32\ADVAPI32.dll
      0x77cc0000 - 0x77d35000 C:\WINDOWS\system32\RPCRT4.dll
      0x77c10000 - 0x77c63000 C:\WINDOWS\system32\MSVCRT.dll
      0x08000000 - 0x08193000 h:\java\jdk1.5.0\win32\jre\bin\client\jvm.dll
      0x77d40000 - 0x77dcd000 C:\WINDOWS\system32\USER32.dll
      0x77c70000 - 0x77cb0000 C:\WINDOWS\system32\GDI32.dll
      0x76b40000 - 0x76b6c000 C:\WINDOWS\System32\WINMM.dll
      0x10000000 - 0x10007000 h:\java\jdk1.5.0\win32\jre\bin\hpi.dll
      0x76bf0000 - 0x76bfb000 C:\WINDOWS\System32\PSAPI.DLL
      0x76f90000 - 0x76fa0000 C:\WINDOWS\System32\Secur32.dll
      0x003a0000 - 0x003ae000 h:\java\jdk1.5.0\win32\jre\bin\verify.dll
      0x003b0000 - 0x003ca000 h:\java\jdk1.5.0\win32\jre\bin\java.dll
      0x003d0000 - 0x003de000 h:\java\jdk1.5.0\win32\jre\bin\zip.dll
      0x02e20000 - 0x02f79000 H:\java\jdk1.5.0\win32\jre\bin\awt.dll
      0x73000000 - 0x73023000 C:\WINDOWS\System32\WINSPOOL.DRV
      0x76390000 - 0x763aa000 C:\WINDOWS\System32\IMM32.dll
      0x771b0000 - 0x772ca000 C:\WINDOWS\system32\ole32.dll
      0x73760000 - 0x737a5000 C:\WINDOWS\System32\ddraw.dll
      0x73bc0000 - 0x73bc6000 C:\WINDOWS\System32\DCIMAN32.dll
      0x02f90000 - 0x02fce000 H:\java\jdk1.5.0\win32\jre\bin\fontmanager.dll
      0x74720000 - 0x7476b000 C:\WINDOWS\System32\MSCTF.dll
      0x77120000 - 0x771ab000 C:\WINDOWS\system32\OLEAUT32.DLL

      VM Arguments:
      jvm_args: -Dtest.src=h:\java\regtest.tiger\test\sun\java2d\DirectX -Dtest.classes=C:\users\mmv\b17\workDir\test\classes\sun\java2d\DirectX
      java_command: com.sun.javatest.regtest.MainWrapper C:\users\mmv\b17\workDir\test\classes\sun\java2d\DirectX\D3dTranslucency.jta

      Environment Variables:
      CLASSPATH=h:\java\jct\lib\javatest.jar;h:\java\jct\lib\jtreg.jar;C:\users\mmv\b17\workDir\test\classes\sun\java2d\DirectX;h:\java\regtest.tiger\test\sun\java2d\DirectX;h:/java/jdk1.5.0/win32\classes;h:/java/jdk1.5.0/win32\lib\classes;h:/java/jdk1.5.0/win32\lib\classes.jar;h:/java/jdk1.5.0/win32\lib\rt.jar;h:/java/jdk1.5.0/win32\lib\i18n.jar;h:/java/jdk1.5.0/win32\lib\classes.zip;h:/java/jdk1.5.0/win32\lib\tools.jar;h:\java\jct\jemmy\jemmy.jar
      PATH=C:/PROGRA~1/MKSTOO~1/mksnt
      DISPLAY=:0


      --------------- S Y S T E M ---------------

      OS: Windows XP Build 2600

      CPU:total 1(active 1) family 6, cmov, cx8, fxsr, mmx, sse

      Memory: 4k page, physical 260328k(107608k free), swap 640968k(412232k free)



      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/sun/java2d/DirectX/D3dTranslucency.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b17/regtest/win32/winXP_linux-16/workDir/test/sun/java2d/DirectX/D3dTranslucency.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)
       
      --- script start ---
      #!/bin/sh
      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir
      JT_HOME="h:/java/jct"
      JAVA_HOME="h:/java/jdk1.5.0/win32"
      TEST_BASE_PATH="h:/java/regtest.tiger/test"
      TESTVMOPTS="-client"
      CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar"

      TEST="sun/java2d/DirectX/D3dTranslucency.java"

      mkdir -p $WORK_DIR/scratch 2>&1
      mkdir -p $WORK_DIR/jtData 2>&1
      mkdir -p $REPORT_DIR 2>&1

      #rm $WORK_DIR/jtData/ResultCache.jtw 2>&1

      cd $WORK_DIR/scratch

      $JAVA_HOME/bin/java -server -cp $CLASSPATH -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,windir=$windir,SystemRoot=$SystemRoot,PATH=${SHELL%/*},CPAPPEND=$JT_HOME/jemmy/jemmy.jar,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-16" -Dprogram=jtreg com.sun.javatest.regtest.Main -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/$TEST"

      --- script end ---

      Script output:
      ==============


      Test output (jtr part):
      =======================
      ----------System.out:(14/465)----------
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x02ed164d, pid=9644, tid=30480
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0-beta-b17 mixed mode)
      # Problematic frame:
      # C [awt.dll+0xb164d]
      #
      # An error report file with more information is saved as hs_err_pid9644.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      ----------System.err:(0/0)----------
      result: Failed. Unexpected exit from test [exit code: 1]


      test result: Failed. Unexpected exit from test [exit code: 1]


      Specific machine info:
      ======================
      Hostname: linux-16
      OS: Windows XP Pro



      ======================================================================

      More information on the system that failed. The bug seems very configuration-
      dependent, so we will need a similar system in order to reproduce the problem:

      CPU: 800 MHz
      Windows XP
      256MB RAM
      DirectX 8.1 or greater
      Video card: Intel i810E
      Graphics driver: i81xdnt5.dll version 5.13.1.2753
      Resolution: 1152 x 864 x 24


      Name: vsR10238 Date: 09/24/2003


      One more regression test:
      sun/java2d/DirectX/D3dTranslucencyRestoration.java
      from the regression test suite for JDK1.5.0-b20
      fails on Windows XP Pro due to this bug

      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x02f61e5d, pid=23404, tid=13368
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0-beta-b20 mixed mode)
      # Problematic frame:
      # C [awt.dll+0xb1e5d]
      #
      # An error report file with more information is saved as hs_err_pid23404.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #

      ###@###.###


      ======================================================================

            chaasesunw Chet Haase (Inactive)
            mmvsunw Mmv Mmv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: