[mythtv-commits] Ticket #9027: [CRASH] BE segfault on start of recording 3 HD programs (HDHR)
MythTV
noreply at mythtv.org
Wed Dec 4 15:43:54 UTC 2019
#9027: [CRASH] BE segfault on start of recording 3 HD programs (HDHR)
-------------------------------------------+-------------------------
Reporter: Dave Alverson <dalverson28@…> | Owner: danielk
Type: defect | Status: closed
Priority: minor | Milestone: 31.0
Component: MythTV - HDHomeRun | Version: 0.23.1
Severity: medium | Resolution: Fixed
Keywords: | Ticket locked: 0
-------------------------------------------+-------------------------
Comment (by Klaas de Waal <kdewaal@…>):
In [changeset:"ec2a518f20385b06f0fe730fa6f567409f34d50e/mythtv"
ec2a518f20/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="ec2a518f20385b06f0fe730fa6f567409f34d50e"
Extend instance locking in HDHomeRun stream handler
Extend the instance locking already present in HDHRStreamHandler
functions TunerGet and TunerSet to GetTunerStatus.
This fixes a segfault in libhdhomerun, reported in ticket #13519,
that appeared when doing a UK DVB-T/T2 scan with offset frequencies.
The segfault happened because GetTunerStatus was called from the
HDHRSignalMonitor in a different thread than the TunerGet/TunerSet
functions.
Extend the instance locking also to the HDHRStreamHandler::run function
where the libhdhomerun functions are called. This should fix the segfault
in the mythbackend startup as reported in ticket #9027.
Refs #9027
Fixes #13519
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/9027#comment:8>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list