-
Notifications
You must be signed in to change notification settings - Fork 5.7k
PhantomJS 2.0 Segmentation Fault #13175
Comments
Exactly the same crash with the image loaded from a |
For your information, crash also happens with the 1.9.8 version.
Here is my test output:
[helio@localhost Test]$ phantomjs --version
1.9.8
[helio@localhost Test]$ phantomjs phantomjs_crash.js
PhantomJS has crashed. Please read the crash reporting guide at
https://github.com/ariya/phantomjs/wiki/Crash-Reporting and file a bug
report at https://github.com/ariya/phantomjs/issues/new with the crash dump
file attached: /tmp/137880dc-0940-2087-35f637bf-50a8de15.dmp
Segmentation fault (core dumped)
[helio@localhost Test]$ file ~/bin/phantomjs
/home/helio/bin/phantomjs: ELF 64-bit LSB executable, x86-64, version 1
(SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
|
Edited: Possibly unrelated as my crash happens after rendering completes successfully. Looks like segfault occurs on phantom.exit(0) in the case below. This crash also occurs with the attached PNG. (Ubuntu 14.04) It looks like $ bin/phantomjs rasterize.js test3.png 1440px phantomJS PhantomJS has crashed. Please read the crash reporting guide at |
Seeing this behavior too, PhantomJS 2.0.0 crashes when phantom.exit(0); is called. Works fine on version 1.9.7. |
+1 on v2.0.0, page has no any images, but has canvas generated by trianglify
See phantom_script.js for more info |
any news? |
The same thing happens in 2.1.1 on Windows (Cygwin) when running the following script:
It does seem to actually work and produce valid results though, even though it ends up crashing. Output is:
|
Any news? Still segfaulting |
@derlaft PhantomJS is abandoned, I recommend you switch to Chrome Headless. |
@csvan, Thank you. Already switched to Chrome Headless with cdp. |
Due to our very limited maintenance capacity (see #14541 for more details), we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed. In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution! |
The following code causes PhantomJS 2.0 to consistently crash. I've reproduced this using the official Windows binary on Windows 7 and a manually built version on Linux. I've been unable to build PJS with debug symbols on Linux by using
deploy/build-and-package.sh
as suggested. I've also been unable to generate a stack trace from the dump file on Windows as there's no information about how to do so on http://phantomjs.org/crash-reporting.html.I found this issue whilst investigating the cause of #12750 as this is one of the resources that results in 'Operation canceled' when trying to load http://www.bbc.co.uk/ through an HTTP proxy.
The crash dump can be found at https://www.dropbox.com/s/nbis427g3cfvfeq/de0d2d45-00fe-4f9e-90b9-6c473cd2d603.dmp?dl=0
The text was updated successfully, but these errors were encountered: