New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QWebFrame::render SIGSEGV with HiDPI + filter CSS #461
Comments
Try applying patches https://bugs.webkit.org/show_bug.cgi?id=159495 and https://webkit.org/b/163762 |
@annulen sadly it didn't help.
|
Does crash happen with old QtWebKit released with Qt? |
I have just built the one from http://download.qt.io/community_releases/5.8/5.8.0-final/ and checked - the crash doesn't happen there. |
Reproduced |
Valgrind: https://0x0.st/3Xl.txt |
Somehow we have identical sizes of |
I guess it means that earlier in execution flow scale factor was mistakenly applied to destination, or mistakenly was not applied to source. |
…nments As per qtwebkit#461 - the scale may be wrongly not applied to the source, resulting in the filter attempting to copy from unallocated memory. This adds similar implementation of scaling to the one from the ImageBufferCG changes in https://trac.webkit.org/changeset/168577/webkit ("-webkit-filter prevents rendering at retina scale")
Also scale FloatRects correctly, as per the review.
As per qtwebkit#461 - the scale was not applied to the source, resulting in the filter attempting to copy from unallocated memory. This adds similar implementation of scaling to the one from the ImageBufferCG changes in https://trac.webkit.org/changeset/168577/webkit ("-webkit-filter prevents rendering at retina scale") Also fixes putByteArray creating too small image, and adds proper scale to images.
Related: #201 |
As per #461 - the scale was not applied to the source, resulting in the filter attempting to copy from unallocated memory. This adds similar implementation of scaling to the one from the ImageBufferCG changes in https://trac.webkit.org/changeset/168577/webkit ("-webkit-filter prevents rendering at retina scale") Also fixes putByteArray creating too small image, and adds proper scale to images. Change-Id: I39a38097ce017e9688db789478c292f37038abe3
As per #461 - the scale was not applied to the source, resulting in the filter attempting to copy from unallocated memory. This adds similar implementation of scaling to the one from the ImageBufferCG changes in https://trac.webkit.org/changeset/168577/webkit ("-webkit-filter prevents rendering at retina scale") Also fixes putByteArray creating too small image, and adds proper scale to images. Change-Id: I39a38097ce017e9688db789478c292f37038abe3
Fixed |
I've encountered a crash in the TP5
QWebView
with a HiDPI display by trying to add afilter: invert();
CSS.The full backtrace of an example app is available at http://pastebin.com/4QFFD2nR and the example app is available at http://pastebin.com/cNwjAgZU
It doesn't happen if
AA_EnableHighDpiScaling
is not enabled.Excerpt from the traceback:
The text was updated successfully, but these errors were encountered: