[Akonadi] [Bug 423575] Akonadi server reproducibly eats ∞ memory (possibly in Akonadi::Server::Connection::handleIncomingData() [connection.cpp:274])

Gamblit bugzilla_noreply at kde.org
Sun May 15 16:07:28 BST 2022


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

Gamblit <kdebugzilla at gamblit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kdebugzilla at gamblit.org

--- Comment #9 from Gamblit <kdebugzilla at gamblit.org> ---
The issue appears to be that QEventLoop in line 192 of server/connection.cpp
never gets its signal/slot connections cleaned up. I would assume RAII would
take care of that by the end of the scope at line 197, but it does not, so a
TON of QT signal/slot connection objects linger around forever.

I was able to fix it by simply calling the corresponding "disconnect" after the
"loop.exec()" for each of the three connects. This way the QObject connections
go away and so does the memory leak.

I don't have a developer account, so i'm not sure how to submit the merge
request, but i'm trying to get it through.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list