[FIXED] Help - tvheadend crashes when stream is stopped.
Added by shaun - about 7 years ago
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?
2017-11-07 13:39:51.520 [WARNING]:webui: Stop streaming /stream/channelnumber/1, muxer reported errors
2017-11-07 13:39:51.520 [ ALERT]:CRASH: Signal: 11 in PRG: /usr/bin/tvheadend (4.3-607~ga5ecd97a9~artful) [e51c4f2b27d6e1108e1a5b73dc2f0e5998957031] CWD: /
2017-11-07 13:39:51.520 [ ALERT]:CRASH: Fault address (nil) (N/A)
2017-11-07 13:39:51.520 [ ALERT]:CRASH: Loaded libraries: /usr/lib/libhdhomerun.so.4 /usr/lib/x86_64-linux-gnu/libdvbcsa.so.1 /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/libpcre2-8.so.0 /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 /usr/lib/x86_64-linux-gnu/libavfilter.so.6 /usr/lib/x86_64-linux-gnu/libavformat.so.57 /usr/lib/x86_64-linux-gnu/libavcodec.so.57 /usr/lib/x86_64-linux-gnu/libavutil.so.55 /usr/lib/x86_64-linux-gnu/libva.so.1 /lib/x86_64-linux-gnu/libdbus-1.so.3 /lib/x86_64-linux-gnu/libsystemd.so.0 /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 /usr/lib/x86_64-linux-gnu/libavresample.so.3 /usr/lib/x86_64-linux-gnu/libswscale.so.4 /usr/lib/x86_64-linux-gnu/libpos
2017-11-07 13:39:51.520 [ ALERT]:CRASH: Register dump [23]: 000000000000000100007f0cd40035d03f7ffa3fe7b167ffbb0ee1b17fd03fd900007f0ce0d84cd800007f0ce0d84e10000000000000000100007f0cc4fd7e9000007f0ce0d84cd80000000000000000000000001000bec000005626a57634a000007f0cd400007808ec8348f589000000007f0cd40008c000007f0ce0d84ca000007f0d34db5d500000000000010206002b0000000000330000000000000000000000000000000dfffffffe7ffbba130000000000000000
2017-11-07 13:39:51.520 [ ALERT]:CRASH: STACKTRACE
2017-11-07 13:39:51.535 [ ALERT]:CRASH: ??:0 0x5626a569895d 0x5626a54ff000
2017-11-07 13:39:51.549 [ ALERT]:CRASH: ??:0 0x7f0d328b5150 0x7f0d328a2000
2017-11-07 13:39:51.572 [ ALERT]:CRASH: ??:0 0x7f0d34db5d50 0x7f0d34d5c000
2017-11-07 13:39:51.572 [ ALERT]:CRASH: ffurl_close+0x23 (/usr/lib/x86_64-linux-gnu/libavformat.so.57)
2017-11-07 13:39:51.586 [ ALERT]:CRASH: ??:? 0x5626a5762e10 0x5626a54ff000
2017-11-07 13:39:51.601 [ ALERT]:CRASH: ??:? 0x5626a56eb1a0 0x5626a54ff000
2017-11-07 13:39:51.619 [ ALERT]:CRASH: ??:? 0x5626a56eb9d8 0x5626a54ff000
2017-11-07 13:39:51.634 [ ALERT]:CRASH: ??:? 0x5626a56ec262 0x5626a54ff000
2017-11-07 13:39:51.653 [ ALERT]:CRASH: ??:0 0x5626a566800a 0x5626a54ff000
2017-11-07 13:39:51.673 [ ALERT]:CRASH: ??:0 0x5626a566908a 0x5626a54ff000
2017-11-07 13:39:51.688 [ ALERT]:CRASH: ??:0 0x5626a56692bd 0x5626a54ff000
2017-11-07 13:39:51.709 [ ALERT]:CRASH: ??:0 0x5626a566851c 0x5626a54ff000
2017-11-07 13:39:51.730 [ ALERT]:CRASH: ??:0 0x5626a566969b 0x5626a54ff000
2017-11-07 13:39:51.752 [ ALERT]:CRASH: ??:0 0x5626a56698e3 0x5626a54ff000
2017-11-07 13:39:51.773 [ ALERT]:CRASH: ??:0 0x5626a5660a72 0x5626a54ff000
2017-11-07 13:39:51.793 [ ALERT]:CRASH: ??:0 0x5626a565c1d8 0x5626a54ff000
Thanks in advance
Shaun
Replies (12)
RE: Help - tvheadend crashes when stream is stopped. - Added by Mark Clarkstone about 7 years ago
Please open an issue with correct crash lines
RE: Help - tvheadend crashes when stream is stopped. - Added by shaun - about 7 years ago
Hi Mark,
Thanks for your reply, I'm struggling with that I'm a newbie I dont suppose theres a clearer guide, its all very vague for a novice.
Shaun
RE: Help - tvheadend crashes when stream is stopped. - Added by Mark Clarkstone about 7 years ago
Just run
sudo apt-get install tvheadend-dbg;sudo service tvheadend restart
When it crashes again, open a new issue with the new (full) crash
RE: Help - tvheadend crashes when stream is stopped. - Added by shaun - about 7 years ago
Legend, Thanks Mark
RE: Help - tvheadend crashes when stream is stopped. - Added by shaun - about 7 years ago
Hi Mark
Ive opened a new issue as you said, whats the process now?
Thanks
Shaun
RE: Help - tvheadend crashes when stream is stopped. - Added by Mark Clarkstone about 7 years ago
shaun - wrote:
Hi Mark
Ive opened a new issue as you said, whats the process now?
Thanks
Shaun
Now it's a waiting game, Jaroslav is a pretty busy guy, but he's generally quick with the fixes when he gets spare time!
For now, go back to the older version that worked for you!
RE: Help - tvheadend crashes when stream is stopped. - Added by shaun - about 7 years ago
Lol as simple as that go back to the older version
I don't suppose you could give me a numpty guide for me?
if i could go back 4-7 days the problem wasn't there then.
Thanks for your help
Shaun
RE: Help - tvheadend crashes when stream is stopped. - Added by Mark Clarkstone about 7 years ago
You just define a version with apt.
https://askubuntu.com/questions/138284/how-to-downgrade-a-package-via-apt-get
So, an example,
apt-get install tvheadend=4.3-592~gb9df034e6~stretch apt-get install tvheadend-dbg=4.3-592~gb9df034e6~stretch
use
sudo apt-cache show tvheadend*to see available versions (use the full version string).
RE: Help - tvheadend crashes when stream is stopped. - Added by shaun - about 7 years ago
Thanks Mark
So I give it a go,
apt-get install tvheadend-dbg=4.2.4-7~ge1e1b46~xenial
The following packages have unmet dependencies.
tvheadend-dbg : Depends: tvheadend (= 4.2.4-7~ge1e1b46~xenial) but 4.2.4-10~g0771e34~xenial is to be installed
E: Unable to correct problems, you have held broken packages.
Thanks in advance
Shaun
RE: Help - tvheadend crashes when stream is stopped. - Added by Mark Clarkstone about 7 years ago
shaun - wrote:
Thanks Mark
So I give it a go,
apt-get install tvheadend-dbg=4.2.4-7~ge1e1b46~xenial
The following packages have unmet dependencies.
tvheadend-dbg : Depends: tvheadend (= 4.2.4-7~ge1e1b46~xenial) but 4.2.4-10~g0771e34~xenial is to be installed
E: Unable to correct problems, you have held broken packages.Thanks in advance
Shaun
Ok, in that case, do
sudo apt-get remove tvheadend-dbg& try the above again
RE: Help - tvheadend crashes when stream is stopped. - Added by shaun - about 7 years ago
Not to worry Mark I have managed to do it.
for those who come to need this including myself at a later date you need to install both:-
apt-get install tvheadend=4.3-592~gb9df034e6~stretch
apt-get install tvheadend-dbg=4.3-592~gb9df034e6~stretch
Thanks for you help Mark much appreciated TVH is all systems go again, i shall go to bed now and watch tvh.
RE: Help - tvheadend crashes when stream is stopped. - Added by Mark Clarkstone about 7 years ago
Good news!
Your crash/issue has been fixed by (the awesome) Jaroslav :). You can use the latest now if you wish
commit:aefc4d06