Project

General

Profile

Actions

Bug #3361

open

TVHeadEnd crashes if tuned to station that is off-air or has too weak signal to be received

Added by K Shea over 9 years ago. Updated over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Crashes
Target version:
-
Start date:
2015-11-30
Due date:
% Done:

0%

Estimated time:
Found in version:
HTS Tvheadend 4.0.7
Affected Versions:

Description

I've had this problem ever since I started using TVHeadEnd but never reported it before because I was running an older version (3.9 branch). A few days ago I did a complete reinstallation using Ubuntu Server 14.04 and HTS Tvheadend 4.0.7 (most current stable version) and find this problem still persists. The problem is that if you attemt to tune a live TV channel in Kodi (using their TVHeadEnd client) and for some reason the station cannot be received, either because the signal is too weak or because the station or satellite signal just isn't there, after about 5 to 10 seconds Kodi will crash hard.

If you see nothing is coming in and you manage to hit stop quickly enough, or change to a different working channel, it will not crash. If you are watching or listening to something and the signal suddenly becomes unreceivable for more than several seconds, it MAY crash. If it is trying to record a signal that is not there (the user isn't trying to watch it live) the the vast majority of the time it will not crash. When it crashes, TVHeadEnd goes completely down (it may or may not come back up again after a few seconds), all in-progress recordings are stopped and thrown away, and all manually-set or changed PVR timers are lost (in other words, if you had it set to record a show every week but had deleted the timer for this week only because you knew the show was a rerun, after TVHeadEnd restarts that timer will be back. Conversely, if you had set a timer from Kodi's EPG grid, it will be lost and you will have to set it again).

This is not only annoying but has also caused some family friction when someone (usually me) tried to watch something live and managed to crash the system and interrupt recordings that others had planned on watching.

I've seen this behavior on both the system mentioned above (which contains TBS Satellite cards for receiving DVB-S2 signals) but also on a different TVHeadEnd backend that receives terrestrial TV only using HDHomeRuns as tuners. For me it is 100% repeatable - go into Kodi's Live TV section, tune to a channel where no signal is present, wait about ten seconds, and TVHeadEnd WILL crash, guaranteed. And it WILL lose all manually set/changed timers. The only question is whether it will restart on its own or whether I will need to reboot the backend to restart it.

Actions

Also available in: Atom PDF