Summary: | Crash in QPSQL driver when shutting down Akonadi | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Daniel Vrátil <dvratil> |
Component: | server | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.11.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/akonadi/fb8e5193cd62fa3b03837bf97472cbb8ba6f12c4 | Version Fixed In: | 1.11.1 |
Sentry Crash Report: |
Description
Daniel Vrátil
2014-01-20 17:25:01 UTC
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 http://commits.kde.org/akonadi/fb8e5193cd62fa3b03837bf97472cbb8ba6f12c4 |