[Akonadi] [Bug 318098] akonadi_imap_resource eats 100% CPU

David Faure faure at kde.org
Wed Jun 26 11:48:25 BST 2013


https://bugs.kde.org/show_bug.cgi?id=318098

--- Comment #9 from David Faure <faure at kde.org> ---
Git commit a4299dbabf37e692f4355ed4871fc0e3681d765b by David Faure.
Committed on 26/06/2013 at 10:13.
Pushed by dfaure into branch 'KDE/4.10'.

Cancel session request if the task is deleted early.

E.g. due to losing the connection to the server.
Otherwise the request is processed later on, with no task to use that
session, and we end up with a session in m_reservedSession for ever, and
soon afterwards an infinite stream of
"Cancelling this request. Probably there is no more session available."

Might be related to:
Related: bug 316541
(but for lack of debug output in these reports, I can't tell for sure)

FIXED-IN: 4.10.5
Reviewed-by: Kévin Ottens

M  +5    -2    resources/imap/resourcetask.cpp
M  +6    -0    resources/imap/sessionpool.cpp
M  +1    -0    resources/imap/sessionpool.h
M  +43   -0    resources/imap/tests/testsessionpool.cpp

http://commits.kde.org/kdepim-runtime/a4299dbabf37e692f4355ed4871fc0e3681d765b

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Kdepim-bugs mailing list