Project

General

Profile

Bug #3173 » gdb.txt

Adrian Strilchuk, 2015-10-19 18:51

 
1
gdb --args /usr/bin/tvheadend -c ~/test-conf -l /tmp/tvheadend.log --trace htsp,subscription,pat,pmt,bat --debug +all
2
GNU gdb (GDB) 7.4.1-debian
3
Copyright (C) 2012 Free Software Foundation, Inc.
4
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
5
This is free software: you are free to change and redistribute it.
6
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
7
and "show warranty" for details.
8
This GDB was configured as "arm-linux-gnueabihf".
9
For bug reporting instructions, please see:
10
<http://www.gnu.org/software/gdb/bugs/>...
11
Reading symbols from /usr/bin/tvheadend...Reading symbols from /usr/lib/debug/usr/bin/tvheadend...done.
12
done.
13
(gdb) handle SIGILL nostop
14
Signal        Stop	Print	Pass to program	Description
15
SIGILL        No	Yes	Yes		Illegal instruction
16
(gdb) r
17
Starting program: /usr/bin/tvheadend -c /home/pi/test-conf -l /tmp/tvheadend.log --trace htsp,subscription,pat,pmt,bat --debug +all
18
[Thread debugging using libthread_db enabled]
19
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
20

    
21
Program received signal SIGILL, Illegal instruction.
22
[New Thread 0x769e5180 (LWP 14773)]
23
2015-10-19 12:29:21.958 [   INFO] main: Log started
24
[New Thread 0x75fff180 (LWP 14774)]
25
[New Thread 0x757ff180 (LWP 14775)]
26
2015-10-19 12:29:22.014 [   INFO] config: loaded
27
[New Thread 0x74fff180 (LWP 14776)]
28
[New Thread 0x747ff180 (LWP 14777)]
29
[New Thread 0x73fff180 (LWP 14778)]
30
[New Thread 0x737ff180 (LWP 14779)]
31
[New Thread 0x72fff180 (LWP 14780)]
32
2015-10-19 12:29:22.934 [   INFO] scanfile: DVB-T - loaded 43 regions with 729 networks
33
2015-10-19 12:29:22.934 [   INFO] scanfile: DVB-S - loaded 1 regions with 92 networks
34
2015-10-19 12:29:22.934 [   INFO] scanfile: DVB-C - loaded 17 regions with 52 networks
35
2015-10-19 12:29:22.934 [   INFO] scanfile: ATSC - loaded 2 regions with 14 networks
36
[New Thread 0x727ff180 (LWP 14781)]
37
[New Thread 0x71fff180 (LWP 14782)]
38
[New Thread 0x717ff180 (LWP 14783)]
39
[New Thread 0x70fff180 (LWP 14784)]
40
2015-10-19 12:29:23.409 [   INFO] tvhdhomerun: Found HDHomerun device 10526f59 with 2 tuners
41
2015-10-19 12:29:23.451 [   INFO] tvheadend: Using Network type : ATSC
42
[New Thread 0x707ff180 (LWP 14785)]
43
[New Thread 0x6ffff180 (LWP 14786)]
44
2015-10-19 12:29:23.461 [   INFO] tvhdhomerun: Created frontend 10526F59 tuner 0
45
[New Thread 0x6f7ff180 (LWP 14787)]
46
[New Thread 0x6efff180 (LWP 14788)]
47
2015-10-19 12:29:23.469 [   INFO] tvhdhomerun: Created frontend 10526F59 tuner 1
48
2015-10-19 12:29:23.476 [   INFO] dvr: Creating new configuration ''
49
[New Thread 0x6e7ff180 (LWP 14789)]
50
[New Thread 0x6dfff180 (LWP 14790)]
51
[New Thread 0x6d7ff180 (LWP 14791)]
52
tcp_server: tvhpoll_wait: Interrupted system call
53
[New Thread 0x6cfff180 (LWP 14792)]
54
tcp_server: tvhpoll_wait: Interrupted system call
55
2015-10-19 12:29:23.500 [   INFO] CSA: Using 32bit parallel descrambling
56
2015-10-19 12:29:23.500 [   INFO] descrambler: adding CAID 0963 as quick ECM (Sky UK)
57
2015-10-19 12:29:23.500 [   INFO] descrambler: adding CAID 098C as quick ECM (Sky DE)
58
2015-10-19 12:29:23.500 [   INFO] descrambler: adding CAID 09C4 as quick ECM (Sky DE)
59
2015-10-19 12:29:23.500 [   INFO] descrambler: adding CAID 09CD as quick ECM (Sky IT)
60
2015-10-19 12:29:23.500 [   INFO] epggrab: module eit created
61
2015-10-19 12:29:23.500 [   INFO] epggrab: module uk_freesat created
62
2015-10-19 12:29:23.500 [   INFO] epggrab: module uk_freeview created
63
2015-10-19 12:29:23.501 [   INFO] epggrab: module viasat_baltic created
64
2015-10-19 12:29:23.501 [   INFO] epggrab: module Bulsatcom_39E created
65
2015-10-19 12:29:23.525 [   INFO] epggrab: module opentv-skyuk created
66
2015-10-19 12:29:23.526 [   INFO] epggrab: module opentv-ausat created
67
2015-10-19 12:29:23.527 [   INFO] epggrab: module opentv-skyit created
68
2015-10-19 12:29:23.532 [   INFO] epggrab: module opentv-skynz created
69
2015-10-19 12:29:23.538 [   INFO] epggrab: module pyepg created
70
2015-10-19 12:29:23.538 [   INFO] epggrab: module xmltv created
71
tcp_server: tvhpoll_wait: Interrupted system call
72
2015-10-19 12:29:23.546 [   INFO] spawn: Executing "/usr/bin/tv_find_grabbers"
73
2015-10-19 12:29:31.749 [   INFO] epggrab: module /usr/bin/tv_grab_es_laguiatv created
74
2015-10-19 12:29:31.749 [   INFO] epggrab: module /usr/bin/tv_grab_na_dd created
75
2015-10-19 12:29:31.749 [   INFO] epggrab: module /usr/bin/tv_grab_se_swedb created
76
2015-10-19 12:29:31.749 [   INFO] epggrab: module /usr/bin/tv_grab_eu_epgdata created
77
2015-10-19 12:29:31.749 [   INFO] epggrab: module /usr/bin/tv_grab_is created
78
2015-10-19 12:29:31.749 [   INFO] epggrab: module /usr/bin/tv_grab_fi created
79
2015-10-19 12:29:31.749 [   INFO] epggrab: module /usr/bin/tv_grab_fr created
80
2015-10-19 12:29:31.749 [   INFO] epggrab: module /usr/bin/tv_grab_pt_meo created
81
2015-10-19 12:29:31.749 [   INFO] epggrab: module /usr/bin/tv_grab_in created
82
2015-10-19 12:29:31.749 [   INFO] epggrab: module /usr/bin/tv_grab_no_gfeed created
83
2015-10-19 12:29:31.750 [   INFO] epggrab: module /usr/bin/tv_grab_uk_bleb created
84
2015-10-19 12:29:31.750 [   INFO] epggrab: module /usr/bin/tv_grab_dk_dr created
85
2015-10-19 12:29:31.750 [   INFO] epggrab: module /usr/bin/tv_grab_za created
86
2015-10-19 12:29:31.750 [   INFO] epggrab: module /usr/bin/tv_grab_ch_search created
87
2015-10-19 12:29:31.750 [   INFO] epggrab: module /usr/bin/tv_grab_eu_egon created
88
2015-10-19 12:29:31.750 [   INFO] epggrab: module /usr/bin/tv_grab_it created
89
2015-10-19 12:29:31.750 [   INFO] epggrab: module /usr/bin/tv_grab_combiner created
90
2015-10-19 12:29:31.750 [   INFO] epggrab: module /usr/bin/tv_grab_huro created
91
2015-10-19 12:29:31.750 [   INFO] epggrab: module /usr/bin/tv_grab_il created
92
2015-10-19 12:29:31.750 [   INFO] epggrab: module /usr/bin/tv_grab_ar created
93
2015-10-19 12:29:31.750 [   INFO] epggrab: module /usr/bin/tv_grab_hr created
94
2015-10-19 12:29:31.750 [   INFO] epggrab: module /usr/bin/tv_grab_na_dtv created
95
2015-10-19 12:29:31.750 [   INFO] epggrab: module /usr/bin/tv_grab_uk_rt created
96
2015-10-19 12:29:31.750 [   INFO] epggrab: module /usr/bin/tv_grab_fr_kazer created
97
2015-10-19 12:29:31.750 [   INFO] epggrab: module /usr/bin/tv_grab_se_tvzon created
98
[New Thread 0x6c7ff180 (LWP 14804)]
99
tcp_server: tvhpoll_wait: Interrupted system call
100
2015-10-19 12:29:31.770 [   INFO] xmltv: external socket enabled
101
[New Thread 0x6bfff180 (LWP 14805)]
102
tcp_server: tvhpoll_wait: Interrupted system call
103
2015-10-19 12:29:31.788 [   INFO] epgdb: loaded v2
104
[New Thread 0x6b7ff180 (LWP 14806)]
105
tcp_server: tvhpoll_wait: Interrupted system call
106
2015-10-19 12:29:31.788 [   INFO] epgdb:   config     1
107
2015-10-19 12:29:31.788 [   INFO] epgdb:   channels   0
108
2015-10-19 12:29:31.788 [   INFO] epgdb:   brands     0
109
2015-10-19 12:29:31.788 [   INFO] epgdb:   seasons    23
110
2015-10-19 12:29:31.788 [   INFO] epgdb:   episodes   0
111
2015-10-19 12:29:31.788 [   INFO] epgdb:   broadcasts 0
112
[New Thread 0x6afff180 (LWP 14807)]
113
tcp_server: tvhpoll_wait: Interrupted system call
114
2015-10-19 12:29:31.909 [ NOTICE] START: HTS Tvheadend version 4.1-658~g1ca4f29 started, running as PID:14766 UID:1000 GID:1000, CWD:/home/pi CNF:/home/pi/test-conf
115
2015-10-19 12:29:32.683 [   INFO] AVAHI: Service 'Tvheadend' successfully established.
116
[New Thread 0x6a5ff180 (LWP 14808)]
117
[New Thread 0x69dff180 (LWP 14809)]
118
tcp_server: tvhpoll_wait: Interrupted system call
119
2015-10-19 12:31:19.608 [   INFO] htsp: Got connection from 192.168.1.209
120
2015-10-19 12:31:19.609 [   INFO] htsp: 192.168.1.209: Welcomed client software: Kodi Media Center (HTSPv18)
121
2015-10-19 12:31:19.620 [   INFO] htsp: 192.168.1.209 [ Kodi Media Center ]: Identified as user 'kodi'
122

    
123
Program received signal SIGABRT, Aborted.
124
[Switching to Thread 0x69dff180 (LWP 14809)]
125
0x76b8b8dc in raise () from /lib/arm-linux-gnueabihf/libc.so.6
126
(gdb) info reg
127
r0             0x0	0
128
r1             0x39d9	14809
129
r2             0x6	6
130
r3             0x39d9	14809
131
r4             0x6	6
132
r5             0x2	2
133
r6             0x76c8bbec	1992866796
134
r7             0x10c	268
135
r8             0x1	1
136
r9             0x69dfecc0	1776282816
137
r10            0x69dfea44	1776282180
138
r11            0x69dfecbc	1776282812
139
r12            0x0	0
140
sp             0x69dfe874	0x69dfe874
141
lr             0x76b8b8a8	1991817384
142
pc             0x76b8b8dc	0x76b8b8dc <raise+64>
143
cpsr           0x20000010	536870928
144
(gdb) disassemble $pc-32,$pc+32
145
Dump of assembler code from 0x76b8b8bc to 0x76b8b8fc:
146
   0x76b8b8bc <raise+32>:	mov	r7, #224	; 0xe0
