[Akonadi] [Bug 330215] Crash in QPSQL driver when shutting down Akonadi

Daniel Vrátil dvratil at redhat.com
Mon Jan 20 17:39:30 GMT 2014


Daniel Vrátil <dvratil at redhat.com> changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |RESOLVED
   Version Fixed In|                            |1.11.1
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/akon
                   |                            |adi/fb8e5193cd62fa3b03837bf
                   |                            |97472cbb8ba6f12c4

--- Comment #1 from Daniel Vrátil <dvratil at redhat.com> ---
Git commit fb8e5193cd62fa3b03837bf97472cbb8ba6f12c4 by Dan Vrátil.
Committed on 20/01/2014 at 18:38.
Pushed by dvratil into branch '1.11'.

Clear cached queries before closing database connection

This works around a crash in QPSQL driver in Qt 4, where destroying QSqlQuery
after QSqlDatabase connection has been closed apparently leads to a crash.

We now clear all cached QSqlQueries belonging to the same thread as the
DataStore being destroyed before it closes the connection.
FIXED-IN: 1.11.1

M  +1    -1    server/control/agentmanager.cpp
M  +2    -0    server/src/storage/datastore.cpp
M  +10   -0    server/src/storage/querycache.cpp
M  +3    -0    server/src/storage/querycache.h


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

More information about the Kdepim-bugs mailing list