Project

General

Profile

(solved) crash during scan (germany dvb-c unitymedia/kbw)

Added by Robert Trapp about 9 years ago

Hi Guys,

i just installed my elgato eyetv hybrid dbc-stick according to linuxtv.org

I looks like the stick is working. Other frequenzes was scanned yesterday evening without any Problems.
Until tvheadend want to scan 786Mhz and 466Mhz.

Does anybody got an idea what the problem is?

BR Robert

Here is the output in the syslog:

Nov 6 10:23:06 server1 tvheadend14350: main: Log started
Nov 6 10:23:06 server1 tvheadend14350: config: loaded
Nov 6 10:23:07 server1 tvheadend14350: scanfile: DVB-T - loaded 43 regions with 729 networks
Nov 6 10:23:07 server1 tvheadend14350: scanfile: DVB-S - loaded 1 regions with 92 networks
Nov 6 10:23:07 server1 tvheadend14350: scanfile: DVB-C - loaded 17 regions with 52 networks
Nov 6 10:23:07 server1 tvheadend14350: scanfile: ATSC - loaded 2 regions with 14 networks
Nov 6 10:23:07 server1 tvheadend14350: linuxdvb: adapter added /dev/dvb/adapter0
Nov 6 10:23:07 server1 tvheadend14350: dvr: Creating new configuration ''
Nov 6 10:23:07 server1 tvheadend14350: CSA: Using SSE2 128bit parallel descrambling
Nov 6 10:23:07 server1 tvheadend14350: descrambler: adding CAID 0963 as quick ECM (Sky UK)
Nov 6 10:23:07 server1 tvheadend14350: descrambler: adding CAID 098C as quick ECM (Sky DE)
Nov 6 10:23:07 server1 tvheadend14350: descrambler: adding CAID 09C4 as quick ECM (Sky DE)
Nov 6 10:23:07 server1 tvheadend14350: descrambler: adding CAID 09CD as quick ECM (Sky IT)
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module eit created
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module uk_freesat created
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module uk_freeview created
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module viasat_baltic created
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module Bulsatcom_39E created
Nov 6 10:23:07 server1 tvheadend14350: cwc: Attemping to connect to 192.168.1.10:22000
Nov 6 10:23:07 server1 tvheadend14350: cwc: Connected to 192.168.1.10:22000
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module opentv-skyit created
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module opentv-skynz created
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module opentv-skyuk created
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module opentv-ausat created
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module pyepg created
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module xmltv created
Nov 6 10:23:07 server1 tvheadend14350: epgdb: loaded v2
Nov 6 10:23:07 server1 tvheadend14350: epgdb: config 1
Nov 6 10:23:07 server1 tvheadend14350: epgdb: channels 0
Nov 6 10:23:07 server1 tvheadend14350: epgdb: brands 0
Nov 6 10:23:07 server1 tvheadend14350: epgdb: seasons 0
Nov 6 10:23:07 server1 tvheadend14350: epgdb: episodes 0
Nov 6 10:23:07 server1 tvheadend14350: epgdb: broadcasts 0
Nov 6 10:23:07 server1 tvheadend14350: START: HTS Tvheadend version 4.1-650~g500e547 started, running as PID:14350 UID:114 GID:44, CWD:/ CNF:/home/hts/.hts/tvheadend
Nov 6 10:23:07 server1 tvheadend14350: mpegts: 786MHz in unitymedia - tuning on EyeTV Hybrid
Nov 6 10:23:07 server1 tvheadend14350: subscription: 0001: "epggrab" subscribing to mux "786MHz", weight: 4, adapter: "EyeTV Hybrid", network: "unitymedia", service: "Raw PID Subscription"
Nov 6 10:23:07 server1 tvheadend14350: cwc: 192.168.1.10:22000: Connected as user user1 to a NDS-card [0x098e : 00.00.00.00.05.fd.0d.b7] with 1 providers
Nov 6 10:23:07 server1 tvheadend14350: cwc: 192.168.1.10:22000: Provider ID #1: 0x000000 00.00.00.00.05.fd.0d.00
Nov 6 10:23:07 server1 tvheadend14350: AVAHI: Service 'server1 Tvheadend' successfully established.
Nov 6 10:23:16 server1 tvheadend14350: mpegts: 466MHz in unitymedia - tuning on EyeTV Hybrid
Nov 6 10:23:16 server1 tvheadend14350: subscription: 0001: "epggrab" unsubscribing
Nov 6 10:23:16 server1 tvheadend14350: subscription: 0003: "scan" subscribing to mux "466MHz", weight: 5, adapter: "EyeTV Hybrid", network: "unitymedia", service: "Raw PID Subscription"
root@server1:/etc/init.d# cat /var/log/syslog | grep tvheadend
Nov 6 10:23:06 server1 tvheadend14350: main: Log started
Nov 6 10:23:06 server1 tvheadend14350: config: loaded
Nov 6 10:23:07 server1 tvheadend14350: scanfile: DVB-T - loaded 43 regions with 729 networks
Nov 6 10:23:07 server1 tvheadend14350: scanfile: DVB-S - loaded 1 regions with 92 networks
Nov 6 10:23:07 server1 tvheadend14350: scanfile: DVB-C - loaded 17 regions with 52 networks
Nov 6 10:23:07 server1 tvheadend14350: scanfile: ATSC - loaded 2 regions with 14 networks
Nov 6 10:23:07 server1 tvheadend14350: linuxdvb: adapter added /dev/dvb/adapter0
Nov 6 10:23:07 server1 tvheadend14350: dvr: Creating new configuration ''
Nov 6 10:23:07 server1 tvheadend14350: CSA: Using SSE2 128bit parallel descrambling
Nov 6 10:23:07 server1 tvheadend14350: descrambler: adding CAID 0963 as quick ECM (Sky UK)
Nov 6 10:23:07 server1 tvheadend14350: descrambler: adding CAID 098C as quick ECM (Sky DE)
Nov 6 10:23:07 server1 tvheadend14350: descrambler: adding CAID 09C4 as quick ECM (Sky DE)
Nov 6 10:23:07 server1 tvheadend14350: descrambler: adding CAID 09CD as quick ECM (Sky IT)
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module eit created
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module uk_freesat created
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module uk_freeview created
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module viasat_baltic created
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module Bulsatcom_39E created
Nov 6 10:23:07 server1 tvheadend14350: cwc: Attemping to connect to 192.168.1.10:22000
Nov 6 10:23:07 server1 tvheadend14350: cwc: Connected to 192.168.1.10:22000
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module opentv-skyit created
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module opentv-skynz created
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module opentv-skyuk created
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module opentv-ausat created
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module pyepg created
Nov 6 10:23:07 server1 tvheadend14350: epggrab: module xmltv created
Nov 6 10:23:07 server1 tvheadend14350: epgdb: loaded v2
Nov 6 10:23:07 server1 tvheadend14350: epgdb: config 1
Nov 6 10:23:07 server1 tvheadend14350: epgdb: channels 0
Nov 6 10:23:07 server1 tvheadend14350: epgdb: brands 0
Nov 6 10:23:07 server1 tvheadend14350: epgdb: seasons 0
Nov 6 10:23:07 server1 tvheadend14350: epgdb: episodes 0
Nov 6 10:23:07 server1 tvheadend14350: epgdb: broadcasts 0
Nov 6 10:23:07 server1 tvheadend14350: START: HTS Tvheadend version 4.1-650~g500e547 started, running as PID:14350 UID:114 GID:44, CWD:/ CNF:/home/hts/.hts/tvheadend
Nov 6 10:23:07 server1 tvheadend14350: mpegts: 786MHz in unitymedia - tuning on EyeTV Hybrid
Nov 6 10:23:07 server1 tvheadend14350: subscription: 0001: "epggrab" subscribing to mux "786MHz", weight: 4, adapter: "EyeTV Hybrid", network: "unitymedia", service: "Raw PID Subscription"
Nov 6 10:23:07 server1 tvheadend14350: cwc: 192.168.1.10:22000: Connected as user user1 to a NDS-card [0x098e : 00.00.00.00.05.fd.0d.b7] with 1 providers
Nov 6 10:23:07 server1 tvheadend14350: cwc: 192.168.1.10:22000: Provider ID #1: 0x000000 00.00.00.00.05.fd.0d.00
Nov 6 10:23:07 server1 tvheadend14350: AVAHI: Service 'server1 Tvheadend' successfully established.
Nov 6 10:23:16 server1 tvheadend14350: mpegts: 466MHz in unitymedia - tuning on EyeTV Hybrid
Nov 6 10:23:16 server1 tvheadend14350: subscription: 0001: "epggrab" unsubscribing
Nov 6 10:23:16 server1 tvheadend14350: subscription: 0003: "scan" subscribing to mux "466MHz", weight: 5, adapter: "EyeTV Hybrid", network: "unitymedia", service: "Raw PID Subscription"
Nov 6 10:23:20 server1 tvheadend14350: bouquet: new bouquet 'NDS LCN BW'
Nov 6 10:23:20 server1 tvheadend14350: CRASH: Signal: 11 in PRG: /usr/bin/tvheadend (4.1-650~g500e547) [5adc29b9bdb5ff0ae0c42d8b12a6f482b0be3b05] CWD: /
Nov 6 10:23:20 server1 tvheadend14350: CRASH: Fault address (nil) (Address not mapped)
Nov 6 10:23:20 server1 tvheadend14350: 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/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
Nov 6 10:23:20 server1 tvheadend14350: CRASH: Register dump [23]: 0000000000000000000000000000001b000000000000000000000000fffffffd00000000015acd30000000000000000100000000015abcb000000000014cc00000000000015acd3000007fb2ca7fb39000007fb2ca7fb39000000000015acd30000000000000000000007fb2ca7fb39a00007fb2ca7fb40f00007fb2ca7fb370000000000045bb70000000000001024600000000000000330000000000000004000000000000000efffffffe7ffbba130000000000000000
Nov 6 10:23:20 server1 tvheadend14350: CRASH: STACKTRACE
Nov 6 10:23:20 server1 tvheadend14350: CRASH: ??:0 0x441e66
Nov 6 10:23:20 server1 tvheadend14350: CRASH: ??:0 0x7fb2d56910a0
Nov 6 10:23:20 server1 tvheadend14350: CRASH: ??:0 0x45bb70
Nov 6 10:23:20 server1 tvheadend14350: CRASH: ??:0 0x4a6522
Nov 6 10:23:20 server1 tvheadend14350: CRASH: ??:0 0x4a81e5
Nov 6 10:23:20 server1 tvheadend14350: CRASH: ??:0 0x4a2b00
Nov 6 10:23:20 server1 tvheadend14350: CRASH: ??:0 0x49c1bb
Nov 6 10:23:20 server1 tvheadend14350: CRASH: ??:0 0x49c3ee
Nov 6 10:23:20 server1 tvheadend14350: CRASH: ??:0 0x496bf8
Nov 6 10:23:20 server1 tvheadend14350: CRASH: ??:0 0x496d79
Nov 6 10:23:20 server1 tvheadend14350: CRASH: ??:0 0x41539e
Nov 6 10:23:20 server1 kernel: [48195.434996] tvh:mi-table14374: segfault at 0 ip 000000000045bb70 sp 00007fb2ca7fb370 error 4 in tvheadend[400000+168000]


