A股上市公司传智教育(股票代码 003032)旗下技术交流社区北京昌平校区

 找回密码
 加入黑马

QQ登录

只需一步,快速开始

本帖最后由 魑_魅 于 2012-2-5 10:30 编辑

请教大侠 这是怎么回事啊
一面是一个log文件内容


#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x100a8408, pid=3752, tid=3804
#
# JRE version: 6.0_30-b12
# Java VM: Java HotSpot(TM) Client VM (20.5-b03 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [GOOGLEPINYIN2.IME+0xa8408]
#
# 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 (0x02c07400):  JavaThread "AWT-Windows" daemon [_thread_in_native, id=3804, stack(0x03000000,0x03050000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000004

Registers:
EAX=0x0334f260, EBX=0x00000002, ECX=0x00000000, EDX=0x00000002
ESP=0x0304f7a0, EBP=0x0304f7dc, ESI=0x062fb4a8, EDI=0x00000001
EIP=0x100a8408, EFLAGS=0x00010256

Top of Stack: (sp=0x0304f7a0)
0x0304f7a0:   0334f260 00000000 100a5b96 000604de
0x0304f7b0:   0334f260 00000111 00000002 000604de
0x0304f7c0:   100a61b2 0334f260 0304f7dc 0304f844
0x0304f7d0:   100a6160 0304f808 00000000 00000000
0x0304f7e0:   77d18734 000604de 00000111 00000002
0x0304f7f0:   000604de 100a6160 dcbaabcd 00000000
0x0304f800:   0304f844 100a6160 0304f870 77d18816
0x0304f810:   100a6160 000604de 00000111 00000002

Instructions: (pc=0x100a8408)
0x100a83e8:   83 e8 01 83 c4 0c c3 83 c8 ff 83 c4 0c c3 cc cc
0x100a83f8:   cc cc cc cc cc cc cc cc 51 56 8b 70 04 8b 4e 50
0x100a8408:   8b 49 04 57 52 e8 fe 9b ff ff 85 c0 74 29 8b 78
0x100a8418:   1c 85 ff 74 22 83 78 18 10 72 05 8b 40 04 eb 03


Register to memory mapping:

EAX=0x0334f260 is an unknown value
EBX=0x00000002 is an unknown value
ECX=0x00000000 is an unknown value
EDX=0x00000002 is an unknown value
ESP=0x0304f7a0 is pointing into the stack for thread: 0x02c07400
EBP=0x0304f7dc is pointing into the stack for thread: 0x02c07400
ESI=0x062fb4a8 is an unknown value
EDI=0x00000001 is an unknown value


Stack: [0x03000000,0x03050000],  sp=0x0304f7a0,  free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [GOOGLEPINYIN2.IME+0xa8408]  DllGetClassObject+0x97308

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

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

Java Threads: ( => current thread )
  0x03610400 JavaThread "Thread-1" daemon [_thread_in_native, id=3852, stack(0x08800000,0x08850000)]
  0x00316800 JavaThread "DestroyJavaVM" [_thread_blocked, id=3760, stack(0x008f0000,0x00940000)]
  0x02c1c000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3828, stack(0x034a0000,0x034f0000)]
=>0x02c07400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3804, stack(0x03000000,0x03050000)]
  0x02c06000 JavaThread "AWT-Shutdown" [_thread_blocked, id=3800, stack(0x02fb0000,0x03000000)]
  0x02bd3800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3796, stack(0x02f60000,0x02fb0000)]
  0x02bba400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3788, stack(0x02e30000,0x02e80000)]
  0x02bb7c00 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=3784, stack(0x02de0000,0x02e30000)]
  0x02bb2c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=3780, stack(0x02d90000,0x02de0000)]
  0x02bd4800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3776, stack(0x02d40000,0x02d90000)]
  0x02babc00 JavaThread "Finalizer" daemon [_thread_blocked, id=3772, stack(0x02cf0000,0x02d40000)]
  0x02ba7000 JavaThread "Reference Handler" daemon [_thread_blocked, id=3768, stack(0x02ca0000,0x02cf0000)]

Other Threads:
  0x02b6a400 VMThread [stack: 0x02c50000,0x02ca0000] [id=3764]
  0x02bca400 WatcherThread [stack: 0x02e80000,0x02ed0000] [id=3792]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation   total 4928K, used 1438K [0x229e0000, 0x22f30000, 0x27f30000)
  eden space 4416K,  32% used [0x229e0000, 0x22b478c8, 0x22e30000)
  from space 512K,   0% used [0x22e30000, 0x22e30000, 0x22eb0000)
  to   space 512K,   0% used [0x22eb0000, 0x22eb0000, 0x22f30000)
