Bug 279380 - akonadi_mixedmaildir_resource crashes when synchronizing a folder with a large number of emails
Summary: akonadi_mixedmaildir_resource crashes when synchronizing a folder with a larg...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Mixed Maildir resource (show other bugs)
Version: 4.7
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-04 13:31 UTC by Shane O'Donnell
Modified: 2016-08-27 11:26 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 Shane O'Donnell 2011-08-04 13:31:38 UTC
Version:           4.7 (using KDE 4.7.0) 
OS:                Linux

Synchronizing a folder with a large number, in this case 107000+, of emails within it consumes a vast amount of memory and then crashes with a sigabrt.

This happens when either clicking on the folder causing a synchronisation and when starting kmail.

Reproducible: Always

Steps to Reproduce:
Click on folder with large number of emails (lower limit not known, but 107000+ mails causes the problem and folders with just under 50000 do not)
Synchronization starts


Actual Results:  
akonadi_mixedmaildir_resource crashes

Expected Results:  
Folder synchronizes and displays emails.

i686 AMD Athlon(tm) XP 2500+ AuthenticAMD GNU/Linux

Under top the process has consumed 3054M, under the VIRT column, of memory on a machine with 3G memory + 2.8G swap.  I added a 10G swapfile but there was no change to the problem.

The maildir folder contains 107538 emails using 1.9G of disk space.
Other folders of up to 47800 emails do not cause the problem.

Whilst it is probably useless here is the backtrace.

Application: Akonadi Resource (akonadi_mixedmaildir_resource), signal: Aborted
[KCrash Handler]
#7  0xffffe424 in __kernel_vsyscall ()
#8  0x44421681 in raise () from /lib/libc.so.6
#9  0x44422e63 in abort () from /lib/libc.so.6
#10 0xbfa59490 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Comment 1 Martin Steigerwald 2016-08-27 11:26:23 UTC
Shane, thank you for your report. It is about an ancient version of KMail which is not maintained anymore. Also neither with Maildir nor with IMAP resource I see any crashes on folder synchronisation. Thus I close this.