[mythtv-commits] mythtv commit: r21047 by shane

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Jul 28 14:52:17 UTC 2009


      Author: shane
        Date: 2009-07-28 14:52:17 +0000 (Tue, 28 Jul 2009)
New Revision: 21047
   Changeset: http://cvs.mythtv.org/trac/changeset/21047

Modified:

   trunk/mythtv/libs/libmythdb/mythdbcon.cpp

Log:

Fix segfaults when idle for some Qt/MySql combinations.

Workaround a problem that causes segfaults on both the frontend and backend in
KickDatabase().

Sounds exactly like the problem described in the note for MSqlQuery in
mythdbcon.h.

The solution that seems to work is to ensure that the QSqlQuery is out of
scope when we do the db close() and open().




More information about the mythtv-commits mailing list