[Bug 142937] New: KMail crashes when attempting to create folder with slash in its name
Andreas Veithen
andreas.veithen at skynet.be
Tue Mar 13 23:07:12 GMT 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=142937
Summary: KMail crashes when attempting to create folder with
slash in its name
Product: kmail
Version: 1.9.5
Platform: Debian testing
OS/Version: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: general
AssignedTo: kdepim-bugs kde org
ReportedBy: andreas.veithen skynet be
Version: 1.9.5 (using KDE KDE 3.5.5)
Installed from: Debian testing/unstable Packages
OS: Linux
KMail 1.9.5 crashes when attempting to create folder with slash in its name (e.g. "crash/me"). It first displays the following message:
Error while creating file crash/me: No such file or directory
And then:
Error opening [...]/.INBOX.directory/crash/me; this folder is missing.
After this, KMail crashes with signal 11.
A very similar problem has already been reported in bugs 120448 and 125044. However this still happens with a disconnected IMAP account on a Cyrus IMAP server. Looking at the resolution of bug 120448 and the code in newfolderdialog.cpp, I think this has to do with the fact that Cyrus uses "." as a folder delimiter: With my configuration, KMail disallows dots in folder names, but allows slashes. The error messages shown above suggest that KMail then crashes because the caching code for disconnected IMAP has problems with slashes in folder names. Either KMail should always disallow slashes for disconnected IMAP folders, or the caching code needs to be corrected to handle slashes in folder names.
More information about the Kdepim-bugs
mailing list