tenured generation   total 10944K, used 0K [0x27f30000, 0x289e0000, 0x329e0000)
   the space 10944K,   0% used [0x27f30000, 0x27f30000, 0x27f30200, 0x289e0000)
compacting perm gen  total 12288K, used 577K [0x329e0000, 0x335e0000, 0x369e0000)
   the space 12288K,   4% used [0x329e0000, 0x32a70730, 0x32a70800, 0x335e0000)
    ro space 10240K,  51% used [0x369e0000, 0x36f0da30, 0x36f0dc00, 0x373e0000)
    rw space 12288K,  55% used [0x373e0000, 0x37a79b50, 0x37a79c00, 0x37fe0000)

Code Cache  [0x00970000, 0x00a00000, 0x02970000)
total_blobs=240 nmethods=49 adapters=127 free_code_cache=32996224 largest_free_block=0

Dynamic libraries:
0x00400000 - 0x00425000         C:\WINDOWS\system32\java.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
0x7c340000 - 0x7c396000         E:\Program Files\Java\bin\msvcr71.dll
0x6d7f0000 - 0x6da9f000         E:\Program Files\Java\bin\client\jvm.dll
0x77d10000 - 0x77da0000         C:\WINDOWS\system32\USER32.dll
0x77ef0000 - 0x77f39000         C:\WINDOWS\system32\GDI32.dll
0x76b10000 - 0x76b3a000         C:\WINDOWS\system32\WINMM.dll
0x76300000 - 0x7631d000         C:\WINDOWS\system32\IMM32.DLL
0x62c20000 - 0x62c29000         C:\WINDOWS\system32\LPK.DLL
0x73fa0000 - 0x7400b000         C:\WINDOWS\system32\USP10.dll
0x6d7a0000 - 0x6d7ac000         E:\Program Files\Java\bin\verify.dll
0x6d320000 - 0x6d33f000         E:\Program Files\Java\bin\java.dll
0x6d7e0000 - 0x6d7ef000         E:\Program Files\Java\bin\zip.dll
0x6d000000 - 0x6d14c000         E:\Program Files\Java\bin\awt.dll
0x72f70000 - 0x72f96000         C:\WINDOWS\system32\WINSPOOL.DRV
0x77be0000 - 0x77c38000         C:\WINDOWS\system32\msvcrt.dll
0x76990000 - 0x76ace000         C:\WINDOWS\system32\ole32.dll
0x77180000 - 0x77283000         C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\COMCTL32.dll
0x77f40000 - 0x77fb6000         C:\WINDOWS\system32\SHLWAPI.dll
0x5adc0000 - 0x5adf7000         C:\WINDOWS\system32\uxtheme.dll
0x6d230000 - 0x6d27f000         E:\Program Files\Java\bin\fontmanager.dll
0x74680000 - 0x746cc000         C:\WINDOWS\system32\MSCTF.dll
0x73640000 - 0x7366e000         C:\WINDOWS\system32\msctfime.ime
0x10000000 - 0x1034e000         C:\WINDOWS\system32\GOOGLEPINYIN2.IME
0x7d590000 - 0x7dd84000         C:\WINDOWS\system32\SHELL32.dll
0x77bd0000 - 0x77bd8000         C:\WINDOWS\system32\VERSION.dll
0x770f0000 - 0x7717b000         C:\WINDOWS\system32\OLEAUT32.dll
0x762f0000 - 0x762f5000         C:\WINDOWS\system32\MSIMG32.dll
0x4ae90000 - 0x4b03b000         C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.6002.22509_x-ww_c7dad023\gdiplus.dll
0x68d60000 - 0x68e01000         C:\WINDOWS\system32\dbghelp.dll
0x759d0000 - 0x75a7f000         C:\WINDOWS\system32\USERENV.dll
0x63000000 - 0x630e6000         C:\WINDOWS\system32\WININET.dll
0x03090000 - 0x03099000         C:\WINDOWS\system32\Normaliz.dll
0x1a400000 - 0x1a532000         C:\WINDOWS\system32\urlmon.dll
0x5dca0000 - 0x5de88000         C:\WINDOWS\system32\iertutil.dll
0x4b640000 - 0x4b7e6000         C:\WINDOWS\system32\d3d9.dll
0x6dd20000 - 0x6dd26000         C:\WINDOWS\system32\d3d8thk.dll
0x74d90000 - 0x74dfd000         C:\WINDOWS\system32\RICHED20.DLL
0x76fa0000 - 0x7701f000         C:\WINDOWS\system32\CLBCATQ.DLL
0x77020000 - 0x770ba000         C:\WINDOWS\system32\COMRes.dll
0x06520000 - 0x06643000         C:\WINDOWS\system32\msxml3.dll
0x76bc0000 - 0x76bcb000         C:\WINDOWS\system32\PSAPI.DLL

