硒+;java=崩溃“;Java运行时环境检测到致命错误:“0”;

硒+;java=崩溃“;Java运行时环境检测到致命错误:“0”;,java,selenium,selenium-webdriver,Java,Selenium,Selenium Webdriver,我有一台机器,我已经运行Selenium自动化脚本一段时间了。最近几个月来,我每天都在运行两个不同的套件,一个mvn,一个ant。一切都没有改变。现在它们几乎总是崩溃。我尝试过重新安装java。我更新了硒罐。我有最新的chromewebdriver。它每次都以不同的步骤崩溃。有时它会崩溃,并在cmd提示符窗口中留下以下消息。有时,当这个自动化套件运行时,机器实际上会停机并重新启动 fatal error has been detected by the Java Runtime Environm

我有一台机器,我已经运行Selenium自动化脚本一段时间了。最近几个月来,我每天都在运行两个不同的套件,一个mvn,一个ant。一切都没有改变。现在它们几乎总是崩溃。我尝试过重新安装java。我更新了硒罐。我有最新的chromewebdriver。它每次都以不同的步骤崩溃。有时它会崩溃,并在cmd提示符窗口中留下以下消息。有时,当这个自动化套件运行时,机器实际上会停机并重新启动

fatal error has been detected by the Java Runtime Environment:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000002990719, pid=4000, t
id=1852

JRE version: Java(TM) SE Runtime Environment (8.0_11-b12) (build 1.8.0_11-b12)

Java VM: Java HotSpot(TM) 64-Bit Server VM (25.11-b03 mixed mode windows-amd64
compressed oops)
Problematic frame:
v  ~StubRoutines::atomic_cmpxchg_long

Core dump written. Default location: c:\Selenium\Projects\foobar\hs_err_p
id4000.mdmp

An error report file with more information is saved as:
c:\Selenium\Projects\foobar\hs_err_pid4000.log

If you would like to submit a bug report, please visit:
http://bugreport.sun.com/bugreport/crash.jsp


Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5:43.270s
[INFO] Finished at: Tue Jul 29 08:51:02 EDT 2014
[INFO] Final Memory: 8M/113M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.
12.4:test (default-test) on project foobar: Execution default-test
of goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test failed: The f
orked VM terminated without saying properly goodbye. VM crash or System.exit cal
led ? -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutio
nException
转储日志hs_err_pid4000.mdmp显示:

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

Current thread (0x000000000223c800):  GCTaskThread [stack:     0x0000000012150000,0x0000000012250000] [id=1852]

siginfo: ExceptionCode=0xc0000005, reading address 0xffffffffffffffff

Registers:
RAX=0x0000800080000000, RBX=0x0000800080000000, RCX=0x0000800080002000,     RDX=0x00000000124f15c0
RSP=0x000000001224f5a0, RBP=0x0000000054fc5160, RSI=0x00000000124f15c0, RDI=0x0000000000002000
R8 =0x0000800080000000, R9 =0x0000000014889e58, R10=0x0000000000007378,   R11=0x00000000c04570f8
R12=0x00000000c0443200, R13=0x0000000000000a00, R14=0x00000000c04409f0,       R15=0x0000000000000ad8
RIP=0x0000000002990719, EFLAGS=0x0000000000010246
继续前进


有什么想法吗?谢谢。

看来你打碎了什么东西。你到底在用它做什么?什么操作系统?检查一下:你检查过完整的堆栈跟踪了吗?@Theamateurprogrammer业余程序员谢谢你的快速回复。操作系统是-WindowsWebServer2008R2。4.00 gb,64位操作系统。我正在使用这个web自动化脚本来测试web应用程序。如何签出完整堆栈跟踪?我查了一下转储日志,看不太清楚。再次感谢。