[mythtv-commits] Ticket #12773: backend segfault LiveTV HTTPTS
MythTV
noreply at mythtv.org
Sat Oct 15 20:07:55 UTC 2016
#12773: backend segfault LiveTV HTTPTS
--------------------------------+------------------------
Reporter: charles.bovy@… | Owner:
Type: Bug Report - Crash | Status: new
Priority: minor | Milestone: 0.28.1
Component: MythTV - General | Version: 0.28.0
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
--------------------------------+------------------------
Comment (by and.mayer@…):
After applying attached patch (in addition to the patch from ticket 12856)
BE did not segfault for the last week.
{{{
--- a/mythtv/libs/libmythtv/recorders/iptvchannel.cpp
+++ b/mythtv/libs/libmythtv/recorders/iptvchannel.cpp
@@ -122,8 +122,14 @@ void IPTVChannel::CloseStreamHandler(void)
if (m_stream_handler)
{
- if (m_stream_data)
+ if (m_stream_data) {
m_stream_handler->RemoveListener(m_stream_data);
+ m_stream_data = NULL;
+ }
HLSStreamHandler* hsh =
dynamic_cast<HLSStreamHandler*>(m_stream_handler);
HTTPTSStreamHandler* httpsh =
dynamic_cast<HTTPTSStreamHandler*>(m_stream_handler);
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12773#comment:10>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list