Version: 1.9.1 (using KDE 3.5.1, Kubuntu Package 4:3.5.1-0ubuntu5 dapper) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.15-15-686 This happened to me at least five times and now i'm fed up and have to report this one :-) When I do the steps described in http://bugs.kde.org/show_bug.cgi?id=122027 after killing the KMail process, KMail corrupts the index files of the active mail-folder. If you show the folders contents everything seems normal at first sight, but when you actually click on a mail to view it, its subject line gets changed to "No Subject" and the content is DESTROYED. After deleting the *ids* .index files you can view the folder again but all markings are LOST COMPLETELY.
I also had a kmail crash. But I didn't need to delete the files you specified. I just noticed all my marks like the red flag where gone.
Raising severity to "grave" as there is loss of data.
Crashing is known to corrupt index files, yes.
If it's known, then we can confirm this bug.
It seems to be also the cause of Bug 50462 ("mail is permanently lost if disk is full"), see Comments #42 and #57. Bug 50462 as more than 800 votes!
Seems to be e the cause of Bug 140660 too http://bugs.kde.org/show_bug.cgi?id=140660 ?
See also bug 121272.
*** Bug 128259 has been marked as a duplicate of this bug. ***
*** Bug 150853 has been marked as a duplicate of this bug. ***
Is there a chance to have this fixed one day? I tried again today with version 1.12.0 (using kde 4.3 final), downloaded my mails (I luckily have them on a server), experienced like 5 crashes while filtering and have a corrupt index again. This makes kmail pretty much unusable to me, every single time I try to use this application it crashes multiple times and corrupts the mail index :( Rebuilding an index from a backup is not doable, as I do backups only every night, having 5 crashes in a row and hundreds of lost mails really is not acceptable. You should flag Kmail as highly unstable and warn people to use it, I have these index corruptions since 5 years, through all the versions, and it didn't get better by a yota. As much as I love KDE, this is a serious drawback to the everyday use. A bug marked as 'grave' should have a high priority for the developers, hence changing the priority.
Hmmm, I didn't have crashes and index file data losses at all with KMail from KDE 4 yet. I once thought I had a problem with an index as I couldn't find a mail, but I just didn't account for the threaded view and it was there. What is a pity IMHO is that rebuilding the index discarded the flags. Actually I thought they were stored in the names of the mail files in MailDir format, but apparently this at least doesn't hold true for all flags or KMail doesn't account for those flags when rebuilding the index, which wouldn't make much sense for me. So I agree that index handling seems still be to fragile to me. Anyway, I guess, we will have to wait for Akonadi. Does anyone know when it is planned to switch KMail to Akonadi storage? Maybe for KDE 4.4? Anyway even then Akonadi might have bugs that will have to be fixed, before it all becomes stable. As far as I read there are not many KMail developers, so this is as with any other open-source project: Either fix it yourself, sponsor fixing it by throwing money at a capable KDE developer like Thomas McGuire or a team of them or just wait till its done. Of course sponsoring would only work when the developer(s) in question can take off their regular jobs for a while or when they work at a company which does paid development work on KDE. That written I think adding moaning over moaning to each bug report that has been open longer, doesn't really help to get it fixed. As much as I understand that the situation is frustrating.
There seems to be quite some work going on regarding mail related Akonadi resources (IMAP, POP3, Maildir). The new IMAP4 IDOL, I mean IDLE http://ervin.ipsquad.net/2009/07/31/the-new-imap4-idol-i-mean-idle/
I've noticed many times the problem of one or several emails being shown as empty. I can't confirm it for KDE4, which I don't use, but it's been with us at least several years in KDE3. It sounds as though any fix will be by the change to a different underlying program, but I offer the following advice in case it saves time for Kmail users. From my experience of the problem, nothing on the IMAP server is messed up, but only kmail's memory (index) of the content. Using another mail client allows the messages to be read. Deleting Kmail's index files then restarting kmail removes the problem: I have this -- rm -vf $HOME/.kde/share/apps/kmail/imap/.XXXXXXXXX.directory/.IN* in a script that I run when the problem arises (of course, the number replaced with XXXXX... will have to be set to whatever your one is). If the problem is different for local rather than IMAP storage, I'd at least suggest setting kmail to use separate files for storing the emails, rather than mailspool files: limit the extent of corruption!
Is this still happening for KDEPIM 4.8.4 / 4.9 or even the 4.4.11 I still have on Debian? I haven´t seen this since ages?
Thank you for taking the time to file a bug report. KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2. We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.
Hi Laurent, Thank you for your work. Well, Now I will monitor if this will appear on next versions. Unfortunately for now I only can use, on my main machine, just KDE 4.11.5 (with the Kmail for this release) with OpenSuSE 13.1. On my other machines I will try some more tests, but they are not used in such a heavy testing mode. By the way I am infighting with another annoying bug, not impossible to handle, but just tedious: from time to time, when I start reading my mail, I got more and more duplicate messages. Just annoying, I do not know if this could be useful to know. I will keep you informed on how it will be going on, Thank you Best regards Giovanni Sora Il 12/04/2015 12:08, Laurent Montel ha scritto: > https://bugs.kde.org/show_bug.cgi?id=122028 > > Laurent Montel <montel@kde.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Resolution|--- |UNMAINTAINED > Status|CONFIRMED |RESOLVED > > --- Comment #15 from Laurent Montel <montel@kde.org> --- > Thank you for taking the time to file a bug report. > > KMail2 was released in 2011, and the entire code base went through significant > changes. We are currently in the process of porting to Qt5 and KF5. It is > unlikely that these bugs are still valid in KMail2. > > We welcome you to try out KMail 2 with the KDE 4.14 release and give your > feedback. >