This crash occurs when running a local build of Qt Creator master at commit 2e1001621042a5704e504821fd5677733ffd9167. I'm building and running on Ubuntu Linux 10.04.
If you rename a file in your project through the project explorer which is in a directory not under source control, the code attempts to access a null pointer. in ProjectExplorer::ProjectExplorerPlugin::renameFile(Node *node, const QString &to): Core::IVersionControl *vc = core->vcsManager()->findVersionControlForDirectory(dir); // returns 0 if (vc->supportsOperation(Core::IVersionControl::MoveOperation)) // used without checking vc != 0 Full call stack: 0 ProjectExplorer::ProjectExplorerPlugin::renameFile projectexplorer.cpp 2061 0x00007fe2fca0a5ad 1 ProjectExplorer::Internal::FlatModel::setData projectmodels.cpp 282 0x00007fe2fcaaceb6 2 QStyledItemDelegate::setModelData qstyleditemdelegate.cpp 538 0x00007fe31075b720 3 QAbstractItemView::commitData qabstractitemview.cpp 2759 0x00007fe3106b2d16 4 QAbstractItemView::qt_metacall moc_qabstractitemview.cpp 247 0x00007fe3106acf98 5 QTreeView::qt_metacall moc_qtreeview.cpp 119 0x00007fe3106f5b25 6 QMetaObject::activate qobject.cpp 3272 0x00007fe30f949217 7 QAbstractItemDelegate::commitData moc_qabstractitemdelegate.cpp 102 0x00007fe31082f79f 8 QStyledItemDelegatePrivate::_q_commitDataAndCloseEditor qstyleditemdelegate.cpp 102 0x00007fe31075991b 9 QStyledItemDelegate::qt_metacall moc_qstyleditemdelegate.cpp 73 0x00007fe31075991b 10 QObject::event qobject.cpp 1211 0x00007fe30f9432ee 11 QApplicationPrivate::notify_helper qapplication.cpp 4361 0x00007fe3101686bc 12 QApplication::notify qapplication.cpp 4244 0x00007fe31016e19d 13 QCoreApplication::notifyInternal qcoreapplication.cpp 732 0x00007fe30f93151c 14 QCoreApplication::sendEvent qcoreapplication.h 215 0x00007fe30f934442 15 QCoreApplicationPrivate::sendPostedEvents qcoreapplication.cpp 1373 0x00007fe30f934442 16 QCoreApplication::sendPostedEvents qcoreapplication.h 220 0x00007fe30f95dab3 17 postEventSourceDispatch qeventdispatcher_glib.cpp 276 0x00007fe30f95dab3 18 g_main_context_dispatch /lib/libglib-2.0.so.0 0 0x00007fe30e1b68c2 19 ?? /lib/libglib-2.0.so.0 0 0x00007fe30e1ba748 20 g_main_context_iteration /lib/libglib-2.0.so.0 0 0x00007fe30e1ba8fc ... <More>
_______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
