.NET Winform应用程序崩溃与Java虚拟机错误

时间:2012-01-27 23:24:19

标签: .net winforms crash access-violation jvm-crash

我的WinForm应用程序有问题,里面有一个Web浏览器。 我用它在一些包含(Javascript)的网站中导航。

更新:我使用XULRUNNER(Gecko Engine)。

它们总是相同的(网站),但在几个小时后崩溃,给出了JVM错误。

我有一个日志,但我不知道如何解码它以理解我的应用程序崩溃的原因。

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x706d9d75, pid=2460, tid=2564
#
# JRE version: 7.0_01-b08
# Java VM: Java HotSpot(TM) Client VM (21.1-b02 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  0x706d9d75
#
# 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
#

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

Current thread (0x032e8400):  JavaThread "thread applet-main-1" [_thread_in_vm, id=2564, stack(0x03ac0000,0x03b10000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x706d9d75

Registers:
EAX=0x00000001, EBX=0x032e8400, ECX=0x319f0038, EDX=0x706d9d75
ESP=0x03b0e9e0, EBP=0x03b0ea10, ESI=0x032e8400, EDI=0x032e8400
EIP=0x706d9d75, EFLAGS=0x00010246

Top of Stack: (sp=0x03b0e9e0)
0x03b0e9e0:   6d9c660f 00000000 00000001 032e8400
0x03b0e9f0:   363fe0f0 032e8400 032e8400 03266fe8
0x03b0ea00:   03b0ea34 6da5b7b7 032be5c2 00000013
0x03b0ea10:   03b0ea30 6d9c7199 033d2e10 00000000
0x03b0ea20:   00000001 032e8400 363fe0f0 36ffd338
0x03b0ea30:   03b0ea54 6d96bd5b 00000000 00000001
0x03b0ea40:   032e8400 032e8400 032e8400 00000001
0x03b0ea50:   36ff3958 03b0ea80 6d96bde6 36ffd338 

Instructions: (pc=0x706d9d75)
0x706d9d55:   
[error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xc0000005]

Register to memory mapping:

EAX=0x00000001 is an unknown value
EBX=0x032e8400 is a thread
ECX=
[error occurred during error reporting (printing register info), id 0xc0000005]

Stack: [0x03ac0000,0x03b10000],  sp=0x03b0e9e0,  free space=314k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  0x706d9d75
V  [jvm.dll+0x87199]
V  [jvm.dll+0x2bd5b]
V  [jvm.dll+0x2bde6]
V  [jvm.dll+0x2bf2a]
V  [jvm.dll+0x12d19a]
V  [jvm.dll+0x12e861]
V  [jvm.dll+0x12e97d]
V  [jvm.dll+0xd9067]
j  java.lang.Class.getDeclaredMethods0(Z)[Ljava/lang/reflect/Method;+0
j  java.lang.Class.privateGetDeclaredMethods(Z)[Ljava/lang/reflect/Method;+67
j  java.lang.Class.getMethod0(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;+4
j  java.lang.Class.getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;+11
j  sun.org.mozilla.javascript.internal.Kit.<clinit>()V+23
v  ~StubRoutines::call_stub
V  [jvm.dll+0x122c7e]
V  [jvm.dll+0x1c9c0e]
V  [jvm.dll+0x122d0d]
V  [jvm.dll+0x866d8]
V  [jvm.dll+0x87220]
V  [jvm.dll+0x875a2]
V  [jvm.dll+0x87909]
V  [jvm.dll+0x542ec]
V  [jvm.dll+0x54b6d]
V  [jvm.dll+0x54e00]
V  [jvm.dll+0x50df9]
j  sun.org.mozilla.javascript.internal.ScriptRuntime.<clinit>()V+7
v  ~StubRoutines::call_stub
V  [jvm.dll+0x122c7e]
V  [jvm.dll+0x1c9c0e]
V  [jvm.dll+0x122d0d]
V  [jvm.dll+0x866d8]
V  [jvm.dll+0x87220]
V  [jvm.dll+0x875a2]
V  [jvm.dll+0x87909]
V  [jvm.dll+0x52e0c]
V  [jvm.dll+0x54222]
V  [jvm.dll+0x501ac]
j  sun.org.mozilla.javascript.internal.Context.<clinit>()V+0
v  ~StubRoutines::call_stub
V  [jvm.dll+0x122c7e]
V  [jvm.dll+0x1c9c0e]
V  [jvm.dll+0x122d0d]
V  [jvm.dll+0x866d8]
V  [jvm.dll+0x87220]
V  [jvm.dll+0x875a2]
V  [jvm.dll+0x87909]
V  [jvm.dll+0x542ec]
V  [jvm.dll+0x54b6d]
V  [jvm.dll+0x54e00]
V  [jvm.dll+0x50df9]
j  com.sun.script.javascript.RhinoScriptEngine.enterContext()Lsun/org/mozilla/javascript/internal/Context;+0
j  com.sun.script.javascript.RhinoScriptEngine.<init>()V+17
j  com.sun.script.javascript.RhinoScriptEngineFactory.getScriptEngine()Ljavax/script/ScriptEngine;+4
j  javax.script.ScriptEngineManager.getEngineByName(Ljava/lang/String;)Ljavax/script/ScriptEngine;+150
j  main.init()V+12
j  com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init()V+9
j  sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run()V+1041
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub
V  [jvm.dll+0x122c7e]
V  [jvm.dll+0x1c9c0e]
V  [jvm.dll+0x122e73]
V  [jvm.dll+0x122ed7]
V  [jvm.dll+0xccd1f]
V  [jvm.dll+0x14433f]
V  [jvm.dll+0x171549]
C  [msvcr100.dll+0x5c6de]  endthreadex+0x3a
C  [msvcr100.dll+0x5c788]  endthreadex+0xe4
C  [kernel32.dll+0xb729]  GetModuleFileNameA+0x1ba

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  java.lang.Class.getDeclaredMethods0(Z)[Ljava/lang/reflect/Method;+0
j  java.lang.Class.privateGetDeclaredMethods(Z)[Ljava/lang/reflect/Method;+67
j  java.lang.Class.getMethod0(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;+4
j  java.lang.Class.getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;+11
j  sun.org.mozilla.javascript.internal.Kit.<clinit>()V+23
v  ~StubRoutines::call_stub
j  sun.org.mozilla.javascript.internal.ScriptRuntime.<clinit>()V+7
v  ~StubRoutines::call_stub
j  sun.org.mozilla.javascript.internal.Context.<clinit>()V+0
v  ~StubRoutines::call_stub
j  com.sun.script.javascript.RhinoScriptEngine.enterContext()Lsun/org/mozilla/javascript/internal/Context;+0
j  com.sun.script.javascript.RhinoScriptEngine.<init>()V+17
j  com.sun.script.javascript.RhinoScriptEngineFactory.getScriptEngine()Ljavax/script/ScriptEngine;+4
j  javax.script.ScriptEngineManager.getEngineByName(Ljava/lang/String;)Ljavax/script/ScriptEngine;+150
j  main.init()V+12
j  com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init()V+9
j  sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run()V+1041
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
  0x03398c00 JavaThread "ProgressReporter" daemon [_thread_blocked, id=2164, stack(0x038b0000,0x03900000)]
  0x033dd400 JavaThread "Thread-17" [_thread_blocked, id=3108, stack(0x035e0000,0x03630000)]
  0x032e8c00 JavaThread "thread applet-main-2" [_thread_blocked, id=2584, stack(0x03b10000,0x03b60000)]
=>0x032e8400 JavaThread "thread applet-main-1" [_thread_in_vm, id=2564, stack(0x03ac0000,0x03b10000)]
  0x03260c00 JavaThread "TimerQueue" daemon [_thread_blocked, id=3892, stack(0x039a0000,0x039f0000)]
  0x032bf800 JavaThread "JVM[id=1]-Heartbeat" daemon [_thread_blocked, id=1540, stack(0x03680000,0x036d0000)]
  0x02bb0800 JavaThread "ConsoleTraceListener" daemon [_thread_blocked, id=956, stack(0x03770000,0x037c0000)]
  0x02bb5400 JavaThread "AWT-EventQueue-3" [_thread_blocked, id=3044, stack(0x03950000,0x039a0000)]
  0x03398000 JavaThread "Applet 2 LiveConnect Worker Thread" [_thread_blocked, id=1824, stack(0x03860000,0x038b0000)]
  0x03321c00 JavaThread "Browser Side Object Cleanup Thread" [_thread_blocked, id=2260, stack(0x03810000,0x03860000)]
  0x0331f400 JavaThread "AWT-EventQueue-1" [_thread_blocked, id=716, stack(0x037c0000,0x03810000)]
  0x0330b800 JavaThread "CacheCleanUpThread" daemon [_thread_in_native, id=3104, stack(0x03720000,0x03770000)]
  0x032c7000 JavaThread "CacheMemoryCleanUpThread" daemon [_thread_blocked, id=2988, stack(0x036d0000,0x03720000)]
  0x032bc400 JavaThread "SysExecutionTheadCreator" daemon [_thread_blocked, id=2576, stack(0x034a0000,0x034f0000)]
  0x032b5c00 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3988, stack(0x03630000,0x03680000)]
  0x032af000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3452, stack(0x02c20000,0x02d20000)]
  0x032ad800 JavaThread "AWT-Shutdown" [_thread_blocked, id=2420, stack(0x03590000,0x035e0000)]
  0x032ac400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3068, stack(0x03540000,0x03590000)]
  0x0329e400 JavaThread "Java Plug-In Pipe Worker Thread (Client-Side)" daemon [_thread_in_native, id=3864, stack(0x034f0000,0x03540000)]
  0x0328a800 JavaThread "Timer-0" [_thread_blocked, id=2824, stack(0x03450000,0x034a0000)]
  0x02c07000 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=2616, stack(0x031c0000,0x03210000)]
  0x02bd4400 JavaThread "Service Thread" daemon [_thread_blocked, id=1460, stack(0x02f00000,0x02f50000)]
  0x02bce400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=1736, stack(0x02eb0000,0x02f00000)]
  0x02bcc800 JavaThread "Attach Listener" daemon [_thread_blocked, id=3048, stack(0x02e60000,0x02eb0000)]
  0x02bcb400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2944, stack(0x02e10000,0x02e60000)]
  0x02bc8800 JavaThread "Finalizer" daemon [_thread_blocked, id=2328, stack(0x02dc0000,0x02e10000)]
  0x02bb7c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=3412, stack(0x02d70000,0x02dc0000)]
  0x003c8800 JavaThread "main" [_thread_blocked, id=2020, stack(0x008c0000,0x00910000)]

Other Threads:
  0x02bb6400 VMThread [stack: 0x02d20000,0x02d70000] [id=2096]
  0x02bf1c00 WatcherThread [stack: 0x02f50000,0x02fa0000] [id=3228]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 4608K, used 3769K [0x229f0000, 0x22ef0000, 0x279f0000)
  eden space 4096K,  79% used [0x229f0000, 0x22d1e5c8, 0x22df0000)
  from space 512K, 100% used [0x22e70000, 0x22ef0000, 0x22ef0000)
  to   space 512K,   0% used [0x22df0000, 0x22df0000, 0x22e70000)
 tenured generation   total 10240K, used 980K [0x279f0000, 0x283f0000, 0x319f0000)
   the space 10240K,   9% used [0x279f0000, 0x27ae52f8, 0x27ae5400, 0x283f0000)
 compacting perm gen  total 12288K, used 3255K [0x319f0000, 0x325f0000, 0x359f0000)
   the space 12288K,  26% used [0x319f0000, 0x31d1df50, 0x31d1e000, 0x325f0000)
    ro space 10240K,  42% used [0x359f0000, 0x35e2c7b0, 0x35e2c800, 0x363f0000)
    rw space 12288K,  53% used [0x363f0000, 0x36a68210, 0x36a68400, 0x36ff0000)

Code Cache  [0x00940000, 0x009f0000, 0x02940000)
 total_blobs=407 nmethods=171 adapters=169 free_code_cache=32066Kb largest_free_block=32835584

Dynamic libraries:
0x00400000 - 0x0042e000     C:\ProgramFiles\Java\jre7\bin\java.exe
0x7c910000 - 0x7c9c8000     C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c901000     C:\WINDOWS\system32\kernel32.dll
0x77f40000 - 0x77feb000     C:\WINDOWS\system32\ADVAPI32.dll
0x77da0000 - 0x77e33000     C:\WINDOWS\system32\RPCRT4.dll
0x77f10000 - 0x77f21000     C:\WINDOWS\system32\Secur32.dll
0x7e390000 - 0x7e421000     C:\WINDOWS\system32\USER32.dll
0x77e40000 - 0x77e89000     C:\WINDOWS\system32\GDI32.dll
0x773a0000 - 0x774a3000     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
0x77e90000 - 0x77f06000     C:\WINDOWS\system32\SHLWAPI.dll
0x76340000 - 0x7635d000     C:\WINDOWS\system32\IMM32.DLL
0x78aa0000 - 0x78b5e000     C:\ProgramFiles\Java\jre7\bin\msvcr100.dll
0x6d940000 - 0x6dc61000     C:\ProgramFiles\Java\jre7\bin\client\jvm.dll
0x71a50000 - 0x71a5a000     C:\WINDOWS\system32\WSOCK32.dll
0x71a30000 - 0x71a47000     C:\WINDOWS\system32\WS2_32.dll
0x71a20000 - 0x71a28000     C:\WINDOWS\system32\WS2HELP.dll
0x76b00000 - 0x76b2e000     C:\WINDOWS\system32\WINMM.dll
0x76bb0000 - 0x76bbb000     C:\WINDOWS\system32\PSAPI.DLL
0x6d8d0000 - 0x6d8dc000     C:\ProgramFiles\Java\jre7\bin\verify.dll
0x6d370000 - 0x6d390000     C:\ProgramFiles\Java\jre7\bin\java.dll
0x6d000000 - 0x6d142000     C:\ProgramFiles\Java\jre7\bin\awt.dll
0x770f0000 - 0x7717b000     C:\WINDOWS\system32\OLEAUT32.dll
0x774b0000 - 0x775ee000     C:\WINDOWS\system32\ole32.dll
0x6d920000 - 0x6d933000     C:\ProgramFiles\Java\jre7\bin\zip.dll
0x5b180000 - 0x5b1b8000     C:\WINDOWS\system32\uxtheme.dll
0x746b0000 - 0x746fc000     C:\WINDOWS\system32\MSCTF.dll
0x77bd0000 - 0x77bd8000     C:\WINDOWS\system32\VERSION.dll
0x6d450000 - 0x6d456000     C:\ProgramFiles\Java\jre7\bin\jp2native.dll
0x6d1b0000 - 0x6d1e3000     C:\ProgramFiles\Java\jre7\bin\deploy.dll
0x3f9d0000 - 0x3fab7000     C:\WINDOWS\system32\WININET.dll
0x03040000 - 0x03049000     C:\WINDOWS\system32\Normaliz.dll
0x45010000 - 0x45144000     C:\WINDOWS\system32\urlmon.dll
0x40070000 - 0x4025b000     C:\WINDOWS\system32\iertutil.dll
0x7c9d0000 - 0x7d1ee000     C:\WINDOWS\system32\SHELL32.dll
0x6d660000 - 0x6d674000     C:\ProgramFiles\Java\jre7\bin\net.dll
0x6d680000 - 0x6d68f000     C:\ProgramFiles\Java\jre7\bin\nio.dll
0x752e0000 - 0x7530e000     C:\WINDOWS\system32\msctfime.ime
0x6d2c0000 - 0x6d2ea000     C:\ProgramFiles\Java\jre7\bin\fontmanager.dll
0x6d870000 - 0x6d8a1000     C:\ProgramFiles\Java\jre7\bin\t2k.dll
0x76f90000 - 0x7700f000     C:\WINDOWS\system32\CLBCATQ.DLL
0x77010000 - 0x770e2000     C:\WINDOWS\system32\COMRes.dll
0x719d0000 - 0x71a10000     C:\WINDOWS\System32\mswsock.dll
0x76ee0000 - 0x76f07000     C:\WINDOWS\system32\DNSAPI.dll
0x76d20000 - 0x76d39000     C:\WINDOWS\system32\iphlpapi.dll
0x76d00000 - 0x76d18000     C:\WINDOWS\system32\MPRAPI.dll
0x77c90000 - 0x77cc2000     C:\WINDOWS\system32\ACTIVEDS.dll
0x76dd0000 - 0x76df5000     C:\WINDOWS\system32\adsldpc.dll
0x5bc70000 - 0x5bcc5000     C:\WINDOWS\system32\NETAPI32.dll
0x76f20000 - 0x76f4d000     C:\WINDOWS\system32\WLDAP32.dll
0x76ae0000 - 0x76af1000     C:\WINDOWS\system32\ATL.DLL
0x76e40000 - 0x76e4e000     C:\WINDOWS\system32\rtutils.dll
0x71b80000 - 0x71b93000     C:\WINDOWS\system32\SAMLIB.dll
0x778f0000 - 0x779e7000     C:\WINDOWS\system32\SETUPAPI.dll
0x76f70000 - 0x76f78000     C:\WINDOWS\System32\winrnr.dll
0x76f80000 - 0x76f86000     C:\WINDOWS\system32\rasadhlp.dll
0x66750000 - 0x667a8000     C:\WINDOWS\system32\hnetcfg.dll
0x71a10000 - 0x71a18000     C:\WINDOWS\System32\wshtcpip.dll
0x68000000 - 0x68036000     C:\WINDOWS\system32\rsaenh.dll
0x76980000 - 0x76a35000     C:\WINDOWS\system32\USERENV.dll

VM Arguments:
jvm_args: -D__jvm_launched=6114451411 -D__applet_launched=6114381302 -Xbootclasspath/a:C:\PROGRA~1\Java\jre7\lib\deploy.jar;C:\PROGRA~1\Java\jre7\lib\javaws.jar;C:\PROGRA~1\Java\jre7\lib\plugin.jar -Dsun.awt.warmup=true 
java_command: sun.plugin2.main.client.PluginMain write_pipe_name=jpi2_pid2272_pipe2,read_pipe_name=jpi2_pid2272_pipe1
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programs\MyAppForm\MyApp/xulrunner
USERNAME=ii
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel



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

OS: Windows XP Build 2600 Service Pack 3

CPU:total 1 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 13, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

Memory: 4k page, physical 982512k(259468k free), swap 2373900k(1574300k free)

vm_info: Java HotSpot(TM) Client VM (21.1-b02) for windows-x86 JRE (1.7.0_01-b08), built on Oct  3 2011 02:11:36 by "java_re" with unknown MS VC++:1600

time: Fri Jan 27 17:36:35 2012
elapsed time: 53 seconds

0 个答案:

没有答案