Bug 141899

Summary: KMail crashes (not restartable!) when deleting a folder before it is loaded
Product: [Applications] kmail Reporter: Candid Dauth <cdauth+bugs.kde.org>
Component: IMAPAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash    
Priority: NOR    
Version: 1.9.6   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Candid Dauth 2007-02-19 01:02:17 UTC
Version:           1.9.6 (using KDE KDE 3.5.6)
Installed from:    Gentoo Packages
Compiler:          gcc-4.1.1 
OS:                Linux

Open an IMAP folder and delete it before its content is loaded. KMail won't finish loading the content because the folder doesn't exist anymore. So you have to close KMail (you can't switch to another folder, the loading message won't go away). After restarting it, KMail tries to open the last active folder, which is the deleted one. Thus, KMail crashes at startup and I am not able to start it anymore. (It crashes everytime about one second after it shows up.) The only way to get it working again is to remove the Folder and the Id setting from ~/.kde/config/kmailrc manually. This should definitely not happen.

The bug is fully repoducable for me and occurs rather often because of my slow internet connection in combination with large IMAP folders.
Comment 1 Thomas McGuire 2007-02-19 14:32:00 UTC
Can you please provide a backtrace?
Comment 2 Bram Schoenmakers 2007-03-19 00:38:52 UTC
Reminder: please provide a backtrace.
Comment 3 Bram Schoenmakers 2007-05-12 13:14:59 UTC
Nope, no backtrace... closing.