Bug #4904
Segfault on DVR begin of recording
100%
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
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.
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.