Bug #2791
tvheadend crashes whlie streaming channels to Kodi.
100%
Description
tvheadned crashes often when opening a channel in Kodi.
Sometimes it crashes directly when openeing a channel and sometines it crashes randomly after zapping or warching for a few hours.
If i go back to 3.9.2496 then everything is stable with no crashes.
04-18 23:04:27.907 [ INFO] subscription: 0001: "192.168.0.23 [ leatherface | Kodi Media Center ]" unsubscribing from "TV4 Fakta", hostname="192.168.0.23", username="leatherface", username="Kodi Media Center"
2015-04-18 23:04:27.907 [ INFO] subscription: 0003: "keep" unsubscribing
2015-04-18 23:04:27.907 [ INFO] subscription: 0002: "keep" unsubscribing
2015-04-18 23:04:27.907 [ INFO] mpegts: 458MHz in TELE2 AB - tuning on vTuner proxyFE DVB-C : DVB-C #2
2015-04-18 23:04:27.908 [ INFO] subscription: 0004: "192.168.0.23 [ leatherface | Kodi Media Center ]" subscribing on channel "TV4 Fakta XL", weight: 150, adapter: "vTuner proxyFE DVB-C : DVB-C #2", network: "TELE2 AB",
mux: "458MHz", provider: "TELE2 AB", service: "TV4 Fakta XL", profile="htsp", hostname="192.168.0.23", username="leatherface", client="Kodi Media Center"
2015-04-18 23:04:27.908 [ INFO] subscription: 0006: "keep" subscribing to mux "378MHz", weight: 1, adapter: "vTuner proxyFE DVB-C : DVB-C #1", network: "TELE2 AB", service: "Raw PID Subscription"
2015-04-18 23:04:27.908 [ INFO] subscription: 0005: "keep" subscribing to mux "458MHz", weight: 1, adapter: "vTuner proxyFE DVB-C : DVB-C #2", network: "TELE2 AB", service: "Raw PID Subscription"
2015-04-18 23:04:31.196 [ INFO] subscription: 0004: "192.168.0.23 [ leatherface | Kodi Media Center ]" unsubscribing from "TV4 Fakta XL", hostname="192.168.0.23", username="leatherface", username="Kodi Media Center"
2015-04-18 23:04:31.196 [ INFO] subscription: 0006: "keep" unsubscribing
2015-04-18 23:04:31.196 [ INFO] subscription: 0005: "keep" unsubscribing
tvheadend: src/input/mpegts/mpegts_input.c:736: mpegts_input_stopping_mux: Försäkran "mmi->mmi_mux->mm_active" falsk.
2015-04-18 23:04:31.197 [ ALERT] CRASH: Signal: 6 in PRG: tvheadend (3.9.2709~g6b472cd) [4f37a5693d969007dad975af17bef8b240d6af4c] CWD: /home/leatherface/Compile/tvheadend-git
2015-04-18 23:04:31.197 [ ALERT] CRASH: Fault address 0x3e800002a0d (N/A)
2015-04-18 23:04:31.197 [ 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/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-amrn
2015-04-18 23:04:31.197 [ ALERT] CRASH: Register dump [23]:
0000000011f32d2000000000001800000000000000000008000000000000020200000000004f944b00000000004f98200000000000be05500000000000b986e00000000000002a0d0000000000002a5100007f4d8300bfdd00007f4d8cac50000000000000000006000000000000000000007f4d889443c700007f4d75fdaf3800007f4d889443c70000000000000202000000000000003300000000000000000000000000000000fffffffe7ffbba130000000000000000
2015-04-18 23:04:31.197 [ ALERT] CRASH: STACKTRACE
2015-04-18 23:04:31.215 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/trap.c:148 0x43e8c6
2015-04-18 23:04:31.231 [ ALERT] CRASH: ??:0 0x7f4d891cb410
2015-04-18 23:04:31.231 [ ALERT] CRASH: gsignal+0x37 (/lib64/libc.so.6)
2015-04-18 23:04:31.231 [ ALERT] CRASH: abort+0x13a (/lib64/libc.so.6)
2015-04-18 23:04:31.246 [ ALERT] CRASH: ??:0 0x7f4d8893d2e6
2015-04-18 23:04:31.260 [ ALERT] CRASH: ??:0 0x7f4d8893d392
2015-04-18 23:04:31.279 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/input/mpegts/mpegts_input.c:736 0x486efa
2015-04-18 23:04:31.298 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/input/mpegts/mpegts_mux.c:724 0x48eea7
2015-04-18 23:04:31.316 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/input/mpegts/mpegts_input.c:668 0x4896c2
2015-04-18 23:04:31.334 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/input/mpegts/mpegts_service.c:350 0x490ba7
2015-04-18 23:04:31.352 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/service.c:353 0x42de23
2015-04-18 23:04:31.369 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/subscriptions.c:574 0x42c528
2015-04-18 23:04:31.389 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/htsp_server.c:334 (discriminator 2) 0x431dc4
2015-04-18 23:04:31.408 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/htsp_server.c:2069 0x43389e
2015-04-18 23:04:31.427 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/htsp_server.c:2658 0x4342c1
2015-04-18 23:04:31.444 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/tcp.c:542 0x417abd
2015-04-18 23:04:31.460 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/wrappers.c:145 0x41496f
History
Updated by Jaroslav Kysela over 9 years ago
Could you retry with latest ? A memory corruption was fixed there.
Updated by Andreas Fornberg over 9 years ago
2015-04-23 13:57:27.388 [ INFO] subscription: 0004: "192.168.0.23 [ leatherface | Kodi Media Center ]" unsubscribing from "C More First", hostname="192.168.0.23", username="leatherface", username="Kodi Media Center"
2015-04-23 13:57:27.389 [ INFO] subscription: 0006: "keep" unsubscribing
2015-04-23 13:57:27.389 [ INFO] subscription: 0005: "keep" unsubscribing
2015-04-23 13:57:27.389 [ INFO] mpegts: 362MHz in TELE2 AB - tuning on vTuner proxyFE DVB-C : DVB-C #2
2015-04-23 13:57:27.391 [ INFO] subscription: 0007: "192.168.0.23 [ leatherface | Kodi Media Center ]" subscribing on channel "C More Hits", weight: 150, adapter: "vTuner proxyFE DVB-C : DVB-C #2", network: "TELE2 AB", mux: "362MHz", provider: "TELE2 AB", service: "C MORE HITS", profile="htsp", hostname="192.168.0.23", username="leatherface", client="Kodi Media Center"
2015-04-23 13:57:27.391 [ INFO] subscription: 0009: "keep" subscribing to mux "378MHz", weight: 1, adapter: "vTuner proxyFE DVB-C : DVB-C #1", network: "TELE2 AB", service: "Raw PID Subscription"
2015-04-23 13:57:27.391 [ INFO] subscription: 0008: "keep" subscribing to mux "362MHz", weight: 1, adapter: "vTuner proxyFE DVB-C : DVB-C #2", network: "TELE2 AB", service: "Raw PID Subscription"
2015-04-23 13:57:34.577 [ INFO] subscription: 0007: "192.168.0.23 [ leatherface | Kodi Media Center ]" unsubscribing from "C More Hits", hostname="192.168.0.23", username="leatherface", username="Kodi Media Center"
2015-04-23 13:57:34.577 [ INFO] subscription: 0009: "keep" unsubscribing
2015-04-23 13:57:34.577 [ INFO] subscription: 0008: "keep" unsubscribing
2015-04-23 13:57:34.579 [ INFO] mpegts: 362MHz in TELE2 AB - tuning on vTuner proxyFE DVB-C : DVB-C #2
2015-04-23 13:57:34.579 [ INFO] subscription: 000A: "192.168.0.23 [ leatherface | Kodi Media Center ]" subscribing on channel "C More Action", weight: 150, adapter: "vTuner proxyFE DVB-C : DVB-C #2", network: "TELE2 AB", mux: "362MHz", provider: "TELE2 AB", service: "C MORE ACTION", profile="htsp", hostname="192.168.0.23", username="leatherface", client="Kodi Media Center"
2015-04-23 13:57:34.579 [ INFO] subscription: 000C: "keep" subscribing to mux "378MHz", weight: 1, adapter: "vTuner proxyFE DVB-C : DVB-C #1", network: "TELE2 AB", service: "Raw PID Subscription"
2015-04-23 13:57:34.579 [ INFO] subscription: 000B: "keep" subscribing to mux "362MHz", weight: 1, adapter: "vTuner proxyFE DVB-C : DVB-C #2", network: "TELE2 AB", service: "Raw PID Subscription"
2015-04-23 13:57:38.333 [ INFO] subscription: 000A: "192.168.0.23 [ leatherface | Kodi Media Center ]" unsubscribing from "C More Action", hostname="192.168.0.23", username="leatherface", username="Kodi Media Center"
2015-04-23 13:57:38.334 [ INFO] subscription: 000C: "keep" unsubscribing
2015-04-23 13:57:38.334 [ INFO] subscription: 000B: "keep" unsubscribing
tvheadend: src/input/mpegts/mpegts_input.c:724: mpegts_input_stopping_mux: Försäkran "mmi->mmi_mux->mm_active" falsk.
2015-04-23 13:57:38.335 [ ALERT] CRASH: Signal: 6 in PRG: tvheadend (3.9.2726~g926e04e) [e147b0b76ad5aa6dfeac3afe70205b5c74e97a88] CWD: /home/leatherface/Compile/tvheadend-git
2015-04-23 13:57:38.335 [ ALERT] CRASH: Fault address 0x3e800001673 (N/A)
2015-04-23 13:57:38.335 [ 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/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-amrn
2015-04-23 13:57:38.335 [ ALERT] CRASH: Register dump [23]: 0000000003ded8a000000000001800000000000000000008000000000000020200000000004f95da00000000004f99c0000000000241502000000000022970500000000000001673000000000000175200007fd89d8e9fdd00007fd8a75ee0000000000000000006000000000000000000007fd8a346d3c700007fd88d24df3800007fd8a346d3c70000000000000202000000000000003300000000000000000000000000000000fffffffe7ffbba130000000000000000
2015-04-23 13:57:38.335 [ ALERT] CRASH: STACKTRACE
2015-04-23 13:57:38.365 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/trap.c:148 0x43e976
2015-04-23 13:57:38.368 [ ALERT] CRASH: ??:0 0x7fd8a3cf4410
2015-04-23 13:57:38.368 [ ALERT] CRASH: gsignal+0x37 (/lib64/libc.so.6)
2015-04-23 13:57:38.369 [ ALERT] CRASH: abort+0x13a (/lib64/libc.so.6)
2015-04-23 13:57:38.372 [ ALERT] CRASH: ??:0 0x7fd8a34662e6
2015-04-23 13:57:38.375 [ ALERT] CRASH: ??:0 0x7fd8a3466392
2015-04-23 13:57:38.382 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/input/mpegts/mpegts_input.c:724 0x486f5a
2015-04-23 13:57:38.391 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/input/mpegts/mpegts_mux.c:724 0x48eef7
2015-04-23 13:57:38.402 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/input/mpegts/mpegts_input.c:656 0x489722
2015-04-23 13:57:38.412 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/input/mpegts/mpegts_service.c:350 0x490bf7
2015-04-23 13:57:38.422 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/service.c:353 0x42de63
2015-04-23 13:57:38.430 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/subscriptions.c:575 0x42c568
2015-04-23 13:57:38.439 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/htsp_server.c:334 (discriminator 2) 0x431e24
2015-04-23 13:57:38.448 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/htsp_server.c:2072 0x43390e
2015-04-23 13:57:38.464 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/htsp_server.c:2661 0x434331
2015-04-23 13:57:38.471 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/tcp.c:542 0x417abd
2015-04-23 13:57:38.484 [ ALERT] CRASH: /home/leatherface/Compile/tvheadend-git/src/wrappers.c:145 0x41496f
Still same thing...
Updated by Andreas Fornberg over 9 years ago
Seems better so far but it worked for a few hours once before and then started again so lets see now.
I thought that option was needed with more than 1 tuner.
But still a bug if it crashes with that option.
Updated by Jaroslav Kysela over 9 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|3e56c175e3292a075ad687ad44d343d7323c4aca.