Project

General

Profile

Actions

Bug #5100

open

TVHeadend sometimes hangs when encountering errors in an ATSC stream

Added by Michael Marley almost 7 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Crashes
Target version:
-
Start date:
2018-05-03
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-1252~g595fd174f
Affected Versions:

Description

This morning while I was watching live TV from Kodi, TVHeadend hanged and started spinning at 100% CPU. The log output is below, with the last 5 lines (approximately) repeating indefinitely. I have also attached the output of "thread apply all bt full" from GDB.

May  3 07:01:28 mamarley-desktop tvheadend[961]: mpegts: 677.028MHz in ATSC - tuning on HDHomeRun ATSC-T Tuner #0 (169.254.176.173)
May  3 07:01:28 mamarley-desktop tvheadend[961]: tvhdhomerun: tuning to auto:677028615
May  3 07:01:28 mamarley-desktop tvheadend[961]: subscription: 0009: "::ffff:10.3.65.234 [ michael | Kodi Media Center ]" subscribing on channel "WRAL_HD", weight: 150, adapter: "HDHomeRun ATSC-T Tuner #0 (169.254.176.173)", network: "ATSC", mux: "677.028MHz", service: "WRAL_HD", profile="htsp", hostname="::ffff:10.3.65.234", username="michael", client="Kodi Media Center" 
May  3 07:02:29 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD Transport error indicator (total 1)
May  3 07:02:29 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49 Continuity counter error (total 1)
May  3 07:02:29 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #52 Continuity counter error (total 1)
May  3 07:02:29 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49: Invalid start code b8:3c:9d
May  3 07:02:30 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #53 Continuity counter error (total 1)
May  3 07:02:58 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD Transport error indicator (total 48)
May  3 07:04:25 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD Transport error indicator (total 55)
May  3 07:04:25 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49 Continuity counter error (total 19)
May  3 07:04:25 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #53 Continuity counter error (total 3)
May  3 07:04:25 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #52 Continuity counter error (total 4)
May  3 07:04:25 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49: Invalid start code 2f:c3:89
May  3 07:04:25 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #52: Invalid start code fa:5e:cf
May  3 07:04:28 mamarley-desktop tvheadend[961]: tsfix: transport stream AC3, DTS discontinuity. DTS = 16113600, last = 15822720
May  3 07:04:28 mamarley-desktop tvheadend[961]: tsfix: transport stream AC3, DTS discontinuity. DTS = 16175509, last = 15999829
May  3 07:04:37 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD Transport error indicator (total 123)
May  3 07:04:37 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49 Continuity counter error (total 62)
May  3 07:04:42 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #53 Continuity counter error (total 9)
May  3 07:04:42 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #52 Continuity counter error (total 8)
May  3 07:04:42 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49: Invalid start code 6a:c6:84
May  3 07:04:45 mamarley-desktop tvheadend[961]: tsfix: transport stream AC3, DTS discontinuity. DTS = 17640000, last = 17320320
May  3 07:06:02 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD Transport error indicator (total 162)
May  3 07:06:02 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49 Continuity counter error (total 67)
May  3 07:07:36 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD Transport error indicator (total 168)
May  3 07:07:36 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49 Continuity counter error (total 68)
May  3 07:07:36 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49: Invalid start code 6c:43:0d
May  3 07:07:36 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #52: Invalid start code 1d:4a:37
May  3 07:08:08 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD Transport error indicator (total 233)
May  3 07:08:08 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49 Continuity counter error (total 77)
May  3 07:08:08 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #53 Continuity counter error (total 10)
May  3 07:08:08 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #52 Continuity counter error (total 9)
May  3 07:08:08 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49: Invalid start code 83:c3:62
May  3 07:08:54 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD Transport error indicator (total 317)
May  3 07:11:10 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD Transport error indicator (total 324)
May  3 07:11:10 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49 Continuity counter error (total 116)
May  3 07:11:11 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #52 Continuity counter error (total 12)
May  3 07:11:11 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49: Invalid start code f2:c4:78
May  3 07:11:11 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #53 Continuity counter error (total 14)
May  3 07:11:13 mamarley-desktop tvheadend[961]: tsfix: transport stream AC3, DTS discontinuity. DTS = 52578709, last = 52359829
May  3 07:11:13 mamarley-desktop tvheadend[961]: tsfix: transport stream AC3, DTS discontinuity. DTS = 52588800, last = 52485120
May  3 07:12:20 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD Transport error indicator (total 458)
May  3 07:12:20 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49 Continuity counter error (total 154)
May  3 07:12:20 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #52 Continuity counter error (total 16)
May  3 07:12:20 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #53 Continuity counter error (total 20)
May  3 07:12:20 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49: Invalid start code 26:f0:9e
May  3 07:12:20 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #52: Invalid start code 7a:a8:18
May  3 07:12:50 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD Transport error indicator (total 496)
May  3 07:12:50 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49 Continuity counter error (total 170)
May  3 07:12:50 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #52 Continuity counter error (total 20)
May  3 07:12:50 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49 Corrupted PES header (errors 25)
May  3 07:14:07 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD Transport error indicator (total 558)
May  3 07:14:07 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #53 Continuity counter error (total 21)
May  3 07:14:07 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49 Continuity counter error (total 202)
May  3 07:14:07 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #52 Continuity counter error (total 22)
May  3 07:14:07 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49: Invalid start code 15:fc:65
May  3 07:14:10 mamarley-desktop tvheadend[961]: tsfix: transport stream AC3, DTS discontinuity. DTS = 68472000, last = 68224320
May  3 07:14:51 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD Transport error indicator (total 570)
May  3 07:14:51 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49 Continuity counter error (total 205)
May  3 07:14:51 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #53 Continuity counter error (total 23)
May  3 07:14:51 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49: Invalid start code da:74:df
May  3 07:14:51 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #53: Invalid start code f0:01:d9
May  3 07:14:56 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #52 Continuity counter error (total 23)
May  3 07:14:56 mamarley-desktop tvheadend[961]: tsfix: transport stream AC3, DTS discontinuity. DTS = 72676800, last = 72573120
May  3 07:15:10 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD Transport error indicator (total 675)
May  3 07:15:10 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49 Continuity counter error (total 266)
May  3 07:15:11 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: MPEG2VIDEO @ #49: Invalid start code d8:5c:b1
May  3 07:15:11 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #52 Continuity counter error (total 27)
May  3 07:15:11 mamarley-desktop tvheadend[961]: TS: ATSC/677.028MHz/WRAL_HD: AC3 @ #53 Continuity counter error (total 29)
May  3 07:15:11 mamarley-desktop tvheadend[961]: parser: ATSC/677.028MHz/WRAL_HD: AC3 @ #53: DTS and PCR diff is very big (511799)
May  3 07:15:13 mamarley-desktop tvheadend[961]: parser: ATSC/677.028MHz/WRAL_HD: AC3 @ #53: DTS and PCR diff is very big (1197154679)
May  3 07:15:15 mamarley-desktop tvheadend[961]: parser: ATSC/677.028MHz/WRAL_HD: AC3 @ #53: DTS and PCR diff is very big (2398967159)
May  3 07:15:17 mamarley-desktop tvheadend[961]: parser: ATSC/677.028MHz/WRAL_HD: AC3 @ #53: DTS and PCR diff is very big (3602023799)
May  3 07:15:26 mamarley-desktop tvheadend[961]: tsfix: transport stream AC3, DTS discontinuity. DTS = 74009728, last = 74545920
May  3 07:15:26 mamarley-desktop tvheadend[961]: parser: ATSC/677.028MHz/WRAL_HD: AC3 @ #53: DTS and PCR diff is very big (511287)
May  3 07:15:28 mamarley-desktop tvheadend[961]: parser: ATSC/677.028MHz/WRAL_HD: AC3 @ #53: DTS and PCR diff is very big (1158130167)
May  3 07:15:30 mamarley-desktop tvheadend[961]: parser: ATSC/677.028MHz/WRAL_HD: AC3 @ #53: DTS and PCR diff is very big (2361636087)
May  3 07:15:32 mamarley-desktop tvheadend[961]: parser: ATSC/677.028MHz/WRAL_HD: AC3 @ #53: DTS and PCR diff is very big (3560516727)
May  3 07:15:39 mamarley-desktop tvheadend[961]: htsp: ::ffff:10.3.65.234 [ michael | Kodi Media Center ]: Write error -- Broken pipe
May  3 07:15:40 mamarley-desktop tvheadend[961]: tsfix: transport stream AC3, DTS discontinuity. DTS = 74009216, last = 74545408
May  3 07:15:40 mamarley-desktop tvheadend[961]: parser: ATSC/677.028MHz/WRAL_HD: AC3 @ #53: DTS and PCR diff is very big (510775)
May  3 07:15:41 mamarley-desktop tvheadend[961]: mpegts: too much queued input data (over 50MB) for HDHomeRun ATSC-T Tuner #0 (169.254.176.173), discarding new
May  3 07:15:42 mamarley-desktop tvheadend[961]: parser: ATSC/677.028MHz/WRAL_HD: AC3 @ #53: DTS and PCR diff is very big (1213494775)
May  3 07:15:44 mamarley-desktop tvheadend[961]: parser: ATSC/677.028MHz/WRAL_HD: AC3 @ #53: DTS and PCR diff is very big (2427941815)
May  3 07:15:46 mamarley-desktop tvheadend[961]: parser: ATSC/677.028MHz/WRAL_HD: AC3 @ #53: DTS and PCR diff is very big (3625944055)
May  3 07:15:51 mamarley-desktop tvheadend[961]: mpegts: too much queued input data (over 50MB) for HDHomeRun ATSC-T Tuner #0 (169.254.176.173), discarding new
May  3 07:15:54 mamarley-desktop tvheadend[961]: tsfix: transport stream AC3, DTS discontinuity. DTS = 74008704, last = 74544896
May  3 07:15:54 mamarley-desktop tvheadend[961]: parser: ATSC/677.028MHz/WRAL_HD: AC3 @ #53: DTS and PCR diff is very big (510263)
May  3 07:15:56 mamarley-desktop tvheadend[961]: parser: ATSC/677.028MHz/WRAL_HD: AC3 @ #53: DTS and PCR diff is very big (1150111223)
May  3 07:15:58 mamarley-desktop tvheadend[961]: parser: ATSC/677.028MHz/WRAL_HD: AC3 @ #53: DTS and PCR diff is very big (2355803063)
May  3 07:16:00 mamarley-desktop tvheadend[961]: parser: ATSC/677.028MHz/WRAL_HD: AC3 @ #53: DTS and PCR diff is very big (3553574903)
May  3 07:16:01 mamarley-desktop tvheadend[961]: mpegts: too much queued input data (over 50MB) for HDHomeRun ATSC-T Tuner #0 (169.254.176.173), discarding new

Files

gdb.txt (590 KB) gdb.txt Michael Marley, 2018-05-03 13:41
gdb.txt (593 KB) gdb.txt Michael Marley, 2018-05-04 00:56
Actions

Also available in: Atom PDF