Revision 19d9907...

Go back to digest for 27th November 2011

Bug Fixes in Development Tools

Milian Wolff committed changes in [kdevplatform] /:

fix crash when files are added/removed by external program

This could 'easily' reproduced by opening a large git-based project in
kdevelop with one of the AbstractFileManager-inheriting project
manager. Then switching between branches resulted in a crash sooner or later.

The main culprit was that FileManagerListJob::slotResult was sometimes
called after a the job was killed. KJob::kill apparently does *not*
kill the job directly, hence we need some additional safeguard here.

Furthermore this patch adds some more safety measures against invalid
item pointers in the FileManagerListJob's m_listQueue.

Please test!

File Changes

Modified 3 files
  •   project/abstractfilemanagerplugin.cpp
  •   project/filemanagerlistjob.cpp
  •   project/filemanagerlistjob.h
3 files changed in total