Project

General

Profile

weird tvheadend server crash

Added by Tom Joe about 9 years ago

i've been using tvheadend for over two years now without any problems.
a few weeks ago it started crashing once a day. first i tought it is the hardware, so I swapped one dvbs card with a new one, but it continued crashing.
TVH version is 4.0.5 on debian Jessie. I use two tevii S471

my syslog:

Sep 15 00:21:07 debian tvheadend[22574]: CRASH: Signal: 6 in PRG: /usr/bin/tvheadend (4.0.5) [eaa5d5781d89112683e1cccac8d9a12ece2a7caa] CWD: /
Sep 15 00:21:07 debian tvheadend[22574]: CRASH: Fault address 0x3e80000582e (N/A)
Sep 15 00:21:07 debian tvheadend[22574]: CRASH: Loaded libraries: linux-vdso.so.1 /usr/lib/x86_64-linux-gnu/libdvbcsa.so.1 /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/liburiparser.so.1 /usr/lib/x86_64-linux-gnu/libavahi-common.so.3 /usr/lib/x86_64-linux-gnu/libavahi-client.so.3 /lib/x86_64-linux-gnu/libdbus-1.so.3 /lib/x86_64-linux-gnu/libdl.so.2 /lib/x86_64-linux-gnu/libpthread.so.0 /lib/x86_64-linux-gnu/libm.so.6 /lib/x86_64-linux-gnu/librt.so.1 /lib/x86_64-linux-gnu/libc.so.6 /lib64/ld-linux-x86-64.so.2 /lib/x86_64-linux-gnu/libnss_compat.so.2 /lib/x86_64-linux-gnu/libnsl.so.1 /lib/x86_64-linux-gnu/libnss_nis.so.2 /lib/x86_64-linux-gnu/libnss_files.so.2
Sep 15 00:21:07 debian tvheadend[22574]: CRASH: Register dump [23]: 383830303030383800000000000000000000000000000008000000000000020600007f24a5ff2540000000000000000700000000000000530000000000000007000000000000582e00000000000070dc00007f24a5ff273000000000000000530000000000000006000000000000000000007f24c13a010700007f24a5ff239800007f24c13a01070000000000000206002b00000000003300000000000000000000000000000000fffffffe7ffbba110000000000000000
Sep 15 00:21:07 debian tvheadend[22574]: CRASH: STACKTRACE
Sep 15 00:21:07 debian tvheadend[22574]: parser: transport stream H264, DTS discontinuity. DTS = 41173374, last = 40219374
Sep 15 00:21:07 debian tvheadend[22574]: eit: PID 0012 CC error 2 != 1
Sep 15 00:21:07 debian tvheadend[22574]: eit: PID 0012 CC error 5 != 4
Sep 15 00:21:07 debian tvheadend[22574]: pmt: PID 0062 CC error 14 != 13
Sep 15 00:21:07 debian tvheadend[22574]: pmt: PID 0062 CC error 0 != 15
Sep 15 00:21:07 debian tvheadend[22574]: service: SAT/12574.25H/DMAX HD: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled packets] [No access]
Sep 15 00:21:07 debian tvheadend[22574]: service: SAT/12574.25H/DMAX HD: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled packets]
Sep 15 00:21:07 debian tvheadend[22574]: CRASH: ??:0 0x461a69
Sep 15 00:21:07 debian tvheadend[22574]: CRASH: ??:0 0x7f24c1c2c8d0
Sep 15 00:21:07 debian tvheadend[22574]: CRASH: gsignal+0x37  (/lib/x86_64-linux-gnu/libc.so.6)
Sep 15 00:21:07 debian tvheadend[22574]: CRASH: abort+0x148  (/lib/x86_64-linux-gnu/libc.so.6)
Sep 15 00:21:07 debian tvheadend[22574]: CRASH: ??:0 0x7f24c13de204
Sep 15 00:21:07 debian tvheadend[22574]: eit: PID 0012 CC error 0 != 15
Sep 15 00:21:07 debian tvheadend[22574]: CRASH: ??:0 0x7f24c13e39de
Sep 15 00:21:07 debian tvheadend[22574]: CRASH: ??:0 0x7f24c13e46e6
Sep 15 00:21:07 debian tvheadend[22574]: CRASH: ??:0 0x44a7c1
Sep 15 00:21:07 debian tvheadend[22574]: CRASH: ??:0 0x44a7e9
Sep 15 00:21:07 debian tvheadend[22574]: CRASH: ??:0 0x4a19ac
Sep 15 00:21:07 debian tvheadend[22574]: eit: PID 0012 CC error 15 != 13
Sep 15 00:21:07 debian tvheadend[22574]: CRASH: ??:0 0x49f4f4
Sep 15 00:21:07 debian tvheadend[22574]: CRASH: ??:0 0x491987
Sep 15 00:21:07 debian tvheadend[22574]: capmt: tom, CA_SET_DESCR adapter 2 par 1 idx 0 de8597fa13189dc8
Sep 15 00:21:07 debian tvheadend[22574]: CRASH: ??:0 0x435f1f


Replies (5)

RE: weird tvheadend server crash - Added by Prof Yaffle about 9 years ago

No comment on the problem - but you might get closer if you install the corresponding dbg file so you get more information in the crash dump.

Find your version here and install the dbg deb with sudo dpkg -i <downloaded>.deb: https://dl.bintray.com/tvheadend/ubuntu/

... and then your crash report will say specifically which bit of the program committed code-icide.

RE: weird tvheadend server crash - Added by Tom Joe about 9 years ago

ok I installed the dbg file. Tvheadend crashes only if I set a recording on the channell DMAX HD..

Sep 28 18:17:54 debian tvheadend[30955]: pat: PID 0000 CC error 4 != 3
Sep 28 18:17:54 debian tvheadend[30955]: cat: PID 0001 CC error 4 != 3
Sep 28 18:17:55 debian tvheadend[30955]: eit: PID 0012 CC error 4 != 3
Sep 28 18:17:55 debian tvheadend[30955]: eit: PID 0012 CC error 6 != 5
Sep 28 18:17:55 debian tvheadend[30955]: eit: PID 0012 CC error 9 != 7
Sep 28 18:17:55 debian tvheadend[30955]: eit: PID 0012 CC error 1 != 13
Sep 28 18:17:55 debian tvheadend[30955]: eit: PID 0012 CC error 5 != 4
Sep 28 18:17:55 debian tvheadend[30955]: eit: PID 0012 CC error 1 != 14
Sep 28 18:17:55 debian tvheadend[30955]: eit: PID 0012 CC error 7 != 6
Sep 28 18:17:55 debian tvheadend[30955]: eit: PID 0012 CC error 2 != 1
Sep 28 18:17:55 debian tvheadend[30955]: eit: PID 0012 CC error 11 != 9
Sep 28 18:17:55 debian tvheadend[30955]: pat: PID 0000 CC error 9 != 8
Sep 28 18:17:55 debian tvheadend[30955]: eit: PID 0012 CC error 1 != 14
Sep 28 18:17:55 debian tvheadend[30955]: cat: PID 0001 CC error 9 != 8
Sep 28 18:17:55 debian tvheadend[30955]: eit: PID 0012 CC error 12 != 11
Sep 28 18:17:55 debian tvheadend[30955]: eit: PID 0012 CC error 0 != 14
Sep 28 18:17:55 debian tvheadend[30955]: eit: PID 0012 CC error 8 != 7
Sep 28 18:17:55 debian tvheadend[30955]: eit: PID 0012 CC error 0 != 15
Sep 28 18:17:55 debian tvheadend[30955]: eit: PID 0012 CC error 1 != 15
Sep 28 18:17:55 debian tvheadend[30955]: eit: PID 0012 CC error 1 != 15
Sep 28 18:17:55 debian sh[521]: 2015-09-28 18:17:55,981 - com.plexapp.plugins.trakttv      (7f731ffef700) :  INFO (logging_handler:46) - [plugin.sync.pull] Conflict when updating ra$
Sep 28 18:17:55 debian tvheadend[30955]: eit: PID 0012 CC error 6 != 4
Sep 28 18:17:56 debian tvheadend[30955]: TS: SAT/12574.25H/DMAX HD: AC3 @ #771 Continuity counter error (total 1156)
Sep 28 18:17:56 debian tvheadend[30955]: TS: SAT/12574.25H/DMAX HD: H264 @ #767 Continuity counter error (total 11497)
Sep 28 18:17:56 debian tvheadend[30955]: eit: PID 0012 CC error 9 != 8
Sep 28 18:17:56 debian tvheadend[30955]: CRASH: Signal: 6 in PRG: /usr/bin/tvheadend (4.0.5) [eaa5d5781d89112683e1cccac8d9a12ece2a7caa] CWD: /
Sep 28 18:17:56 debian tvheadend[30955]: CRASH: Fault address 0x3e8000078eb (N/A)
Sep 28 18:17:56 debian tvheadend[30955]: CRASH: Loaded libraries: linux-vdso.so.1 /usr/lib/x86_64-linux-gnu/libdvbcsa.so.1 /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/lib/x86_64-$
Sep 28 18:17:56 debian tvheadend[30955]: CRASH: Register dump [23]: 306131623130303900000000000000000000000000000008000000000000020600007fc27dffa540000000000000000700000000000000500$
Sep 28 18:17:56 debian tvheadend[30955]: CRASH: STACKTRACE
Sep 28 18:17:56 debian tvheadend[30955]: eit: PID 0012 CC error 7 != 6
Sep 28 18:17:56 debian tvheadend[30955]: eit: PID 0012 CC error 1 != 14
Sep 28 18:17:56 debian tvheadend[30955]: eit: PID 0012 CC error 3 != 1
Sep 28 18:17:56 debian tvheadend[30955]: CRASH: /build/tvheadend/src/trap.c:148 0x461a69
Sep 28 18:17:56 debian tvheadend[30955]: CRASH: ??:0 0x7fc2c89258d0
Sep 28 18:17:56 debian tvheadend[30955]: CRASH: gsignal+0x37  (/lib/x86_64-linux-gnu/libc.so.6)
Sep 28 18:17:56 debian tvheadend[30955]: CRASH: abort+0x148  (/lib/x86_64-linux-gnu/libc.so.6)
Sep 28 18:17:56 debian tvheadend[30955]: CRASH: ??:0 0x7fc2c80d7204
Sep 28 18:17:56 debian tvheadend[30955]: CRASH: ??:0 0x7fc2c80dc9de
Sep 28 18:17:56 debian tvheadend[30955]: CRASH: ??:0 0x7fc2c80dd6e6
Sep 28 18:17:56 debian tvheadend[30955]: pat: PID 0000 CC error 4 != 3
Sep 28 18:17:56 debian tvheadend[30955]: cat: PID 0001 CC error 4 != 3
Sep 28 18:17:56 debian tvheadend[30955]: eit: PID 0012 CC error 7 != 6
Sep 28 18:17:56 debian tvheadend[30955]: CRASH: /build/tvheadend/src/packet.c:168 0x44a7c1
Sep 28 18:17:56 debian tvheadend[30955]: eit: PID 0012 CC error 15 != 14
Sep 28 18:17:56 debian tvheadend[30955]: eit: PID 0012 CC error 3 != 0
Sep 28 18:17:56 debian tvheadend[30955]: CRASH: /build/tvheadend/src/packet.c:35 0x44a7e9
Sep 28 18:17:56 debian tvheadend[30955]: eit: PID 0012 CC error 10 != 9
Sep 28 18:17:56 debian tvheadend[30955]: CRASH: /build/tvheadend/src/muxer/tvh/mkmux.c:1234 0x4a19ac
Sep 28 18:17:57 debian tvheadend[30955]: descrambler: ECM late (5 seconds) for service "DMAX HD" 
Sep 28 18:17:57 debian tvheadend[30955]: service: SAT/12574.25H/DMAX HD: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled packets] [No access]
Sep 28 18:17:57 debian tvheadend[30955]: eit: PID 0012 CC error 4 != 1
Sep 28 18:17:57 debian tvheadend[30955]: eit: PID 0012 CC error 0 != 13
Sep 28 18:17:57 debian tvheadend[30955]: eit: PID 0012 CC error 3 != 1
Sep 28 18:17:57 debian tvheadend[30955]: CRASH: /build/tvheadend/src/muxer/muxer_tvh.c:162 0x49f4f4
Sep 28 18:17:57 debian tvheadend[30955]: eit: PID 0012 CC error 10 != 9
Sep 28 18:17:57 debian tvheadend[30955]: eit: PID 0012 CC error 1 != 15
Sep 28 18:17:57 debian tvheadend[30955]: pat: PID 0000 CC error 10 != 9
Sep 28 18:17:57 debian tvheadend[30955]: eit: PID 0012 CC error 0 != 14
Sep 28 18:17:57 debian tvheadend[30955]: CRASH: /build/tvheadend/src/muxer.h:137 0x491987
Sep 28 18:17:57 debian tvheadend[30955]: pat: PID 0000 CC error 12 != 11
Sep 28 18:17:57 debian tvheadend[30955]: cat: PID 0001 CC error 12 != 11
Sep 28 18:17:57 debian tvheadend[30955]: eit: PID 0012 CC error 0 != 15
Sep 28 18:17:57 debian tvheadend[30955]: eit: PID 0012 CC error 5 != 3
Sep 28 18:17:57 debian tvheadend[30955]: CRASH: /build/tvheadend/src/wrappers.c:149 0x435f1f