VM Arguments:
java_command: MyWindowDemo
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=E:\Program Files\Java\jdk1.6.0_26
CLASSPATH=.;E:\_My software\Tools\MySQL软件\MySQL 5 5.0.67\mysql-connector-java-5.0.7-bin.jar,;E:\Program Files\Java\jdk1.6.0_26\lib;E:\Program Files\Java\jdk1.6.0_26\lib\tools.jar
PATH=C:\Program Files\AMD APP\bin\x86;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;E:\Program Files\MySQL\MySQL Server 5.0\bin;E:\Program Files\C\Tools\WinNT;E:\Program Files\C\MSDev98\Bin;E:\Program Files\C\Tools;E:\Program Files\VC98\bin;E:\Program Files\Java\jdk1.6.0_26\bin
USERNAME=thank
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 16 Model 6 Stepping 2, AuthenticAMD



---------------  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 16 model 6 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, popcnt, mmxext, 3dnow, 3dnowext, lzcnt

Memory: 4k page, physical 2093184k(1603812k free), swap 4031612k(3619856k free)

vm_info: Java HotSpot(TM) Client VM (20.5-b03) for windows-x86 JRE (1.6.0_30-b12), built on Nov 10 2011 01:51:00 by "java_re" with MS VC++ 7.1 (VS2003)

time: Sat Feb 04 10:27:07 2012
elapsed time: 8 seconds

评分

参与人数 1技术分 +1 收起 理由
admin + 1

查看全部评分

8 个回复

倒序浏览
log文件,在哪里,什么情况产生的?
回复 使用道具 举报
黄秋 发表于 2012-2-4 16:01
log文件,在哪里,什么情况产生的?

就在我写代码的地方啊。
每次程序结束dos命令行上就跳出来这个。然后就生成个扩展名.log的文件。
E:\my Demo my Demo\GUI>java MyWindowDemo
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x100a8408, pid=808, tid=3696
#
# JRE version: 6.0_30-b12
# Java VM: Java HotSpot(TM) Client VM (20.5-b03 mixed mode, sharing windows-x86
)
# Problematic frame:
# C  [GOOGLEPINYIN2.IME+0xa8408]
#
# An error report file with more information is saved as:
# E:\my Demo my Demo\GUI\hs_err_pid808.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.
#
回复 使用道具 举报
# Problematic frame:
# C  [GOOGLEPINYIN2.IME+0xa8408]

从这两行,看到与谷歌输入法有关。# C --- 据下面的描述,是“C: Native C frame”。
C: Native C frame
j: Interpreted Java frame
V: VMframe
v: VMgenerated stub frame
J: Other frame types, including compiled Java frames

出错与原生的C 程序有关。运行最简单的java 程序会出现这个错误吗?网上说,谷歌输入法与 javaswing 组件有冲突,本人没试过,MyWindowDemo是否用到 swing?
1. 运行最简单的java 程序 试试;
2. 重装JDK;
3. 谷歌输入法 卸载,重装。

评分

参与人数 1技术分 +2 收起 理由
admin + 2

查看全部评分

回复 使用道具 举报
jvm的bug  让你碰到了啊 幸运
回复 使用道具 举报
黄秋 发表于 2012-2-4 17:39
# Problematic frame:
# C  [GOOGLEPINYIN2.IME+0xa8408]

swing没有用吧。
用了awt算么?
其他的Java程序没有问题。我试试你说的办法啊
回复 使用道具 举报
黄秋 发表于 2012-2-4 17:39
# Problematic frame:
# C  [GOOGLEPINYIN2.IME+0xa8408]

一会得去抽个奖了阿那
回复 使用道具 举报
魑_魅 发表于 2012-2-4 18:11
swing没有用吧。
用了awt算么?
其他的Java程序没有问题。我试试你说的办法啊 ...

我照你说的试了。
有点进步了啊,dos命令行不打印那些信息了。
但是java源文件处还是会生成log文件。
其中一个内容是这样:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x100a8408, pid=1320, tid=1520
#
# JRE version: 6.0_30-b12
# Java VM: Java HotSpot(TM) Client VM (20.5-b03 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [GOOGLEPINYIN2.IME+0xa8408]
#
# 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.
#
太长了发送不了。
回复 使用道具 举报
黄秋 黑马帝 2012-2-4 19:07:44
9#
估计是谷歌输入法与JAVA 组件有冲突,找找是否有这方面的补丁。
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 加入黑马