[Akonadi] [Bug 376822] empty trash or all trash on imap account akonadi doesn't continue
Daniel Vrátil
bugzilla_noreply at kde.org
Thu Feb 23 18:18:38 GMT 2017
https://bugs.kde.org/show_bug.cgi?id=376822
Daniel Vrátil <dvratil at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
CC| |dvratil at kde.org
Priority|NOR |HI
Status|UNCONFIRMED |CONFIRMED
--- Comment #1 from Daniel Vrátil <dvratil at kde.org> ---
ItemRetriever now uses QEventLoop to wait for request to be processed. If
Akonadi Server is shut down during that, the QEventLoop will cause
Connection::quit() to be executed, destroying the QSqlDriver and deleting the
thread. When the QEventLoop finishes and ItemRetriever::exec() returns, the
QSqlQuery() tries to dereference the already-destroyed QSqlDriver.
We need a mechanism to either prevent Connection::quit() from being executed
while an event loop is running on the Connection, or we need a way to quickly
abort ItemRetriever::exec() from Connection::quit() before destroying the SQL
connection and the thread.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list