PhantomJS崩溃-致命Windows异常,代码0xc0000005 [英] PhantomJS has crashed - Fatal Windows exception, code 0xc0000005
问题描述
我们已经使用EmberJS构建了一个应用程序.当使用ember test
测试应用程序时,我们收到一条失败消息.在这里我提到了错误信息
We have built a application using EmberJS. We got a failure message when we test the application using ember test
. Here I mentioned the error message
OS:Windows 8(64位) PhantomJS:2.1.1
OS: Windows 8(64-bit) PhantomJS: 2.1.1
PhantomJS - error
---
message: >
Error:
Non-zero exit code: 3221225477
Stderr:
Fatal Windows exception, code 0xc0000005.
PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html> and file a bug report.
Log: |
{ type: 'error', text: 'Error: Browser exited unexpectedly' }
{ type: 'error', text: 'Non-zero exit code: 3221225477' }
{ type: 'error',
text: 'Fatal Windows exception, code 0xc0000005.\r\nPhantomJS has crashed. Please read the bug reporting guide at\r\n<http://phantomjs.org/bug-reporting.html> and file a bug report.\r\n'
}
推荐答案
我在WSL的Windows 10上运行PhantomJS时遇到了非常相似的问题. 我发现:
I was having a very similar problem running PhantomJS on Windows 10 in the WSL. I have found that:
崩溃可能源于QT WebSocket处理代码.
The crash might be originating in the QT WebSocket handling code.
将Karma传输设置设置为轮询解决了我的问题,并且PhantomJS不再在启动时崩溃.
Setting the Karma transports setting to polling solved my issue and PhantomJS does no longer crash on startup.
在您的Karma.conf.js
中添加:
transports: ['polling']
参考链接
- PhantomJS崩溃
- PhantomJS Crashing
Reference Link
这篇关于PhantomJS崩溃-致命Windows异常,代码0xc0000005的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!