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

PIT: D3D: Fullscreen frame having a HW comp crashes the VM when ALT + TABing

    XMLWordPrintable

Details

    • 2d
    • b06
    • 6u5
    • b07
    • x86
    • windows_xp
    • Verified

    Description

      I have a frame that uses a heavy-weight button in it. I am pushing this frame into FS mode on clicking the button and restoring it back to normal when clicking again. When the frame enters FS mode, I am pressing ALT+TAB. FS frame minimizes. When I do this a few times, the VM crashes.

      This is reproducible only on 6uN-b06 PIT build and not reproducible on earlier promoted builds. I reproduced it on WinXP - Nvidia GeForce 7600 GS installed with latest driver. This is a regression introduced in 6uN. Not reproducible when I turn off D3D pipeline.

      To reproduce the bug, run the test attached to this bug report and push the frame into FS mode. Do ALT+TAB a few times and you will see the VM crash on the console.

      Here is the crash log:
      ----------------------

      #
      # An unexpected error has been detected by Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x02e85d23, pid=3388, tid=2800
      #
      # Java VM: Java HotSpot(TM) Client VM (1.6.0_05-ea-b04 mixed mode, sharing windows-x86)
      # Problematic frame:
      # C [awt.dll+0x95d23]
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #

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

      Current thread (0x02b39400): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=2800, stack(0x03110000,0x03160000)]

      siginfo: ExceptionCode=0xc0000005, reading address 0x000000ec

      Registers:
      EAX=0x00000000, EBX=0x02b2e18c, ECX=0x00000000, EDX=0x7c90eb94
      ESP=0x0315f544, EBP=0x02ad0f28, ESI=0x00000000, EDI=0x02b2e190
      EIP=0x02e85d23, EFLAGS=0x00010246

      Top of Stack: (sp=0x0315f544)
      0x0315f544: 02b394f0 02e5de13 02b2e18c 02ef281c
      0x0315f554: 0315f5d8 2c91c830 00000192 02ad0f28
      0x0315f564: 0315f58c 0000ffff 00010002 00000000
      0x0315f574: 02b2e18c 00000006 00000101 00000012
      0x0315f584: c0380001 00103431 00000000 00000000
      0x0315f594: 02e8211c 02b6d100 02b2e190 02ef281c
      0x0315f5a4: 0315f5cc 02ea34d8 00000000 02e5e05a
      0x0315f5b4: 02e5dbe0 02b6d100 02b39400 2c0c8f88

      Instructions: (pc=0x02e85d23)
      0x02e85d13: ff 52 5c 5e 5b 5f 5d c3 cc cc cc cc cc 56 8b f1
      0x02e85d23: 8b 86 ec 00 00 00 85 c0 74 23 8b 0d c4 0a ef 02


      Stack: [0x03110000,0x03160000], sp=0x0315f544, free space=317k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [awt.dll+0x95d23]

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::Interpreter
      v ~BufferBlob::StubRoutines (1)

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

      Java Threads: ( => current thread )
        0x02b6c400 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=836, stack(0x03280000,0x032d0000)]
        0x00296800 JavaThread "DestroyJavaVM" [_thread_blocked, id=1304, stack(0x008c0000,0x00910000)]
      =>0x02b39400 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=2800, stack(0x03110000,0x03160000)]
        0x02b24400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3460, stack(0x03050000,0x030a0000)]
        0x02b23800 JavaThread "AWT-Shutdown" [_thread_blocked, id=3472, stack(0x03000000,0x03050000)]
        0x02b18c00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3476, stack(0x02fb0000,0x03000000)]
        0x02ad6000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2368, stack(0x02d50000,0x02da0000)]
        0x02ad3800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=916, stack(0x02d00000,0x02d50000)]
        0x02ad2800 JavaThread "Attach Listener" daemon [_thread_blocked, id=2704, stack(0x02cb0000,0x02d00000)]
        0x02ad1800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2348, stack(0x02c60000,0x02cb0000)]
        0x02a91c00 JavaThread "Finalizer" daemon [_thread_blocked, id=2372, stack(0x02c10000,0x02c60000)]
        0x02a8d800 JavaThread "Reference Handler" daemon [_thread_blocked, id=2340, stack(0x02bc0000,0x02c10000)]

      Other Threads:
        0x02a84400 VMThread [stack: 0x02b70000,0x02bc0000] [id=2940]
        0x02aeb000 WatcherThread [stack: 0x02da0000,0x02df0000] [id=3436]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
       def new generation total 960K, used 811K [0x24010000, 0x24110000, 0x244f0000)
        eden space 896K, 90% used [0x24010000, 0x240dae70, 0x240f0000)
        from space 64K, 0% used [0x240f0000, 0x240f0000, 0x24100000)
        to space 64K, 0% used [0x24100000, 0x24100000, 0x24110000)
       tenured generation total 4096K, used 0K [0x244f0000, 0x248f0000, 0x28010000)
         the space 4096K, 0% used [0x244f0000, 0x244f0000, 0x244f0200, 0x248f0000)
       compacting perm gen total 12288K, used 358K [0x28010000, 0x28c10000, 0x2c010000)
         the space 12288K, 2% used [0x28010000, 0x28069ba0, 0x28069c00, 0x28c10000)
          ro space 8192K, 66% used [0x2c010000, 0x2c55c3e8, 0x2c55c400, 0x2c810000)
          rw space 12288K, 52% used [0x2c810000, 0x2ce55dd8, 0x2ce55e00, 0x2d410000)

      Dynamic libraries:
      0x00400000 - 0x00423000 y:\disk05\2d-SQE\PIT\6u5\2007-10-15-int.6u_2008q2\windows-i586\bin\java.exe
      0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
      0x7c800000 - 0x7c8f5000 C:\WINDOWS\system32\kernel32.dll
      0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
      0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
      0x7c340000 - 0x7c396000 y:\disk05\2d-SQE\PIT\6u5\2007-10-15-int.6u_2008q2\windows-i586\jre\bin\msvcr71.dll
      0x6d8b0000 - 0x6db00000 y:\disk05\2d-SQE\PIT\6u5\2007-10-15-int.6u_2008q2\windows-i586\jre\bin\client\jvm.dll
      0x7e410000 - 0x7e4a0000 C:\WINDOWS\system32\USER32.dll
      0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
      0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
      0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL
      0x10000000 - 0x10008000 y:\disk05\2d-SQE\PIT\6u5\2007-10-15-int.6u_2008q2\windows-i586\jre\bin\hpi.dll
      0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
      0x003e0000 - 0x003ec000 y:\disk05\2d-SQE\PIT\6u5\2007-10-15-int.6u_2008q2\windows-i586\jre\bin\verify.dll
      0x00910000 - 0x0092f000 y:\disk05\2d-SQE\PIT\6u5\2007-10-15-int.6u_2008q2\windows-i586\jre\bin\java.dll
      0x003f0000 - 0x003ff000 y:\disk05\2d-SQE\PIT\6u5\2007-10-15-int.6u_2008q2\windows-i586\jre\bin\zip.dll
      0x02df0000 - 0x02f2c000 Y:\disk05\2d-SQE\PIT\6u5\2007-10-15-int.6u_2008q2\windows-i586\jre\bin\awt.dll
      0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
      0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
      0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
      0x02f50000 - 0x02fa3000 Y:\disk05\2d-SQE\PIT\6u5\2007-10-15-int.6u_2008q2\windows-i586\jre\bin\fontmanager.dll
      0x74720000 - 0x7476b000 C:\WINDOWS\system32\MSCTF.dll
      0x755c0000 - 0x755ee000 C:\WINDOWS\system32\msctfime.ime
      0x4fdd0000 - 0x4ff76000 C:\WINDOWS\system32\d3d9.dll
      0x030f0000 - 0x030f6000 C:\WINDOWS\system32\d3d8thk.dll
      0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
      0x77120000 - 0x771ac000 C:\WINDOWS\system32\OLEAUT32.DLL

      VM Arguments:
      java_command: FullScreenTest
      Launcher Type: SUN_STANDARD

      Environment Variables:
      CLASSPATH=.;.;C:\PROGRA~1\JMF21~1.1E\lib\sound.jar;C:\PROGRA~1\JMF21~1.1E\lib\jmf.jar;C:\PROGRA~1\JMF21~1.1E\lib;
      PATH=y:\disk05\2d-SQE\PIT\6u5\2007-10-15-int.6u_2008q2\windows-i586\bin;C:\PROGRA~1\MKSTOO~1\bin;C:\PROGRA~1\MKSTOO~1\bin\X11;C:\PROGRA~1\MKSTOO~1\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\ULTRAE~1;C:\PROGRA~1\IDMCOM~1\ULTRAE~1;C:\adabas\bin;C:\adabas\pgm
      USERNAME=admin
      SHELL=C:/PROGRA~1/MKSTOO~1/mksnt/sh.exe
      DISPLAY=:0.0
      OS=Windows_NT
      PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel



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

      OS: Windows XP Build 2600 Service Pack 2

      CPU:total 2 (1 cores per cpu, 2 threads per core) family 15 model 2 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, ht

      Memory: 4k page, physical 1047276k(581120k free), swap 1734072k(1338952k free)

      vm_info: Java HotSpot(TM) Client VM (1.6.0_05-ea-b04) for windows-x86, built on Sep 27 2007 01:10:16 by "java_re" with unknown MS VC++:1310

      time: Sun Oct 21 21:35:18 2007
      elapsed time: 8 seconds

      Attachments

        Activity

          People

            tdv Dmitri Trembovetski (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: