IProjectFileManager::import and parse

Andras Mantia amantia at kde.org
Sat Jun 23 20:35:00 UTC 2007


On Saturday 23 June 2007, Roberto Raggi wrote:
> Of course, the  
> solution to the problem is trivial, we need a method for the "initial
>   import and setup" (i.e. import()) and a method for the incremental
> update (i.e. parse()).

I moved the code that creates the items (for all project files) into the import, 
but unfortunately this crashes the platform.
The code is the same as it was with import + parse, just combined into
one method (the import one).

#0  0x00002b03e5e55535 in raise () from /lib64/libc.so.6
#1  0x00002b03e5e56990 in abort () from /lib64/libc.so.6
#2  0x00002b03e5e8c6db in __libc_message () from /lib64/libc.so.6
#3  0x00002b03e5e918fe in malloc_printerr () from /lib64/libc.so.6
#4  0x00002b03e5e93c1e in _int_malloc () from /lib64/libc.so.6
#5  0x00002b03e5e95386 in malloc () from /lib64/libc.so.6
#6  0x00002b03e577cfcd in operator new () from /usr/lib64/libstdc++.so.6
#7  0x00002b03e3c8cd32 in ?? () from /opt/qt4/lib/libQtCore.so.4
#8  0x00002b03e3c65580 in QAbstractEventDispatcher::registerTimer () from /opt/qt4/lib/libQtCore.so.4
#9  0x00002b03e6e3276e in QTreeView::columnResized () from /opt/qt4/lib/libQtGui.so.4
#10 0x00002b03e6e3aced in QTreeView::qt_metacall () from /opt/qt4/lib/libQtGui.so.4
#11 0x00002b03f48a54f5 in KDevelop::ProjectTreeView::qt_metacall (this=0x7fe570, _c=QMetaObject::InvokeMetaMethod, _id=80, _a=0x7fffc7136b00)
    at /data/development/build/kde-trunk/kdevplatform/plugins/projectmanagerview/projecttreeview.moc:70
#12 0x00002b03e3c7dee6 in QMetaObject::activate () from /opt/qt4/lib/libQtCore.so.4
#13 0x00002b03e6e1053d in QHeaderView::sectionResized () from /opt/qt4/lib/libQtGui.so.4
#14 0x00002b03e6e16e7f in ?? () from /opt/qt4/lib/libQtGui.so.4
#15 0x00002b03e6e17e52 in QHeaderView::sectionsInserted () from /opt/qt4/lib/libQtGui.so.4
#16 0x00002b03e6e18f84 in QHeaderView::qt_metacall () from /opt/qt4/lib/libQtGui.so.4
#17 0x00002b03e3c7dee6 in QMetaObject::activate () from /opt/qt4/lib/libQtCore.so.4
#18 0x00002b03e3c95794 in QAbstractItemModel::columnsInserted () from /opt/qt4/lib/libQtCore.so.4
#19 0x00002b03e3c6a9ec in QAbstractItemModel::endInsertColumns () from /opt/qt4/lib/libQtCore.so.4
#20 0x00002b03e6e7975b in ?? () from /opt/qt4/lib/libQtGui.so.4
#21 0x00002b03e6e7c9a6 in ?? () from /opt/qt4/lib/libQtGui.so.4
#22 0x00002b03e6e7cb15 in QStandardItem::insertColumns () from /opt/qt4/lib/libQtGui.so.4
#23 0x00002b03e6e7cffa in QStandardItem::setColumnCount () from /opt/qt4/lib/libQtGui.so.4
#24 0x00002b03e6e7d578 in QStandardItem::insertRow () from /opt/qt4/lib/libQtGui.so.4
#25 0x00002b03e528da8c in QStandardItemModel::insertRow (this=0x73e4c0, arow=0, aitem=0x85ad70)
    at /opt/qt4/include/QtGui/qstandarditemmodel.h:412
#26 0x00002b03e5289cff in KDevelop::ProjectController::projectImportingFinished (this=0x737030, project=0x7c8fa0)
    at /data/development/sources/kde-trunk/kdevplatform/shell/projectcontroller.cpp:255
#27 0x00002b03e528febf in KDevelop::ProjectPrivate::importDone (this=0x7f8610)
    at /data/development/sources/kde-trunk/kdevplatform/shell/project.cpp:110
#28 0x00002b03e528de58 in KDevelop::Project::qt_metacall (this=0x7c8fa0, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fffc7137a60)
    at /data/development/build/kde-trunk/kdevplatform/shell/project.moc:102
#29 0x00002b03e3c7dee6 in QMetaObject::activate () from /opt/qt4/lib/libQtCore.so.4
#30 0x00002b03e4f49fe2 in KJob::result (this=0x7c0e, _t1=0x91af40) at /data/development/build/kde-trunk/kdelibs/kdecore/kjob.moc:185
#31 0x00002b03e4f4a387 in KJob::emitResult (this=0x91af40) at /data/development/sources/kde-trunk/kdelibs/kdecore/jobs/kjob.cpp:286
#32 0x00002b03e54bc1bc in KDevelop::ImportProjectJob::start (this=0x91af40)
    at /data/development/sources/kde-trunk/kdevplatform/project/importprojectjob.cpp:76
#33 0x00002b03e528f393 in KDevelop::Project::open (this=0x7c8fa0, projectFileUrl=@0x7fffc7137eb0)
    at /data/development/sources/kde-trunk/kdevplatform/shell/project.cpp:256
#34 0x00002b03e528a550 in KDevelop::ProjectController::openProject (this=0x737030, projectFile=@0x7466a8)
    at /data/development/sources/kde-trunk/kdevplatform/shell/projectcontroller.cpp:238
#35 0x00002b03e5289fd3 in KDevelop::ProjectController::qt_metacall (this=0x737030, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffc7138500)


-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20070623/ebf6829b/attachment.sig>


More information about the KDevelop-devel mailing list