Bug #2768
Tvheadend crashes every 10 minutes
0%
Description
Hi,
my tvheadend crashes every 10 minutes. I'm running the SVN version and problems started to appear about a month ago.
Looks like this in my syslog:
Apr 10 11:08:24 schubert tvheadend5735: CRASH: Signal: 11 in PRG: tvheadend (3.9.2689~g14f03b8~trusty) [0a12a0667d7b963f986b613fe91ae5409c09ade7] CWD: /
Apr 10 11:08:24 schubert tvheadend5735: CRASH: Fault address 0x129 (Address not mapped)
Apr 10 11:08:24 schubert tvheadend5735: CRASH: Loaded libraries: /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/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 /lib/x86_64-linux-gnu/libc.so.6 /lib64/ld-linux-x86-64.so.2 /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.so.2 /lib/x86_64-linux-gnu/libnss_winbind.so.2 /usr/lib/x86_64-linux-gnu/samba/libwinbind-client.so.0
Apr 10 11:08:24 schubert tvheadend5735: CRASH: Register dump [23]: 000000000000000000000000025a8cb000007ff78074dfe000007ff7805098f000000000004fa94b0000000001e2f71000007fff84a1c9f00000000001e2f878000000000000000000000000ffffffff00000000000000c100000000000000c100007ff78074f770000000000000000000000000025a477000007fff84a1c9a0000000000048de60000000000001020200000000000000330000000000000004000000000000000efffffffe7ffbba150000000000000129
Apr 10 11:08:24 schubert tvheadend5735: CRASH: STACKTRACE
Apr 10 11:08:24 schubert tvheadend5735: CRASH: ??:0 0x43cd09
Apr 10 11:08:24 schubert tvheadend5735: CRASH: ??:0 0x7ff780c74340
Apr 10 11:08:24 schubert tvheadend5735: CRASH: ??:0 0x48de60
Apr 10 11:08:24 schubert tvheadend5735: CRASH: ??:0 0x49b287
Apr 10 11:08:24 schubert tvheadend5735: CRASH: ??:0 0x48d118
Apr 10 11:08:24 schubert tvheadend5735: CRASH: ??:0 0x408844
Apr 10 11:08:24 schubert tvheadend5735: CRASH: __libc_start_main+0xf5 (/lib/x86_64-linux-gnu/libc.so.6)
Apr 10 11:08:24 schubert kernel: [ 9838.253907] tvheadend5735: segfault at 129 ip 000000000048de60 sp 00007fff84a1c9a0 error 4 in tvheadend[400000+12c000]
Apr 10 11:08:24 schubert kernel: [ 9838.633157] init: tvheadend main process (5735) killed by SEGV signal
Apr 10 11:08:24 schubert kernel: [ 9838.633189] init: tvheadend main process ended, respawning
Apr 10 11:08:25 schubert tvheadend6030: scanfile: DVB-T - loaded 43 regions with 729 networks
Apr 10 11:08:25 schubert tvheadend6030: scanfile: DVB-S - loaded 1 regions with 92 networks
Apr 10 11:08:25 schubert tvheadend6030: scanfile: DVB-C - loaded 16 regions with 51 networks
Apr 10 11:08:25 schubert tvheadend6030: scanfile: ATSC - loaded 2 regions with 14 networks
Apr 10 11:08:26 schubert kernel: [ 9840.393993] SAA716x Budget 0000:02:00.0: DVB: adapter 1 frontend 0 symbol rate 0 out of range (1000000..45000000)
Apr 10 11:08:27 schubert kernel: [ 9841.419673] usb 1-3.3: DVB: adapter 2 frontend 0 frequency 0 out of range (47000000..862000000)
Apr 10 11:08:27 schubert tvheadend6030: CSA: Using SSE2 128bit parallel descrambling
Apr 10 11:18:54 schubert tvheadend6030: CRASH: Signal: 11 in PRG: tvheadend (3.9.2689~g14f03b8~trusty) [0a12a0667d7b963f986b613fe91ae5409c09ade7] CWD: /
Apr 10 11:18:54 schubert tvheadend6030: CRASH: Fault address 0x129 (Address not mapped)
Apr 10 11:18:54 schubert tvheadend6030: CRASH: Loaded libraries: /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/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 /lib/x86_64-linux-gnu/libc.so.6 /lib64/ld-linux-x86-64.so.2 /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.so.2 /lib/x86_64-linux-gnu/libnss_winbind.so.2 /usr/lib/x86_64-linux-gnu/samba/libwinbind-client.so.0
Apr 10 11:18:54 schubert tvheadend6030: CRASH: Register dump [23]: 00000000000000000000000002764fa000007fd46175ffe000007fd46151b8f000000000004fa94b0000000001e9c1b000007fff00a6caf00000000001e9c318000000000000000000000000ffffffff00000000000000c100000000000000c100007fd461761770000000000000000000000000027651b000007fff00a6caa0000000000048de60000000000001020200000000000000330000000000000004000000000000000efffffffe7ffbba150000000000000129
Apr 10 11:18:54 schubert tvheadend6030: CRASH: STACKTRACE
Apr 10 11:18:54 schubert tvheadend6030: CRASH: ??:0 0x43cd09
Apr 10 11:18:54 schubert tvheadend6030: CRASH: ??:0 0x7fd461c86340
Apr 10 11:18:54 schubert tvheadend6030: CRASH: ??:0 0x48de60
Apr 10 11:18:54 schubert tvheadend6030: CRASH: ??:0 0x49b287
Apr 10 11:18:54 schubert tvheadend6030: CRASH: ??:0 0x48d118
Apr 10 11:18:54 schubert tvheadend6030: CRASH: ??:0 0x408844
Apr 10 11:18:54 schubert tvheadend6030: CRASH: __libc_start_main+0xf5 (/lib/x86_64-linux-gnu/libc.so.6)
Apr 10 11:18:54 schubert kernel: [10468.580288] tvheadend6030: segfault at 129 ip 000000000048de60 sp 00007fff00a6caa0 error 4 in tvheadend[400000+12c000]
Apr 10 11:18:54 schubert kernel: [10468.945381] init: tvheadend main process (6030) killed by SEGV signal
Apr 10 11:18:54 schubert kernel: [10468.945420] init: tvheadend main process ended, respawning
Any idea what it tries to do every 10 minutes?
History
Updated by Mark Clarkstone over 9 years ago
Martin Hagelin wrote:
Hi,
my tvheadend crashes every 10 minutes. I'm running the SVN version and problems started to appear about a month ago.
Looks like this in my syslog:
Apr 10 11:08:24 schubert tvheadend5735: CRASH: Signal: 11 in PRG: tvheadend (3.9.2689~g14f03b8~trusty) [0a12a0667d7b963f986b613fe91ae5409c09ade7] CWD: /
Apr 10 11:08:24 schubert tvheadend5735: CRASH: Fault address 0x129 (Address not mapped)
Apr 10 11:08:24 schubert tvheadend5735: CRASH: Loaded libraries: /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/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 /lib/x86_64-linux-gnu/libc.so.6 /lib64/ld-linux-x86-64.so.2 /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.so.2 /lib/x86_64-linux-gnu/libnss_winbind.so.2 /usr/lib/x86_64-linux-gnu/samba/libwinbind-client.so.0
Apr 10 11:08:24 schubert tvheadend5735: CRASH: Register dump [23]: 000000000000000000000000025a8cb000007ff78074dfe000007ff7805098f000000000004fa94b0000000001e2f71000007fff84a1c9f00000000001e2f878000000000000000000000000ffffffff00000000000000c100000000000000c100007ff78074f770000000000000000000000000025a477000007fff84a1c9a0000000000048de60000000000001020200000000000000330000000000000004000000000000000efffffffe7ffbba150000000000000129
Apr 10 11:08:24 schubert tvheadend5735: CRASH: STACKTRACE
Apr 10 11:08:24 schubert tvheadend5735: CRASH: ??:0 0x43cd09
Apr 10 11:08:24 schubert tvheadend5735: CRASH: ??:0 0x7ff780c74340
Apr 10 11:08:24 schubert tvheadend5735: CRASH: ??:0 0x48de60
Apr 10 11:08:24 schubert tvheadend5735: CRASH: ??:0 0x49b287
Apr 10 11:08:24 schubert tvheadend5735: CRASH: ??:0 0x48d118
Apr 10 11:08:24 schubert tvheadend5735: CRASH: ??:0 0x408844
Apr 10 11:08:24 schubert tvheadend5735: CRASH: __libc_start_main+0xf5 (/lib/x86_64-linux-gnu/libc.so.6)
Apr 10 11:08:24 schubert kernel: [ 9838.253907] tvheadend5735: segfault at 129 ip 000000000048de60 sp 00007fff84a1c9a0 error 4 in tvheadend[400000+12c000]
Apr 10 11:08:24 schubert kernel: [ 9838.633157] init: tvheadend main process (5735) killed by SEGV signal
Apr 10 11:08:24 schubert kernel: [ 9838.633189] init: tvheadend main process ended, respawning
Apr 10 11:08:25 schubert tvheadend6030: scanfile: DVB-T - loaded 43 regions with 729 networks
Apr 10 11:08:25 schubert tvheadend6030: scanfile: DVB-S - loaded 1 regions with 92 networks
Apr 10 11:08:25 schubert tvheadend6030: scanfile: DVB-C - loaded 16 regions with 51 networks
Apr 10 11:08:25 schubert tvheadend6030: scanfile: ATSC - loaded 2 regions with 14 networks
Apr 10 11:08:26 schubert kernel: [ 9840.393993] SAA716x Budget 0000:02:00.0: DVB: adapter 1 frontend 0 symbol rate 0 out of range (1000000..45000000)
Apr 10 11:08:27 schubert kernel: [ 9841.419673] usb 1-3.3: DVB: adapter 2 frontend 0 frequency 0 out of range (47000000..862000000)
Apr 10 11:08:27 schubert tvheadend6030: CSA: Using SSE2 128bit parallel descramblingApr 10 11:18:54 schubert tvheadend6030: CRASH: Signal: 11 in PRG: tvheadend (3.9.2689~g14f03b8~trusty) [0a12a0667d7b963f986b613fe91ae5409c09ade7] CWD: /
Apr 10 11:18:54 schubert tvheadend6030: CRASH: Fault address 0x129 (Address not mapped)
Apr 10 11:18:54 schubert tvheadend6030: CRASH: Loaded libraries: /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/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 /lib/x86_64-linux-gnu/libc.so.6 /lib64/ld-linux-x86-64.so.2 /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.so.2 /lib/x86_64-linux-gnu/libnss_winbind.so.2 /usr/lib/x86_64-linux-gnu/samba/libwinbind-client.so.0
Apr 10 11:18:54 schubert tvheadend6030: CRASH: Register dump [23]: 00000000000000000000000002764fa000007fd46175ffe000007fd46151b8f000000000004fa94b0000000001e9c1b000007fff00a6caf00000000001e9c318000000000000000000000000ffffffff00000000000000c100000000000000c100007fd461761770000000000000000000000000027651b000007fff00a6caa0000000000048de60000000000001020200000000000000330000000000000004000000000000000efffffffe7ffbba150000000000000129
Apr 10 11:18:54 schubert tvheadend6030: CRASH: STACKTRACE
Apr 10 11:18:54 schubert tvheadend6030: CRASH: ??:0 0x43cd09
Apr 10 11:18:54 schubert tvheadend6030: CRASH: ??:0 0x7fd461c86340
Apr 10 11:18:54 schubert tvheadend6030: CRASH: ??:0 0x48de60
Apr 10 11:18:54 schubert tvheadend6030: CRASH: ??:0 0x49b287
Apr 10 11:18:54 schubert tvheadend6030: CRASH: ??:0 0x48d118
Apr 10 11:18:54 schubert tvheadend6030: CRASH: ??:0 0x408844
Apr 10 11:18:54 schubert tvheadend6030: CRASH: __libc_start_main+0xf5 (/lib/x86_64-linux-gnu/libc.so.6)
Apr 10 11:18:54 schubert kernel: [10468.580288] tvheadend6030: segfault at 129 ip 000000000048de60 sp 00007fff00a6caa0 error 4 in tvheadend[400000+12c000]
Apr 10 11:18:54 schubert kernel: [10468.945381] init: tvheadend main process (6030) killed by SEGV signal
Apr 10 11:18:54 schubert kernel: [10468.945420] init: tvheadend main process ended, respawningAny idea what it tries to do every 10 minutes?
EPG grabber perhaps? If you install the debug package it should give more info. you may also want to try running it via gdb & get a full trace.
Updated by Martin Hagelin over 9 years ago
Thanks for the tip!
I disabled the "EIT: DVB Grabber" (in Configuration - Channel/EPG - Over-the-air Grabbers ) and voila, the crashes disappeared!
Updated by B C over 9 years ago
well the EIT grabber should not Crash at all, which channel / transport stream is tvh tuning to bevor it crashes? Or maybe you could grab the complete stream for somebody to analyze the problem.
Updated by Mark Clarkstone over 9 years ago
B C wrote:
well the EIT grabber should not Crash at all, which channel / transport stream is tvh tuning to bevor it crashes? Or maybe you could grab the complete stream for somebody to analyze the problem.
Exactly, it would really help if Martin would post a gdb trace, so someone (more than likely perexg) can take a look & find out why it's crashing.
Updated by Sam Stenvall over 9 years ago
You'll get a proper stack trace if you install debug symbols and reproduce the crash. If you've compiled from source, make sure you have --enable-debug, if you installed a .deb package, make sure you install tvheadend-dbg.
Updated by Jaroslav Kysela over 9 years ago
- Status changed from New to Fixed
I believe that this issue is fixed in the recent tvh. Open a new bug with the proper trace otherwise.