Skip to content

QWebFrame::render SIGSEGV with HiDPI + filter CSS #461

@jmymay

Description

@jmymay

I've encountered a crash in the TP5 QWebView with a HiDPI display by trying to add a filter: 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:

#0  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:242
#1  0x00007ffff6101a96 in WebCore::FilterEffect::copyUnmultipliedImage(JSC::GenericTypedArrayView<JSC::Uint8ClampedAdaptor>*, WebCore::IntRect const&) () from /home/jkozera/Qt/5.8/gcc_64/lib/libQt5WebKit.so.5
#2  0x00007ffff60fd3d1 in WebCore::FEComponentTransfer::platformApplySoftware() () from /home/jkozera/Qt/5.8/gcc_64/lib/libQt5WebKit.so.5
#3  0x00007ffff61014df in WebCore::FilterEffect::apply() () from /home/jkozera/Qt/5.8/gcc_64/lib/libQt5WebKit.so.5
(...)
#13 0x00007ffff4f24cef in QWebFrameAdapter::renderRelativeCoords(QPainter*, int, QRegion const&) ()
   from /home/jkozera/Qt/5.8/gcc_64/lib/libQt5WebKit.so.5
#14 0x00007ffff7fce82e in QWebFrame::render(QPainter*, QFlags<QWebFrame::RenderLayer>, QRegion const&) ()
(...)
#37 0x00007fffee801b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffff3a3dcbf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/jkozera/Qt/5.8/gcc_64/lib/libQt5Core.so.5
#39 0x00007ffff39eb9ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/jkozera/Qt/5.8/gcc_64/lib/libQt5Core.so.5
#40 0x00007ffff39f39f4 in QCoreApplication::exec() () from /home/jkozera/Qt/5.8/gcc_64/lib/libQt5Core.so.5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions