Bug 199457 - kmail enters endless loop with message "index for folder trash corrupted"
Summary: kmail enters endless loop with message "index for folder trash corrupted"
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-08 19:20 UTC by Andrey Borzenkov
Modified: 2015-04-12 10:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
trash index.ids (12.50 KB, application/octet-stream)
2009-07-08 19:22 UTC, Andrey Borzenkov
Details
trash.index (1.59 KB, application/octet-stream)
2009-07-08 19:23 UTC, Andrey Borzenkov
Details
kmail startup log (98.53 KB, text/x-log)
2009-07-08 19:25 UTC, Andrey Borzenkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Borzenkov 2009-07-08 19:20:48 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Kmail with several POP accounts delivering into local folders.

I leaved KDE session (without closing KMail first, but usually I do not do it). On restart KMail entered endless loop with message "index for folder trash is corrupted and will be recreated". Confirming with OK brings the same message again. I attach "grep kmail" from xsession-errors and trash index file and contents.
Comment 1 Andrey Borzenkov 2009-07-08 19:22:06 UTC
Created attachment 35161 [details]
trash index.ids
Comment 2 Andrey Borzenkov 2009-07-08 19:23:19 UTC
Created attachment 35162 [details]
trash.index
Comment 3 Andrey Borzenkov 2009-07-08 19:25:27 UTC
Created attachment 35163 [details]
kmail startup log

OK trash content is too big; let me know if this is required.
Comment 4 Erwin Mueller 2011-04-27 19:23:47 UTC
I have the same endless loop. Maybe it will stop after x times I click on "Ok" but I already clicked the dialog away 10 times now.

The dialog text is: "The mail index for 'debian' is corrupted and will be regenerated now, but some information, including status flags, will be lost".

It's fine by me, just start regenerate and start up my kmail so I can check my emails.

I just killed the kmail process and start kmail again. Emails in the 'debian' folder are present so I guess the regeneration was successful.

That is KMail 1.13.6; KDE 4.6.2; Fedora 14.
Comment 5 Laurent Montel 2015-04-12 10:23:02 UTC
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.