Project

General

Profile

tvheadend crashes while scanning channels

Added by Reuven Aharoni about 10 years ago

Hi,

I need help, just installed tvheadend and when the channels scan it crash, here are the crash output:

[NOTICE]:dvb: New mux "14,227 kHz" created by automatic mux discovery
[ALERT]:CRASH: Signal: 11 in PRG: tvheadend (2.12) [c7f931aec223f9d9eb6271cf0d33ffa2d4820975] CWD: /home/reuvenah
[ALERT]:CRASH: Fault address 0x8 (Address not mapped)
[ALERT]:CRASH: Loaded libraries: /lib/x86_64-linux-gnu/librt.so.1 /lib/x86_64-linux-gnu/libdl.so.2 /lib/x86_64-linux-gnu/libcrypt.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/libpthread.so.0 /lib/x86_64-linux-gnu/libm.so.6 /lib/x86_64-linux-gnu/libc.so.6 /lib64/ld-linux-x86-64.so.2 /lib/x86_64-linux-gnu/libdbus-1.so.3 /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
[ALERT]:CRASH: Register dump [23]: 0064696d61657274 00007fdd307eb228 6574616572632022 0000000000000002 00007fdd280009f0 0000000000000048 0000000001089d10 00007fdd280185a0 0000000000000000 00000000004532b7 00000000010890c0 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fdd2d9d5598 00007fdd304de5d1 0000000000010283 0000000000000033 0000000000000004 000000000000000e fffffffe7ffbfa17 0000000000000008
[ALERT]:CRASH: STACKTRACE
[ALERT]:CRASH: tvheadend 0x4215f1
[ALERT]:CRASH: /lib/x86_64-linux-gnu/libpthread.so.0 0x7fdd30a84c60
[ALERT]:CRASH: /lib/x86_64-linux-gnu/libc.so.6 0x7fdd304de5d1
[ALERT]:CRASH: __strdup+0x16 (/lib/x86_64-linux-gnu/libc.so.6)
[ALERT]:CRASH: tvheadend 0x41dd9b
[ALERT]:CRASH: tvheadend 0x43cd5f
[ALERT]:CRASH: tvheadend 0x43e14f
[ALERT]:CRASH: tvheadend 0x439cdc
[ALERT]:CRASH: tvheadend 0x43af8d
[ALERT]:CRASH: /lib/x86_64-linux-gnu/libpthread.so.0 0x7fdd30a7bd8c
[ALERT]:CRASH: clone+0x6d (/lib/x86_64-linux-gnu/libc.so.6)

can someone help me please.

Thanks,
Robbie


Replies (10)

RE: tvheadend crashes while scanning channels - Added by Reuven Aharoni about 10 years ago

Hi,

I'm using Ubuntu 11.04 (GNU/Linux 2.6.38-8-server x86_64)

I just install the repository with apt-get.

||/ Name Version Description
+++-==============-==============-============================================
ii hts-tvheadend 2.12 HTS Tvheadend

I also run the build from git and this the error that I have

GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/&gt;...
Reading symbols from /home/reuvenah/tvheadend/build.Linux/tvheadend...done.
(gdb) r
Starting program: /home/reuvenah/tvheadend/build.Linux/tvheadend -d
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff5b01700 (LWP 13216)]
[New Thread 0x7ffff5300700 (LWP 13217)]
[New Thread 0x7ffff4aff700 (LWP 13219)]
[INFO]:dvb: Found adapter /dev/dvb/adapter0 (Afatech AF9033 DVB-T) via USB (480 Mbit/s)
[New Thread 0x7ffff42fe700 (LWP 13221)]
tcp_server: epoll_wait: Interrupted system call
[New Thread 0x7ffff3afd700 (LWP 13222)]
tcp_server: epoll_wait: Interrupted system call
[DEBUG]:dvb: "/dev/dvb/adapter0" tuning to "730,000 kHz" (Initial autoscan)
[DEBUG]:dvb: Add service "_dev_dvb_adapter0_Afatech_AF9033_DVB_T514000000_0003" on "Harashut Hashnia: 514,000 kHz"
[DEBUG]:dvb: Add service "_dev_dvb_adapter0_Afatech_AF9033_DVB_T514000000_0015" on "Harashut Hashnia: 514,000 kHz"
[DEBUG]:dvb: Add service "_dev_dvb_adapter0_Afatech_AF9033_DVB_T514000000_0002" on "Harashut Hashnia: 514,000 kHz"
[DEBUG]:dvb: Add service "_dev_dvb_adapter0_Afatech_AF9033_DVB_T514000000_0005" on "Harashut Hashnia: 514,000 kHz"
[DEBUG]:dvb: Add service "_dev_dvb_adapter0_Afatech_AF9033_DVB_T514000000_0020" on "Harashut Hashnia: 514,000 kHz"
[DEBUG]:dvb: Add service "_dev_dvb_adapter0_Afatech_AF9033_DVB_T514000000_0004" on "Harashut Hashnia: 514,000 kHz"
[DEBUG]:dvb: Add service "_dev_dvb_adapter0_Afatech_AF9033_DVB_T514000000_0001" on "Harashut Hashnia: 514,000 kHz"
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
tcp_server: epoll_wait: Interrupted system call
[New Thread 0x7ffff18d3700 (LWP 13223)]
tcp_server: epoll_wait: Interrupted system call
[INFO]:dvr: Creating new configuration ''
[WARNING]:dvr: Output directory for video recording is not yet configured for DVR configuration "". Defaulting to to "/home/reuvenah". This can be changed from the web user interface.
[INFO]:CSA: Using SSE2 128bit parallel descrambling
[New Thread 0x7ffff10d2700 (LWP 13224)]
tcp_server: epoll_wait: Interrupted system call
[NOTICE]:START: HTS Tvheadend version git-c88a646 started, running as PID:13213 UID:0 GID:0, settings located in '/home/reuvenah/.hts/tvheadend'
tcp_server: epoll_wait: Interrupted system call
[New Thread 0x7ffff08d1700 (LWP 13226)]
[DEBUG]:dvb: "730,000 kHz" on adapter "Afatech AF9033 DVB-T", status changed to Faint signal
[DEBUG]:dvb: "730,000 kHz" on adapter "Afatech AF9033 DVB-T", status changed to No signal
[New Thread 0x7fffebfff700 (LWP 13227)]
[New Thread 0x7fffeb7fe700 (LWP 13228)]
[New Thread 0x7fffeaffd700 (LWP 13229)]
[New Thread 0x7fffea7fc700 (LWP 13230)]
[New Thread 0x7fffe9ffb700 (LWP 13231)]
[New Thread 0x7fffe97fa700 (LWP 13232)]
[DEBUG]:dvb: "730,000 kHz" on adapter "Afatech AF9033 DVB-T", status changed to Faint signal
tcp_server: epoll_wait: Interrupted system call
[Thread 0x7ffff08d1700 (LWP 13226) exited]
[DEBUG]:dvb: "730,000 kHz" on adapter "Afatech AF9033 DVB-T", status changed to No signal
[DEBUG]:dvb: "/dev/dvb/adapter0" tuning to "Harashut Hashnia: 514,000 kHz" (Initial autoscan)
[NOTICE]:dvb: New mux "14,227 kHz" created by automatic mux discovery

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff3afd700 (LWP 13222)]
0x00007ffff6bab5d1 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) info reg
rax 0x0 0
rbx 0x0 0
rcx 0x0 0
rdx 0x0 0
rsi 0x453675 4535925
rdi 0x0 0
rbp 0x69fd80 0x69fd80
rsp 0x7ffff3afb5c8 0x7ffff3afb5c8
r8 0x7ffff6eb82d8 140737336017624
r9 0x7ffff6eb8228 140737336017448
r10 0xa 10
r11 0x2 2
r12 0x699270 6918768
r13 0x48 72
r14 0x1 1
r15 0x697b30 6912816
rip 0x7ffff6bab5d1 0x7ffff6bab5d1
eflags 0x10283 [ CF SF IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
---Type <return> to continue, or q <return> to quit---
gs 0x0 0
(gdb) disassemble $pc-32,$pc+32
Dump of assembler code from 0x7ffff6bab5b1 to 0x7ffff6bab5f1:
0x00007ffff6bab5b1 <strlen+49>: add al,(rax)
0x00007ffff6bab5b3 <strlen+51>: je 0x7ffff6bab5bc <strlen+60>
0x00007ffff6bab5b5 <strlen+53>: lea 0xb8f34(%rip),%rax # 0x7ffff6c644f0
0x00007ffff6bab5bc <strlen+60>: retq
0x00007ffff6bab5bd: nopl (%rax)
0x00007ffff6bab5c0: xor %rax,%rax
0x00007ffff6bab5c3: mov %edi,%ecx
0x00007ffff6bab5c5: and $0x3f,%ecx
0x00007ffff6bab5c8: pxor %xmm0,%xmm0
0x00007ffff6bab5cc: cmp $0x30,%ecx
0x00007ffff6bab5cf: ja 0x7ffff6bab5ea
=> 0x00007ffff6bab5d1: movdqu (%rdi),%xmm1
0x00007ffff6bab5d5: pcmpeqb %xmm1,%xmm0
0x00007ffff6bab5d9: pmovmskb %xmm0,%edx
0x00007ffff6bab5dd: test %edx,%edx
0x00007ffff6bab5df: jne 0x7ffff6bab65b
0x00007ffff6bab5e1: mov %rdi,%rax
0x00007ffff6bab5e4: and $0xfffffffffffffff0,%rax
0x00007ffff6bab5e8: jmp 0x7ffff6bab607
0x00007ffff6bab5ea: mov %rdi,%rax
0x00007ffff6bab5ed: and $0xfffffffffffffff0,%rax
---Type <return> to continue, or q <return> to quit---
End of assembler dump.
(gdb) bt full
#0 0x00007ffff6bab5d1 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x00007ffff6bab2e6 in strdup () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2 0x000000000041cceb in htsmsg_add_str (msg=<value optimized out>,
name=<value optimized out>, str=0x0)
at /home/reuvenah/tvheadend/src/htsmsg.c:219
f = 0x69fd80
#3 0x000000000043dd1a in dvb_mux_save (tdmi=0x69b070)
at /home/reuvenah/tvheadend/src/dvb/dvb_multiplex.c:507
f = 0x69b130
m = 0x6ad590
#4 0x000000000043ec50 in dvb_mux_create (tda=0x699270, dmc=0x7ffff3afbc10,
tsid=1, network=0x0, source=0x452f1d "automatic mux discovery", enabled=1,
initialscan=1, identifier=0x0)
at /home/reuvenah/tvheadend/src/dvb/dvb_multiplex.c:274
tdmi = 0x69b070
hash = <value optimized out>
buf = "14,227 kHz\000apter0_Afatech_AF9033_DVB_T14227390\000\000(\273\257\363\377\177\000\000P\274\257\363\377\177\000\000\200\273\257\363\377\177\000\000콯\363\377\177\000\000\000\001\000\000\000\000\000\000 \020j\000\000\000\000\000\360\272\257\363\377\177\000\000ǃC\000\000\000\000\000Harashut Hashnia", '\000' <repeats 20 times>, "\004\000\000\000\020\000\000\000\000\000\000\000\357", ---Type <return> to continue, or q <return> to quit---
'\000' <repeats 15 times>, "`\274\257\363\377\177\000\000\000\273\257\363\377\177\000\000\000\000\000\000\020\000\000"
#5 0x000000000043a3e6 in dvb_table_sat_delivery (tdmi=0x6b3790,
ptr=0x7ffff3afbe06 "\001B'9", len=164, tableid=<value optimized out>,
opaque=<value optimized out>)
at /home/reuvenah/tvheadend/src/dvb/dvb_tables.c:1025
freq = <value optimized out>
dmc = {dmc_fe_params = {frequency = 14227390,
inversion = INVERSION_AUTO, u = {qpsk = {symbol_rate = 8520000,
fec_inner = FEC_2_3}, qam = {symbol_rate = 8520000,
fec_inner = FEC_2_3, modulation = QPSK}, ofdm = {
bandwidth = 8520000, code_rate_HP = FEC_2_3,
code_rate_LP = FEC_NONE, constellation = QPSK,
transmission_mode = TRANSMISSION_MODE_2K,
guard_interval = GUARD_INTERVAL_1_32,
hierarchy_information = HIERARCHY_NONE}, vsb = {
modulation = 8520000}}}, dmc_polarisation = 3,
dmc_satconf = 0x0, dmc_fe_modulation = QPSK,
dmc_fe_delsys = SYS_DVBS2, dmc_fe_rolloff = ROLLOFF_AUTO}
modulation = <value optimized out>
#6 dvb_nit_callback (tdmi=0x6b3790, ptr=0x7ffff3afbe06 "\001B'9", len=164,
tableid=<value optimized out>, opaque=<value optimized out>)
at /home/reuvenah/tvheadend/src/dvb/dvb_tables.c:1159
---Type <return> to continue, or q <return> to quit---
tag = <value optimized out>
tlen = 11 '\v'
ntl = 11
networkname = "Harashut Hashnia\000\000\000\000\000\000\000\000\300\201\353\366\377\177\000\000P\206\000\000\000\000\000\000\260\271t\000\000\000\000\000\300\201\353\366\377\177\000\000\300\201\353\366\377\177\000\000\000\276\257\363\377\177\000\000\004\000\000\000\000\000\000\000\260\v", '\000' <repeats 14 times>"\220, \067k\000\000\000\000\000\343X\272\366\377\177\000\000\000\276\257\363\377\177\000\000\004\000\000\000\000\000\000\000\260\v", '\000' <repeats 14 times>"\220, \067k\000\000\000\000\000\274\260C\000\000\000\000\000\000\000\000\000\n\000\000\000b\n\000\021\000\000\000\000PMT(2992)\000\377\377\001", '\000' <repeats 18 times>"\303, \000\000\000\000\000\000\000\000\000\026\b7\367\305\350O\000\000\000\000\000\000\000\[email protected]\000\000\000\000\000\350vk\000\000\000\000\000㽯\363\377\177\000"
tsid = 1
network_id = <value optimized out>
#7 0x000000000043b501 in dvb_proc_table (aux=0x699270)
at /home/reuvenah/tvheadend/src/dvb/dvb_tables.c:220
chkcrc = <value optimized out>
tableid = <value optimized out>
len = <value optimized out>
ret = <value optimized out>
ptr = 0x7ffff3afbde3 "\021\021", <incomplete sequence \303>
---Type <return> to continue, or q <return> to quit---
#8 dvb_table_input (aux=0x699270)
at /home/reuvenah/tvheadend/src/dvb/dvb_tables.c:264
tda = 0x699270
r = <value optimized out>
i = <value optimized out>
tid = <value optimized out>
x = 1
ev = {{events = 1, data = {ptr = 0xd00000008, fd = 8, u32 = 8,
u64 = 55834574856}}}
sec = "\360\313\021\021\303\000\000\360\022\020Harashut Hashnia\360\254\000\001\377\"\360\rC\v\001B'9\[email protected]\375\000\205 \002\000\002\377\"\360\223Al\000\001\001\000\002\001\000\003\001\000\004\001\000\005\001\000\006\001\000\n\002\000\v\002\000\f\002\000\r\002\000\016\002\000\017\002\000\020\002\000\021\002\000\022\002\000\023\002\000\024\002\000\025\002\000\026\002\000\027\002\000\030\002\000\031\002\000\032\002\000\033\002\000\034\002\000\035\002\000\036\002\000\037\002\000 \002\000!\002\000\"\002\000#\002\000$\002\000\002\000x%x
\002\000'\002Z\v\003\[email protected]\023A;\377\377\377\377Z\v\003\064\[email protected]\023A;\377\377\377\377b\t\377\003\[email protected]\003\064\[email protected]@(\036k\356\361\362 \356\366\345\354\355 \362\355 \343\341 \340\354\341\345\351\355 \344\341\345\343\367 \356\344 \356\361\372\372\370 \356\340\347\345\370\351 \344\367\354\362\351\355 \371\354 \344\347\342\351\355 \345\344\356\345\362\343\351\355 \341\354\345\347 \344\371\360\344 \344\362\341\370\351.\r\n\344"...
tdmi = 0x6b3790
---Type <return> to continue, or q <return> to quit---
tdt = 0x7fffec0014a0
cycle_barrier = 0
PRETTY_FUNCTION = "dvb_table_input"
#9 0x00007ffff7148d8c in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#10 0x00007ffff6c0f04d in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#11 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)