147
   0x76b8b8c0 <raise+36>:	svc	0x00000000
148
   0x76b8b8c4 <raise+40>:	mov	r3, r0
149
   0x76b8b8c8 <raise+44>:	str	r0, [r2, #-1112]	; 0x458
150
   0x76b8b8cc <raise+48>:	mov	r1, r3
151
   0x76b8b8d0 <raise+52>:	mov	r2, r4
152
   0x76b8b8d4 <raise+56>:	mov	r7, #268	; 0x10c
153
   0x76b8b8d8 <raise+60>:	svc	0x00000000
154
=> 0x76b8b8dc <raise+64>:	cmn	r0, #4096	; 0x1000
155
   0x76b8b8e0 <raise+68>:	mov	r2, r0
156
   0x76b8b8e4 <raise+72>:	bhi	0x76b8b90c <raise+112>
157
   0x76b8b8e8 <raise+76>:	mov	r0, r2
158
   0x76b8b8ec <raise+80>:	pop	{r4, r7, pc}
159
   0x76b8b8f0 <raise+84>:	cmp	r0, #0
160
   0x76b8b8f4 <raise+88>:	bgt	0x76b8b8cc <raise+48>
161
   0x76b8b8f8 <raise+92>:	bic	r2, r0, #-2147483648	; 0x80000000
162
End of assembler dump.
163
(gdb) bt full
164
#0  0x76b8b8dc in raise () from /lib/arm-linux-gnueabihf/libc.so.6
165
No symbol table info available.
166
#1  0x76b8f65c in abort () from /lib/arm-linux-gnueabihf/libc.so.6
167
No symbol table info available.
168
#2  0x0000b624 in ?? ()
169
No symbol table info available.
170
#3  0x0000b624 in ?? ()
171
No symbol table info available.
172
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
173
(gdb) 
(1-1/2)