Project

General

Profile

Actions

Bug #1153

closed

TVHeadend crashes while tuning channel

Added by Rene Herbrich over 12 years ago. Updated over 12 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
2012-08-23
Due date:
% Done:

100%

Estimated time:
(Total: 0:00 h)
Found in version:
latest
Affected Versions:

Description

Sorry for another ticket :(

DS112j> gdb --args /opt/tvheadend/testbuild/bin/tvheadend -d

dlopen failed on 'libthread_db.so.1' - libthread_db.so.1: cannot open shared object file: No such file or directory
GDB will not be able to debug pthreads.

GNU gdb 6.8
Copyright (C) 2008 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 "arm-none-linux-gnueabi"...
(gdb) attach 7913
Attaching to program: /opt/tvheadend/testbuild/bin/tvheadend, process 7913
Reading symbols from /lib/libssl.so.0.9.8...done.
Loaded symbols for /lib/libssl.so.0.9.8
Reading symbols from /lib/libcrypto.so.0.9.8...done.
Loaded symbols for /lib/libcrypto.so.0.9.8
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/librt.so.1...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.3...done.
Loaded symbols for /lib/ld-linux.so.3
0x4029ab3c in ioctl () from /lib/libc.so.6
(gdb) bt full
#0  0x4029ab3c in ioctl () from /lib/libc.so.6
No symbol table info available.
#1  0x00044bb8 in tdt_open_fd (tdmi=0x4755df70, tdt=0x36) at /opt/src/tvheadend_beta/src/dvb/dvb_tables.c:112
        tda = (th_dvb_adapter_t *) 0x7c668
        e = {events = 1, data = {ptr = 0x26c3, fd = 9923, u32 = 9923, u64 = 73014453955}}
        __PRETTY_FUNCTION__ = "tdt_open_fd" 
#2  0x00044fec in dvb_table_add_default (tdmi=0x4755df70) at /opt/src/tvheadend_beta/src/dvb/dvb_tables.c:1025
        fp = <value optimized out>
#3  0x00043a34 in dvb_fe_tune (tdmi=0x4755df70, reason=0x64f54 "Autoscan") at /opt/src/tvheadend_beta/src/dvb/dvb_fe.c:523
        tda = (th_dvb_adapter_t *) 0x7c668
        dmc = {dmc_fe_params = {frequency = 121000000, inversion = INVERSION_AUTO, u = {qpsk = {symbol_rate = 6900000, 
        fec_inner = FEC_NONE}, qam = {symbol_rate = 6900000, fec_inner = FEC_NONE, modulation = QAM_64}, ofdm = {
        bandwidth = 6900000, code_rate_HP = FEC_NONE, code_rate_LP = FEC_3_4, constellation = QPSK, 
        transmission_mode = TRANSMISSION_MODE_2K, guard_interval = GUARD_INTERVAL_1_32, hierarchy_information = HIERARCHY_NONE}, 
      vsb = {modulation = 6900000}}}, dmc_polarisation = 0, dmc_satconf = 0x0}
        buf = "KBW: 121,000 kHz\000\000\000\000\000\000\001\000?\201?\001\000\000\000\000\000\001\000\000?&@\000\000\000\000\220?&@\000\000\000\000\000\000\000\000\232\036?\005/root/.hts/tvheadend/dvbmuxes/_dev_dvb_adapter0_HDHomeRun_DVB_C/_dev_dvb_adapter0_HDHomeRun_DVB_C698000000\000\000\001\000\000\000\022\000\000\000(\000\000\000?X\002@?\230\000\000 \000\000\000???\177????"...
        r = 0
#4  0x0000b5d4 in main (argc=<value optimized out>, argv=<value optimized out>) at /opt/src/tvheadend_beta/src/main.c:233
        c = <value optimized out>
        forkaway = -1098793972
        pidfile = <value optimized out>
        pidpath = 0x4002 <Address 0x4002 out of bounds>
        grp = <value optimized out>
        pw = <value optimized out>
        usernam = <value optimized out>
        groupnam = <value optimized out>
        createdefault = 0
        set = {__val = {16386, 0 <repeats 31 times>}}
        rawts_input = 0x0
        join_transport = 0x0
        confpath = 0x0
        p = <value optimized out>
        endp = 0x0
---Type <return> to continue, or q <return> to quit---
        adapter_mask = 4294967295
        crash = 0
(gdb) 

What I've done: started XBMC and it imported epg database. I thought I could test
some channels during import. The first channel tune was ok, but the second one crashed xbmc and tvheadend, too.

Subtasks 1 (0 open1 closed)

Bug #1152: TVHeadend crashes during initial scanRejectedAdam Sutton2012-08-23

Actions
Actions

Also available in: Atom PDF