Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.1, 4.7.3
-
None
-
35a36e91606eaf8374a2273cbb0101e0e614321e
Description
Debugging following snippet will crash the app:
import QtQuick 1.0 Item { property variant varList : [] // will be list of QDeclarativeItem* Item { id: item } Component.onCompleted: { var list = varList; list[0] = item; varList = list; } }
Stacktrace:
0 raise /lib64/libc.so.6 0 0x7ffff38959e5 1 abort /lib64/libc.so.6 0 0x7ffff3896ee6 2 qt_message_output qglobal.cpp 2282 0x7ffff4b5c288 3 qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) qglobal.cpp 2328 0x7ffff4b5c404 4 qFatal qglobal.cpp 2511 0x7ffff4b5cc72 5 qt_assert_x qglobal.cpp 2035 0x7ffff4b5be7b 6 QVariant::save qvariant.cpp 2035 0x7ffff4cb3d9c 7 operator<< qvariant.cpp 2062 0x7ffff4cb3e45 8 operator<< <QVariant> qdatastream.h 263 0x7ffff4c97064 9 QMetaType::save qmetatype.cpp 689 0x7ffff4c94de4 10 QVariant::save qvariant.cpp 2034 0x7ffff4cb3d76 11 operator<< qvariant.cpp 2062 0x7ffff4cb3e45 12 operator<< qdeclarativeenginedebug.cpp 96 0x7ffff79d30bc 13 QDeclarativeEngineDebugServer::buildObjectDump qdeclarativeenginedebug.cpp 253 0x7ffff79d3f24 14 QDeclarativeEngineDebugServer::messageReceived qdeclarativeenginedebug.cpp 441 0x7ffff79d4f5e 15 QDeclarativeDebugServer::receiveMessage qdeclarativedebugserver.cpp 298 0x7ffff7a73f9c 16 QTcpServerConnection::readyRead qtcpserverconnection.cpp 149 0x7fffecafd384 17 QTcpServerConnection::qt_metacall moc_qtcpserverconnection.cpp 78 0x7fffecafd8f7 18 QMetaObject::metacall qmetaobject.cpp 237 0x7ffff4c8e0bf 19 QMetaObject::activate qobject.cpp 3278 0x7ffff4ca319b 20 QPacketProtocol::readyRead moc_qpacketprotocol_p.cpp 88 0x7ffff7a94ddd
Attachments
Issue Links
- is required for
-
QTCREATORBUG-3769 Crashes while QML debugging (QmlObserver/QDeclarativeEngineDebugServer)
- Closed