Replies (12)

RE: crash during scan (germany dvb-c unitymedia/kbw) - Added by Mark Clarkstone about 9 years ago

Please install the debug package (tvheadend_dbg) to get meaningful crash lines. It also might be useful to install corekeeper and run tvheadend with the -D option.

Please see Traces Debugging

:)

RE: crash during scan (germany dvb-c unitymedia/kbw) - Added by Robert Trapp about 9 years ago

Hi Mark,

thanks for your answer.

I need to compile tvheadend by my own.
I'm using openmediavault which is based on debian wheezy.

Is there an howto to create the tvheadend_dbg?

BR Robert

RE: crash during scan (germany dvb-c unitymedia/kbw) - Added by Robert Trapp about 9 years ago

Hi i found the debug option in /etc/default
Please see the attached files if the debug is now good?

RE: crash during scan (germany dvb-c unitymedia/kbw) - Added by Mark Clarkstone about 9 years ago

Robert Trapp wrote:

Hi i found the debug option in /etc/default
Please see the attached files if the debug is now good?

Those are debugging and trace lines, the dbg package fills in the stacktrace lines, like this:

Nov  4 08:12:42 MicroServer1 tvheadend[22087]: CRASH: STACKTRACE
Nov  4 08:12:42 MicroServer1 tvheadend[22087]: CRASH: /home/mark/build/tvheadend/master/src/trap.c:148 0x45c9d6
Nov  4 08:12:42 MicroServer1 tvheadend[22087]: CRASH: ??:0 0x7f160b8f58d0
Nov  4 08:12:43 MicroServer1 tvheadend[22087]: CRASH: /home/mark/build/tvheadend/master/src/input/mpegts/mpegts_mux.c:1273 0x4bee85
Nov  4 08:12:43 MicroServer1 tvheadend[22087]: CRASH: /home/mark/build/tvheadend/master/src/epggrab/module/eit.c:606 0x4d5e6f
Nov  4 08:12:43 MicroServer1 tvheadend[22087]: CRASH: /home/mark/build/tvheadend/master/src/input/mpegts/mpegts_table.c:105 0x4c0dd2
Nov  4 08:12:43 MicroServer1 tvheadend[22087]: CRASH: /home/mark/build/tvheadend/master/src/input/mpegts/dvb_psi_lib.c:114 (discriminator 4) 0x4ba6ad
Nov  4 08:12:44 MicroServer1 tvheadend[22087]: CRASH: /home/mark/build/tvheadend/master/src/input/mpegts/dvb_psi_lib.c:155 0x4ba954
Nov  4 08:12:44 MicroServer1 tvheadend[22087]: CRASH: /home/mark/build/tvheadend/master/src/input/mpegts/mpegts_input.c:1056 (discriminator 3) 0x4b5078
Nov  4 08:12:44 MicroServer1 tvheadend[22087]: CRASH: /home/mark/build/tvheadend/master/src/input/mpegts/mpegts_input.c:1421 0x4b51f9
Nov  4 08:12:44 MicroServer1 tvheadend[22087]: CRASH: /home/mark/build/tvheadend/master/src/wrappers.c:177 0x42f2f7
Nov  4 08:12:44 MicroServer1 tvheadend[22087]: CRASH: ??:0 0x7f160b8ee0a4

Notice that yours has ??:0 lines.

Is this version of Tvheadend bundled with OMV? Check the repos for tvheadend-dbg.

If you're manually building deb packages using the Autobuild.sh script that'll create the dbg deb package along with the main deb.

RE: crash during scan (germany dvb-c unitymedia/kbw) - Added by Robert Trapp about 9 years ago

hi mark,

tvheadend is not offical in the omv repo.
One guy in the omv forum build the deb package.
http://forums.openmediavault.org/index.php/Thread/6023-Tvheadend-Setup-and-Config/

So there is no repo for dbg.

That means i need to build the dbg by my own?

What means the ??:0 lines?

Can it be that i need to change the rightw for the /dev/dvb device?
The user root and group video got rw on the demeux0, dvr0, frontend0, net0

BR Robert

RE: crash during scan (germany dvb-c unitymedia/kbw) - Added by Mark Clarkstone about 9 years ago

Robert Trapp wrote:

hi mark,

tvheadend is not offical in the omv repo.
One guy in the omv forum build the deb package.
http://forums.openmediavault.org/index.php/Thread/6023-Tvheadend-Setup-and-Config/

So there is no repo for dbg.

> That means i need to build the dbg by my own?

Yes I'm afraid, but it's pretty easy, the guy in that thread shows you how, but it's pretty much the same for any debian system.

