Project

General

Profile

Bug #3858

tvh crash

Added by Maciej Grzegorczyk over 8 years ago. Updated over 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-06-13
Due date:
% Done:

0%

Estimated time:
Found in version:
4.1-2116
Affected Versions:

Description

Hi,

from few days I've got problem with tvh. Every day I've got at least few crashes. How can I fix his error?

Jun 11 13:16:36 ubuntu tvheadend23626: CRASH: Signal: 11 in PRG: /usr/local/bin/tvheadend (4.1-2116~gf59669c) [7f8638ac163c3bf8b95a4eb3b2fad5f664a8e591] CWD: /
Jun 11 13:16:36 ubuntu tvheadend23626: CRASH: Fault address 0xfffffff8 (Address not mapped)
Jun 11 13:16:36 ubuntu tvheadend23626: 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
Jun 11 13:16:36 ubuntu tvheadend23626: CRASH: Register dump [23]: 00007f1b1000a3f8000000000000000100000000ffffffff00007f1b59f516e000007f1b1000a47000007f1b1000a07000007f1aec0008c00000000000000003000000010000000000007f1b1000a47000007f1b097f8fc800007f1b1c0d8b6800007f1b097f8fc80000000000000000000000000000000000007f1b097f8e6000007f1b59e4da92000000000001020623200000000000330000000000000004000000000000000efffffffe7ffbba1300000000fffffff8
Jun 11 13:16:36 ubuntu tvheadend23626: CRASH: STACKTRACE
Jun 11 13:16:38 ubuntu tvheadend23626: satip: HotBird #3 (192.168.0.15) - RTSP error -90 (Message too long) [9874-0]
Jun 11 13:16:38 ubuntu tvheadend23626: satip: Astra #1 (192.168.0.16) - RTSP error -90 (Message too long) [9874-0]
Jun 11 13:16:38 ubuntu tvheadend23626: transcode: 0007: 1:H264 1920x1080 > H264 1024x576 (libx264)
Jun 11 13:16:38 ubuntu tvheadend[23626]: transcode: 0007: 2:MPEG2AUDIO > Passthrough
Jun 11 13:16:38 ubuntu tvheadend23626: transcode: 0007: 3:AC3 ==> Passthrough
Jun 11 13:16:38 ubuntu tvheadend23626: CRASH: ??:0 0x56474993a22d
Jun 11 13:16:38 ubuntu tvheadend23626: CRASH: Signal: 6 in PRG: /usr/local/bin/tvheadend (4.1-2116~gf59669c) [7f8638ac163c3bf8b95a4eb3b2fad5f664a8e591] CWD: /
Jun 11 13:16:38 ubuntu tvheadend23626: CRASH: Fault address 0x6f00005c4a (N/A)
Jun 11 13:16:38 ubuntu tvheadend23626: 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
Jun 11 13:16:38 ubuntu tvheadend23626: CRASH: Register dump [23]: 00007f1ad8011a50ffffff0000000000000000000000000800000000000002020000000000000144000056474a6a81a8800000000000000000000000000002400000000000005c4a0000000000005c8b000056474a6a80ae00007f1b5c7f00000000000000000006000000000000000000007f1b59dff41800007f1b027fb17800007f1b59dff4180000000000000202000000000000003300000000000000000000000000000000fffffffe7ffbba110000000000000000
Jun 11 13:16:38 ubuntu tvheadend23626: CRASH: STACKTRACE
Jun 11 13:16:38 ubuntu tvheadend23626: CRASH: ??:0 0x7f1b5aa373d0
Jun 11 13:16:38 ubuntu tvheadend23626: CRASH: gsignal+0x38 (/lib/x86_64-linux-gnu/libc.so.6)
Jun 11 13:16:38 ubuntu tvheadend23626: CRASH: abort+0x16a (/lib/x86_64-linux-gnu/libc.so.6)
Jun 11 13:16:38 ubuntu tvheadend23626: CRASH: ??:0 0x56474993a22d
Jun 11 13:16:38 ubuntu tvheadend23626: CRASH: ??:0 0x7f1b59df7bd7
Jun 11 13:16:38 ubuntu tvheadend23626: CRASH: ??:0 0x7f1b5aa373d0
Jun 11 13:16:38 ubuntu tvheadend23626: CRASH: gsignal+0x38 (/lib/x86_64-linux-gnu/libc.so.6)
Jun 11 13:16:38 ubuntu tvheadend23626: CRASH: abort+0x16a (/lib/x86_64-linux-gnu/libc.so.6)
Jun 11 13:16:38 ubuntu tvheadend23626: CRASH: ??:0 0x7f1b59df7c82
Jun 11 13:16:38 ubuntu tvheadend23626: libav: forced frame type (5) at 4559 was changed to frame type (3)
Jun 11 13:16:38 ubuntu tvheadend23626: CRASH: ??:0 0x7f1b59df7bd7
Jun 11 13:16:38 ubuntu tvheadend23626: CRASH: ??:0 0x56474997552b
Jun 11 13:16:38 ubuntu tvheadend23626: CRASH: ??:0 0x7f1b59df7c82
Jun 11 13:16:38 ubuntu tvheadend23626: CRASH: ??:0 0x56474992259e
Jun 11 13:16:38 ubuntu tvheadend23626: CRASH: ??:0 0x56474997552b
Jun 11 13:16:38 ubuntu tvheadend23626: CRASH: ??:0 0x564749965363
Jun 11 13:16:38 ubuntu kernel: [67766.176363] tvh:satip-front23687: segfault at fffffff8 ip 00007f1b59e4da92 sp 00007f1b097f8e60 error 4 in libc-2.23.so[7f1b59dca000+1c0000]

