Project

General

Profile

Bug #4904

Segfault on DVR begin of recording

Added by Hanjo V. almost 7 years ago. Updated almost 7 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
Crashes
Target version:
-
Start date:
2018-01-30
Due date:
% Done:

100%

Estimated time:
Found in version:
4.4.20180117-1
Affected Versions:

Description

Hi,

I'm running the unstable 4.4.20180117-1 from http://syno.dierkse.nl/ on a Synology DS 916+. Everything is fine until a scheduled recording is about to begin. At that point in time tvheadend just crashes and I find the following line in dmesg:

[158934.674186] tvh:dvr[26953]: segfault at 0 ip 00007f62c8880c8b sp 00007f62bd0471a0 error 4 in tvheadend[7f62c8652000+cfb000]

When I restart tvheadend it will crash immediately again with the same message as long as the end time of the scheduled recording has not yet been reached. After the end time of the scheduled recording tvheadend can be started again.

Since this is an unstable development version something like this is probable to be expected, but of course I would like to fix this.

What is a good way forward to debug this issue?

Thanks

History

#2

Updated by Hanjo V. almost 7 years ago

Thanks, I'll look into that, give me some time.

#3

Updated by Hanjo V. almost 7 years ago

Ok, I figured out the reason for the crash. I had configured the recording profile to use the $q variable. Apparently when a show with an empty subtitle is recorded this causes the issue and TVheadend crashes.

#4

Updated by Jaroslav Kysela almost 7 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|68c2ec9dd408226ebaa24340930801cf4582bdeb.

Also available in: Atom PDF