Bug 146166

Summary: kmail crashes when fetching mail when folders previously existed have been removed externally
Product: [Applications] kmail Reporter: Elan Ruusamäe <glen>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash    
Priority: NOR    
Version: 1.9.7   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Elan Ruusamäe 2007-05-30 19:00:04 UTC
Version:           1.9.7 (using KDE 3.5.7, PLD Linux Distribution)
Compiler:          gcc version 3.3.6 (PLD Linux)
OS:                Linux (x86_64) release 2.6.16.38-1

i've fetched all mail with kmail, now i delete folder with other mail client. now i press fetch mail again and kmail crashes. the crash can be prevented if i open the parent folder (with + sign) and kmail refreshes the folder list making deleted folder to dissapear.

the bug existed also in kde 3.5.6

i can repeat the crash until i've opened the folder branch the folder was deleted.

account type is imap. account has option 'list only open folders' enabled.
Comment 1 Bram Schoenmakers 2007-05-31 10:14:13 UTC
Please provide a backtrace.

http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 2 Bram Schoenmakers 2007-07-02 23:34:30 UTC
No feedback, please reopen if you can provide a backtrace.
Comment 3 Elan Ruusamäe 2007-09-21 12:01:13 UTC
yeah sorry about backtrace, the kde with debug symbols just don't fit on my disk :(

but i noticed that i'm able to recover from situation if i uncheck 'list only open folders'