Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-5075

Using the qml debugging feature makes the application receives a SIGABRT when using a qml list of components

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • Qt Creator 2.1.0, Qt Creator 2.2.0
    • Quick / QML Support
    • None
    • PC Ubuntu
    • f9d3db47f1b099d85c61a215e6479b4b3ca81ee0

    Description

      When using this list of element, the attached application crashes only if the debugger is launched with the qml debugging activated:

          property list<ModelElement> appModel: [
              ModelElement { icon: "/icons/home/track.png"; }
          ]
      

      This works(<ModelElement> has been replaced by <QtObject>):

            property list<QtObject> appModel: [
              ModelElement { icon: "/icons/home/track.png"; }
          ]
      

      Here is the call stack:

      0	__kernel_vsyscall		0	0x12e416	
      1	raise	/lib/libc.so.6	0	0x1a8a941	
      2	abort	/lib/libc.so.6	0	0x1a8de42	
      3	??	/lib/libc.so.6	0	0x1ac2305	
      4	??	/lib/libc.so.6	0	0x1acc501	
      5	??	/lib/libc.so.6	0	0x1acdd70	
      6	free	/lib/libc.so.6	0	0x1ad0e5d	
      7	operator delete(void*)	/usr/lib/libstdc++.so.6	0	0x19dd441	
      8	voidptr_destructor	qdeclarativeengine.cpp	2144	0x2e61c0	
      9	QMetaType::destroy	qmetatype.cpp	1396	0x17a9785	
      10	clear	qvariant.cpp	286	0x17c17b6	
      11	clear	qguivariant.cpp	280	0xb54291	
      12	QVariant::~QVariant	qvariant.cpp	1408	0x17c4f84	
      13	QDeclarativeEngineDebugServer::propertyData	qdeclarativeenginedebug.cpp	163	0x35847a	
      14	QDeclarativeEngineDebugServer::buildObjectDump	qdeclarativeenginedebug.cpp	257	0x358c55	
      15	QDeclarativeEngineDebugServer::messageReceived	qdeclarativeenginedebug.cpp	400	0x359936	
      16	QDeclarativeDebugServer::receiveMessage	qdeclarativedebugserver.cpp	298	0x3f87b5	
      17	QTcpServerConnection::readyRead	qtcpserverconnection.cpp	149	0x1f4fb38	
      18	QTcpServerConnection::qt_metacall	moc_qtcpserverconnection.cpp	78	0x1f500fd	
      19	QMetaObject::metacall	qmetaobject.cpp	237	0x17a1c3e	
      20	QMetaObject::activate	qobject.cpp	3278	0x17b5f80	
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cjanssen Christiaan Janssen (Inactive)
            agroyer Anthony Groyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes