Version: svn 1032389 (07.10.09) (using KDE 4.3.1) Installed from: Gentoo Packages I received the following crash in this part of the code: void BuilderJobPrivate::addJob( BuilderJob::BuildType t, KDevelop::ProjectBaseItem* item ) { Q_ASSERT(item); kDebug() << "adding build job for item:" << item->text(); I hit compile project while I had no targets set up. -------- Calling appendChild() on a null node does nothing. QThreadStorage: Thread 0x5b6bcd0 exited after QThreadStorage 2147483631 destroyed QThreadStorage: Thread 0x5b6bcd0 exited after QThreadStorage 2147483633 destroyed [Thread 0x7f0af229f910 (LWP 21593) exited] type for "set_target_properties" 0 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f0b1c461750 (LWP 21225)] 0x00007f0b16671bf0 in QStandardItem::text (this=0x7f0af9346d00) at /usr/include/qt4/QtGui/qstandarditemmodel.h:79 79 return qvariant_cast<QString>(data(Qt::DisplayRole)); (gdb) bt #0 0x00007f0b16671bf0 in QStandardItem::text (this=0x7f0af9346d00) at /usr/include/qt4/QtGui/qstandarditemmodel.h:79 #1 0x00007f0b16670e8c in KDevelop::BuilderJobPrivate::addJob (this=0x27f5490, t=KDevelop::BuilderJob::Build, item=0x7f0af9346d00) at /home/thorben/devel/src/kdevplatform/project/builderjob.cpp:54 #2 0x00007f0b166716c4 in KDevelop::BuilderJob::addItems (this=0x4cf0100, t=KDevelop::BuilderJob::Build, items=@0x7fffc444da20) at /home/thorben/devel/src/kdevplatform/project/builderjob.cpp:101 #3 0x00007f0af22c56b6 in BuildItemBuilderJob (this=0x4cf0100, t=KDevelop::BuilderJob::Build, items=@0x7fffc444da20) at /home/thorben/devel/src/kdevplatform/plugins/projectmanagerview/builditembuilderjob.cpp:43 #4 0x00007f0af22b475f in ProjectManagerViewPlugin::runBuilderJob (this=0x531c840, t=KDevelop::BuilderJob::Build) at /home/thorben/devel/src/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.cpp:393 #5 0x00007f0af22b482d in ProjectManagerViewPlugin::buildProjectItems (this=0x531c840) at /home/thorben/devel/src/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.cpp:419 #6 0x00007f0af22b5e97 in ProjectManagerViewPlugin::qt_metacall (this=0x531c840, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffc444dbc0) at /home/thorben/devel/dbg/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.moc:108 #7 0x00007f0b192c7094 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4 #8 0x00007f0b18403f17 in QAction::triggered () from /usr/lib64/qt4/libQtGui.so.4 #9 0x00007f0b1840511f in QAction::activate () from /usr/lib64/qt4/libQtGui.so.4 #10 0x00007f0b184073c7 in QAction::event () from /usr/lib64/qt4/libQtGui.so.4 #11 0x00007f0b199230bd in KAction::event () from /usr/lib/libkdeui.so.5 #12 0x00007f0b184091fc in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4 #13 0x00007f0b1840eaa8 in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4 #14 0x00007f0b199f4ea6 in KApplication::notify () from /usr/lib/libkdeui.so.5 #15 0x00007f0b192b591b in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4 ---Type <return> to continue, or q <return> to quit--- #16 0x00007f0b184393ab in ?? () from /usr/lib64/qt4/libQtGui.so.4 #17 0x00007f0b1843b085 in ?? () from /usr/lib64/qt4/libQtGui.so.4 #18 0x00007f0b1840fb3d in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4 #19 0x00007f0b199f4ea6 in KApplication::notify () from /usr/lib/libkdeui.so.5 #20 0x00007f0b192b591b in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4 #21 0x00007f0b1848b67d in ?? () from /usr/lib64/qt4/libQtGui.so.4 #22 0x00007f0b1848e3bf in ?? () from /usr/lib64/qt4/libQtGui.so.4 #23 0x00007f0b18469d58 in QApplication::x11ProcessEvent () from /usr/lib64/qt4/libQtGui.so.4 #24 0x00007f0b1848f1c4 in ?? () from /usr/lib64/qt4/libQtGui.so.4 #25 0x00007f0b12b9196d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #26 0x00007f0b12b95128 in ?? () from /usr/lib/libglib-2.0.so.0 #27 0x00007f0b12b95250 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #28 0x00007f0b192da0b6 in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4 #29 0x00007f0b1848ea6e in ?? () from /usr/lib64/qt4/libQtGui.so.4 #30 0x00007f0b192b4342 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4 #31 0x00007f0b192b44dd in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4 #32 0x00007f0b192b62c9 in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4 #33 0x0000000000407ff9 in main (argc=1, argv=0x7fffc4451908) at /home/thorben/devel/src/kdevelop/app/main.cpp:181 (gdb) (gdb) f 1 #1 0x00007f0b16670e8c in KDevelop::BuilderJobPrivate::addJob (this=0x27f5490, t=KDevelop::BuilderJob::Build, item=0x7f0af9346d00) at /home/thorben/devel/src/kdevplatform/project/builderjob.cpp:54 54 kDebug() << "adding build job for item:" << item->text(); (gdb) p item $1 = (class KDevelop::ProjectBaseItem *) 0x7f0af9346d00 (gdb) p item->text() Couldn't find method (null)text (gdb) p item->project() Program received signal SIGSEGV, Segmentation fault. 0x00007f0b16668ef2 in KDevelop::ProjectBaseItem::project (this=0x7f0af9346d00) at /home/thorben/devel/src/kdevplatform/project/projectmodel.cpp:108 108 return d->project; The program being debugged was signaled while in a function called from GDB. GDB remains in the frame where the signal was received. To change this behavior use "set unwindonsignal on" Evaluation of the expression containing the function (KDevelop::ProjectBaseItem::project() const) will be abandoned.
*** This bug has been marked as a duplicate of bug 194483 ***