TVHeadend crashes when opening stream
#1
Kodi 15 / Alpha 2
TVHeadend 3.9.2662~ge4cdd3c
PVR Add-On TVHeadend HTSP Client 2.1.6

When I try to subscribe to a channel via Kodi's EPG or channel view I get the following error:

TVHeadend Log
Kodi Log
Reply
#2
Are you running the TVHeadend backend on the same PC as Kodi or via a network to a TVHeadend server somewhere else on your network?
Reply
#3
Same problems here either random crashes or crashes after opening a channel or after zapping between a few channels.
TVheadend and Kodi on same computer.
3.9.24xx releases seems to be the last ones that works for me.
 
Intel Core i5 2320 8GB 500GB HDD - Tvheadend + Kodi, Raspberry Pi 3 - LibreELEC, HDHomeRun HDHR3-4DC, Epson TW3200, Pioneer VSX-1123
Reply
#4
Install the debug symbols for tvheadend and post a new stack trace. The package you want to install is "tvheadend-dbg".
Reply
#5
Not needed i'm compiling from git so i can compile without disable-debug
 
Intel Core i5 2320 8GB 500GB HDD - Tvheadend + Kodi, Raspberry Pi 3 - LibreELEC, HDHomeRun HDHR3-4DC, Epson TW3200, Pioneer VSX-1123
Reply
#6
@Leatherface cool, can you do that? The stack trace is useless otherwise.
Reply
#7
I don't find the logfile but it outputs

2015-04-17 02:35:55.084 [ INFO] mpegts: 530MHz in TELE2 AB - tuning on vTuner proxyFE DVB-C : DVB-C #2
tvheadend: src/subscriptions.c:257: subscription_reschedule: Försäkran "reenter == 0" falsk.
2015-04-17 02:35:55.128 [ ALERT] CRASH: Signal: 6 in PRG: tvheadend (3.9.2662~ge4cdd3c) [f6b8afe161fe7e719b50b4ee4543045c51bc4081] CWD: /home/leatherface/Compile/tvheadend-git
2015-04-17 02:35:55.128 [ ALERT] CRASH: Fault address 0x3e80000710e (N/A)
2015-04-17 02:35:55.128 [ ALERT] CRASH: Loaded libraries: linux-vdso.so.1 /lib64/libssl.so.1.0.0 /lib64/libcrypto.so.1.0.0 /lib64/libz.so.1 /usr/lib64/liburiparser.so.1 /usr/lib64/libavahi-common.so.3 /usr/lib64/libavahi-client.so.3 /usr/lib64/libavcodec.so.56 /usr/lib64/libavutil.so.54 /usr/lib64/libavformat.so.56 /usr/lib64/libswscale.so.3 /usr/lib64/libavresample.so.2 /lib64/libdbus-1.so.3 /lib64/libdl.so.2 /lib64/libpthread.so.0 /lib64/libm.so.6 /lib64/librt.so.1 /lib64/libc.so.6 /usr/lib64/libswresample.so.1 /usr/lib64/libva.so.1 /usr/lib64/libxvidcore.so.4 /usr/lib64/libx265.so.43 /usr/lib64/libx264.so.142 /usr/lib64/libwebp.so.5 /usr/lib64/libvpx.so.1 /usr/lib64/libvorbisenc.so.2 /usr/lib64/libvorbis.so.0 /usr/lib64/libvo-aacenc.so.0 /usr/lib64/libtwolame.so.0 /usr/lib64/libtheoraenc.so.1 /usr/lib64/libtheoradec.so.1 /usr/lib64/libspeex.so.1 /usr/lib64/libschroedinger-1.0.so.0 /usr/lib64/libopus.so.0 /usr/lib64/libopencore-amrwb.so.0 /usr/lib64/libopencore-amrnb.so.0 /usr/lib64/libmp3lame.so.0 /usr/lib64/libgsm.so.1 /usr/lib64/libcel
2015-04-17 02:35:55.128 [ ALERT] CRASH: Register dump [23]: 00000000ffffffff00007fc65c5729400000000000000008000000000000020200000000004dbed600000000004dc0b000000000000000010000000000000000000000000000710e000000000000723900007fc6da5a8fdd00007fc6e3a350000000000000000006000000000000000000007fc6dfee13c700007fc66bffdbe800007fc6dfee13c70000000000000202000000000000003300000000000000000000000000000000fffffffe7ffbba130000000000000000
2015-04-17 02:35:55.128 [ ALERT] CRASH: STACKTRACE
2015-04-17 02:35:55.171 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/trap.c:148 0x43d3d6
2015-04-17 02:35:55.187 [ ALERT] CRASH: ??:0 0x7fc6e0768410
2015-04-17 02:35:55.188 [ ALERT] CRASH: gsignal+0x37 (/lib64/libc.so.6)
2015-04-17 02:35:55.188 [ ALERT] CRASH: abort+0x13a (/lib64/libc.so.6)
2015-04-17 02:35:55.204 [ ALERT] CRASH: ??:0 0x7fc6dfeda2e6
2015-04-17 02:35:55.220 [ ALERT] CRASH: ??:0 0x7fc6dfeda392
2015-04-17 02:35:55.238 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/subscriptions.c:257 (discriminator 1) 0x42b69d
2015-04-17 02:35:55.256 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/subscriptions.c:695 0x42bb4d
2015-04-17 02:35:55.274 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/subscriptions.c:759 0x42bd97
2015-04-17 02:35:55.294 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/input/mpegts/mpegts_mux.c:1145 0x48cd88
2015-04-17 02:35:55.314 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/input/mpegts/mpegts_mux.c:133 0x48d0e9
2015-04-17 02:35:55.333 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/input/mpegts/mpegts_service.c:303 0x48f41f
2015-04-17 02:35:55.351 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/service.c:662 0x42d82a
2015-04-17 02:35:55.369 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/service.c:781 0x42ef26
2015-04-17 02:35:55.387 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/subscriptions.c:236 0x42a888
2015-04-17 02:35:55.405 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/subscriptions.c:304 0x42b3d9
2015-04-17 02:35:55.423 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/subscriptions.c:695 0x42bb4d
2015-04-17 02:35:55.441 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/subscriptions.c:712 0x42bca9
2015-04-17 02:35:55.460 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/htsp_server.c:2023 (discriminator 2) 0x430ebd
2015-04-17 02:35:55.479 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/htsp_server.c:2648 0x434191
2015-04-17 02:35:55.497 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/tcp.c:542 0x416bed
2015-04-17 02:35:55.514 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/wrappers.c:145 0x413a9f
2015-04-17 02:35:55.530 [ ALERT] CRASH: ??:0 0x7fc6e07604b4

