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

HotSpot crashes when typing fast with Input Method Editor (IME)

XMLWordPrintable

    • b90
    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      java version "1.6.0-beta2"
      Java(TM) SE Runtime Environment (build 1.6.0-beta2-b81)
      Java HotSpot(TM) Client VM (build 1.6.0-beta2-b81, mixed mode, sharing)

      FULL OS VERSION :
      Microsoft Windows XP [Version 5.1.2600]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      There have been some non-Java related repaint problem on my machine (since one or two days). Not sure if this is connected with the bug.

      A DESCRIPTION OF THE PROBLEM :
      After fast typing on our own text editor, HotSpot crashed hard with an EXCEPTION_ACCESS_VIOLATION

      THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Yes

      THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run any Swing application that has a text component, so you can input some text.
      Make sure you have Microsoft IME (Input Method Editor) installed and change to Japanese input. Quickly type some rubbish (it seems to be important to type quickly) and watch the application crash.



      EXPECTED VERSUS ACTUAL BEHAVIOR :
      The expected result would be that the application just accepts the input.

      The actual result is a crash of the VM.
      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77f48e20, pid=3592, tid=1208
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0-beta3-b60 mixed mode, sharing)
      # Problematic frame:
      # C [ntdll.dll+0x8e20]
      #

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

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

      siginfo: ExceptionCode=0xc0000005, writing address 0x00000000

      Registers:
      EAX=0x00000000, EBX=0x00000000, ECX=0x00000000, EDX=0x055d0608
      ESP=0x0557f3a0, EBP=0x0557f45c, ESI=0x10155978, EDI=0x055d0000
      EIP=0x77f48e20, EFLAGS=0x00010202

        Top of Stack: (sp=0x0557f3a0)
      0x0557f3a0: 0f82b040 10155980 10310300 690bc0e1
      0x0557f3b0: 0f871920 00000000 00000200 00000200
      0x0557f3c0: 00000000 693db84b 695ac0f8 690be25b
      0x0557f3d0: 00000000 00000000 00000000 10155960
      0x0557f3e0: 10155960 693db83b 695ac0f8 10331a08
      0x0557f3f0: 693db84b 695ac0f8 693c93c0 00010001
      0x0557f400: 00000000 0557f4a0 000c00d0 00000000
      0x0557f410: 00000000 00000000 00000000 000ae2b8

      Instructions: (pc=0x77f48e20)
      0x77f48e10: 08 89 8d 7c ff ff ff 8b 40 04 89 85 78 ff ff ff
      0x77f48e20: 89 08 89 41 04 80 7d e3 00 74 0f ff b7 78 05 00


      Stack: [0x05540000,0x05580000), sp=0x0557f3a0, free space=252k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [ntdll.dll+0x8e20]
      C [atioglxx.dll+0x50ced3]

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j sun.java2d.opengl.WGLContext.makeNativeContextCurrent(JJJ)Z+0
      j sun.java2d.opengl.OGLContext.makeCurrent(Lsun/java2d/opengl/OGLSurfaceData;Lsun/java2d/opengl/OGLSurfaceData;)Z+50
      j sun.java2d.opengl.OGLContext.validate(Lsun/java2d/opengl/OGLSurfaceData;Lsun/java2d/opengl/OGLSurfaceData;Lsun/java2d/pipe/Region;Ljava/awt/Composite;Ljava/awt/geom/AffineTransform;II)V+69
      j sun.java2d.opengl.OGLContext.getContext(Lsun/java2d/opengl/OGLSurfaceData;Lsun/java2d/opengl/OGLSurfaceData;Lsun/java2d/pipe/Region;Ljava/awt/Composite;Ljava/awt/geom/AffineTransform;II)J+18
      j sun.java2d.opengl.OGLRenderer.getContext(Lsun/java2d/SunGraphics2D;IZ)J+39
      j sun.java2d.opengl.OGLRenderer$Solid.getContext(Lsun/java2d/SunGraphics2D;)J+23
      j sun.java2d.opengl.OGLRenderer.fillRect(Lsun/java2d/SunGraphics2D;IIII)V+9
      j sun.java2d.SunGraphics2D.fillRect(IIII)V+10
      j sun.java2d.SunGraphics2D.clearRect(IIII)V+37
      j sun.awt.image.VolatileSurfaceManager.initContents()V+25
      j sun.awt.image.SunVolatileImage.<init>(Ljava/awt/Component;Ljava/awt/GraphicsConfiguration;IILjava/lang/Object;I)V+52
      j sun.awt.image.SunVolatileImage.<init>(Ljava/awt/Component;Ljava/awt/GraphicsConfiguration;IILjava/lang/Object;)V+9
      j sun.awt.image.SunVolatileImage.<init>(Ljava/awt/GraphicsConfiguration;II)V+6
      j sun.awt.Win32GraphicsConfig.createCompatibleVolatileImage(II)Ljava/awt/image/VolatileImage;+7
      j javax.swing.RepaintManager.getVolatileOffscreenBuffer(Ljava/awt/Component;II)Ljava/awt/Image;+143
      j javax.swing.JComponent.paintDoubleBuffered(Ljavax/swing/JComponent;Ljava/awt/Component;Ljava/awt/Graphics;IIII)Z+27
      j javax.swing.JComponent._paintImmediately(IIII)V+739
      j javax.swing.JComponent.paintImmediately(IIII)V+83
      j javax.swing.RepaintManager.paintDirtyRegions()V+314
      j javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run()V+32
      j java.awt.event.InvocationEvent.dispatch()V+47
      j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+26
      j java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z+200
      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 )
        0x02c96138 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1988]
        0x000371b0 JavaThread "DestroyJavaVM" [_thread_blocked, id=3620]
      =>0x02c94f68 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=1208]
        0x02c7c838 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2056]
        0x02c7c3d8 JavaThread "AWT-Shutdown" [_thread_blocked, id=3936]
        0x00ab18d8 JavaThread "Monitor Ctrl-Break" daemon [_thread_in_native, id=3728]
        0x00a6d228 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3724]
        0x00a6be00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3720]
        0x00a6b1b0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3712]
        0x00a469c0 JavaThread "Finalizer" daemon [_thread_blocked, id=1648]
        0x00a39708 JavaThread "Reference Handler" daemon [_thread_blocked, id=3688]

      Other Threads:
        0x00a67e08 VMThread [id=2508]
        0x00a6e440 WatcherThread [id=3764]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
       def new generation total 576K, used 425K [0x22a70000, 0x22b10000, 0x22f50000)
        eden space 512K, 70% used [0x22a70000, 0x22aca408, 0x22af0000)
        from space 64K, 100% used [0x22af0000, 0x22b00000, 0x22b00000)
        to space 64K, 0% used [0x22b00000, 0x22b00000, 0x22b10000)
       tenured generation total 1408K, used 606K [0x22f50000, 0x230b0000, 0x26a70000)
         the space 1408K, 43% used [0x22f50000, 0x22fe7850, 0x22fe7a00, 0x230b0000)
       compacting perm gen total 8192K, used 577K [0x26a70000, 0x27270000, 0x2aa70000)
         the space 8192K, 7% used [0x26a70000, 0x26b00560, 0x26b00600, 0x27270000)
          ro space 8192K, 66% used [0x2aa70000, 0x2afc7b60, 0x2afc7c00, 0x2b270000)
          rw space 12288K, 46% used [0x2b270000, 0x2b804500, 0x2b804600, 0x2be70000)

      Dynamic libraries:
      0x00400000 - 0x0040c000 C:\Programme\java\jdk1.5.0\bin\java.exe
      0x77f40000 - 0x77fee000 C:\WINDOWS\System32\ntdll.dll
      0x77e40000 - 0x77f38000 C:\WINDOWS\system32\kernel32.dll
      0x77da0000 - 0x77e3c000 C:\WINDOWS\system32\ADVAPI32.dll
      0x78000000 - 0x78087000 C:\WINDOWS\system32\RPCRT4.dll
      0x77be0000 - 0x77c33000 C:\WINDOWS\system32\MSVCRT.dll
      0x6d640000 - 0x6d7c5000 C:\Programme\java\jdk1.5.0\jre\bin\client\jvm.dll
      0x77d10000 - 0x77d9c000 C:\WINDOWS\system32\USER32.dll
      0x7e180000 - 0x7e1c1000 C:\WINDOWS\system32\GDI32.dll
      0x76af0000 - 0x76b1d000 C:\WINDOWS\System32\WINMM.dll
      0x76330000 - 0x7634c000 C:\WINDOWS\System32\IMM32.DLL
      0x62e10000 - 0x62e18000 C:\WINDOWS\System32\LPK.DLL
      0x72f10000 - 0x72f6a000 C:\WINDOWS\System32\USP10.dll
      0x6d280000 - 0x6d288000 C:\Programme\java\jdk1.5.0\jre\bin\hpi.dll
      0x76bb0000 - 0x76bbb000 C:\WINDOWS\System32\PSAPI.DLL
      0x6d610000 - 0x6d61c000 C:\Programme\java\jdk1.5.0\jre\bin\verify.dll
      0x6d300000 - 0x6d31d000 C:\Programme\java\jdk1.5.0\jre\bin\java.dll
      0x6d630000 - 0x6d63f000 C:\Programme\java\jdk1.5.0\jre\bin\zip.dll
      0x10000000 - 0x10007000 C:\Programme\IntelliJ-IDEA-4.5\bin\breakgen.dll
      0x6d4c0000 - 0x6d4d3000 C:\Programme\java\jdk1.5.0\jre\bin\net.dll
      0x71a10000 - 0x71a25000 C:\WINDOWS\System32\WS2_32.dll
      0x71a00000 - 0x71a08000 C:\WINDOWS\System32\WS2HELP.dll
      0x719b0000 - 0x719ec000 C:\WINDOWS\system32\mswsock.dll
      0x719f0000 - 0x719f8000 C:\WINDOWS\System32\wshtcpip.dll
      0x6d000000 - 0x6d166000 C:\Programme\java\jdk1.5.0\jre\bin\awt.dll
      0x72f70000 - 0x72f93000 C:\WINDOWS\System32\WINSPOOL.DRV
      0x7ccc0000 - 0x7cde4000 C:\WINDOWS\system32\ole32.dll
      0x5f0d0000 - 0x5f196000 C:\WINDOWS\System32\opengl32.dll
      0x68fc0000 - 0x68fde000 C:\WINDOWS\System32\GLU32.dll
      0x51000000 - 0x5104d000 C:\WINDOWS\System32\DDRAW.dll
      0x73b30000 - 0x73b36000 C:\WINDOWS\System32\DCIMAN32.dll
      0x5b0f0000 - 0x5b124000 C:\WINDOWS\System32\uxtheme.dll
      0x746a0000 - 0x746e4000 C:\WINDOWS\System32\MSCTF.dll
      0x63000000 - 0x63014000 C:\WINDOWS\System32\SynTPFcs.dll
      0x77bd0000 - 0x77bd7000 C:\WINDOWS\system32\VERSION.dll
      0x05510000 - 0x0553b000 C:\WINDOWS\System32\msctfime.ime
      0x6d240000 - 0x6d27d000 C:\Programme\java\jdk1.5.0\jre\bin\fontmanager.dll
      0x69000000 - 0x695d2000 C:\WINDOWS\System32\atioglxx.dll
      0x773a0000 - 0x77ba4000 C:\WINDOWS\system32\shell32.dll
      0x70a70000 - 0x70ad4000 C:\WINDOWS\system32\SHLWAPI.dll
      0x0f910000 - 0x0f9f4000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.1515_x-ww_7bb98b8a\comctl32.dll
      0x77310000 - 0x7739b000 C:\WINDOWS\system32\comctl32.dll
      0x6d4e0000 - 0x6d4e9000 C:\Programme\java\jdk1.5.0\jre\bin\nio.dll
      0x74670000 - 0x74696000 C:\WINDOWS\System32\Msimtf.dll
      0x770f0000 - 0x7717b000 C:\WINDOWS\system32\OLEAUT32.DLL
      0x6d190000 - 0x6d1bf000 C:\Programme\java\jdk1.5.0\jre\bin\cmm.dll

      VM Arguments:
      jvm_args: -ea -Dsun.java2d.opengl=True -Didea.launcher.port=7533 -Didea.launcher.library=C:\Programme\IntelliJ-IDEA-4.5\bin\breakgen.dll -Dfile.encoding=windows-1252
      java_command: com.intellij.rt.execution.application.AppMain com.incors.mahou.ui.textpane.wordprocessor.WordProcTest

      Environment Variables:
      CLASSPATH=C:\Programme\IntelliJ-IDEA-4.5\lib\idea.jar;C:\Programme\IntelliJ-IDEA-4.5\lib\jdom.jar;C:\Programme\IntelliJ-IDEA-4.5\lib\log4j.jar;C:\Programme\IntelliJ-IDEA-4.5\lib\openapi.jar;C:\Programme\IntelliJ-IDEA-4.5\bin\lax.jar;
      PATH=C:\Programme\Windows Resource Kits\Tools\;C:\PROGRAMME\THINKPAD\UTILITIES;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\ATI Technologies\ATI Control Panel;C:\Programme\PC-Doctor for Windows\services
      USERNAME=admin
      OS=Windows_NT
      PROCESSOR_IDENTIFIER=x86 Family 6 Model 9 Stepping 5, GenuineIntel


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

      OS: Windows XP Build 2600 Service Pack 1

      CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse, sse2

      Memory: 4k page, physical 523184k(110752k free), swap 1279920k(914764k free)

      vm_info: Java HotSpot(TM) Client VM (1.5.0-beta3-b60) for windows-x86, built on Jul 28 2004 02:46:26 by "java_re" with MS VC++ 6.0



      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      Type slowly, use JRE 1.5

            yyamasaksunw Yuriko Yamasaki (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: