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

A modality testcase crashes the jvm

XMLWordPrintable

    • x86
    • windows_xp

      One of the modality testcases crashes the jvm. The crash is reproducable from 6u2 b06 with Windows XP, but couldn't reproduce the crash with 6u1. The crash is reproducable rarely - once in five times. Attached is a testcase which can reproduce the crash

      A crash log:

      #
      # An unexpected error has been detected by Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d1db893, pid=628, tid=2728
      #
      # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b02 mixed mode, sharing)
      # Problematic frame:
      # C [awt.dll+0x12b893]
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #

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

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

      siginfo: ExceptionCode=0xc0000005, reading address 0x000000ec

      Registers:
      EAX=0x00000000, EBX=0x02eb8338, ECX=0x00000000, EDX=0x7c90eb94
      ESP=0x031cf674, EBP=0x02f192b8, ESI=0x00000000, EDI=0x02eb8334
      EIP=0x6d1db893, EFLAGS=0x00010246

      Top of Stack: (sp=0x031cf674)
      0x031cf674: 02f044ec 6d1b3563 02eb8338 6d236904
      0x031cf684: 031cf708 2b29cb08 000001f7 02f192b8
      0x031cf694: 031cf6bc 6d945c45 00010002 6d236770
      0x031cf6a4: 02eb8338 00000001 00000200 00000000
      0x031cf6b4: 00130017 5fe7143b 00000017 00000013
      0x031cf6c4: 6d1d7c2c 02eb8008 02eb8334 6d236904
      0x031cf6d4: 031cf6fc 6d1ee978 00000000 6d1b37aa
      0x031cf6e4: 6d1b3330 02eb8008 02f04400 2aa48e78

      Instructions: (pc=0x6d1db893)
      0x6d1db883: ff 52 5c 5e 5b 5f 5d c3 cc cc cc cc cc 56 8b f1
      0x6d1db893: 8b 86 ec 00 00 00 85 c0 74 23 8b 0d bc c9 22 6d


      Stack: [0x03180000,0x031d0000), sp=0x031cf674, free space=317k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [awt.dll+0x12b893]

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j sun.awt.windows.WComponentPeer.nativeHandleEvent(Ljava/awt/AWTEvent;)V+0
      j sun.awt.windows.WComponentPeer.handleEvent(Ljava/awt/AWTEvent;)V+113
      j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+849
      j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
      j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
      j java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+156
      j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+30
      j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
      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 )
      =>0x02f04400 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=2728]
        0x02f01400 JavaThread "AWT-Shutdown" [_thread_blocked, id=2040]
        0x02f30400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4060]
        0x02a5dc00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2976]
        0x02a59000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3436]
        0x02a57c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=1820]
        0x02a57000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3724]
        0x02a52400 JavaThread "Finalizer" daemon [_thread_blocked, id=2932]
        0x02a4dc00 JavaThread "Reference Handler" daemon [_thread_blocked, id=1176]
        0x00296000 JavaThread "main" [_thread_blocked, id=3504]

      Other Threads:
        0x02a4cc00 VMThread [id=2692]
        0x02a78800 WatcherThread [id=2032]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
       def new generation total 960K, used 347K [0x22990000, 0x22a90000, 0x22e70000)
        eden space 896K, 38% used [0x22990000, 0x229e5ad0, 0x22a70000)
        from space 64K, 6% used [0x22a80000, 0x22a81160, 0x22a90000)
        to space 64K, 0% used [0x22a70000, 0x22a70000, 0x22a80000)
       tenured generation total 4096K, used 3720K [0x22e70000, 0x23270000, 0x26990000)
         the space 4096K, 90% used [0x22e70000, 0x232121c0, 0x23212200, 0x23270000)
       compacting perm gen total 12288K, used 587K [0x26990000, 0x27590000, 0x2a990000)
         the space 12288K, 4% used [0x26990000, 0x26a22dc8, 0x26a22e00, 0x27590000)
          ro space 8192K, 66% used [0x2a990000, 0x2aedf128, 0x2aedf200, 0x2b190000)
          rw space 12288K, 52% used [0x2b190000, 0x2b7ded60, 0x2b7dee00, 0x2bd90000)

      Dynamic libraries:
      0x00400000 - 0x00423000 z:\disk13\jcg\FATS\builds\1.6.0_03\b02\binaries\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 z:\disk13\jcg\FATS\builds\1.6.0_03\b02\binaries\windows-i586\jre\bin\msvcr71.dll
      0x6d870000 - 0x6daba000 z:\disk13\jcg\FATS\builds\1.6.0_03\b02\binaries\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
      0x6d3c0000 - 0x6d3c8000 z:\disk13\jcg\FATS\builds\1.6.0_03\b02\binaries\windows-i586\jre\bin\hpi.dll
      0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
      0x6d820000 - 0x6d82c000 z:\disk13\jcg\FATS\builds\1.6.0_03\b02\binaries\windows-i586\jre\bin\verify.dll
      0x6d460000 - 0x6d47f000 z:\disk13\jcg\FATS\builds\1.6.0_03\b02\binaries\windows-i586\jre\bin\java.dll
      0x6d860000 - 0x6d86f000 z:\disk13\jcg\FATS\builds\1.6.0_03\b02\binaries\windows-i586\jre\bin\zip.dll
      0x6d0b0000 - 0x6d273000 Z:\disk13\jcg\FATS\builds\1.6.0_03\b02\binaries\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
      0x5ad70000 - 0x5ada8000 C:\WINDOWS\system32\uxtheme.dll
      0x73760000 - 0x737a9000 C:\WINDOWS\system32\ddraw.dll
      0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll
      0x74720000 - 0x7476b000 C:\WINDOWS\system32\MSCTF.dll
      0x10000000 - 0x1000f000 C:\Program Files\RealVNC\WinVNC\VNCHooks.dll
      0x755c0000 - 0x755ee000 C:\WINDOWS\system32\msctfime.ime
      0x6d360000 - 0x6d3b3000 Z:\disk13\jcg\FATS\builds\1.6.0_03\b02\binaries\windows-i586\jre\bin\fontmanager.dll
      0x77120000 - 0x771ac000 C:\WINDOWS\system32\OLEAUT32.DLL
      0x6d2a0000 - 0x6d2cf000 Z:\disk13\jcg\FATS\builds\1.6.0_03\b02\binaries\windows-i586\jre\bin\cmm.dll
      0x6d500000 - 0x6d524000 Z:\disk13\jcg\FATS\builds\1.6.0_03\b02\binaries\windows-i586\jre\bin\jpeg.dll

      VM Arguments:
      jvm_args: -DHANGINGJAVA3164 -DresultsDir=Z:/disk11/awt/girish/DTF3.1/DTWS/results//6_UR_int_jfc-awt_windows-en-2007-09-10-19-12-55-0876/admin.Windows_XP.x86/ToolkitModal_copy_1/
      java_command: Test5
      Launcher Type: SUN_STANDARD

      Environment Variables:
      CLASSPATH=Z:/disk11/awt/girish/DTF3.1/DTWS/results//6_UR_int_jfc-awt_windows-en-2007-09-10-19-12-55-0876/admin.Windows_XP.x86/ToolkitModal_copy_1;;Z:/disk11/DTF3.1/DTWS/suites/6_UR_int_jfc/awt/share/lib/AWT_Modality/classes
      PATH=C:/PROGRA~1/MKSTOO~1/mksnt;
      USERNAME=admin
      SHELL=C:/PROGRA~1/MKSTOO~1/mksnt/ksh.exe
      DISPLAY=:0.0
      OS=Windows_NT
      PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 6, GenuineIntel



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

      OS: Windows XP Build 2600 Service Pack 2

      CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 8 stepping 6, cmov, cx8, fxsr, mmx, sse

      Memory: 4k page, physical 523432k(153340k free), swap 1280300k(912432k free)

      vm_info: Java HotSpot(TM) Client VM (1.6.0_03-b02) for windows-x86, built on Sep 6 2007 02:51:14 by "java_re" with unknown MS VC++:1310

            art Artem Ananiev (Inactive)
            gramachasunw Girish Ramachandran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: