Project

General

Profile

TVHeadend Crashing after Driver Update TBS6982

Added by Olaf K about 9 years ago

Hi,

my TVH Server worked fine so far. I got a new TV Card 2 Weeks ago: TBS6982 Dual Tuner.
Everything seems to work, but this week i got some stuttering and errors after a few hours. A restart solved the problem.

I read, that the driver could be the problem, so i decided to update it. I followed this steps to make and install the driver:
https://github.com/ljalves/linux_media/wiki/Installating

Now, tvheadend crashes at every startup.
Tried an apt-get upgrade and an "sudo dpkg-reconfigure tvheadend"

Nothing worked. Here is my syslog:

Sep 30 12:43:54 server tvheadend[4380]: charset: 71 entries loaded
Sep 30 12:43:54 server tvheadend[4380]: CRASH: Signal: 11 in PRG: /usr/bin/tvheadend (3.4.27~gfbda802~wheezy) [e4e367b8607f79f52babef2f177e9f0c5d32ff53] CWD: /
Sep 30 12:43:54 server tvheadend[4380]: CRASH: Fault address (nil) (Address not mapped)
Sep 30 12:43:54 server tvheadend[4380]: CRASH: Loaded libraries: /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/x86_64-linux-gnu/libavahi-common.so.3 /usr/lib/x86_64-linux-gnu/libavahi-client.so.3 /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 /lib/x86_64-linux-gnu/librt.so.1 /lib$
Sep 30 12:43:54 server tvheadend[4380]: CRASH: Register dump [23]: 0000000000000000 0000000000000000 5342545f74686769 0000000000000246 000000000144e420 00000000000003e8 00000000014768b0 0000000000000000 00000000006a4b40 00000000000020da 00000000000020da 0000000001492e60 0000000000000010 0000000000000708 0000000000000000 00007ffd3ff2d5d0 000000000045873d 00000$
Sep 30 12:43:54 server tvheadend[4380]: CRASH: STACKTRACE
Sep 30 12:43:54 server tvheadend[4380]: CRASH: ??:0 0x42a4f6
Sep 30 12:43:54 server tvheadend[4380]: CRASH: ??:0 0x7ff65011f0a0
Sep 30 12:43:54 server tvheadend[4380]: CRASH: ??:0 0x45873d
Sep 30 12:43:54 server tvheadend[4380]: CRASH: ??:0 0x458e18
Sep 30 12:43:54 server tvheadend[4380]: CRASH: ??:0 0x4563d2
Sep 30 12:43:54 server tvheadend[4380]: CRASH: ??:0 0x457096
Sep 30 12:43:54 server tvheadend[4380]: CRASH: ??:0 0x453a28
Sep 30 12:43:54 server tvheadend[4380]: CRASH: ??:0 0x405d2f
Sep 30 12:43:54 server tvheadend[4380]: CRASH: __libc_start_main+0xfd  (/lib/x86_64-linux-gnu/libc.so.6)
Sep 30 12:43:54 server tvheadend[4380]: CRASH: ??:0 0x406139
Sep 30 12:43:54 server kernel: [  439.910270] tvheadend[4380]: segfault at 0 ip 000000000045873d sp 00007ffd3ff2d5d0 error 6 in tvheadend[400000+95000]

Any ideas where to start?

Greets


Replies (3)

RE: TVHeadend Crashing after Driver Update TBS6982 - Added by Mark Clarkstone about 9 years ago

Install the debug package (dbg), take a look at Debugging and Traces & open a new bug.

You may want to let Luis know too (ljalves) by opening an issue on github.

scrap the above, just noticed you're running an old version, try upgrading to 4.x, see here AptRepository.

RE: TVHeadend Crashing after Driver Update TBS6982 - Added by Olaf K about 9 years ago

I am running Debian 7, so i think Version 4 will not work right?

RE: TVHeadend Crashing after Driver Update TBS6982 - Added by Mark Clarkstone about 9 years ago

Olaf K wrote:

I am running Debian 7, so i think Version 4 will not work right?

You can easily build it, heres a build guide I made earlier.. (ignore the fact its for an RPi, it still applies to other systems).

Note: The below method won't include transcoding, if you want that do this at step/line 4.

AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static ./Autobuild.sh

----------
Quick & Easy guide to building Tvheadend on a RPi2.

sudo apt-get install git build-essential debhelper pkg-config fakeroot
git clone https://github.com/tvheadend/tvheadend.git build/tvheadend/master
cd build/tvheadend/master
./Autobuild.sh 
What each lines does.
  • 1 Installs a few dependencies (you'll need to install some more later on).
  • 2 Clones the Tvheadend master branch from github & places it in build/tvheadend/master.
  • 3 Changes directory to the above path.
  • 4 Runs the Autobuild script that will build a debian package so that you can install it in a nice and neat way.

Other info.
The Autobuild.sh script will complain about other missing dependencies you need to install those (using sudo apt-get install) and then run the script again.
Once the build has completed you'll find the built debian package (E.g tvheadend_4.1-368~geeda7d7_armhf.deb) in build/tvheadend.

You can then install it (and the debug package) using.

cd build/tvheadend
sudo dpkg -i tvheadend*.deb

Also you may want to start a new configuration from scratch so remove /home/hts/.hts before installing to avoid issues later on (configuration issues caused by migration of old 3.4 config).

    (1-3/3)