[mythtv-commits] Ticket #12917: mythfrontend.real crashes since Ubuntu 16.10 upgrade
MythTV
noreply at mythtv.org
Sun Nov 20 16:32:49 UTC 2016
#12917: mythfrontend.real crashes since Ubuntu 16.10 upgrade
-----------------------------------------+--------------------------
Reporter: heynnema@… | Owner: pbennett
Type: Bug Report - General | Status: closed
Priority: critical | Milestone: unknown
Component: MythTV - General | Version: 0.28.0
Severity: high | Resolution: fixed
Keywords: mythfrontend stack smashing | Ticket locked: 0
-----------------------------------------+--------------------------
Comment (by pbennett):
I confirmed from the QT source that QT makes a copy of the
QNetworkConfiguration in QNetworkAccessManager. Replacing my original fix
with the following also works (i.e. prevents the seg fault):
{{{
networkManager->setConfiguration(networkManager->configuration());
}}}
This is preferable because it is simpler and does not cause a leak.
I have no explanation of why the seg fault occurs or why this fixes it.
The seg fault occurs in QNetworkConfiguration::~QNetworkConfiguration()
per the back trace. Looking at the QT source, I see that is an empty
method. I cannot see a reason for it to seg fault. If there was a failure
destroying one of its internal fields I would expect to see the seg fault
in that destructor.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12917#comment:39>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list