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

crash when editing QML file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • None
    • None
    • Quick / QML Support
    • None

    Description

      When editing a qml file (trying to add a 'target' property at the front of a NumberAnimation, text when it crashed looked like NumberAnimation

      { tproperties: ...}

      ) Qt creator crashed.

      (gdb) bt
      #0 erase (this=0xdf6840, fileName=<value optimized out>)
      at /home/aalpert/build/qt/qt-qml/include/QtCore/../../../../../depot/qt/qt-qml/src/corelib/tools/qhash.h:834
      #1 remove (this=0xdf6840, fileName=<value optimized out>)
      at /home/aalpert/build/qt/qt-qml/include/QtCore/../../../../../depot/qt/qt-qml/src/corelib/tools/qhash.h:1013
      #2 QmlJS::Snapshot::remove (this=0xdf6840, fileName=<value optimized out>)
      at /home/aalpert/depot/creator/mainline/src/libs/qmljs/qmljsdocument.cpp:272
      #3 0x00007fffe1ae5900 in QmlJS::Snapshot::insert (this=0xdf6840, document=...)
      at /home/aalpert/depot/creator/mainline/src/libs/qmljs/qmljsdocument.cpp:257
      #4 0x00007fffe1d81acf in QmlJSEditor::Internal::ModelManager::onDocumentUpdated (this=
      0xdf6820, doc=...)
      at /home/aalpert/depot/creator/mainline/src/plugins/qmljseditor/qmljsmodelmanager.cpp:187
      #5 0x00007fffe1d8a367 in QmlJSEditor::Internal::ModelManager::qt_metacall (this=0xdf6820, _c=
      InvokeMetaMethod, _id=2, _a=0x7fffc8028750)
      at .moc/debug-shared/moc_qmljsmodelmanager.cpp:83
      #6 0x00007ffff6279953 in QMetaObject::metacall (object=0xdf6820, cl=InvokeMetaMethod, idx=9,
      argv=0x7fffc8028750)
      at /home/aalpert/depot/qt/qt-qml/src/corelib/kernel/qmetaobject.cpp:237
      #7 0x00007ffff6289440 in QMetaCallEvent::placeMetaCall (this=0x7fffc80af690, object=0xdf6820)
      at /home/aalpert/depot/qt/qt-qml/src/corelib/kernel/qobject.cpp:534
      #8 0x00007ffff628a72d in QObject::event (this=0xdf6820, e=0x7fffc80af690)
      at /home/aalpert/depot/qt/qt-qml/src/corelib/kernel/qobject.cpp:1211
      #9 0x00007ffff6bd265a in QApplicationPrivate::notify_helper (this=0x6130b0, receiver=
      0xdf6820, e=0x7fffc80af690)
      at /home/aalpert/depot/qt/qt-qml/src/gui/kernel/qapplication.cpp:4358
      #10 0x00007ffff6bcfaf8 in QApplication::notify (this=0x7fffffffd590, receiver=0xdf6820, e=
      0x7fffc80af690) at /home/aalpert/depot/qt/qt-qml/src/gui/kernel/qapplication.cpp:3762
      #11 0x00007ffff62714c6 in QCoreApplication::notifyInternal (this=0x7fffffffd590, receiver=
      0xdf6820, event=0x7fffc80af690)
      at /home/aalpert/depot/qt/qt-qml/src/corelib/kernel/qcoreapplication.cpp:732
      #12 0x00007ffff6bc2b6b in QCoreApplication::sendEvent (receiver=0xdf6820, event=
      --Type <return> to continue, or q <return> to quit--
      0x7fffc80af690)
      at ../../include/QtCore/../../../../../depot/qt/qt-qml/src/corelib/kernel/qcoreapplication.h:215
      #13 0x00007ffff6272738 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=
      0, data=0x613250)
      at /home/aalpert/depot/qt/qt-qml/src/corelib/kernel/qcoreapplication.cpp:1373
      #14 0x00007ffff6272353 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0)
      at /home/aalpert/depot/qt/qt-qml/src/corelib/kernel/qcoreapplication.cpp:1266
      #15 0x00007ffff6ca078f in QCoreApplication::sendPostedEvents ()
      at ../../include/QtCore/../../../../../depot/qt/qt-qml/src/corelib/kernel/qcoreapplication.h:220
      #16 0x00007ffff62ab255 in postEventSourceDispatch (s=0x618020)
      at /home/aalpert/depot/qt/qt-qml/src/corelib/kernel/qeventdispatcher_glib.cpp:276
      #17 0x000000318fe3923e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
      #18 0x000000318fe3cc28 in ?? () from /lib64/libglib-2.0.so.0
      #19 0x000000318fe3cd4a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
      #20 0x00007ffff62abb3b in QEventDispatcherGlib::processEvents (this=0x614610, flags=...)
      at /home/aalpert/depot/qt/qt-qml/src/corelib/kernel/qeventdispatcher_glib.cpp:412
      #21 0x00007ffff6cace6a in QGuiEventDispatcherGlib::processEvents (this=0x614610, flags=...)
      at /home/aalpert/depot/qt/qt-qml/src/gui/kernel/qguieventdispatcher_glib.cpp:204
      #22 0x00007ffff626eefc in QEventLoop::processEvents (this=0x7fffffffd490, flags=...)
      at /home/aalpert/depot/qt/qt-qml/src/corelib/kernel/qeventloop.cpp:149
      #23 0x00007ffff626f052 in QEventLoop::exec (this=0x7fffffffd490, flags=...)
      at /home/aalpert/depot/qt/qt-qml/src/corelib/kernel/qeventloop.cpp:201
      #24 0x00007ffff6271bc2 in QCoreApplication::exec ()
      at /home/aalpert/depot/qt/qt-qml/src/corelib/kernel/qcoreapplication.cpp:1009
      #25 0x00007ffff6bcf66a in QApplication::exec ()
      at /home/aalpert/depot/qt/qt-qml/src/gui/kernel/qapplication.cpp:3637
      #26 0x000000000040a958 in main (argc=1, argv=0x7fffffffddb8)
      at /home/aalpert/depot/creator/mainline/src/app/main.cpp:319

      This was a creator built from source (master) against Qt 4.7, creator HEAD revision was e07c34017e5fd9d9a9cb929c284be9004dd74b95

      Attachments

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

        Activity

          People

            ckamm Christian Kamm
            aalpert-nokia Alan Alpert (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes