Java虚拟机的问题,请各位大虾看看

尹琦 发布于 2012/06/26 17:49
阅读 892
收藏 0

代码是:

关闭的时候出现错误:

窗体宽:400窗体高:300

#

# A fatal error has been detected by the Java Runtime Environment:

#

#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x100a72b7, pid=160, tid=1248

#

# JRE version: 7.0_03-b05

# Java VM: Java HotSpot(TM) Client VM (22.1-b02 mixed mode, sharing windows-x86 )

# Problematic frame:

# C  [GOOGLEPINYIN2.IME+0xa72b7]

#

# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

#

# An error report file with more information is saved as:

# E:\java\workspace\Example\hs_err_pid160.log

#

# If you would like to submit a bug report, please visit:

#   http://bugreport.sun.com/bugreport/crash.jsp

# The crash happened outside the Java Virtual Machine in native code.

# See problematic frame for where to report the bug.

#

文件hs_err_pid160.log如下:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x100a72b7, pid=3416, tid=3528
#
# JRE version: 7.0_03-b05
# Java VM: Java HotSpot(TM) Client VM (22.1-b02 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [GOOGLEPINYIN2.IME+0xa72b7]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/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 (0x02f8f400):  JavaThread "AWT-Windows" daemon [_thread_in_native, id=3528, stack(0x031d0000,0x03220000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000004

Registers:
EAX=0x06963270, EBX=0x0696bc08, ECX=0x00000000, EDX=0x00000002
ESP=0x0321f77c, EBP=0x0321f7b4, ESI=0x06963270, EDI=0x00000002
EIP=0x100a72b7, EFLAGS=0x00010246

Top of Stack: (sp=0x0321f77c)
0x0321f77c:   00000001 100a4aba 001905d4 06963270
0x0321f78c:   00000111 00000002 001905d4 100a5062
0x0321f79c:   06963270 0321f7b4 0321f81c 100a5010
0x0321f7ac:   0321f7e0 00000000 00000000 77d18734
0x0321f7bc:   001905d4 00000111 00000002 001905d4
0x0321f7cc:   100a5010 dcbaabcd 00000000 0321f81c
0x0321f7dc:   100a5010 0321f848 77d18816 100a5010
0x0321f7ec:   001905d4 00000111 00000002 001905d4 

Instructions: (pc=0x100a72b7)
0x100a7297:   d8 83 e8 01 83 c4 0c c3 83 c8 ff 83 c4 0c c3 cc
0x100a72a7:   cc cc cc cc cc cc cc cc cc 53 8b 58 04 8b 4b 50
0x100a72b7:   8b 49 04 56 57 52 e8 ae 9b ff ff 85 c0 74 29 8b
0x100a72c7:   70 1c 85 f6 74 22 83 78 18 10 72 05 8b 40 04 eb 


Register to memory mapping:

EAX=0x06963270 is an unknown value
EBX=0x0696bc08 is an unknown value
ECX=0x00000000 is an unknown value
EDX=0x00000002 is an unknown value
ESP=0x0321f77c is pointing into the stack for thread: 0x02f8f400
EBP=0x0321f7b4 is pointing into the stack for thread: 0x02f8f400
ESI=0x06963270 is an unknown value
EDI=0x00000002 is an unknown value


Stack: [0x031d0000,0x03220000],  sp=0x0321f77c,  free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [GOOGLEPINYIN2.IME+0xa72b7]  ImeGetRegisterWordStyle+0x84647

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+49
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
  0x02fb7800 JavaThread "Thread-0" daemon [_thread_in_native, id=504, stack(0x07a60000,0x07ab0000)]
  0x00866c00 JavaThread "DestroyJavaVM" [_thread_blocked, id=2088, stack(0x00950000,0x009a0000)]
  0x02fa9000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=2920, stack(0x03830000,0x03880000)]
  0x02fa3400 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=1288, stack(0x037e0000,0x03830000)]
=>0x02f8f400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3528, stack(0x031d0000,0x03220000)]
  0x02f8dc00 JavaThread "AWT-Shutdown" [_thread_blocked, id=3264, stack(0x03180000,0x031d0000)]
  0x02f8cc00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1712, stack(0x03130000,0x03180000)]
  0x02c64800 JavaThread "Service Thread" daemon [_thread_blocked, id=3648, stack(0x02e90000,0x02ee0000)]
  0x02c61400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=3972, stack(0x02e40000,0x02e90000)]
  0x02c5d400 JavaThread "Attach Listener" daemon [_thread_blocked, id=828, stack(0x02df0000,0x02e40000)]
  0x02c5bc00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1500, stack(0x02da0000,0x02df0000)]
  0x02c3fc00 JavaThread "Finalizer" daemon [_thread_blocked, id=2988, stack(0x02d50000,0x02da0000)]
  0x02c3b000 JavaThread "Reference Handler" daemon [_thread_blocked, id=3944, stack(0x02d00000,0x02d50000)]

Other Threads:
  0x02c39800 VMThread [stack: 0x02cb0000,0x02d00000] [id=3876]
  0x02c68000 WatcherThread [stack: 0x02ee0000,0x02f30000] [id=2944]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 4928K, used 2086K [0x22a50000, 0x22fa0000, 0x27fa0000)
  eden space 4416K,  47% used [0x22a50000, 0x22c59ae8, 0x22ea0000)
  from space 512K,   0% used [0x22ea0000, 0x22ea0000, 0x22f20000)
  to   space 512K,   0% used [0x22f20000, 0x22f20000, 0x22fa0000)
 tenured generation   total 10944K, used 0K [0x27fa0000, 0x28a50000, 0x32a50000)
   the space 10944K,   0% used [0x27fa0000, 0x27fa0000, 0x27fa0200, 0x28a50000)
 compacting perm gen  total 12288K, used 687K [0x32a50000, 0x33650000, 0x36a50000)
   the space 12288K,   5% used [0x32a50000, 0x32afbee8, 0x32afc000, 0x33650000)
    ro space 10240K,  42% used [0x36a50000, 0x36e8db28, 0x36e8dc00, 0x37450000)
    rw space 12288K,  54% used [0x37450000, 0x37ace400, 0x37ace400, 0x38050000)

Code Cache  [0x009d0000, 0x00a80000, 0x029d0000)
 total_blobs=241 nmethods=46 adapters=131 free_code_cache=32094Kb largest_free_block=32865216

Dynamic libraries:
0x00400000 - 0x0042f000 D:\Java\jre7\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 - 0x77ee3000 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
0x77180000 - 0x77283000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\COMCTL32.dll
0x77be0000 - 0x77c38000 C:\WINDOWS\system32\msvcrt.dll
0x77f40000 - 0x77fb6000 C:\WINDOWS\system32\SHLWAPI.dll
0x76300000 - 0x7631d000 C:\WINDOWS\system32\IMM32.DLL
0x62c20000 - 0x62c29000 C:\WINDOWS\system32\LPK.DLL
0x73fa0000 - 0x7400b000 C:\WINDOWS\system32\USP10.dll
0x78aa0000 - 0x78b5e000 D:\Java\jre7\bin\msvcr100.dll
0x6d830000 - 0x6db58000 D:\Java\jre7\bin\client\jvm.dll
0x71a40000 - 0x71a4b000 C:\WINDOWS\system32\WSOCK32.dll
0x71a20000 - 0x71a37000 C:\WINDOWS\system32\WS2_32.dll
0x71a10000 - 0x71a18000 C:\WINDOWS\system32\WS2HELP.dll
0x76b10000 - 0x76b3a000 C:\WINDOWS\system32\WINMM.dll
0x76bc0000 - 0x76bcb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d7c0000 - 0x6d7cc000 D:\Java\jre7\bin\verify.dll
0x6d2f0000 - 0x6d310000 D:\Java\jre7\bin\java.dll
0x6d810000 - 0x6d823000 D:\Java\jre7\bin\zip.dll
0x6d000000 - 0x6d142000 D:\Java\jre7\bin\awt.dll
0x770f0000 - 0x7717b000 C:\WINDOWS\system32\OLEAUT32.dll
0x76990000 - 0x76ace000 C:\WINDOWS\system32\ole32.dll
0x5adc0000 - 0x5adf7000 C:\WINDOWS\system32\uxtheme.dll
0x67340000 - 0x673ef000 D:\360\360Safe\safemon\safemon.dll
0x7d590000 - 0x7dd84000 C:\WINDOWS\system32\SHELL32.dll
0x77bd0000 - 0x77bd8000 C:\WINDOWS\system32\VERSION.dll
0x3e410000 - 0x3e4f6000 C:\WINDOWS\system32\WININET.dll
0x03280000 - 0x03289000 C:\WINDOWS\system32\Normaliz.dll
0x43ce0000 - 0x43e13000 C:\WINDOWS\system32\urlmon.dll
0x3eab0000 - 0x3ec9b000 C:\WINDOWS\system32\iertutil.dll
0x74680000 - 0x746cc000 C:\WINDOWS\system32\MSCTF.dll
0x73640000 - 0x7366e000 C:\WINDOWS\system32\msctfime.ime
0x10000000 - 0x1034d000 C:\WINDOWS\system32\GOOGLEPINYIN2.IME
0x765e0000 - 0x76673000 C:\WINDOWS\system32\CRYPT32.dll
0x76db0000 - 0x76dc2000 C:\WINDOWS\system32\MSASN1.dll
0x76c00000 - 0x76c2e000 C:\WINDOWS\system32\WINTRUST.dll
0x76c60000 - 0x76c88000 C:\WINDOWS\system32\IMAGEHLP.dll
0x762f0000 - 0x762f5000 C:\WINDOWS\system32\MSIMG32.dll
0x4ae90000 - 0x4b03b000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.6002.22791_x-ww_c8dff154\gdiplus.dll
0x68d60000 - 0x68e01000 C:\WINDOWS\system32\dbghelp.dll
0x759d0000 - 0x75a7f000 C:\WINDOWS\system32\USERENV.dll
0x6d240000 - 0x6d26a000 D:\Java\jre7\bin\fontmanager.dll
0x76fa0000 - 0x7701f000 C:\WINDOWS\system32\CLBCATQ.DLL
0x77020000 - 0x770ba000 C:\WINDOWS\system32\COMRes.dll
0x5dd50000 - 0x5de73000 C:\WINDOWS\system32\msxml3.dll

VM Arguments:
jvm_args: -Dfile.encoding=GBK 
java_command: example10.MainFrame
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=D:\Java
PATH=D:/Java/jre7/bin/client;D:/Java/jre7/bin;D:/Java/jre7/lib/i386;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\MinGW\bin;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;D:\Java\jdk1.7.0_03\bin;D:\Java\jre7\bin;;F:\eclipse;
USERNAME=yin
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 42 Stepping 7, 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 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt

Memory: 4k page, physical 1997004k(915188k free), swap 3935996k(2899672k free)

vm_info: Java HotSpot(TM) Client VM (22.1-b02) for windows-x86 JRE (1.7.0_03-b05), built on Feb  3 2012 20:43:37 by "java_re" with unknown MS VC++:1600

time: Sun Jun 24 22:17:56 2012
elapsed time: 1 seconds.
请各位高手看看,是什么问题?谢谢

加载中
0
黑鱼
我不是高手!但很想知道你想问什么
返回顶部
顶部