Thanks,
Reuven

RE: tvheadend crashes while scanning channels - Added by Reuven Aharoni about 10 years ago

Hi Guys,

I need your help please.

any idea how to solve it?

Thanks,
Reuven

RE: tvheadend crashes while scanning channels - Added by Reuven Aharoni about 10 years ago

Hi,

I managed to solve it, I don't know why it related to the crash, but when I changed "NIT-o Network ID:" to 2, there where no more crashes.

Thanks,
Reuven

RE: tvheadend crashes while scanning channels - Added by Hein Rigolo about 10 years ago

what kind of network are you using? and is that network really using the NIT-o option?
NIT-o is only needed in some special cases.

Hein

RE: tvheadend crashes while scanning channels - Added by Reuven Aharoni about 10 years ago

Hi Hein,

I'm not sure what is NIT-o, I assign DVB-T configuration in Israel.

Thanks,
Reuven

RE: tvheadend crashes while scanning channels - Added by Hein Rigolo about 10 years ago

And did you leave the NIT-o fields first empty? Or did you put some other value there before?

RE: tvheadend crashes while scanning channels - Added by Hein Rigolo about 10 years ago

Okee, leave it empty ...and try that to see if there is a crash again.

Hein

RE: tvheadend crashes while scanning channels - Added by Reuven Aharoni about 10 years ago

I did this checking yesterday and it crashed,change it back to 2 and it was ok.

    (1-10/10)