------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. http://bugs.kde.org/show_bug.cgi?id=71117 don@sanders.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED ------- Additional Comments From don@sanders.org 2003-12-24 03:28 ------- Subject: kdepim/kmail CVS commit by sanders: Check KMFolder* folder is non null before use on line 283. Seems logical as folder may be null in the case of a deleted folder. Maybe fix bug 71117, please reopen if the problem reoccurs and the backtrace shows a problem in KMSearch::slotProcessNextBatch() again. CCMAIL:71117-done@bugs.kde.org Thanks Mathieu Jobin for the backtrace with full debug symbols. M +6 -4 kmfoldersearch.cpp 1.46 --- kdepim/kmail/kmfoldersearch.cpp #1.45:1.46 @@ -281,8 +281,10 @@ void KMSearch::slotProcessNextBatch() --mRemainingFolders; KMFolder *folder = *(mFolders.begin()); + if (folder) { if (folder->isSystemFolder()) mLastFolder = i18n(folder->name().utf8()); else mLastFolder = folder->name(); + } mFolders.erase(mFolders.begin()); if (folder) {