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

Crash when deleting 2 files one after the other

    XMLWordPrintable

Details

    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 
      ...

      Attachments

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

        Activity

          People

            orgads Orgad Shaneh
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes