Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
5.9.4, 5.12.1
-
None
Description
I have seen the following on desktop Linux with Qt 5.12.1 and on Boot2Qt with iMX6 with Qt 5.9.4 on Boundary Devices. This is in custom application, but at least on Desktop Linux I see it with the Minibrowser example application as well.
QQmlComponent: Component is not ready QObject::connect: invalid null parameter QObject::connect: invalid null parameter QObject::connect: invalid null parameter QObject::connect: invalid null parameter Thread 1 "app" received signal SIGSEGV, Segmentation fault. 0x76e11a64 in QQuickItem::setParentItem(QQuickItem*) () from /usr/lib/libQt5Quick.so.5 (gdb) bt #0 0x76e11a64 in QQuickItem::setParentItem(QQuickItem*) () from /usr/lib/libQt5Quick.so.5 #1 0x71714c1c in QWebEngineWebViewPrivate::QQuickWebEngineViewPtr::init (this=this@entry=0xcafa0) at /usr/src/debug/qtwebview/5.9.4+gitAUTOINC+e00b5892ac-r0/git/src/webview/qwebview_webengine.cpp:232 #2 0x71714d40 in QWebEngineWebViewPrivate::QQuickWebEngineViewPtr::operator-> (this=0xcafa0) at /usr/src/debug/qtwebview/5.9.4+gitAUTOINC+e00b5892ac-r0/git/src/webview/qwebview_webengine_p.h:109 #3 QWebEngineWebViewPrivate::setUrl (this=0xcaf90, url=...) at /usr/src/debug/qtwebview/5.9.4+gitAUTOINC+e00b5892ac-r0/git/src/webview/qwebview_webengine.cpp:91 #4 0x71715ae0 in QQuickWebView::qt_static_metacall (_o=0xcc320, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qquickwebview_p.cpp:278 #5 0x761e1f1c in ?? () from /usr/lib/libQt5Qml.so.5
Here is the backtrace I see on Desktop Linux with X11 and Qt 5.12.1 running the minibrowser example:
1 QQuickItem::setParentItem(QQuickItem *) 0x7ffff5514931 2 QWebEngineWebViewPrivate::QQuickWebEngineViewPtr::init() const 0x7fffec9b745f 3 QWebEngineWebViewPrivate::parentView() const 0x7fffec9b79e5 4 QQuickViewController::onWindowChanged(QQuickWindow *) 0x7ffff7bcada1 5 QMetaObject::activate(QObject *, int, int, void * *) 0x7ffff6804bd6 6 QQuickItem::windowChanged(QQuickWindow *) 0x7ffff5501cc2 7 QQuickItemPrivate::refWindow(QQuickWindow *) 0x7ffff55142d0 8 QQuickItem::setParentItem(QQuickItem *) 0x7ffff5514c0d 9 QQuickItemPrivate::data_append(QQmlListProperty<QObject> *, QObject *) 0x7ffff5515247 10 QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const *, QV4::CompiledData::Binding const *) 0x7ffff6fe6fdd 11 QQmlObjectCreator::setupBindings(bool) 0x7ffff6fe796e 12 QQmlObjectCreator::populateInstance(int, QObject *, QObject *, QQmlPropertyData const *) 0x7ffff6fe4986 13 QQmlObjectCreator::createInstance(int, QObject *, bool) 0x7ffff6fe505e 14 QQmlObjectCreator::create(int, QObject *, QQmlInstantiationInterrupt *) 0x7ffff6fe838e 15 QQmlComponentPrivate::beginCreate(QQmlContextData *) 0x7ffff6f6af2b 16 QQmlComponent::create(QQmlContext *) 0x7ffff6f68a89 17 QQmlApplicationEnginePrivate::finishLoad(QQmlComponent *) 0x7ffff6fda0eb 18 QQmlApplicationEnginePrivate::startLoad(QUrl const&, QByteArray const&, bool) 0x7ffff6fda36e 19 QQmlApplicationEngine::load(QUrl const&) 0x7ffff6fda39d 20 main main.cpp 115 0x555555557036 ... <More>