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

Q_ASSERT() in FlatModel::added when opening qtcreator.qbs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 3.3.0-beta1
    • Qt Creator 3.3.0-beta1
    • Ubuntu 14.04, 64 Bit
      Qt Creator from master (commit f9f5fdcf2b6563d5bbbf61a1a5987bf28cc67825)
    • 06615843df1541e67686f6a016f0c81e154c1869

    Description

      I can reproduce this reliably by running Qt Creator based on master (commit f9f5fdcf2b6563d5bbbf61a1a5987bf28cc67825) and opening qtcreator.qbs from its sources.

      Thread 1 (Thread 0x7ffff7fc67c0 (LWP 6865)):
      #0  0x00007ffff475bf89 in raise () from /lib/x86_64-linux-gnu/libc.so.6
      No symbol table info available.
      #1  0x00007ffff475f398 in abort () from /lib/x86_64-linux-gnu/libc.so.6
      No symbol table info available.
      #2  0x00007ffff58e7495 in QMessageLogger::fatal(char const*, ...) const () from /home/nik/usr/qt-5.3.1/lib/libQt5Core.so.5
      No symbol table info available.
      #3  0x00007ffff58e23a4 in qt_assert(char const*, char const*, int) () from /home/nik/usr/qt-5.3.1/lib/libQt5Core.so.5
      No symbol table info available.
      #4  0x00007fffe21fa4a9 in ProjectExplorer::Internal::FlatModel::added (this=0x10a2740, parentNode=0x1531550, newNodeList=...) at /home/nik/dev/creator/creator-master/src/plugins/projectexplorer/projectmodels.cpp:616
              parentIndex = {r = 0, c = 0, i = 22222160, m = 0x10a2740}
              it = {i = 0x1040880}
              oldNodeList = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x17aaf60}, d = 0x17aaf60}}
              oldIter = {i = 0x17aaf70}
              newIter = {i = 0x17aa820}
              emptyDifference = {q_hash = {{d = 0x17ab4e0, e = 0x17ab4e0}}}
      #5  0x00007fffe21fba3c in ProjectExplorer::Internal::FlatModel::foldersAdded (this=0x10a2740) at /home/nik/dev/creator/creator-master/src/plugins/projectexplorer/projectmodels.cpp:800
              folderNode = 0x1531550
              newNodeList = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x17aa810}, d = 0x17aa810}}
      #6  0x00007fffe23088c4 in ProjectExplorer::Internal::FlatModel::qt_static_metacall (_o=0x10a2740, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fffffffc050) at .moc/debug-shared/moc_projectmodels.cpp:143
              _t = 0x10a2740
      #7  0x00007ffff5b4e2be in QMetaObject::activate(QObject*, int, int, void**) () from /home/nik/usr/qt-5.3.1/lib/libQt5Core.so.5
      No symbol table info available.
      #8  0x00007fffe23048eb in ProjectExplorer::NodesWatcher::foldersAdded (this=0x10a1770) at .moc/debug-shared/moc_projectnodes.cpp:809
      No locals.
      #9  0x00007fffe21d7791 in ProjectExplorer::FolderNode::addFolderNodes (this=0x17a7e30, subFolders=...) at /home/nik/dev/creator/creator-master/src/plugins/projectexplorer/projectnodes.cpp:472
              watcher = 0x10a1770
              _container_ = {c = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x16dfd80}, d = 0x16dfd80}}, brk = 0, i = {i = 0x16dfd90}, e = {i = 0x16dfda0}}
              pn = 0x1531550
      #10 0x00007fffd45dcca1 in QbsProjectManager::Internal::QbsGroupNode::setupFolder (root=0x17a7e30, fileTree=0x17aa160, baseDir=..., updateExisting=false) at /home/nik/dev/creator/creator-master/src/plugins/qbsprojectmanager/qbsnodes.cpp:527
              fn = 0x17aa940
              path = {static null = {<No data fields>}, d = 0x17aa8b0}
              c = 0x17aa730
              _container_ = {c = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x17aa190}, d = 0x17aa190}}, brk = 0, i = {i = 0x17aa1a0}, e = {i = 0x17aa1b0}}
              filesToRemove = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7ffff5bd3db0 <QListData::shared_null>}, d = 0x7ffff5bd3db0 <QListData::shared_null>}}
              filesToAdd = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7ffff5bd3db0 <QListData::shared_null>}, d = 0x7ffff5bd3db0 <QListData::shared_null>}}
              foldersToRemove = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7ffff5bd3db0 <QListData::shared_null>}, d = 0x7ffff5bd3db0 <QListData::shared_null>}}
      #11 0x00007fffd45dce22 in QbsProjectManager::Internal::QbsGroupNode::setupFolder (root=0x16464d0, fileTree=0x7fffffffc930, baseDir=..., updateExisting=false) at /home/nik/dev/creator/creator-master/src/plugins/qbsprojectmanager/qbsnodes.cpp:535
              fn = 0x17a7e30
              path = {static null = {<No data fields>}, d = 0x17a8370}
              c = 0x17aa160
              _container_ = {c = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x17aa760}, d = 0x17aa760}}, brk = 0, i = {i = 0x17aa788}, e = {i = 0x17aa7a0}}
              filesToRemove = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7ffff5bd3db0 <QListData::shared_null>}, d = 0x7ffff5bd3db0 <QListData::shared_null>}}
              filesToAdd = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7ffff5bd3db0 <QListData::shared_null>}, d = 0x7ffff5bd3db0 <QListData::shared_null>}}
              foldersToRemove = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7ffff5bd3db0 <QListData::shared_null>}, d = 0x7ffff5bd3db0 <QListData::shared_null>}}
      #12 0x00007fffd45dc22b in QbsProjectManager::Internal::QbsGroupNode::setupFiles (root=0x16464d0, files=..., productPath=..., updateExisting=false) at /home/nik/dev/creator/creator-master/src/plugins/qbsprojectmanager/qbsnodes.cpp:468
              tree = {children = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x17aa760}, d = 0x17aa760}}, parent = 0x0, name = {static null = {<No data fields>}, d = 0x7ffff5bd17a0 <QArrayData::shared_null>}, m_isFile = false}
      #13 0x00007fffd45e0bb5 in QbsProjectManager::Internal::QbsRootProjectNode::update (this=0x1531550) at /home/nik/dev/creator/creator-master/src/plugins/qbsprojectmanager/qbsnodes.cpp:826
              buildSystemFiles = {<QList<QString>> = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x17ac660}, d = 0x17ac660}}, <No data fields>}
              projectBuildSystemFiles = {<QList<QString>> = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x17aa0a0}, d = 0x17aa0a0}}, <No data fields>}
              base = {<QString> = {static null = {<No data fields>}, d = 0x17aa300}, <No data fields>}
      #14 0x00007fffd45edcff in QbsProjectManager::Internal::QbsProject::readQbsData (this=0x1613550) at /home/nik/dev/creator/creator-master/src/plugins/qbsprojectmanager/qbsproject.cpp:452
              project = {d = {d = 0x7fffffffcb20}}
              data = {d = {d = 0x7fffffffcac0}}
      #15 0x00007fffd45ed781 in QbsProjectManager::Internal::QbsProject::handleQbsParsingDone (this=0x1613550, success=true) at /home/nik/dev/creator/creator-master/src/plugins/qbsprojectmanager/qbsproject.cpp:383
              projectData = @0x7fffffffcb20: {d = {d = 0x1045fc0}}
              cancelStatus = QbsProjectManager::Internal::QbsProject::CancelStatusNone
      #16 0x00007fffd460d848 in QbsProjectManager::Internal::QbsProject::qt_static_metacall (_o=0x1613550, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fffffffccf0) at .moc/debug-shared/moc_qbsproject.cpp:115
              _t = 0x1613550
      #17 0x00007ffff5b4e2be in QMetaObject::activate(QObject*, int, int, void**) () from /home/nik/usr/qt-5.3.1/lib/libQt5Core.so.5
      No symbol table info available.
      #18 0x00007fffd460ea1d in QbsProjectManager::Internal::QbsProjectParser::done (this=0x14923c0, _t1=true) at .moc/debug-shared/moc_qbsprojectparser.cpp:146
              _a = {0x0, 0x7fffffffcd07}
      #19 0x00007fffd4602021 in QbsProjectManager::Internal::QbsProjectParser::handleQbsParsingDone (this=0x14923c0, success=true) at /home/nik/dev/creator/creator-master/src/plugins/qbsprojectmanager/qbsprojectparser.cpp:139
      No locals.
      #20 0x00007fffd460e900 in QbsProjectManager::Internal::QbsProjectParser::qt_static_metacall (_o=0x14923c0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffffffcf20) at .moc/debug-shared/moc_qbsprojectparser.cpp:89
              _t = 0x14923c0
      #21 0x00007ffff5b4e2be in QMetaObject::activate(QObject*, int, int, void**) () from /home/nik/usr/qt-5.3.1/lib/libQt5Core.so.5
      No symbol table info available.
      #22 0x00007fffd42a9071 in qbs::AbstractJob::finished (this=0x1621570, _t1=true, _t2=0x1621570) at moc_jobs.cpp:242
              _a = {0x0, 0x7fffffffcf47, 0x7fffffffcf38}
      #23 0x00007fffd40e68d4 in qbs::AbstractJob::handleFinished (this=0x1621570) at /home/nik/dev/creator/creator-master/src/shared/qbs/src/lib/corelib/api/jobs.cpp:193
      No locals.
      #24 0x00007fffd42a8be0 in qbs::AbstractJob::qt_static_metacall (_o=0x1621570, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fffffffd150) at moc_jobs.cpp:116
              _t = 0x1621570
      #25 0x00007ffff5b4e2be in QMetaObject::activate(QObject*, int, int, void**) () from /home/nik/usr/qt-5.3.1/lib/libQt5Core.so.5
      No symbol table info available.
      #26 0x00007fffd42a765f in qbs::Internal::InternalJob::finished (this=0x15afae0, _t1=0x15afae0) at moc_internaljobs.cpp:160
              _a = {0x0, 0x7fffffffd160}
      #27 0x00007fffd40d049a in qbs::Internal::InternalJobThreadWrapper::handleFinished (this=0x15afae0) at /home/nik/dev/creator/creator-master/src/shared/qbs/src/lib/corelib/api/internaljobs.cpp:194
      No locals.
      #28 0x00007fffd42a79db in qbs::Internal::InternalJobThreadWrapper::qt_static_metacall (_o=0x15afae0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7ffefac406c0) at moc_internaljobs.cpp:238
              _t = 0x15afae0
      #29 0x00007ffff5b4ef56 in QObject::event(QEvent*) () from /home/nik/usr/qt-5.3.1/lib/libQt5Core.so.5
      No symbol table info available.
      #30 0x00007ffff6ef9bac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/nik/usr/qt-5.3.1/lib/libQt5Widgets.so.5
      No symbol table info available.
      #31 0x00007ffff6efec36 in QApplication::notify(QObject*, QEvent*) () from /home/nik/usr/qt-5.3.1/lib/libQt5Widgets.so.5
      No symbol table info available.
      #32 0x00007ffff5b1f375 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/nik/usr/qt-5.3.1/lib/libQt5Core.so.5
      No symbol table info available.
      #33 0x00007ffff5b211c7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /home/nik/usr/qt-5.3.1/lib/libQt5Core.so.5
      No symbol table info available.
      #34 0x00007ffff5b76c13 in ?? () from /home/nik/usr/qt-5.3.1/lib/libQt5Core.so.5
      No symbol table info available.
      #35 0x00007ffff28cfe04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      No symbol table info available.
      #36 0x00007ffff28d0048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      No symbol table info available.
      #37 0x00007ffff28d00ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      No symbol table info available.
      #38 0x00007ffff5b7608c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/nik/usr/qt-5.3.1/lib/libQt5Core.so.5
      No symbol table info available.
      #39 0x00007ffff5b1d28b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/nik/usr/qt-5.3.1/lib/libQt5Core.so.5
      No symbol table info available.
      #40 0x00007ffff5b248e6 in QCoreApplication::exec() () from /home/nik/usr/qt-5.3.1/lib/libQt5Core.so.5
      No symbol table info available.
      #41 0x000000000040edd5 in main (argc=3, argv=0x7fffffffe418) at /home/nik/dev/creator/creator-master/src/app/main.cpp:535
              app = {<QApplication> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x7ffff7592c00 <QApplication::staticMetaObject>, stringdata = 0x415f70 <qt_meta_stringdata_SharedTools__QtSingleApplication>, data = 0x416100 <qt_meta_data_SharedTools__QtSingleApplication>, static_metacall = 0x414430 <SharedTools::QtSingleApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, firstPeer = 24261, instances = 0x697bf0, pidPeer = 0x697fe0, actWin = 0x0, appId = {static null = {<No data fields>}, d = 0x61e600}, block = false}
              threadCount = 12
              settingsPath = {static null = {<No data fields>}, d = 0x698030}
              customPluginPaths = {<QList<QString>> = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7ffff5bd3db0 <QListData::shared_null>}, d = 0x7ffff5bd3db0 <QListData::shared_null>}}, <No data fields>}
              arguments = {<QList<QString>> = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x698ac0}, d = 0x698ac0}}, <No data fields>}
              it = {c = 0x7fffffffe260, i = {i = 0x698ae0}, n = {i = 0x698ae0}}
              testOptionProvided = false
              settings = 0x697cd0
              globalSettings = 0x697cf0
              pluginManager = {<QObject> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x7ffff5f75f20 <QObject::staticMetaObject>, stringdata = 0x7ffff7bc5580 <qt_meta_stringdata_ExtensionSystem__PluginManager>, data = 0x7ffff7bc5750 <qt_meta_data_ExtensionSystem__PluginManager>, static_metacall = 0x7ffff7bc1860 <ExtensionSystem::PluginManager::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
              translator = <incomplete type>
              qtTranslator = <incomplete type>
              uiLanguages = {<QList<QString>> = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x69cfe0}, d = 0x69cfe0}}, <No data fields>}
              overrideLanguage = {static null = {<No data fields>}, d = 0x7ffff5bd17a0 <QArrayData::shared_null>}
              creatorTrPath = @0x7fffffffe070: {static null = {<No data fields>}, d = 0x6a41a0}
              proxyUrl = {d = 0x69c200}
              pluginPaths = {<QList<QString>> = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x6a4120}, d = 0x6a4120}}, <No data fields>}
              foundAppOptions = {d = 0x7ffff5c11040 <QMapDataBase::shared_null>}
              plugins = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x6d96b0}, d = 0x6d96b0}}
              coreplugin = 0x6beb30
              pid = -1
              isBlock = false
              r = 0
      

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            kosjar Nikolai Kosjar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes