Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

PhantomJS crashing #14512

Closed
vivinRajagopalan opened this issue Aug 29, 2016 · 8 comments
Closed

PhantomJS crashing #14512

vivinRajagopalan opened this issue Aug 29, 2016 · 8 comments
Assignees
Labels

Comments

@vivinRajagopalan
Copy link

  1. Which version of PhantomJS are you using? Tip: run phantomjs --version.
    2.1.3
  2. What steps will reproduce the problem?
    1.I am trying to launch phantom JS from Karma and when i try invoking it, i get the following error.

ERROR
" 29 08 2016 12:25:31.495:ERROR [phantomjs.launcher]: 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.

29 08 2016 12:25:31.641:ERROR [launcher]: PhantomJS crashed.

29 08 2016 12:25:31.652:INFO [launcher]: Trying to start PhantomJS again (1/2).
29 08 2016 12:26:31.653:WARN [launcher]: PhantomJS have not captured in 60000 ms, killing.
29 08 2016 12:26:31.671:INFO [launcher]: Trying to start PhantomJS again (2/2).
29 08 2016 12:27:31.675:WARN [launcher]: PhantomJS have not captured in 60000 ms, killing.
29 08 2016 12:27:31.693:ERROR [launcher]: PhantomJS failed 2 times (timeout). Giving up. "

  1. Which operating system are you using? Windows 7.0 64

Please let me know how to resolve this ?

Regards,
Vivin

@vitallium vitallium self-assigned this Sep 9, 2016
@AndrewJohnBenjamin
Copy link

Has there been any progress on this? I am seeing the exact same behavior on a Window 10 x64 machine. The failure is random and occurs probably 70% of the time. I have done some searching around and it seems a fair amount of others have this problem as well; would be great to get a diagnosis on this as I am yet to find one anywhere else.

@parky128
Copy link

I am also seeing this issue on a windows 10 64 bit machine. I have phantomjs 2.1.1 installed globally, using karma v.1.4.0 with phantomjs launcher.

@leizz
Copy link

leizz commented Mar 7, 2017

I have been seeing this issue on Ubuntu 16.04, Redhat 7.3, Sles 12 SP2. I have phantomjs 2.1.1 installed globally, and Karma v1.3.0. Mine was actually from the front-end testing of a project called Grafana.

@georgiosd
Copy link

Seems to be fixed in 2.5.0 beta for me

@parky128
Copy link

I agree with @georgiosd - the issue also seems to be fixed with 2.5.0 beta for me

@tsvetomir
Copy link

The crash might be originating in the QT WebSocket handling code. Try setting the Karma transports setting to polling to disable the communication through WebSockets:

transports: ['polling']

@ZachShaw
Copy link

@tsvetomir 's solution of adding transports fixed this for me. Nothing I had attempted to fix this including editing .bashrc, removing, upgrading, globally installing PhantomJS.

I can finally run unit tests on my XPS using PhantomJS, thank you. Win10, 64bit.

@stale stale bot added the stale label Dec 26, 2019
@stale
Copy link

stale bot commented Dec 29, 2019

Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!

@stale stale bot closed this as completed Dec 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

8 participants