Little old git version now compiled wrong version but same thing has happened with all new versions.
 
Intel Core i5 2320 8GB 500GB HDD - Tvheadend + Kodi, Raspberry Pi 3 - LibreELEC, HDHomeRun HDHR3-4DC, Epson TW3200, Pioneer VSX-1123
Reply
#8
It should be fixed in 3.9.2665.
Reply
#9
I tried with newest git for a few days ago and had same problem but i'm trying with 3.9.2709 now and seems better.
 
Intel Core i5 2320 8GB 500GB HDD - Tvheadend + Kodi, Raspberry Pi 3 - LibreELEC, HDHomeRun HDHR3-4DC, Epson TW3200, Pioneer VSX-1123
Reply
#10
Good, if you get another crash you should report it on tvheadend.org/issues instead of here, that'll get it fixed more quickly.
Reply
#11
Ok seems it's still same problem it just took a few hours this time until it happened and when i start again it happens again directly.
 
Intel Core i5 2320 8GB 500GB HDD - Tvheadend + Kodi, Raspberry Pi 3 - LibreELEC, HDHomeRun HDHR3-4DC, Epson TW3200, Pioneer VSX-1123
Reply
#12
Seems that atleast my problem was that i had the option "Linked tuners" enabled and that caused tvheadend to crash.
That is fixed now in newest git version.
 
Intel Core i5 2320 8GB 500GB HDD - Tvheadend + Kodi, Raspberry Pi 3 - LibreELEC, HDHomeRun HDHR3-4DC, Epson TW3200, Pioneer VSX-1123
Reply

Logout Mark Read Team Forum Stats Members Help
TVHeadend crashes when opening stream0