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-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'
}
I was having a very similar problem running PhantomJS on Windows 10 in the WSL. I have found that:
The crash might be originating in the QT WebSocket handling code.
Setting the Karma transports setting to polling solved my issue and PhantomJS does no longer crash on startup.
In your Karma.conf.js
add :
transports: ['polling']
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With