[mythtv-commits] Ticket #12917: mythfrontend.real crashes since Ubuntu 16.10 upgrade
MythTV
noreply at mythtv.org
Sat Nov 19 15:13:08 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):
Is that leak since my fix? Do you have a tool that detects leaks?
I tried first allocating it on the stack but I get a compile error that
you cannot take the address of an object on the stack. It made sense
because as soon as you end the method where it is allocated it is no
longer valid (will be overwritten in the stack), so the
QNetworkConfiguration will be pointing to invalid data.
Maybe something else is going on here that I do not understand, however
this fix does cure the seg fault and the leak of one small object is
preferable to the seg fault.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12917#comment:34>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list