Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.3.0-rc1
-
None
Description
- Open some project. It can be a small one with ~10 files
- Right-click some file -> Delete. Confirm everything (delete from filesystem).
- Before the project is re-parsed, right-click another file -> Delete and confirm. You need to be quick (looks like 3 seconds), or change the timeout
Kaboom.
folderNode is sometimes NULL, and sometimes invalid.
Trace:
1 ProjectExplorer::ProjectExplorerPluginPrivate::removeFile projectexplorer.cpp 3202 0x7fffdaa563ef
2 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (ProjectExplorer::ProjectExplorerPluginPrivate:: *)()>::call(void (ProjectExplorer::ProjectExplorerPluginPrivate:: *)(), ProjectExplorer::ProjectExplorerPluginPrivate *, void * *) qobjectdefs_impl.h 141 0x7fffdaa7218d
3 QtPrivate::FunctionPointer<void (ProjectExplorer::ProjectExplorerPluginPrivate:: *)()>::call<QtPrivate::List<>, void>(void (ProjectExplorer::ProjectExplorerPluginPrivate:: *)(), ProjectExplorer::ProjectExplorerPluginPrivate *, void * *) qobjectdefs_impl.h 160 0x7fffdaa70bbe
4 QtPrivate::QSlotObject<void (ProjectExplorer::ProjectExplorerPluginPrivate:: *)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void * *, bool *) qobject_impl.h 120 0x7fffdaa6e02a
5 QtPrivate::QSlotObjectBase::call qobject_impl.h 101 0x7ffff6c3195e
6 QMetaObject::activate qobject.cpp 3723 0x7ffff6c3195e
7 QAction::triggered(bool) 0x7ffff76521c2
...