Bug #4712
TVH crashes
100%
Description
Hi I've been successfully using tvheadend for 3-4 months no problems, two days ago I updated and since I've had problems.
I've re installed the whole server from scratch and still the same problem. I can play the stream no problem locally in vlc, but when I stop the stream tvh crashes and i get (There seems to be a problem with the live update feed from Tvheadend. Trying to reconnect...) I'm having to stop tvh and start it again to get access.
Also If i try to pull the stream to xtreme tvh crashes, I have tried the stream externally and it works fine again when the stream is stopped tvh crashes.
Can any one help me sort this?
Crashlog:-
2017-11-07 21:33:44.832 [ ALERT]:CRASH: Signal: 11 in PRG: /usr/bin/tvheadend (4.2.4-10~g0771e34) [0d242e3b4e0cea87a3ca5a5d6cadf8c2fe526c4c] CWD: /
2017-11-07 21:33:44.832 [ ALERT]:CRASH: Fault address (nil) (N/A)
2017-11-07 21:33:44.832 [ ALERT]:CRASH: Loaded libraries: /usr/lib/libdvben50221.so /usr/lib/libdvbapi.so /usr/lib/libucsi.so /lib/x86_64-linux-gnu/libssl.so.1.0.0 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/x86_64-linux-gnu/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 /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-linux-gnu/libsystemd.so.0 /lib64/ld-linux-x86-64.so.2 /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib/x86_64-linux-gnu/libselinux.so.1 /lib/x86_64-linux-gnu/liblzma.so.5 /lib/x86_64-linux-gnu/libgcrypt.so.20 /lib/x86_64-linux-gnu/libpcre.so.3 /lib/x86_64-linux-gnu/libgpg-error.so.0 /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
2017-11-07 21:33:44.832 [ ALERT]:CRASH: Register dump [23]: 0000563d70c615e80000000000000001000000000000000300007f05c439fa7000007f05c43a02b800007f05c43a0820000000000000000000007f05b00013c000007f05c43a00b8000000000000000000007f05c43a00b80000563d6ffa6c2008ec8348f5890000000000000000000100007f05c439fff000007f05c43a00900000563d7009fb28000000000001020600000000000000330000000000000000000000000000000dfffffffe7ffbba130000000000000000
2017-11-07 21:33:44.832 [ ALERT]:CRASH: STACKTRACE
2017-11-07 21:33:44.961 [ ALERT]:CRASH: /project/repo/checkout/src/trap.c:148 0x563d6fee58cd 0x563d6fce2000
2017-11-07 21:33:45.092 [ ALERT]:CRASH: ??:0 0x7f0602d72390 0x7f0602d61000
2017-11-07 21:33:45.117 [WARNING]:libav: forced frame type (5) at 812 was changed to frame type (3)
2017-11-07 21:33:45.228 [ ALERT]:CRASH: /project/repo/checkout/build.linux/ffmpeg/ffmpeg-3.4/libavformat/avio.c:463 0x563d7009fb28 0x563d6fce2000
2017-11-07 21:33:45.360 [ ALERT]:CRASH: /project/repo/checkout/build.linux/ffmpeg/ffmpeg-3.4/libavformat/avio.c:467 0x563d7009fb73 0x563d6fce2000
2017-11-07 21:33:45.493 [ ALERT]:CRASH: /project/repo/checkout/build.linux/ffmpeg/ffmpeg-3.4/libavformat/aviobuf.c:1134 0x563d70062db2 0x563d6fce2000
2017-11-07 21:33:45.623 [ ALERT]:CRASH: /project/repo/checkout/src/muxer/muxer_libav.c:564 0x563d6ffa65a5 0x563d6fce2000
2017-11-07 21:33:45.750 [ ALERT]:CRASH: /project/repo/checkout/src/muxer.h:136 0x563d6ff34af6 0x563d6fce2000
2017-11-07 21:33:45.877 [ ALERT]:CRASH: /project/repo/checkout/src/webui/webui.c:1320 0x563d6ff352a0 0x563d6fce2000
2017-11-07 21:33:46.006 [ ALERT]:CRASH: /project/repo/checkout/src/webui/webui.c:1387 0x563d6ff3649a 0x563d6fce2000
2017-11-07 21:33:46.139 [ ALERT]:CRASH: /project/repo/checkout/src/http.c:1064 0x563d6feb6b34 0x563d6fce2000
2017-11-07 21:33:46.266 [ ALERT]:CRASH: /project/repo/checkout/src/http.c:1139 0x563d6feb783a 0x563d6fce2000
2017-11-07 21:33:46.398 [ ALERT]:CRASH: /project/repo/checkout/src/http.c:1221 0x563d6feb7a6d 0x563d6fce2000
2017-11-07 21:33:46.525 [ ALERT]:CRASH: /project/repo/checkout/src/http.c:1345 0x563d6feb7100 0x563d6fce2000
2017-11-07 21:33:46.658 [ ALERT]:CRASH: /project/repo/checkout/src/http.c:1644 0x563d6feb7e4b 0x563d6fce2000
2017-11-07 21:33:46.788 [ ALERT]:CRASH: /project/repo/checkout/src/http.c:1692 0x563d6feb8050 0x563d6fce2000
2017-11-07 21:33:46.913 [ ALERT]:CRASH: /project/repo/checkout/src/tcp.c:669 0x563d6feafedd 0x563d6fce2000
2017-11-07 21:33:46.967 [WARNING]:libav: forced frame type (5) at 858 was changed to frame type (3)
2017-11-07 21:33:47.046 [ ALERT]:CRASH: /project/repo/checkout/src/wrappers.c:159 0x563d6feab5c5 0x563d6fce2000
History
Updated by Jaroslav Kysela about 7 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|383b274b20de59583a415ff480804f07df4e78b9.
Updated by b kuhls about 7 years ago
Hi,
this commit breaks building tvheadend with ffmpeg versions < 3.4:
/home/buildroot/output/build/tvheadend-86d2fdf6ad6f5e4dac6d380d4f478b956472edd8/src/muxer/muxer_libav.c:572: undefined reference to `avio_context_free'
The function avio_context_free was added in ffmpeg 3.4
http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=b12e4d3bb8df994f042ff1216fb8de2b967aab9e
and is not available in older ffmpeg versions.