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

PIT: VM crash when launching FullScreen apps with noddraw, WinXP

    XMLWordPrintable

Details

    • 2d
    • beta
    • 6
    • beta
    • x86
    • windows_xp
    • Verified

    Description

      I have disabled Hardware Acceleration on my windowsXP system and launching a fullscreen application. This application just creates a frame and pushes it to FS mode. As soon as I launch this app, the VM crashes. This is reproducible only on the given PIT build with WinXP and not reproducible on Mustang-b37.

      Here is the PIT build:
      java version "1.6.0-2d.pit-jcg-win-03"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-2d.pit-jcg-win-03-java2d_23_may_2005_02_25-b00)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b37, mixed mode)

      I have attached a sample test. Make sure you have disabled hardware acceleration on your system. Launch the test. You would see a VM crash on the console. This is seen only when pushing a frame to FS mode. Java2Demo infact runs fine.

      Here is the crash info:
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0ada93af, pid=2904, tid=2548
      #
      # Java VM: Java HotSpot(TM) Client VM (1.6.0-ea-b37 mixed mode)
      # Problematic frame:
      # C [awt.dll+0xc93af]
      #

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

      Current thread (0x0aead0c8): JavaThread "AWT-Windows" daemon [_thread_in_native, id=2548]

      siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

      Registers:
      EAX=0x0015053e, EBX=0x00008030, ECX=0x7ffaf000, EDX=0x0ae2c63c
      ESP=0x0b17f8c4, EBP=0x7c8114ab, ESI=0x00000000, EDI=0x0aeb0818
      EIP=0x0ada93af, EFLAGS=0x00010202

      Top of Stack: (sp=0x0b17f8c4)
      0x0b17f8c4: 0015053e 0addee7e 00010001 0015053e
      0x0b17f8d4: 0015053e 00010001 0aeb0818 0adb7bcc
      0x0b17f8e4: 00010001 0b17f9b8 0015053e 0b17f950
      0x0b17f8f4: 00000000 00000001 00000000 0aead17c
      0x0b17f904: 0aead17c 6d71b348 0b17f944 77d70467
      0x0b17f914: 77d488e0 0b17f944 0aded488 00000000
      0x0b17f924: 0adb5f68 00008030 00010001 00000000
      0x0b17f934: 0b17f9b8 0adb5f10 00000000 0b17f934

      Instructions: (pc=0x0ada93af)
      0x0ada939f: 0a 52 e8 ca f5 ff ff 83 c4 04 8b f0 8b 44 24 10
      0x0ada93af: 8b 0e 6a 11 50 e8 37 7e 00 00 8b 4e 08 85 c9 74


      Stack: [0x0b140000,0x0b180000), sp=0x0b17f8c4, free space=254k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [awt.dll+0xc93af]

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j sun.awt.windows.WToolkit.eventLoop()V+0
      j sun.awt.windows.WToolkit.run()V+69
      j java.lang.Thread.run()V+11
      v ~StubRoutines::call_stub

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

      Java Threads: ( => current thread )
        0x0aeae310 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=3212]
      =>0x0aead0c8 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2548]
        0x0aeac4e8 JavaThread "AWT-Shutdown" [_thread_blocked, id=2844]
        0x0aea4bf8 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3708]
        0x00a660b8 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3496]
        0x000368d8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3576]
        0x00a63120 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3700]
        0x00a62698 JavaThread "Attach Listener" daemon [_thread_blocked, id=3808]
        0x00a58060 JavaThread "Finalizer" daemon [_thread_blocked, id=188]
        0x00a56be8 JavaThread "Reference Handler" daemon [_thread_blocked, id=2064]
        0x00036078 JavaThread "main" [_thread_in_native, id=2424]

      Other Threads:
        0x00a0c400 VMThread [id=1072]
        0x00a53650 WatcherThread [id=4024]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
       def new generation total 576K, used 147K [0x02ae0000, 0x02b80000, 0x02fc0000)
        eden space 512K, 16% used [0x02ae0000, 0x02af4ee8, 0x02b60000)
        from space 64K, 100% used [0x02b70000, 0x02b80000, 0x02b80000)
        to space 64K, 0% used [0x02b60000, 0x02b60000, 0x02b70000)
       tenured generation total 1408K, used 212K [0x02fc0000, 0x03120000, 0x06ae0000)
         the space 1408K, 15% used [0x02fc0000, 0x02ff50b0, 0x02ff5200, 0x03120000)
       compacting perm gen total 8192K, used 3808K [0x06ae0000, 0x072e0000, 0x0aae0000)
         the space 8192K, 46% used [0x06ae0000, 0x06e981d0, 0x06e98200, 0x072e0000)
      No shared spaces configured.

      Dynamic libraries:
      0x00400000 - 0x0040c000 y:\disk05\2d-SQE\PIT\2005-05-23.mustang\windows-i586\bin\java.exe
      0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
      0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
      0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
      0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
      0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
      0x6d710000 - 0x6d8a0000 y:\disk05\2d-SQE\PIT\2005-05-23.mustang\windows-i586\jre\bin\client\jvm.dll
      0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
      0x77f10000 - 0x77f56000 C:\WINDOWS\system32\GDI32.dll
      0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
      0x10000000 - 0x10008000 y:\disk05\2d-SQE\PIT\2005-05-23.mustang\windows-i586\jre\bin\hpi.dll
      0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
      0x003c0000 - 0x003cc000 y:\disk05\2d-SQE\PIT\2005-05-23.mustang\windows-i586\jre\bin\verify.dll
      0x003d0000 - 0x003ed000 y:\disk05\2d-SQE\PIT\2005-05-23.mustang\windows-i586\jre\bin\java.dll
      0x003f0000 - 0x003ff000 y:\disk05\2d-SQE\PIT\2005-05-23.mustang\windows-i586\jre\bin\zip.dll
      0x0ace0000 - 0x0ae6e000 Y:\disk05\2d-SQE\PIT\2005-05-23.mustang\windows-i586\jre\bin\awt.dll
      0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
      0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
      0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
      0x73760000 - 0x737a9000 C:\WINDOWS\system32\ddraw.dll
      0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll
      0x0b070000 - 0x0b0c0000 Y:\disk05\2d-SQE\PIT\2005-05-23.mustang\windows-i586\jre\bin\fontmanager.dll

      VM Arguments:
      java_command: FullScreenRestoreTest
      Launcher Type: generic

      Environment Variables:
      PATH=y:\disk05\2d-SQE\PIT\2005-05-23.mustang\windows-i586\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\PROGRA~1\MKSTOO~1\bin;C:\PROGRA~1\MKSTOO~1\bin\x11;C:\PROGRA~1\MKSTOO~1\mksnt;C:\PROGRA~1\ULTRAE~1
      USERNAME=praveen
      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 1 family 15, cmov, cx8, fxsr, mmx, ht

      Memory: 4k page, physical 522992k(218336k free), swap 1278288k(967308k free)

      vm_info: Java HotSpot(TM) Client VM (1.6.0-ea-b37) for windows-x86, built on May 19 2005 01:42:56 by "java_re" with MS VC++ 6.0

      ###@###.### 2005-05-25 12:56:01 GMT

      This VM crash is reproducible with 'noddraw' even when hardware acceleration is enabled on the display panel.

      ###@###.### 2005-05-25 14:01:08 GMT

      Attachments

        Activity

          People

            chaasesunw Chet Haase (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: