Bug #474
closed
2.12 crashes on continuity counter errors
0%
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