Bug 193609

Summary: Kmail/Kontact performance when loading many attachments
Product: [Applications] kmail Reporter: Andy Kelk <andy>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: bjoern
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Andy Kelk 2009-05-22 08:32:08 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

When loading certain emails (notably ones which have a number of attachments), KMail (and by extension, Kontact) grinds to a halt. The CPU usage of the process goes up to 98 or 99%.

When doing an strace, I get pages and pages of output such as:

access("/home/akelk/.local/share/icons/hicolor/48x48/mimetypes/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/48x48/mimetypes/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/48x48/places/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/48x48/places/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/48x48/status/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/48x48/status/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/64x64/actions/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/64x64/actions/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/64x64/animations/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/64x64/animations/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/64x64/apps/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/64x64/apps/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/64x64/categories/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/64x64/categories/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/64x64/devices/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/64x64/devices/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/64x64/emblems/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/64x64/emblems/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/64x64/emotes/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/64x64/emotes/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/64x64/filesystems/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/64x64/filesystems/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/64x64/intl/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/64x64/intl/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/64x64/mimetypes/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/hicolor/64x64/mimetypes/image-gif.png", R_OK) = -1 ENOENT (No such file or directory)
Comment 1 Björn Ruberg 2010-02-28 01:20:00 UTC
Does this still happen?
Comment 2 Laurent Montel 2015-04-12 10:08:51 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.