Bug #4377
Lot of crashes when playing IPTV channels
0%
Description
I am getting a lot of random crashes when playing IPTV channels
Here is a log:
2017-05-17 16:09:02.861 [ INFO]:mpegts: TESTCHANNEL in TEST - tuning on IPTV
2017-05-17 16:09:02.904 [ INFO]:subscription: 0007: "192.168.0.23 [ leatherface | Kodi Media Center ]" subscribing on channel
"TESTCHANNEL", weight: 150, adapter: "IPTV", network: "TEST", mux: "TESTCHANNEL", provider: "FFmpeg", service:
"Service01", profile="htsp", hostname="192.168.0.23", username="leatherface", client="Kodi Media Center"
2017-05-17 16:09:02.908 [ INFO]:spawn: Executing "/usr/bin/streamlink.sh"
2017-05-17 16:09:04.187 [ ERROR]:spawn: [cli][info] Found matching plugin stream for URL
hls://testchannelurl.m3u8
2017-05-17 16:09:04.188 [ ERROR]:spawn: [cli][info] Available streams: live (worst, best)
2017-05-17 16:09:04.188 [ ERROR]:spawn: [cli][info] Opening stream: live (hls)
2017-05-17 16:09:08.905 [ TRACE]:parser: backlog (pkt stream 0 H264 pcr 404040600 dts 404103600 pts 404114400 dur 3103 len
4066 err 0)
2017-05-17 16:09:08.906 [ TRACE]:parser: pkt bcklog 1 MPEG2VIDEO - backlog flush start - (meta -1)
2017-05-17 16:09:08.906 [ ALERT]:CRASH: Signal: 6 in PRG: /usr/bin/tvheadend (4.3-101~g18ef8d829-dirty)
[d1cf0629f142cdd6b388bf640b4ea42e19ddf539] CWD: /
2017-05-17 16:09:08.906 [ ALERT]:CRASH: Fault address 0x3e800004ddd (N/A)
2017-05-17 16:09:08.906 [ ALERT]:CRASH: Loaded libraries: linux-vdso.so.1 /usr/lib64/libdvben50221.so /usr/lib64/libdvbapi.so
/usr/lib64/libucsi.so /lib64/libssl.so.1.0.0 /lib64/libcrypto.so.1.0.0 /lib64/libz.so.1 /usr/lib64/libpcre.so.1
/usr/lib64/liburiparser.so.1 /usr/lib64/libavahi-common.so.3 /usr/lib64/libavahi-client.so.3 /lib64/libdbus-1.so.3
/lib64/libdl.so.2 /lib64/libpthread.so.0 /lib64/libm.so.6 /lib64/librt.so.1 /usr/lib64/libvdpau.so.1 /usr/lib64/libva.so.1
/usr/lib64/libva-x11.so.1 /usr/lib64/libX11.so.6 /usr/lib64/libva-drm.so.1 /usr/lib64/libxcb.so.1 /usr/lib64/libXau.so.6
/usr/lib64/libxcb-shm.so.0 /usr/lib64/libxcb-xfixes.so.0 /usr/lib64/libxcb-render.so.0 /usr/lib64/libxcb-shape.so.0
/usr/lib64/libSDL2-2.0.so.0 /usr/lib64/libstdc++.so.6 /lib64/libmvec.so.1 /usr/lib64/libcrystalhd.so.3 /usr/lib64/liblzma.so.5
/usr/lib64/libbz2.so.1 /lib64/libc.so.6 /usr/lib64/libsystemd.so.0 /lib64/ld-linux-x86-64.so.2 /usr/lib64/libXext.so.6
/usr/lib64/libXfixes.so.3 /usr/lib64/libdrm.so.2 /usr/lib64/libasound.so.2 /lib64/libgcc_s.so.1 /
2017-05-17 16:09:08.906 [ ALERT]:CRASH: Register dump [23]:
000000000000000000007f4f217f91c0000000000000000800000000000002460000000000000718000055e1422563188000000000000000000055e143c59e30000000000000000200007f4f217f91c0000055e1422560f800000000000000060000000000000000000000000000000000007f4f460ebff000007f4f217f91c000007f4f460ebff00000000000000246002b00000000003300000000000000000000000000000000fffffffe7ffbba110000000000000000
2017-05-17 16:09:08.906 [ ALERT]:CRASH: STACKTRACE
2017-05-17 16:09:09.033 [ ALERT]:CRASH: ??:0 0x55e1415ea40a
2017-05-17 16:09:09.136 [ ALERT]:CRASH: ??:0 0x7f4f49060230
2017-05-17 16:09:09.136 [ ALERT]:CRASH: gsignal+0x110 (/lib64/libc.so.6)
2017-05-17 16:09:09.136 [ ALERT]:CRASH: abort+0x14a (/lib64/libc.so.6)
2017-05-17 16:09:09.237 [ ALERT]:CRASH: ??:0 0x7f4f460e4a17
2017-05-17 16:09:09.336 [ ALERT]:CRASH: ??:0 0x7f4f460e4ac2
2017-05-17 16:09:09.434 [ ALERT]:CRASH: ??:0 0x55e1416146cb
2017-05-17 16:09:09.531 [ ALERT]:CRASH: ??:0 0x55e141614b02
2017-05-17 16:09:09.629 [ ALERT]:CRASH: ??:0 0x55e14161739d
2017-05-17 16:09:09.727 [ ALERT]:CRASH: ??:0 0x55e1416167e0
2017-05-17 16:09:09.823 [ ALERT]:CRASH: ??:0 0x55e141657fd7
2017-05-17 16:09:09.920 [ ALERT]:CRASH: ??:0 0x55e141658511
2017-05-17 16:09:10.017 [ ALERT]:CRASH: ??:0 0x55e141655a35
2017-05-17 16:09:10.115 [ ALERT]:CRASH: ??:0 0x55e1415b29e1
2017-05-17 16:09:10.212 [ ALERT]:CRASH: ??:0 0x7f4f49055537
2017-05-17 16:09:10.213 [ ALERT]:CRASH: clone+0x3f (/lib64/libc.so.6)
History
Updated by Andreas Fornberg over 7 years ago
Using streamlink with pipe here but i have seen it on normal mpegts streams too without pipe.
Updated by Pablo R. over 7 years ago
I sometimes have crashes related with IPTV channels too. Them are usually related with users with anormal configurations "overloading" Tvheadend server.
Updated by Andreas Fornberg over 7 years ago
This happens for me with no load at all on the server.
Updated by Jaroslav Kysela over 7 years ago
Upgrade to v4.2.2-6-g8ff5aa2 or v4.3-102-g00e79f1 and report again the crash. Also, it might be useful to run tvh using the clang sanitizer: https://tvheadend.org/projects/tvheadend/wiki/Debugging#Memory-leaks-or-corruption .