What means the ??:0 lines?

It means you haven't got the debugging symbols installed.

Can it be that i need to change the rightw for the /dev/dvb device?
The user root and group video got rw on the demeux0, dvr0, frontend0, net0

BR Robert

RE: crash during scan (germany dvb-c unitymedia/kbw) - Added by Robert Trapp about 9 years ago

That means i need to compile with -dbg

./Autobuild.sh -t precise-amd64 -dbg

Is that right?

Are there some packages which need to be installed additonal for hdhomerun?

BR Robert

RE: crash during scan (germany dvb-c unitymedia/kbw) - Added by Mark Clarkstone about 9 years ago

Robert Trapp wrote:

That means i need to compile with -dbg

./Autobuild.sh -t precise-amd64 -dbg

Is that right?

Nope, the package gets automatically built along side the main deb no need for the switch, btw if you want transcoding do:

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

RE: crash during scan (germany dvb-c unitymedia/kbw) - Added by Robert Trapp about 9 years ago

Looks like after compiling the newest git version the scan is running without any problem.

Is there anywhere a list with the compiling options?

I need to compile it with hdhomerun.

BR Robert

RE: crash during scan (germany dvb-c unitymedia/kbw) - Added by Mark Clarkstone about 9 years ago

Robert Trapp wrote:

Looks like after compiling the newest git version the scan is running without any problem.

Is there anywhere a list with the compiling options?

I need to compile it with hdhomerun.

BR Robert

try.

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

RE: crash during scan (germany dvb-c unitymedia/kbw) - Added by Robert Trapp about 9 years ago

Hi Mark,

compiling just in progress.

Did i need to install any debian packages for the decoding of an tv stream?

BR Robert

RE: crash during scan (germany dvb-c unitymedia/kbw) - Added by Robert Trapp about 9 years ago

Hi Mark,

looks like everything is running fine.

Did not test everything out now.

For guy which are searching for openmediavault 2.x, amd64 and hdhomerun the deb file can be found here:
https://www.dropbox.com/sh/xta2qsutgp26rmt/AACsaHc3eQec0HCV39Gno88Ya?dl=0

Tested with 3.16 kernel.

Thanks Mark for the big help, great support.

Cheers Robert

    (1-12/12)