History

#1

Updated by saen acro over 8 years ago

Some hardware and OS info?

#2

Updated by Maciej Grzegorczyk over 8 years ago

saen acro wrote:

Some hardware and OS info?

Dell T20 @ Xeon E3-1225v3 on ESXI 6.0 - virtual machine is Linux ubuntu 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:27:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux.

The problem is from something like a week or two.

#3

Updated by Jaroslav Kysela over 8 years ago

Use debug version of package and give the full trace.

#4

Updated by Maciej Grzegorczyk over 8 years ago

Jaroslav Kysela wrote:

Use debug version of package and give the full trace.

Hi, since I'm doing it for the first time please let me know if I'm doing something wrong... Generally I did something like this: https://tvheadend.org/projects/tvheadend/wiki/Traces

Here is few last seconds log: https://www.dropbox.com/s/hgzocsfbcgt9466/tvh.log.txt?dl=0

#5

Updated by Maciej Grzegorczyk over 8 years ago

Jaroslav Kysela wrote:

Use debug version of package and give the full trace.

Hi, since I'm doing it for the first time please let me know if I'm doing something wrong... Generally I did something like this: https://tvheadend.org/projects/tvheadend/wiki/Traces

Here is few last seconds log: https://www.dropbox.com/s/hgzocsfbcgt9466/tvh.log.txt?dl=0

here's another one - I belive better: https://www.dropbox.com/s/x04bazjzjueyd80/tvh1.log.txt?dl=0

#6

Updated by Jaroslav Kysela over 8 years ago

I'm sorry, but I require a backtrace: http://tvheadend.org/projects/tvheadend/wiki/Debugging .

#7

Updated by Thomas Smith over 8 years ago

Hi

i have also tvh-crashes - once per day - and opened a case:

https://tvheadend.org/issues/3851

and this helps me, to use the debug-version of tvh with gdb

as root:
aptitude install gdb cmake git libdvbcsa-dev bundler libkqueue-dev build-essential pkg-config libssl-dev git libavahi-client-dev libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev libswscale-dev libavcodec-extra-53 liburiparser1 liburiparser-dev debhelper libcurl4-gnutls-dev a52dec

as hts-user:
mkdir /home/hts/case-xxxx
cd /home/hts/case-xxxx
git clone https://github.com/tvheadend/tvheadend
cd tvheadend
./configure —trace-enabled=yes
make

after compiling is finished, starting gdb as hts-user:

gdb
(gdb) set logging on
(gdb) set pagination off
(gdb) file /home/hts/case-xxxx/tvheadend/build.linux/tvheadend
(gdb) run

when tvheadend crashes, type "bt" and post the output

#8

Updated by Jaroslav Kysela over 8 years ago

Couldyou try v4.1-2130-g55fec0f ? I tried to fix a serious bug there in the SAT>IP client code..

#9

Updated by Maciej Grzegorczyk over 8 years ago

Thomas Warburton Smith
Thanks for info - I didn't got enough time to test it...

Jaroslav Kysela wrote:

Couldyou try v4.1-2130-g55fec0f ? I tried to fix a serious bug there in the SAT>IP client code..

Thanks - I'm testing it - I let you know if this helped

#10

Updated by Maciej Grzegorczyk over 8 years ago

Hi,

from 2 days everything works fine. So I believe that my problem probably is fixed ;) Thanks.

#11

Updated by Jaroslav Kysela over 8 years ago

  • Status changed from New to Fixed

Also available in: Atom PDF