RE: weird tvheadend server crash - Added by Prof Yaffle about 9 years ago

Current stable appears to be 4.0.6-1~g4f9edb1 - can you try that and see if the problem still exists? If so, please file a bug and reference back to that trace, or pastebin a new one.

https://dl.bintray.com/tvheadend/ubuntu/

RE: weird tvheadend server crash - Added by Tom Joe about 9 years ago

it still crashes after the update to 4.0.6-4:

Oct  3 13:14:37 debian tvheadend[11060]: service: SAT/12574.25H/DMAX HD: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled pack$
Oct  3 13:14:37 debian tvheadend[11060]: service: SAT/12574.25H/DMAX HD: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled pack$
Oct  3 13:14:37 debian tvheadend[11060]: service: SAT/12574.25H/DMAX HD: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled pack$
Oct  3 13:14:37 debian tvheadend[11060]: service: SAT/12574.25H/DMAX HD: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled pack$
Oct  3 13:14:37 debian tvheadend[11060]: service: SAT/12574.25H/DMAX HD: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled pack$
Oct  3 13:14:37 debian tvheadend[11060]: service: SAT/12574.25H/DMAX HD: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled pack$
Oct  3 13:14:37 debian tvheadend[11060]: service: SAT/12574.25H/DMAX HD: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled pack$
Oct  3 13:14:37 debian tvheadend[11060]: service: SAT/12574.25H/DMAX HD: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled pack$
Oct  3 13:14:37 debian tvheadend[11060]: service: SAT/12574.25H/DMAX HD: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled pack$
Oct  3 13:14:37 debian tvheadend[11060]: service: SAT/12574.25H/DMAX HD: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled pack$
Oct  3 13:14:37 debian tvheadend[11060]: service: SAT/12574.25H/DMAX HD: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled pack$
Oct  3 13:14:37 debian tvheadend[11060]: service: SAT/12574.25H/DMAX HD: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled pack$
Oct  3 13:14:37 debian sh[9986]: 2015-10-03 13:14:37,765 - com.plexapp.plugins.trakttv      (7fcbd77fe700) :  WARNING (logging_handler:46) - [plex.objects.core.ba$
Oct  3 13:14:37 debian tvheadend[11060]: CRASH: Signal: 11 in PRG: /usr/bin/tvheadend (4.0.6-4~ge3e8a56) [bbd2004581a9a3729e734d881d3570daf803cf26] CWD: /
Oct  3 13:14:37 debian tvheadend[11060]: CRASH: Fault address (nil) (N/A)
Oct  3 13:14:37 debian tvheadend[11060]: CRASH: Loaded libraries: linux-vdso.so.1 /usr/lib/x86_64-linux-gnu/libdvbcsa.so.1 /usr/lib/x86_64-linux-gnu/libssl.so.1.0$
Oct  3 13:14:37 debian tvheadend[11060]: CRASH: Register dump [23]: 00000000033d8280000000000000126900000000000000000000000000000206000000000000000000000000038aa1$
Oct  3 13:14:37 debian tvheadend[11060]: CRASH: STACKTRACE
Oct  3 13:14:37 debian sh[9986]: 2015-10-03 13:14:37,899 - com.plexapp.plugins.trakttv      (7fcbd77fe700) :  WARNING (logging_handler:46) - [plex.objects.core.ba$
Oct  3 13:14:37 debian sh[9986]: 2015-10-03 13:14:37,925 - com.plexapp.plugins.trakttv      (7fcbd77fe700) :  WARNING (logging_handler:46) - [plex.objects.core.ba$
Oct  3 13:14:37 debian sh[9986]: 2015-10-03 13:14:37,971 - com.plexapp.plugins.trakttv      (7fcbd77fe700) :  WARNING (logging_handler:46) - [plex.objects.core.ba$
Oct  3 13:14:37 debian sh[9986]: 2015-10-03 13:14:37,981 - com.plexapp.plugins.trakttv      (7fcbd77fe700) :  WARNING (logging_handler:46) - [plex.objects.core.ba$
Oct  3 13:14:38 debian tvheadend[11060]: CRASH: /build/tvheadend/src/trap.c:148 0x461c79
Oct  3 13:14:38 debian tvheadend[11060]: CRASH: ??:0 0x7f73ea9558d0
Oct  3 13:14:38 debian tvheadend[11060]: CRASH: /build/tvheadend/src/input/mpegts/mpegts_table.c:34 0x4b8f70
Oct  3 13:14:38 debian tvheadend[11060]: CRASH: /build/tvheadend/src/input/mpegts/mpegts_input.c:1015 0x4b0180
Oct  3 13:14:38 debian sh[9986]: 2015-10-03 13:14:38,474 - com.plexapp.plugins.trakttv      (7fcbd77fe700) :  INFO (logging_handler:46) - [plugin.pts.action_manag$
Oct  3 13:14:38 debian tvheadend[11060]: CRASH: /build/tvheadend/src/wrappers.c:149 0x435fff
Oct  3 13:14:38 debian tvheadend[11060]: CRASH: ??:0 0x7f73ea94e0a4
Oct  3 13:14:38 debian tvheadend[11060]: CRASH: clone+0x6d  (/lib/x86_64-linux-gnu/libc.so.6)
Oct  3 13:14:38 debian kernel: [2657861.539098] traps: mpegts_input_th[11307] general protection ip:4b8f70 sp:7f73daffc760 error:0 in tvheadend[400000+c4a000]

RE: weird tvheadend server crash - Added by Prof Yaffle about 9 years ago

an you log it as a bug so it can be investigated properly, please? Any crash isn't good, whatever is causing it.

    (1-5/5)