PhantomJS崩溃了-致命的Windows异常,代码0xc0000005[英] PhantomJS has crashed - Fatal Windows exception, code 0xc0000005

问题描述

我们已经使用emberjs构建了一个应用程序.使用ember test测试应用程序时,我们收到了一条故障消息.在这里,我提到了错误消息

OS:Windows 8(64位) 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的问题非常相似. 我发现:

崩溃可能起源于QT WebSocket处理代码.

将业力运输设置为投票解决了我的问题,而phantomjs则不再在启动时崩溃.

在您的Karma.conf.js中:

transports: ['polling']

参考链接

本文地址:https://www.itbaoku.cn/post/1740040.html