浏览 3664 次
锁定老帖子 主题:Swing的一个BUG,太恐怖了!
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2009-06-04
最后修改:2009-06-04
用Swing加了个JTextArea,用智能ABC输入法输入时程序竟然异常关闭,而且报错了!jdk为1.6.0_13
# # An unexpected error has been detected by Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x76303e24, pid=1404, tid=2424 # # Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode, sharing windows-x86) # Problematic frame: # C [IMM32.DLL+0x3e24] # # An error report file with more information is saved as: # D:\GUI\MyTest\hs_err_pid1404.log # # 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. # log文件是: # # An unexpected error has been detected by Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x76303e24, pid=2732, tid=3724 # # Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode, sharing windows-x86) # Problematic frame: # C [IMM32.DLL+0x3e24] # # 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 (0x02b52c00): JavaThread "AWT-Windows" daemon [_thread_in_native, id=3724, stack(0x02f50000,0x02fa0000)] siginfo: ExceptionCode=0xc0000005, reading address 0x0017c000 Registers: EAX=0x00000000, EBX=0x0000a4df, ECX=0x00000000, EDX=0x00000400 ESP=0x02f9f488, EBP=0x02f9f494, ESI=0x0017c000, EDI=0x6dff547a EIP=0x76303e24, EFLAGS=0x00010246 Top of Stack: (sp=0x02f9f488) 0x02f9f488: 00171471 00171479 02aa8018 02f9f4bc 0x02f9f498: 763053d2 6e000001 00171479 00000000 0x02f9f4a8: 016d076d 0012d670 00000001 7c832ecc 0x02f9f4b8: 7c832ecc 02f9f4ec 763054ef 016d076d 0x02f9f4c8: 00000000 00000020 00000002 00000002 0x02f9f4d8: 00000001 00000000 00000008 0315a548 0x02f9f4e8: 6d17a7e8 02aa8018 6d1348af 016d076d 0x02f9f4f8: 00000020 02aa8018 00000008 02f9f590 Instructions: (pc=0x76303e24) 0x76303e14: 57 8b 7d 08 33 db 85 ff 74 29 56 8b 75 0c 33 c0 0x76303e24: 8a 06 50 ff 75 10 ff 15 5c 11 30 76 85 c0 74 0b Stack: [0x02f50000,0x02fa0000], sp=0x02f9f488, free space=317k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [IMM32.DLL+0x3e24] C [IMM32.DLL+0x53d2] C [IMM32.DLL+0x54ef] 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 ) 0x03155000 JavaThread "TimerQueue" daemon [_thread_blocked, id=3268, stack(0x03540000,0x03590000)] 0x03154c00 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=668, stack(0x033f0000,0x03440000)] 0x00846400 JavaThread "DestroyJavaVM" [_thread_blocked, id=628, stack(0x008e0000,0x00930000)] 0x030bec00 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=588, stack(0x032a0000,0x032f0000)] =>0x02b52c00 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3724, stack(0x02f50000,0x02fa0000)] 0x02b51800 JavaThread "AWT-Shutdown" [_thread_blocked, id=1112, stack(0x02f00000,0x02f50000)] 0x02b4f800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4020, stack(0x02eb0000,0x02f00000)] 0x02b11800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3696, stack(0x02d80000,0x02dd0000)] 0x02b0c000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3460, stack(0x02d30000,0x02d80000)] 0x02b07400 JavaThread "Attach Listener" daemon [_thread_blocked, id=3880, stack(0x02ce0000,0x02d30000)] 0x02b06400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=468, stack(0x02c90000,0x02ce0000)] 0x02ac0000 JavaThread "Finalizer" daemon [_thread_blocked, id=3936, stack(0x02c40000,0x02c90000)] 0x02abec00 JavaThread "Reference Handler" daemon [_thread_blocked, id=3848, stack(0x02bf0000,0x02c40000)] Other Threads: 0x02abd400 VMThread [stack: 0x02ba0000,0x02bf0000] [id=3568] 0x02b13800 WatcherThread [stack: 0x02dd0000,0x02e20000] [id=684] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 960K, used 623K [0x229e0000, 0x22ae0000, 0x22ec0000) eden space 896K, 62% used [0x229e0000, 0x22a6bfb8, 0x22ac0000) from space 64K, 100% used [0x22ad0000, 0x22ae0000, 0x22ae0000) to space 64K, 0% used [0x22ac0000, 0x22ac0000, 0x22ad0000) tenured generation total 4096K, used 357K [0x22ec0000, 0x232c0000, 0x269e0000) the space 4096K, 8% used [0x22ec0000, 0x22f197a0, 0x22f19800, 0x232c0000) compacting perm gen total 12288K, used 597K [0x269e0000, 0x275e0000, 0x2a9e0000) the space 12288K, 4% used [0x269e0000, 0x26a75568, 0x26a75600, 0x275e0000) ro space 8192K, 67% used [0x2a9e0000, 0x2af47ea8, 0x2af48000, 0x2b1e0000) rw space 12288K, 53% used [0x2b1e0000, 0x2b855530, 0x2b855600, 0x2bde0000) Dynamic libraries: 0x00400000 - 0x00424000 D:\Program Files\Java\jdk1.6.0_13\bin\javaw.exe 0x7c920000 - 0x7c9b6000 C:\WINDOWS\system32\ntdll.dll 0x7c800000 - 0x7c91e000 C:\WINDOWS\system32\kernel32.dll 0x77da0000 - 0x77e49000 C:\WINDOWS\system32\ADVAPI32.dll 0x77e50000 - 0x77ee2000 C:\WINDOWS\system32\RPCRT4.dll 0x77fc0000 - 0x77fd1000 C:\WINDOWS\system32\Secur32.dll 0x77d10000 - 0x77da0000 C:\WINDOWS\system32\USER32.dll 0x77ef0000 - 0x77f39000 C:\WINDOWS\system32\GDI32.dll 0x76300000 - 0x7631d000 C:\WINDOWS\system32\IMM32.DLL 0x62c20000 - 0x62c29000 C:\WINDOWS\system32\LPK.DLL 0x73fa0000 - 0x7400b000 C:\WINDOWS\system32\USP10.dll 0x7c340000 - 0x7c396000 D:\Program Files\Java\jdk1.6.0_13\jre\bin\msvcr71.dll 0x6d8b0000 - 0x6db06000 D:\Program Files\Java\jdk1.6.0_13\jre\bin\client\jvm.dll 0x76b10000 - 0x76b3a000 C:\WINDOWS\system32\WINMM.dll 0x6d340000 - 0x6d348000 D:\Program Files\Java\jdk1.6.0_13\jre\bin\hpi.dll 0x76bc0000 - 0x76bcb000 C:\WINDOWS\system32\PSAPI.DLL 0x6d860000 - 0x6d86c000 D:\Program Files\Java\jdk1.6.0_13\jre\bin\verify.dll 0x6d3e0000 - 0x6d3ff000 D:\Program Files\Java\jdk1.6.0_13\jre\bin\java.dll 0x6d8a0000 - 0x6d8af000 D:\Program Files\Java\jdk1.6.0_13\jre\bin\zip.dll 0x6d0b0000 - 0x6d1fa000 D:\Program Files\Java\jdk1.6.0_13\jre\bin\awt.dll 0x72f70000 - 0x72f96000 C:\WINDOWS\system32\WINSPOOL.DRV 0x77be0000 - 0x77c38000 C:\WINDOWS\system32\msvcrt.dll 0x76990000 - 0x76acd000 C:\WINDOWS\system32\ole32.dll 0x77180000 - 0x77283000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll 0x77f40000 - 0x77fb6000 C:\WINDOWS\system32\SHLWAPI.dll 0x5adc0000 - 0x5adf7000 C:\WINDOWS\system32\uxtheme.dll 0x6d2e0000 - 0x6d334000 D:\Program Files\Java\jdk1.6.0_13\jre\bin\fontmanager.dll 0x10000000 - 0x10029000 C:\Program Files\360\360Safe\safemon\safemon.dll 0x7d590000 - 0x7dd84000 C:\WINDOWS\system32\SHELL32.dll 0x770f0000 - 0x7717b000 C:\WINDOWS\system32\OLEAUT32.dll 0x75ff0000 - 0x76055000 C:\WINDOWS\system32\MSVCP60.dll 0x71a20000 - 0x71a37000 C:\WINDOWS\system32\WS2_32.dll 0x71a10000 - 0x71a18000 C:\WINDOWS\system32\WS2HELP.dll 0x75c60000 - 0x75d00000 C:\WINDOWS\system32\urlmon.dll 0x77bd0000 - 0x77bd8000 C:\WINDOWS\system32\VERSION.dll 0x74680000 - 0x746cc000 C:\WINDOWS\system32\MSCTF.dll 0x73640000 - 0x7366e000 C:\WINDOWS\system32\msctfime.ime 0x4b640000 - 0x4b7e6000 C:\WINDOWS\system32\d3d9.dll 0x6dd20000 - 0x6dd26000 C:\WINDOWS\system32\d3d8thk.dll 0x6d6c0000 - 0x6d6d3000 D:\Program Files\Java\jdk1.6.0_13\jre\bin\net.dll 0x6d6e0000 - 0x6d6e9000 D:\Program Files\Java\jdk1.6.0_13\jre\bin\nio.dll 0x03060000 - 0x03072000 C:\Program Files\Lenovo\HOTKEY\hkvolkey.dll 0x03590000 - 0x03777000 C:\WINDOWS\system32\SOGOUPY.IME 0x762f0000 - 0x762f5000 C:\WINDOWS\system32\MSIMG32.dll 0x76cb0000 - 0x76cd0000 C:\WINDOWS\system32\NTMARTA.DLL 0x71b70000 - 0x71b83000 C:\WINDOWS\system32\SAMLIB.dll 0x76f30000 - 0x76f5c000 C:\WINDOWS\system32\WLDAP32.dll 0x4a3e0000 - 0x4a405000 C:\WINDOWS\system32\winabc.ime VM Arguments: jvm_args: -Dfile.encoding=GBK java_command: TextComponentTest Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=D:\Program Files\Java\jdk1.6.0_13 CLASSPATH=. PATH=D:/Program Files/Java/jdk1.6.0_13/bin/../jre/bin/client;D:/Program Files/Java/jdk1.6.0_13/bin/../jre/bin;D:\Program Files\Java\jdk1.6.0_13\bin;;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;C:\Program Files\IDM Computer Solutions\UltraEdit\;C:\WINDOWS\system32 USERNAME=Administrator OS=Windows_NT PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel --------------- S Y S T E M --------------- OS: Windows XP Build 2600 Service Pack 3 CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 7 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3 Memory: 4k page, physical 2074576k(1207100k free), swap 4008316k(3236860k free) vm_info: Java HotSpot(TM) Client VM (11.3-b02) for windows-x86 JRE (1.6.0_13-b03), built on Mar 9 2009 01:15:24 by "java_re" with MS VC++ 7.1 time: Wed Jun 03 23:54:13 2009 elapsed time: 5 seconds 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2009-06-04
对输入法的支持SWING做得确实不太好,但是这应该不是每次都有吧
|
|
返回顶楼 | |
发表时间:2009-06-04
发这种帖子,小心被关小黑屋,
|
|
返回顶楼 | |