[mythtv] [mythtv-commits] mythtv commit: r16790 - in trunkbyjanne

Anduin Withers awithers at anduin.com
Wed Apr 23 03:32:34 UTC 2008

> Sadly, I wasn't able to get that sample to crash for me
> (Mac OS with Qt 4.3.4, or Linux with Qt 4.4.0-beta1).
> Same deal with mythfrontend on that Linux install.

I don't remember checking beyond 4.3.3 but the bug is there. The nature of
the bug doesn't guarantee a crash though. It is referencing a MySQL client
lib data structure after it has been released (mysql_close() called).

The issue opened with Trolltech is here: 


They don't seem to offer much in the way of useful information on that page

> Here is a rough hack that reduces the occurrence for me:

Yeah, I have something similar to prevent associating a failed DB open with
a query, just haven't tested it enough to check it in (and it makes the
error messages less useful).

> Even better would be removing KickDatabase(),
> but I'm not sure if Qt 4 still needs it.

My understanding of the issue was that the MySQL client library was the
culprit not the Qt layer. I don't know if it is still an issue though.

More important, it isn't a KickDatabase() problem, any use of the
QSqlDatabase instance with a query will cause the crash (or other
undesirable behavior). It just happens to be KickDatabase() that gets there

Anduin Withers 

More information about the mythtv-dev mailing list