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

PhantomJS 1.9.8 Segmentation fault 11 in macOS Sierra #14558

Closed
jjgonecrypto opened this issue Sep 24, 2016 · 10 comments
Closed

PhantomJS 1.9.8 Segmentation fault 11 in macOS Sierra #14558

jjgonecrypto opened this issue Sep 24, 2016 · 10 comments

Comments

@jjgonecrypto
Copy link

jjgonecrypto commented Sep 24, 2016

  1. Which version of PhantomJS are you using? Tip: run phantomjs --version.
    PhantomJS 1.9.8 for Mac
  2. What steps will reproduce the problem?
    1. Install macOS Sierra
    2. Download and unpack https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-macosx.zip
    3. Run phantomjs
    4. Segmentation Fault: 11
  3. Which operating system are you using?
    MacOS Sierra (production release) 10.12. (This occurs both before and after upgrading to XCode 8.0 8A218a)
  4. Did you use binary PhantomJS or did you compile it from source?
    Binary (though I tried a source build but ran into obvious compiler warnings for unsupported OS version and crashing soon thereafter for missing header files).
  5. Please provide any additional information below.
    I can't upgrade to Phantom2.x for the time being; we're getting unusual errors with header scripts either downloading as async or defer in Phantom, causing body scripts to error out as their deps haven't loaded (still investigating)
@vitallium
Copy link
Collaborator

Please upgrade to PhantomJS 2. 1.9.x is no longer supported, and known to have many crasher bugs that are fixed in 2 version.

@barryoneill
Copy link

barryoneill commented Sep 26, 2016

Thank you for the response, but that's not really an option to those of us with legacy unit test suites that don't work with v2. I guess 'don't upgrade to sierra' is the workaround.

@vitallium
Copy link
Collaborator

Feel free to file a new issue about your problems with 2 version.

@jjgonecrypto
Copy link
Author

My issue is already filed: #13908

@boneskull
Copy link

Hi. I understand PhantomJS 1.9.x is not longer supported. Many projects are still using it. Mocha consumes PhantomJS 1.9.x for the sole purpose of ensuring those projects that do use it can still run their tests. Unfortunately, there's a real lack of visibility around how many projects still use 1.9.x.

Our CI suite doesn't run on macOS, so this is mostly just an inconvenience for those Mac users hacking on Mocha.

pixeltrix added a commit to alphagov/e-petitions that referenced this issue Oct 16, 2016
Version 1.9.x of phantomjs is no longer supported and crashes
on macOS Sierra: ariya/phantomjs#14558
@SelviRatnasingam1
Copy link

I still get the error "Segmentation failed: 11", while I am using Phantomjs 2.1.1 (in macOS Sierra). Any idea?

@johanbaath
Copy link

Same issue on 2.1.1 for me as well 😢 .

@shifi
Copy link

shifi commented Dec 7, 2016

I get 'Segmentation fault: 11' too on 2.1.1. Any ideas how to fix that?

@hisapy
Copy link

hisapy commented Apr 24, 2017

Same problem here with 2.1.1 in macOS Sierra

boneskull added a commit to mochajs/mocha that referenced this issue May 9, 2017
- also, reformat a conditional

ariya/phantomjs#14558 was causing seg faults at the time this
change was made; it is no longer causing seg faults, so phantomjs should be the default.

this was prompted by #2759
boneskull added a commit to mochajs/mocha that referenced this issue May 12, 2017
- also, reformat a conditional

ariya/phantomjs#14558 was causing seg faults at the time this
change was made; it is no longer causing seg faults, so phantomjs should be the default.

this was prompted by #2759
@geoffcallender
Copy link

Pleeeeease fix this issue, or make 2.1 usable on Mac OS (#12685, which is closed but should not have been).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants