Bug #4411
closed
Added by saen acro almost 8 years ago.
Updated almost 8 years ago.
Found in version:
4.3-184 and up
Description
Os
Startup log 4.3-182~gc82a3d1
[ 3967.063786] ddbridge 0000:0d:00.0: DVB: adapter 3 frontend 0 frequency 0 out of range (950000..2150000)
[ 3967.081738] ddbridge 0000:0d:00.0: DVB: adapter 3 frontend 0 frequency 0 out of range (950000..2150000)
[ 3967.092314] ddbridge 0000:0d:00.0: DVB: adapter 3 frontend 0 frequency 0 out of range (950000..2150000)
[ 3967.109963] ddbridge 0000:0d:00.0: DVB: adapter 3 frontend 0 frequency 0 out of range (950000..2150000)
[ 3967.111035] ddbridge 0000:0b:00.0: DVB: adapter 2 frontend 0 frequency 0 out of range (47125000..865000000)
[ 3967.114428] ddbridge 0000:0b:00.0: DVB: adapter 2 frontend 0 symbol rate 0 out of range (870000..11700000)
[ 3967.115374] ddbridge 0000:0b:00.0: DVB: adapter 2 frontend 0 frequency 0 out of range (47125000..865000000)
[ 3967.118709] ddbridge 0000:0b:00.0: DVB: adapter 2 frontend 0 frequency 0 out of range (47125000..865000000)
[ 3967.129338] ddbridge 0000:0a:00.0: DVB: adapter 1 frontend 0 frequency 0 out of range (950000..2150000)
[ 3967.146675] ddbridge 0000:0a:00.0: DVB: adapter 1 frontend 0 frequency 0 out of range (950000..2150000)
[ 3967.146787] slot_shutdown
[ 3967.511050] ddbridge 0000:04:00.0: DVB: adapter 0 frontend 0 frequency 0 out of range (950000..2150000)
[ 3967.530019] ddbridge 0000:04:00.0: DVB: adapter 0 frontend 0 frequency 0 out of range (950000..2150000)
[ 3969.889087] dvb_ca adapter 1: DVB CAM detected and initialised successfully
starting working all is OK
but any new version
[ 2352.347294] ddbridge 0000:0d:00.0: DVB: adapter 3 frontend 0 frequency 0 out of range (950000..2150000)
[ 2352.365020] ddbridge 0000:0d:00.0: DVB: adapter 3 frontend 0 frequency 0 out of range (950000..2150000)
[ 2352.375179] ddbridge 0000:0d:00.0: DVB: adapter 3 frontend 0 frequency 0 out of range (950000..2150000)
[ 2352.392299] ddbridge 0000:0d:00.0: DVB: adapter 3 frontend 0 frequency 0 out of range (950000..2150000)
[ 2352.393356] ddbridge 0000:0b:00.0: DVB: adapter 2 frontend 0 frequency 0 out of range (47125000..865000000)
[ 2352.396741] ddbridge 0000:0b:00.0: DVB: adapter 2 frontend 0 symbol rate 0 out of range (870000..11700000)
[ 2352.397694] ddbridge 0000:0b:00.0: DVB: adapter 2 frontend 0 frequency 0 out of range (47125000..865000000)
[ 2352.401226] ddbridge 0000:0b:00.0: DVB: adapter 2 frontend 0 frequency 0 out of range (47125000..865000000)
[ 2352.411486] ddbridge 0000:0a:00.0: DVB: adapter 1 frontend 0 frequency 0 out of range (950000..2150000)
[ 2352.428586] ddbridge 0000:0a:00.0: DVB: adapter 1 frontend 0 frequency 0 out of range (950000..2150000)
[ 2352.428670] slot_shutdown
[ 2352.790210] ddbridge 0000:04:00.0: DVB: adapter 0 frontend 0 frequency 0 out of range (950000..2150000)
[ 2352.808757] ddbridge 0000:04:00.0: DVB: adapter 0 frontend 0 frequency 0 out of range (950000..2150000)
[ 2355.173251] dvb_ca adapter 1: DVB CAM detected and initialised successfully
[ 2360.743404] tvh:mi-table[2958]: segfault at 90 ip 000055bd41a6a030 sp 00007f6c61c93d18 error 4 in tvheadend[55bd41887000+1100000]
error to all versions is same
tvh:mi-table[pid]: segfault at 90 ip 000055bd41a6a030 sp 00007f6c61c93d18 error 4 in tvheadend[55bd41887000+1100000]
#uname -a
Linux FlamingoXL 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux
#lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.8 (jessie)
Release: 8.8
Codename: jessie
Files
crash.tar.gz (28 MB)
crash.tar.gz |
|
saen acro, 2017-06-05 00:48
|
|
crash2.tar.gz (26.5 MB)
crash2.tar.gz |
|
saen acro, 2017-06-05 19:30
|
|
deb-build dmesg.log (36.8 KB)
deb-build dmesg.log |
|
saen acro, 2017-06-05 19:30
|
|
tvheadend_4.3-191-g45c085a_amd64.deb (9.03 MB)
tvheadend_4.3-191-g45c085a_amd64.deb |
|
saen acro, 2017-06-05 19:31
|
|
log3.log (520 KB)
log3.log |
syslog |
saen acro, 2017-06-06 18:09
|
|
crash3.tar.gz (24.8 MB)
crash3.tar.gz |
|
saen acro, 2017-06-06 18:23
|
|
gdb.txt (127 KB)
gdb.txt |
|
saen acro, 2017-06-06 18:26
|
|
gdb (1).txt (126 KB)
gdb (1).txt |
|
saen acro, 2017-06-07 13:37
|
|
syslog.txt (636 KB)
syslog.txt |
|
saen acro, 2017-06-07 13:41
|
|
gdb (2).txt (126 KB)
gdb (2).txt |
|
saen acro, 2017-06-07 16:31
|
|
syslog (2).txt (571 KB)
syslog (2).txt |
|
saen acro, 2017-06-07 16:33
|
|
I try to run it manually with command
tvheadend -u tvh -g video -s -c /home/hts/.hts/tvheadend/
but it can not read config aka is empty and all is read-only, tuners not found
at less is not crashig but it's not usable.
saen acro wrote:
I try to run it manually with command
[...]
but it can not read config aka is empty and all is read-only, tuners not found
at less is not crashig but it's not usable.
I think you may need to provide a crash log. If you want an easy way to capture a core dump install corekeeper [it places them in /var/crash]. You can then use gdb to analyse.
This is crash with tvheadend_4.3-187~gf46a6c2_amd64.deb
GDB is mystery for me, its no easy as creating full network infrastructure for ISP, which i can do with eyes closed ;)
Upload also your tvheadend binary with the core file..
Just to add, I have the same problem since a few days. (I usually update daily, I haven't checked since which version this problem started, but I think it's about two days ago.) Running Debian x64 ('stretch'), 4.3-193~ga4ff519. Also with a ddbridge module for a satellite receiver.
From dmesg:
Jun 6 15:01:08 plantage tvheadend[10808]: CRASH: Signal: 11 in PRG: /usr/bin/tvheadend (4.3-193~ga4ff519) [15a15a895adaf9c5760b80707f582c2d60cfab01] CWD: /
Jun 6 15:01:08 plantage tvheadend[10808]: CRASH: Fault address 0x90 (Address not mapped)
Jun 6 15:01:08 plantage tvheadend[10808]: CRASH: Loaded libraries: linux-vdso.so.1 /usr/lib/libdvben50221.so /usr/lib/libdvbapi.so /usr/lib/libucsi.so /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 /lib/x86_64-linux-gnu/libpcre.so.3 /usr/lib/x86_64-linux-gnu/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 /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-linux-gnu/libsystemd.so.0 /lib64/ld-linux-x86-64.so.2 /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib/x86_64-linux-gnu/libselinux.so.1 /lib/x86_64-linux-gnu/liblzma.so.5 /usr/lib/x86_64-linux-gnu/liblz4.so.1 /lib/x86_64-linux-gnu/libgcrypt.so.20 /lib/x86_64-linux-gnu/libgpg-error.so.0 /lib/x86_64-linux-gnu/libnss_compat.so.2 /lib/x86_64-linux-gnu/libnsl.so.1 /lib/x86_6
Jun 6 15:01:08 plantage tvheadend[10808]: CRASH: Register dump [23]: 000000000000000100000000000000d000000000000000bc00007f3d1c0155c000000000000000cc00007f3d68007d2f000000000000000100007f3d68007d30000000000000000000007f3d85ff0eb00000555559d2e84000007f3d85ff0eb000007f3d85ff10b000007f3d1c000ca0000000000000000000007f3d85ff0b9800005555585256200000000000010206002b0000000000330000000000000004000000000000000efffffffe7ffbba110000000000000090
Jun 6 15:01:08 plantage tvheadend[10808]: CRASH: STACKTRACE
Jun 6 15:01:08 plantage tvheadend[10808]: CRASH: ??:0 0x555558549eba 0x555558350000
Jun 6 15:01:08 plantage tvheadend[10808]: CRASH: ??:0 0x7f3d97c0c0c0 0x7f3d97bfb000
Jun 6 15:01:08 plantage tvheadend[10808]: CRASH: ??:0 0x555558525620 0x555558350000
Jun 6 15:01:08 plantage tvheadend[10808]: CRASH: ??:0 0x5555585257a8 0x555558350000
Jun 6 15:01:08 plantage tvheadend[10808]: CRASH: ??:? 0x5555585db371 0x555558350000
Jun 6 15:01:08 plantage tvheadend[10808]: CRASH: ??:? 0x5555585dc1f2 0x555558350000
Jun 6 15:01:08 plantage tvheadend[10808]: CRASH: ??:? 0x5555585c3212 0x555558350000
Jun 6 15:01:08 plantage tvheadend[10808]: CRASH: ??:? 0x5555585bb71d 0x555558350000
Jun 6 15:01:08 plantage tvheadend[10808]: CRASH: ??:? 0x5555585bb8d1 0x555558350000
Jun 6 15:01:08 plantage tvheadend[10808]: CRASH: ??:0 0x5555585b4589 0x555558350000
Jun 6 15:01:08 plantage tvheadend[10808]: CRASH: ??:0 0x5555585b4796 0x555558350000
Jun 6 15:01:09 plantage tvheadend[10808]: CRASH: ??:0 0x555558511e44 0x555558350000
Jun 6 15:01:09 plantage tvheadend[10808]: CRASH: ??:0 0x7f3d97c02494 0x7f3d97bfb000
Jun 6 15:01:09 plantage kernel: [2320412.837462] tvh:mi-table[11208]: segfault at 90 ip 0000555558525620 sp 00007f3d85ff0b98 error 4 in tvheadend[555558350000+10d1000]
I guess crash logs / core dumps etc will show the same as in the original bug report, but if you want mine too, let me know.
What is a tvh:mi-table as module in program, what it do and with who communicate?
Guys, if you like to report a crash, always install the dbg version of package as first and provide the CRASH lines from tvh log with the proper symbols (function names). It really makes my work faster, because in most cases, I see the problem on the first look. Analyzing the crash core files is more time consuming.
OK, going to look to the core file one more time.
I'm not able to analyze the core (another distro, another ld-linux.so). Provide output for the debug version of tvh binary (install tvheadend-dbg_4.3) like:
$ gdb <tvh_binary> <core_file>
(gdb) set logging on
(gdb) set pagination off
(gdb) thread apply all bt full
(gdb) quit
The backtraces should be in the gdb.txt file.
Or just look for CRASH lines in tvh log (or syslog if configured). The log file should be better.
Im currently with tvheadend-dbg_4.3-193~ga4ff519_amd64.deb
service tvheadend start
not work
command
tvheadend -u tvh -g video -s -c /home/hts/.hts/tvheadend/
not work as expected it try to use current user
I hope this helps, here is the log from saen's crash2.gz file
Removed the log as it isn't useful - see below.
Thanks Mark, but the used binary is without debugging symbols (function names), so the backtrace is not useful. I updated https://tvheadend.org/projects/tvheadend/wiki/Debugging to show the incorrect/correct CRASH lines.
@Sean Sean acro: If you only write 'things does not work' without any info from tvh or system logs, I cannot really help you.
Jaroslav Kysela wrote:
Thanks Mark, but the used binary is without debugging symbols (function names), so the backtrace is not useful. I updated https://tvheadend.org/projects/tvheadend/wiki/Debugging to show the incorrect/correct CRASH lines.
Ah crap, sorry! I wondered why I was getting mostly missing symbols, I assumed it was due to being a slightly different system [my inexperience is showing :p]
@Sean Sean acro: If you only write 'things does not work' without any info from tvh or system logs, I cannot really help you.
@Jaroslav Kysela
why not make service start as debug with all that things with you need to analyse crashes
aka
service tvheadend (start|restart|stop|debug)
hope this work tvheadend-dbg_4.3-195~g50fa8fd_amd64.deb
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|ad61cad9251b741c14105ac382549855dbeaae7f.
Fixed in v4.3-196-gad61cad .
:( no is not
new error
segfault at 90 ip 000055d931eac940 sp 00007f51c9deccf8 error 4 in tvheadend[55d931cc9000+1104000]
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: 0x55d9350c24f0: tsid 0001 (1)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: nit on pid 0010 (16)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 03EB (1003) on pid 0029 (41)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 03EF (1007) on pid 0069 (105)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 03F4 (1012) on pid 00A9 (169)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 046A (1130) on pid 00E9 (233)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 03F5 (1013) on pid 0129 (297)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 03EA (1002) on pid 0169 (361)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 03F2 (1010) on pid 0329 (809)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 03F3 (1011) on pid 00CB (203)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 03F8 (1016) on pid 0229 (553)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 03F6 (1014) on pid 02E9 (745)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 03F7 (1015) on pid 0369 (873)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 03F0 (1008) on pid 0315 (789)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 03EE (1006) on pid 01A9 (425)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 03FB (1019) on pid 01FE (510)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 03FE (1022) on pid 01F8 (504)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 03FD (1021) on pid 00B1 (177)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 0400 (1024) on pid 00B3 (179)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: cat: caid 4AEE (19182) pid 0080 (128)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: cat: caid 0604 (1540) pid 0081 (129)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: completed pid 0 table 00000000 / 00000000
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: cat: completed pid 1 table 00000001 / 000000ff
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: settings: saving to /home/hts/.hts/tvheadend/imagecache/meta/1196
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: imagecache: downloaded http://192.168.1.222:81/logo/1_0_1_6E43_431_1_C00000_0_0_0.png
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: imagecache: fetch http://192.168.1.222:81/logo//1_0_2_3173_459_1_C00000_0_0_0.png
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: 0x55d9353dda70: tsid 14B4 (5300)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 0002 (2) on pid 13F7 (5111)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 0003 (3) on pid 1401 (5121)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 0004 (4) on pid 140B (5131)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 0005 (5) on pid 1415 (5141)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: tbl-base: pat: sid 0006 (6) on pid 14C9 (5321)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: CRASH: Signal: 11 in PRG: /usr/bin/tvheadend (4.3-196~gad61cad) [b4486e9d00cf165ef5c5c70a82b03a6d8cb9f324] CWD: /
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: CRASH: Fault address 0x90 (Address not mapped)
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: CRASH: Loaded libraries: linux-vdso.so.1 /usr/lib/libdvben50221.so /usr/lib/libdvbapi.so /usr/lib/libucsi.so /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 /lib/x86_64-linux-gnu/libpcre.so.3 /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 /usr/lib/x86_64-linux-gnu/libva.so.1 /usr/lib/x86_64-linux-gnu/libva-x11.so.1 /usr/lib/x86_64-linux-gnu/libX11.so.6 /usr/lib/x86_64-linux-gnu/libva-drm.so.1 /usr/lib/x86_64-linux-gnu/libxcb.so.1 /usr/lib/x86_64-linux-gnu/libXau.so.6 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib/x86_64-linux-gnu/libavresample.so.2 /usr/lib/x86_64-linux-gnu/libswscale.so.3 /usr/lib/x86_64-linux-g
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: CRASH: Register dump [23]: 000000000000000100000000000000000000000000000004000000005936a700000000000000000400007f51b800dbf4000000000000001100007f51b800dc05000000000000000000007f51c9ded010000055d937afd11000007f51c9ded01000007f51c9ded21000007f51900088e0000000000000000000007f51c9deccf8000055d931eac940000000000001020600000000000000330000000000000004000000000000000efffffffe7ffbba110000000000000090
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: CRASH: STACKTRACE
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: CRASH: ??:? 0x55d931ed11da 0x55d931cc9000
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: CRASH: ??:0 0x7f5204e3d890 0x7f5204e2e000
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: CRASH: ??:? 0x55d931eac940 0x55d931cc9000
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: CRASH: ??:? 0x55d931eacac8 0x55d931cc9000
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: mpegts: 12524H in Hellas Sat 2 - open PID 0080 (128) [16/0x7f517c022ec0]
Jun 6 19:34:26 FlamingoXL tvheadend[20807]: CRASH: ??:? 0x55d931f626f1 0x55d931cc9000
Jun 6 19:34:27 FlamingoXL tvheadend[20807]: CRASH: ??:? 0x55d931f63572 0x55d931cc9000
Jun 6 19:34:27 FlamingoXL tvheadend[20807]: CRASH: ??:? 0x55d931f4a582 0x55d931cc9000
Jun 6 19:34:27 FlamingoXL tvheadend[20807]: CRASH: ??:? 0x55d931f42a8d 0x55d931cc9000
Jun 6 19:34:27 FlamingoXL tvheadend[20807]: CRASH: ??:? 0x55d931f42c41 0x55d931cc9000
Jun 6 19:34:27 FlamingoXL tvheadend[20807]: CRASH: ??:? 0x55d931f3b8f9 0x55d931cc9000
Jun 6 19:34:27 FlamingoXL tvheadend[20807]: CRASH: ??:? 0x55d931f3bb06 0x55d931cc9000
Jun 6 19:34:27 FlamingoXL tvheadend[20807]: CRASH: ??:? 0x55d931e99164 0x55d931cc9000
Jun 6 19:34:28 FlamingoXL tvheadend[20807]: CRASH: ??:0 0x7f5204e36064 0x7f5204e2e000
Jun 6 19:34:28 FlamingoXL tvheadend[20807]: CRASH: clone+0x6d (/lib/x86_64-linux-gnu/libc.so.6)
Jun 6 19:34:28 FlamingoXL kernel: [157960.311382] tvh:mi-table[21103]: segfault at 90 ip 000055d931eac940 sp 00007f51c9deccf8 error 4 in tvheadend[55d931cc9000+1104000]
later will provide more data
Another fix is in v4.3-202-gc37aa3e .
tvheadend-dbg_4.3-193~ga4ff519_amd64
tvheadend-dbg_4.3-204~ga16b240_amd64.deb
4.3-205~g9228aa0 (/)
it works :)
p.s.
saen acro wrote:
What is a tvh:mi-table as module in program, what it do and with who communicate?
there is noting in wiki i'm just curious,
give us some short description why bug happens?
It's thread name (tvh:mi-table). It means thread for tvh (tvh:), mi = mpegts input, table = thread which parses SI table data.
Also available in: Atom
PDF