Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.1, 5.7.0
-
None
-
Debian GNU/Linux experimental s390x
Description
Minimal code:
#include <QtGui/QGuiApplication> #include <QtQml/QQmlEngine> int main(int argc, char **argv) { QGuiApplication app(argc, argv); QQmlEngine engine; Q_UNUSED(app); Q_UNUSED(engine); }
This results in a segmentation fault on s390x (IBM S/390) platform:
#0 0x000003fffd8d23a0 in QV4::Value::as<QV4::Object> (this=<optimized out>) at ../../include/QtQml/5.7.0/QtQml/private/../../../../../src/qml/jsruntime/qv4managed_p.h:198 No locals. #1 QV4::Scoped<QV4::Object>::operator= (v=..., this=<synthetic pointer>) at jsruntime/qv4scopedvalue_p.h:270 No locals. #2 freeze_recursive (v4=v4@entry=0x8004c4e0, object=object@entry=0x3fff8827328) at qml/v8/qv8engine.cpp:233 i = 2 scope = {engine = <optimized out>, mark = 0x3fff8827330} instanceOfObject = <optimized out> p = {ptr = 0x3fff8827330} frozen = 0x80070470 #3 0x000003fffd8d242e in freeze_recursive (v4=0x8004c4e0, object=object@entry=0x3fff8827318) at qml/v8/qv8engine.cpp:235 i = 0 scope = {engine = <optimized out>, mark = 0x3fff8827320} instanceOfObject = <optimized out> p = {ptr = 0x3fff8827320} frozen = 0x8006ff70 #4 0x000003fffd8d31ec in QV8Engine::freezeObject (this=<optimized out>, value=...) at qml/v8/qv8engine.cpp:243 No locals. #5 0x000003fffd81c5aa in QQmlEnginePrivate::init (this=<optimized out>) at qml/qqmlengine.cpp:875 No locals. #6 0x000003fffd81c9e6 in QQmlEngine::QQmlEngine (this=0x3fffffff398, parent=0x0) at qml/qqmlengine.cpp:928 No locals. #7 0x0000000080000a6a in main (argc=1, argv=0x3fffffff5e8) at test.cpp:6 app = <incomplete type> engine = {<QJSEngine> = {<QObject> = {<No data fields>}, static staticMetaObject = {d = { superdata = 0x3fffd3eb6e0 <QObject::staticMetaObject>, stringdata = 0x3fffd940ab8 <qt_meta_stringdata_QJSEngine>, data = 0x3fffd940a7c <qt_meta_data_QJSEngine>, static_metacall = 0x3fffd716f68 <QJSEngine::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x8004c150}, static staticMetaObject = {d = {superdata = 0x3fffda01010 <QJSEngine::staticMetaObject>, stringdata = 0x3fffd987110 <qt_meta_stringdata_QQmlEngine>, data = 0x3fffd98708c <qt_meta_data_QQmlEngine>, static_metacall = 0x3fffd929190 <QQmlEngine::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}