Bug 319445 - akonadi-imap-resource stays at CPU 100% and does nothing - KDE 4.10.3 ONLY.
Summary: akonadi-imap-resource stays at CPU 100% and does nothing - KDE 4.10.3 ONLY.
Status: RESOLVED REMIND
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.10
Platform: Chakra Linux
: NOR normal
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-07 02:28 UTC by Alejandro Nova
Modified: 2013-05-07 16:46 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 Alejandro Nova 2013-05-07 02:28:28 UTC
When I'm trying to download mail, the normal behaviour in KDE 4.10.x was: the IMAP resource downloads as fast as it can. However, in KDE 4.10.3 a nasty bug was introduced, so the IMAP resource doesn't download, but instead polls constantly the Akonadi status, doing nothing and making my CPU explode. This is what I'm getting through strace:

poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}], 5, 51) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\1\0\0\0\0\0\0\0", 16)         = 8
recvfrom(6, 0x73f784, 4096, 0, 0, 0)    = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(6, 0x73f784, 4096, 0, 0, 0)    = -1 EAGAIN (Resource temporarily unavailable)

Also, there are messages like these in the console.

akonadi_imap_resource_1(28661)/kdepimlibs (kimap) KIMAP::FetchJob::handleResponse: FETCH reply got truncated, skipping. 


Reproducible: Always

Steps to Reproduce:
1. Create an IMAP account with Google Mail.
2. Fetch mail.

Actual Results:  
Mail is fetched slowly, and the CPU is constantly at 100%, or even over 100% if I navigate to another folder in KMail.

Expected Results:  
Mail is fetched fast, and the CPU is used accordingly.

This is unrelated to the new Akonadi Nepomuk Feeder, but the bug was introduced with KDE 4.10.3
Comment 1 Alejandro Nova 2013-05-07 16:46:16 UTC
Closing my own report as REMIND. Please, indicate that KDE 4.10.3 REQUIRES Akonadi 1.9.2, or you are going to see this.