Bug 108375 - Kontakt / Kmail freeze with emptying huge trash
Summary: Kontakt / Kmail freeze with emptying huge trash
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 122451 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-30 19:32 UTC by Greisberger Christophe
Modified: 2015-04-12 10:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greisberger Christophe 2005-06-30 19:32:23 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    Gentoo Packages
Compiler:          gcc version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1)
OS:                Linux

I have a strange behaviour of Kontakt / Kmail :

When I try to empty an (imap or cached imap) trash that holds a large amount of mails (40000 here), it freezes. After striking out the mails, there is no refresh of the interface anymore.

I thought it was just errrrr. slow :o), like when I delete/move a large amount of mails from an imap folder, and I let it do it over night, but the next morning it was still frozen.
After killing and restarting it, my 40k mails were still there, and I had to remove them manually 5k by 5k...
Comment 1 Greisberger Christophe 2005-07-12 10:48:26 UTC
I can confirm from another kde 3.4.1 system (also Gentoo).
Both access to courier imap servers.

1st mail server: courier-mta (smtp & imap) on a Gentoo/Linux
2nd mail server: postfix + courier-imap on a SuSE/Linux 9.2

Perhaps a problem with Courier?
Comment 2 Nigel Wade 2005-08-04 10:15:56 UTC
I can also confirm this problem exists. 

Emptying the trash folder containing over 9000 messages causes kmail to use up 100% CPU. No communication with the IMAP server takes place.

I don't think it's a problem with the IMAP server, Thunderbird emptied the trash instantly.

My setup is RHEL4 WS with KDE upgraded to 3.4.1 from the ked-redhat-stable repo.
Comment 3 Patrick 2006-10-28 15:22:27 UTC
I can confirm that.
Comment 4 Greisberger Christophe 2006-10-28 15:58:45 UTC
Since the last time I posted here, I found a way to empty the Trash when there are thousands of mails: I go to the Trash folder, I select all the messages except one, and then I delete them.
It's long but it works.

When doing the same, but selecting all the messages, it sometimes works, or kmail crashes, or the same problem (freeze) happens.
I did not take care of the probability of each of these scenarii. I now empty it with the 1st method described.

So I think that the problem comes (very) probably from the way the Emptying of the Trash is done.
Comment 5 Will Stephenson 2006-10-28 22:46:17 UTC
*** Bug 122451 has been marked as a duplicate of this bug. ***
Comment 6 Björn Ruberg 2009-12-21 16:03:56 UTC
Is this still a problem in KDE 4.3?
Comment 7 Laurent Montel 2015-04-12 10:05:54 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.