-
Notifications
You must be signed in to change notification settings - Fork 5.8k
PhantomJS2.0, QFontMEtrics::width with default font on OS X 10.10 problem #12918
Comments
@ashkulz Has had recent success moving patches through the Qt code review process. Can you take a look at https://codereview.qt-project.org/#/c/87665/ and advise if we should be testing that patch and trying to revive the patch progress? |
This was merged in a separate change as qt/qtbase@abcea1c -- upgrading to Qt 5.4 or cherry-picking that specific change should be enough to fix the issue. |
Could we keep this issue open until it is resolved in PhantomJS proper? |
I agree, I'm sorry |
Exact same issue - OSX 10.10.1. Phantom 2.0.0. Did this patch make it into a release/stable build? |
Not sure if @rdpanek submitted a PR for this. |
This issue will be fixed with the next Qt upgrade to 5.4.1 |
@vitallium: I would recommend that Qt be upgraded to |
Hi @vitallium & @ashkulz! Thank you for your work on this. We're running into this same issue and were wondering what the status was on the Qt upgrade? |
@lillieatwork waiting to merge - #13216 |
Hi, I seem to have the same issue. What's the status? |
still waiting on this as a fix as well.. FYI. |
Hi all (@vitallium and @ashkulz in particular). Seeing that this was merged, I compiled yesterday based on the current master. This error still occurs, at least in that I get the following error: Assertion failed: (_consumed <= scratch_size), function _hb_coretext_shape, file src/hb-coretext.cc, line 764 This is different than reported in this ticket, but the same as another ticket that was merged into this one. |
Hi there, I built from the current master last week and still get the following error (only during some calls to phantomjs, not all the time): Assertion failed: (_consumed <= scratch_size), function _hb_coretext_shape, file src/hb-coretext.cc, line 764 I'm using OSX 10.10.3 Thanks |
+1. I'm running into the same issue. |
I have the same issue. Assertion failed: (_consumed <= scratch_size), function _hb_coretext_shape, file src/hb-coretext.cc, line 764. |
Rebuilding phantomjs from source fixed the issue for me. |
Seconding @dbrans solution. Rebuilding the binary has helped solved the problem. Took a bit of time to finish the job, but it did the job. |
I have tried rebuilding the source and I'm still receiving the same error afterwards. |
I've also tried rebuilding from source and still get the same error |
+1 |
+1 (with PhantomJS 2.0 on OS X 10.10.5, Ruby 2.2.2) |
+1 (with PhantomJS 2.0 on OS X 10.10.1, Ruby 2.2.3p173) |
I'm sorry but what does +1 mean? I'm running into the same issue here. (PhantomJS 2.0 on OS X 10.10.5, ruby 2.0.0p481) Assertion failed: (_consumed <= scratch_size), function _hb_coretext_shape, file src/hb-coretext.cc, line 764. Thanks! |
@dailystore +1 just means that people are saying that they're "voting" this issue as relevant because they're also encountering the same problem. +1 for me too. Still trying different ways of handling this issue. |
Here's my fix for it. It comes in two parts. First, in order to build on Yosemite (OX 10.10.*) you need the fix for #12630; there is a patch for that. Second you need this patch: https://github.com/rdpanek/phantomjs/commit/a72df6fbdb2ada7b73aa35aef216b559670486c0 Using Here are the lines to add:
I had to change the patch for the Yosemite fix because, for some reason, the patch didn't end with Then I uninstalled phantomjs and reinstalled it so that homebrew would pick up the changes set in my new formula. For whatever reason, I was not able to build outside of homebrew. |
Hello, I use "[email protected]", install with NPM (Node.JS). I am on Mac OSX 10.12.2 I have similar issue:
Latest version don't correct this bug? |
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! |
Have a good day.
OS: Yosemite 10.10.1
Phantomjs2.0: (a2912c2)
My test is stopped when an error:
and I found a possible cause:
https://bugreports.qt.io/browse/QTBUG-39504
How and when updates QTWebkit after resolved some bugs via QT team?
In phantomjs 1.9.7 is it OK
The text was updated successfully, but these errors were encountered: