Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.14.1
-
df93624cc31e9da29532eed1d86c9f172575355a (qt/qtwebview/5.14)
Description
WebView seems to crash when WebEngine backend is used and httpUserAgent is set to anything
Invalid read of size 8 in main in /home/jopoikel/work/tests/untitled2/main.cpp:11 Address 0x10 is not stack'd, malloc'd or (recently) free'd 1: QQuickWebEngineProfile::setHttpUserAgent(QString const&) in /home/jopoikel/Qt/5.14.1/gcc_64/lib/libQt5WebEngine.so.5.14.1 2: QWebEngineWebViewPrivate::setHttpUserAgent(QString const&) in /home/jopoikel/Qt/5.14.1/gcc_64/plugins/webview/libqtwebview_webengine.so 3: QQuickWebView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) in /home/jopoikel/Qt/5.14.1/gcc_64/lib/libQt5WebView.so.5.14.1 4: QQmlPropertyData::writeProperty(QObject*, void*, QFlags<QQmlPropertyData::WriteFlag>) const in /home/jopoikel/Qt/5.14.1/gcc_64/lib/libQt5Qml.so.5.14.1 5: QQmlObjectCreator::setPropertyValue(QQmlPropertyData const*, QV4::CompiledData::Binding const*) in /home/jopoikel/Qt/5.14.1/gcc_64/lib/libQt5Qml.so.5.14.1 6: QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*, QV4::CompiledData::Binding const*) in /home/jopoikel/Qt/5.14.1/gcc_64/lib/libQt5Qml.so.5.14.1 7: QQmlObjectCreator::setupBindings(bool) in /home/jopoikel/Qt/5.14.1/gcc_64/lib/libQt5Qml.so.5.14.1 8: QQmlObjectCreator::populateInstance(int, QObject*, QObject*, QQmlPropertyData const*) in /home/jopoikel/Qt/5.14.1/gcc_64/lib/libQt5Qml.so.5.14.1 9: QQmlObjectCreator::createInstance(int, QObject*, bool) in /home/jopoikel/Qt/5.14.1/gcc_64/lib/libQt5Qml.so.5.14.1 10: QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*, QV4::CompiledData::Binding const*) in /home/jopoikel/Qt/5.14.1/gcc_64/lib/libQt5Qml.so.5.14.1 11: QQmlObjectCreator::setupBindings(bool) in /home/jopoikel/Qt/5.14.1/gcc_64/lib/libQt5Qml.so.5.14.1 12: QQmlObjectCreator::populateInstance(int, QObject*, QObject*, QQmlPropertyData const*) in /home/jopoikel/Qt/5.14.1/gcc_64/lib/libQt5Qml.so.5.14.1 13: QQmlObjectCreator::createInstance(int, QObject*, bool) in /home/jopoikel/Qt/5.14.1/gcc_64/lib/libQt5Qml.so.5.14.1 14: QQmlObjectCreator::create(int, QObject*, QQmlInstantiationInterrupt*) in /home/jopoikel/Qt/5.14.1/gcc_64/lib/libQt5Qml.so.5.14.1 15: QQmlComponentPrivate::beginCreate(QQmlContextData*) in /home/jopoikel/Qt/5.14.1/gcc_64/lib/libQt5Qml.so.5.14.1 16: QQmlComponentPrivate::doBeginCreate(QQmlComponent*, QQmlContext*) in /home/jopoikel/Qt/5.14.1/gcc_64/lib/libQt5Qml.so.5.14.1 17: QQmlComponent::create(QQmlContext*) in /home/jopoikel/Qt/5.14.1/gcc_64/lib/libQt5Qml.so.5.14.1 18: QQmlApplicationEnginePrivate::finishLoad(QQmlComponent*) in /home/jopoikel/Qt/5.14.1/gcc_64/lib/libQt5Qml.so.5.14.1 19: QQmlApplicationEnginePrivate::startLoad(QUrl const&, QByteArray const&, bool) in /home/jopoikel/Qt/5.14.1/gcc_64/lib/libQt5Qml.so.5.14.1 20: QQmlApplicationEngine::load(QUrl const&) in /home/jopoikel/Qt/5.14.1/gcc_64/lib/libQt5Qml.so.5.14.1 21: main in /home/jopoikel/work/tests/untitled2/main.cpp:11
Attachments
For Gerrit Dashboard: QTBUG-82778 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
294516,2 | Set the httpUserAgent after the component has been completed | 5.14 | qt/qtwebview | Status: MERGED | +2 | 0 |