Project

General

Profile

Bug #6134

Crash when deleting finished DVR recordings while recording

Added by dj bloc almost 3 years ago. Updated over 2 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-02-05
Due date:
% Done:

0%

Estimated time:
Found in version:
github 4.3-1994~gc7b713edb
Affected Versions:

Description

Appears to be a type of race condition when deleting recordings from "Finished" tab while TVH is recording multiple recordings at the same time. It doesn't always happen (hence belief it is a race condition) but is reasonably repeatable.

Latest log displaying crash

2022-02-05 20:23:48.864 [   INFO] dvr: delete entry dc1ce08f20f952ea846f018375ada49c "Hollyoaks" on "Channel 4 HD" start time 2022-02-04 18:25:00, scheduled for recording by "172.21.0.2", retention "On file removal" removal "Forever"                                                                                                                                                                
2022-02-05 20:23:48.865 [  ALERT] CRASH: Signal: 11 in PRG: /usr/bin/tvheadend (4.3-1994~gc7b713edb) [e6f6a9a32d638e862d39bc64249fca454b71afd8] CWD: /run/s6/services/tvheadend  2022-02-05 20:23:50.853 [   INFO] main: Log started
2022-02-05 20:23:50.859 [   INFO] http: Starting HTTP server 192.168.88.5:9981                                                                                    
2022-02-05 20:23:50.859 [   INFO] htsp: Starting HTSP server 192.168.88.5:9982                                                                                    

History

#1

Updated by dj bloc almost 3 years ago

EDIT:

Through further testing I can confirm the behaviour is still the same while not recording. It seems to be more repeatable if selecting large selection (> 20) of finished recordings at a time.

I would happy to run a debug build to help identify if someone can help with guidance. Thanks

#2

Updated by Flole Systems almost 3 years ago

Unless you provide a stacktrace from a build with debug symbols nobody is able to see what's going wrong in your case.

#3

Updated by Flole Systems over 2 years ago

  • Status changed from New to Invalid

No debug info provided, closed due to inactivity.

#4

Updated by dj bloc over 2 years ago

Happy to help try to debug. I'm using Docker for tvh and I had searched for image with debug symbols but wasn't successful in finding one with a recent build.

I'm currently using lscr.io/linuxserver/tvheadend:latest

Can you point me in the direction of Docker build with debug symbols?

#5

Updated by Flole Systems over 2 years ago

Latest master is on GitHub, if you want to package it into a docker container it's up to you to do that. It's not officially supported or recommended to do that, so you're on your own.

#6

Updated by dj bloc over 2 years ago

As a workaround I've noted if I select multiple recordings (tested on 400+) on the Finished tab and select "Move to failed" and then delete them from the 'Failed Recordings' tab (again 400+ at once) TVH does not crash

Also available in: Atom PDF