Project

General

Profile

Actions

Bug #4684

open

tvh crashes on certain dvr-filenames

Added by ullix tv over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Crashes
Target version:
-
Start date:
2017-10-24
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-516~gd7d83b6 (2017-10-02T21:12:15+0000)
Affected Versions:

Description

In playing with the recordings-database files under */dvr/log/ I came across this issue resulting in tvheadend crashing, while I think it should be doing no more than ignoring the problem.

Example: filename "49bf21b031017e849621ef5f30dba0f6" represents one original recording, created by tvh. I copied this file into the same directory (with same owner, group, permission) with the filename renamed at the last "6" to a "7". This resulted in a crash; from syslog (more in attached file):

 idnode: Id node collission (49bf21b031017e849621ef5f30dba0f6)  (short)
 CRASH: Signal: 6 in PRG: /usr/bin/tvheadend (4.3-516~gd7d83b6) [aad0af1eb9505b6ec4578b2cb7f7b7a1e99647a6] CWD: /
 CRASH: Fault address 0x7d000029ef (N/A)

The same crash results when the filename is modified with an "a" instead of "7". But it does NOT crash with an "x", though the Finished Recordings list on the web interface still don't show this extra recording.

Whatever the reason (checksum?), tvh should not crash.


Files

syslog-tvh-crash (2.15 KB) syslog-tvh-crash syslog section with crash info ullix tv, 2017-10-24 13:17
Actions

Also available in: Atom PDF