[mythtv-users] [mythtv] segfault in libmysqlclient.so.21
Nigel Pearson
nigel.pearson.au at gmail.com
Wed May 13 21:56:09 UTC 2020
> On 14 May 2020, at 4:42 am, Peter Bennett <pb.mythtv at gmail.com> wrote:
...
> There may be a better place to put the call to MythDB::destroyMythDB().
Haven’t looked al latest source code (in a LONG time :-), but
MythCoreContextPrivate::~MythCoreContextPrivate()
used to have:
GetMythDB()->GetDBManager()->CloseDatabases();
if (m_database) {
DestroyMythDB();
m_database = NULL;
}
I suspect there is now a race condition where the context is not being destructed in time?
--
Nigel Pearson, 02 9792 6998, 0408 66 44 35
nigel.pearson.au at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200514/0a13c341/attachment.htm>
More information about the mythtv-users
mailing list