Project

General

Profile

Bug #474

2.12 crashes on continuity counter errors

Added by Anonymous over 13 years ago. Updated over 13 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-04-27
Due date:
% Done:

0%

Estimated time:
Found in version:
Affected Versions:

Description

I've encountered a number of segfaults which seem to be related to continuity counter errors. Both DVB-C and DVB-S feeds generate a varying number of continuity errors throughout the day, which frequently crash xbmc clients (I have nine boxes running), and the same errors occasionally crash tvheadend. Sometimes it takes 10,000 errors to crash tvheadend, and other times only a few dozen.

I'm running tvheadend 2.12 on an i7 board with 8GB RAM under Ubuntu server 10.10 64-bit.

I have opened ticket 11450 for xbmc. The xbmc log shows a VDPAU error but in fact this crash occurs exclusively in the presence of continuity errors. The xbmc boxes playing streams from two USB Hauppauge encoders never crash.

The continuity errors seem to be caused by interference on the satellite feed, and by poor engineering on the CATV feed; neither of these problems can be reconciled so we are stuck with these errors. On the bright side, my environment seems perfect to stress-test tvheadend.

I believe that tvheadend should handle these errors gracefully, and should reformat errant frames or send blanks in order to mitigate the issue on xbmc.

Syslog output to be attached.


Files

tvheadend_crash_20110425.txt (21.6 KB) tvheadend_crash_20110425.txt Crash on 25-04-2011 Anonymous, 2011-04-27 12:46
tvheadend_crash_20110427.txt (5.25 KB) tvheadend_crash_20110427.txt Crash on 27-04-2011 Anonymous, 2011-04-27 12:46

Related issues

Is duplicate of Bug #467: 2.12 crash error 6Fixed2011-04-21

Actions

History

#1

Updated by Anonymous over 13 years ago

I've now removed the digital cable feed from the server and started using git-90e3570. Everything has been much more stable, with no Tvheadend crashes and only a few XBMC crashes. However this is not a real solution because I need to grab programmes from two different MUXes on digital cable.

It does seem there is a direct correlation between the number of continuity counter errors and the stability of both Tvheadend and XBMC. The digital cable was producing the majority of the errors, and removing it has made the system more stable. It seems to be an accumulative effect, since an experiment restarting both Tvheadend and XBMC throughout the day proved one way of mitigating the problem.

Tomorrow I will put back the digital cable feed in order to verify.

#2

Updated by Andreas Smas over 13 years ago

  • Status changed from New to Fixed

According to discussion on IRC this seems to work now.

Also available in: Atom PDF