Control: affects -1 - libqt5webengine5
Control: reassign -1 libqt5webengine5 5.11.1+dfsg-5

On Thu, Oct 04, 2018 at 02:07:08PM -0400, Boyuan Yang wrote:
> Dear Debian Qt/KDE maintainers and pyqt5.qtwebengine maintainers,
>
> Current QtWebEngine in Debian Unstable would easily crash. That
> happens after recent upgrade of libkf5.
>
> For example, run the following script under python3:
> [...]

I am able to reproduce this with a pure C++ test case (attached).
So this is a bug in Qt WebEngine itself, not in the Python bindings.

Stacktrace with dbgsym packages installed:

#0  0x00007ffff7fb1604 in 
QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget::createLayer() () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineWidgets.so.5
#1  0x00007ffff1bfe660 in 
QtWebEngineCore::DelegatedFrameNode::commit(QtWebEngineCore::ChromiumCompositorData*,
 std::vector<viz::ReturnedResource, std::allocator<viz::ReturnedResource> >*, 
QtWebEngineCore::RenderWidgetHostViewQtDelegate*) ()
    from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#2  0x00007ffff1c2ee3c in 
QtWebEngineCore::RenderWidgetHostViewQt::updatePaintNode(QSGNode*) () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#3  0x00007ffff1220500 in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) () 
at items/qquickwindow.cpp:3439
#4  0x00007ffff1220963 in QQuickWindowPrivate::updateDirtyNodes 
(this=this@entry=0x555556656840) at items/qquickwindow.cpp:3184
#5  0x00007ffff1221e22 in QQuickWindowPrivate::syncSceneGraph 
(this=0x555556656840) at items/qquickwindow.cpp:431
#6  0x00007ffff12dde49 in QQuickRenderControl::sync (this=<optimized out>) at 
items/qquickrendercontrol.cpp:286
#7  0x00007fffef9950c6 in QQuickWidgetPrivate::render(bool) () at 
qquickwidget.cpp:285
#8  0x00007fffef9952a6 in QQuickWidgetPrivate::renderSceneGraph() () at 
qquickwidget.cpp:339
#9  0x00007ffff01da03b in QObject::event(QEvent*) () at kernel/qobject.cpp:1232
#10 0x00007ffff7a4fc6b in QWidget::event (this=this@entry=0x5555565b5320, 
event=event@entry=0x7fffffffdf20) at kernel/qwidget.cpp:9347
#11 0x00007fffef998e2d in QQuickWidget::event (this=0x5555565b5320, 
e=0x7fffffffdf20) at qquickwidget.cpp:1525
#12 0x00007ffff7fb1bf0 in 
QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget::event(QEvent*) () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineWidgets.so.5
#13 0x00007ffff7a114a1 in QApplicationPrivate::notify_helper 
(this=this@entry=0x55555555a680, receiver=receiver@entry=0x5555565b5320, 
e=e@entry=0x7fffffffdf20)
    at kernel/qapplication.cpp:3727
#14 0x00007ffff7a18ae0 in QApplication::notify(QObject*, QEvent*) () at 
kernel/qapplication.cpp:3486
#15 0x00007ffff01b0589 in QCoreApplication::notifyInternal2(QObject*, QEvent*) 
() at 
../../include/QtCore/5.11.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#16 0x00007ffff0201648 in QCoreApplication::sendEvent (event=0x7fffffffdf20, 
receiver=<optimized out>) at 
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#17 QTimerInfoList::activateTimers() () at kernel/qtimerinfo_unix.cpp:643
#18 0x00007ffff0201ea4 in timerSourceDispatch (source=<optimized out>) at 
kernel/qeventdispatcher_glib.cpp:182
#19 0x00007fffef8aac3e in g_main_dispatch (context=0x7fffd8004ff0) at 
../../../../glib/gmain.c:3182
#20 g_main_context_dispatch (context=context@entry=0x7fffd8004ff0) at 
../../../../glib/gmain.c:3847
#21 0x00007fffef8aaed8 in g_main_context_iterate 
(context=context@entry=0x7fffd8004ff0, block=block@entry=1, 
dispatch=dispatch@entry=1, self=<optimized out>)
    at ../../../../glib/gmain.c:3920
#22 0x00007fffef8aaf6c in g_main_context_iteration (context=0x7fffd8004ff0, 
may_block=may_block@entry=1) at ../../../../glib/gmain.c:3981
#23 0x00007ffff0202233 in QEventDispatcherGlib::processEvents 
(this=0x5555555d1ff0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#24 0x00007fffe0955ee1 in QPAEventDispatcherGlib::processEvents 
(this=0x5555555d1ff0, flags=...) at qeventdispatcher_glib.cpp:69
#25 0x00007ffff01af25b in 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at 
../../include/QtCore/../../src/corelib/global/qflags.h:140
#26 0x00007ffff01b73d2 in QCoreApplication::exec() () at 
../../include/QtCore/../../src/corelib/global/qflags.h:120
#27 0x0000555555555318 in main (argc=2, argv=0x7fffffffe3a8) at test.cpp:14

--
Dmitry Shachnev
#include <QtWidgets/QApplication>
#include <QtWidgets/QMainWindow>
#include <QtWebEngineWidgets/QWebEngineView>
#include <QtCore/QUrl>

int main(int argc, char **argv) {
    QApplication app(argc, argv);
    QMainWindow window;
    QWebEngineView view;
    view.load(QUrl("http://leafletjs.com/";)); // error here
    window.setCentralWidget(&view);
    window.show();
    return app.exec();
}

Attachment: signature.asc
Description: PGP signature

Reply via email to