Project

General

Profile

Bug #4134 » crash_on_start.log

clang summary - C K, 2016-12-16 23:52

 
1
waldmeister@waldmeister ~/src/tvheadend $ ASAN_OPTIONS=symbolize=1 ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer-3.4 ./build.linux/tvheadend -l 4134-6.log -D --trace epg,tbl-eit
2
2016-12-16 23:41:15.831 [   INFO] main: Log started
3
2016-12-16 23:41:15.833 [   INFO] http: Starting HTTP server 0.0.0.0:9981
4
2016-12-16 23:41:15.833 [   INFO] htsp: Starting HTSP server 0.0.0.0:9982
5
2016-12-16 23:41:15.833 [  ERROR] satips: use --satip_bindaddr parameter to select the local IP for SAT>IP
6
2016-12-16 23:41:15.833 [  ERROR] satips: using Google lookup (might block the task until timeout)
7
2016-12-16 23:41:15.985 [   INFO] config: loaded
8
2016-12-16 23:41:15.987 [   INFO] config: scanfile (re)initialization with path <none>
9
2016-12-16 23:46:04.723 [   INFO] dvr: Creating new configuration 'MKV +2'
10
2016-12-16 23:46:04.723 [   INFO] dvr: Creating new configuration ''
11
2016-12-16 23:46:04.723 [   INFO] dvr: Creating new configuration 'MKV +2/+12'
12
2016-12-16 23:46:04.723 [   INFO] dvr: Creating new configuration 'MKV+EPG'
13
2016-12-16 23:46:04.724 [   INFO] dvr: Creating new configuration 'MKV'
14
2016-12-16 23:46:04.730 [   INFO] csa: Using SSE2 128bit parallel descrambling
15
2016-12-16 23:46:04.732 [   INFO] descrambler: adding CAID 2600 as constant crypto-word (BISS)
16
2016-12-16 23:46:04.732 [   INFO] capmt: rpi2-1 active
17
2016-12-16 23:46:04.732 [   INFO] epggrab: module eit created
18
2016-12-16 23:46:04.732 [   INFO] epggrab: module uk_freesat created
19
2016-12-16 23:46:04.732 [   INFO] epggrab: module uk_freeview created
20
2016-12-16 23:46:04.732 [   INFO] epggrab: module viasat_baltic created
21
2016-12-16 23:46:04.732 [   INFO] epggrab: module Bulsatcom_39E created
22
2016-12-16 23:46:04.732 [   INFO] epggrab: module psip created
23
2016-12-16 23:46:04.733 [   INFO] capmt: rpi2-1: mode 5 connected to 192.168.178.37:9000 (single)
24
2016-12-16 23:46:04.734 [   INFO] capmt: rpi2-1: Connected to server 'OSCam v1.20-unstable_svn, build r11233 (arm-linux-gnueabihf-libusb)' (protocol version 2)
25
2016-12-16 23:46:04.747 [   INFO] epggrab: module opentv-skynz created
26
2016-12-16 23:46:04.747 [   INFO] epggrab: module opentv-skyuk created
27
2016-12-16 23:46:04.747 [   INFO] epggrab: module opentv-skyit created
28
2016-12-16 23:46:04.748 [   INFO] epggrab: module opentv-ausat created
29
2016-12-16 23:46:04.749 [   INFO] epggrab: module pyepg created
30
2016-12-16 23:46:04.749 [   INFO] epggrab: module xmltv created
31
2016-12-16 23:46:05.459 [   INFO] epgdb: parsing 189944453 bytes
32
2016-12-16 23:46:42.939 [   INFO] epgdb: loaded v2
33
2016-12-16 23:46:42.939 [   INFO] epgdb:   config     1
34
2016-12-16 23:46:42.939 [   INFO] epgdb:   brands     0
35
2016-12-16 23:46:42.939 [   INFO] epgdb:   seasons    0
36
2016-12-16 23:46:42.939 [   INFO] epgdb:   episodes   259492
37
2016-12-16 23:46:42.939 [   INFO] epgdb:   broadcasts 247461
38
2016-12-16 23:46:43.046 [  ERROR] dvr: unable to stat file (snipped duplicate lines)
39
2016-12-16 23:46:48.867 [   INFO] dvr: entry 6eaa7b7c3b4b5847fded43a3ddea7362 "Pets" on "Sky Select 4" starting at 2016-12-18 10:34:30, scheduled for recording by "ckarrie"
40
2016-12-16 23:46:55.205 [  ERROR] epg: log buffer full
41
2016-12-16 23:46:55.243 [  ERROR] epg: log buffer full
42
2016-12-16 23:46:56.038 [   INFO] avahi: Service 'TVH Waldmeister' successfully established.
43
2016-12-16 23:46:56.977 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated (B)
44
2016-12-16 23:46:56.978 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
45
2016-12-16 23:46:56.978 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
46
2016-12-16 23:46:56.979 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
47
2016-12-16 23:46:56.979 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
48
2016-12-16 23:46:56.980 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated (B)
49
2016-12-16 23:46:56.993 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated (B)
50
2016-12-16 23:46:56.993 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated (B)
51
2016-12-16 23:46:57.009 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
52
2016-12-16 23:46:57.010 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
53
2016-12-16 23:46:57.011 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
54
2016-12-16 23:46:57.011 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated (B)
55
2016-12-16 23:46:57.012 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osB)
56
2016-12-16 23:46:57.012 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated (B)
57
2016-12-16 23:46:57.013 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
58
2016-12-16 23:46:57.013 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
59
2016-12-16 23:46:57.025 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated (B)
60
2016-12-16 23:46:57.043 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
61
2016-12-16 23:46:57.043 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
62
2016-12-16 23:46:57.045 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudgB)
63
2016-12-16 23:46:57.045 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated (B)
64
2016-12-16 23:46:57.046 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudgB)
65
2016-12-16 23:46:57.046 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
66
2016-12-16 23:46:57.049 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated (B)
67
2016-12-16 23:46:57.049 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
68
2016-12-16 23:46:57.072 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
69
2016-12-16 23:46:57.073 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
70
2016-12-16 23:46:57.074 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated (B)
71
2016-12-16 23:46:57.075 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
72
2016-12-16 23:46:57.075 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
73
2016-12-16 23:46:57.078 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
74
2016-12-16 23:46:57.079 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
75
2016-12-16 23:46:57.100 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated (B)
76
2016-12-16 23:46:57.100 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
77
2016-12-16 23:46:57.102 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
78
2016-12-16 23:46:57.102 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
79
2016-12-16 23:46:57.105 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
80
2016-12-16 23:46:57.105 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated Timer (osudB)
81
2016-12-16 23:46:57.125 [   INFO] dvr: "Shaun le mouton" on "BOOMERANG (FR, merged)": Updated (B)
82
2016-12-16 23:46:57.136 [   INFO] dvr: entry 297643eeb214ea9e6e0717c20776de29 "Shaun le mouton" on "BOOMERANG (FR, merged)" starting at 2016-12-17 05:07:30, scheduled for recording by "ckarrie"
83
2016-12-16 23:46:57.149 [   INFO] dvr: entry 6d92b2e8be7db6e406db6fb8dd88a99c "Shaun le mouton" on "BOOMERANG (FR, merged)" starting at 2016-12-17 04:09:30, scheduled for recording by "ckarrie"
84
2016-12-16 23:46:57.163 [   INFO] dvr: entry c3048ef42c9f2343417e2c7b0fd955b5 "Shaun le mouton" on "BOOMERANG (FR, merged)" starting at 2016-12-17 03:57:30, scheduled for recording by "ckarrie"
85
2016-12-16 23:46:57.175 [   INFO] dvr: entry ac9442631dd4ce12f25f7bd0569993f1 "Shaun le mouton" on "BOOMERANG (FR, merged)" starting at 2016-12-17 01:44:30, scheduled for recording by "ckarrie"
86
2016-12-16 23:46:57.185 [   INFO] dvr: entry 5f5f225a5f0bf2315d04f020e002b608 "Shaun le mouton" on "BOOMERANG (FR, merged)" starting at 2016-12-17 01:32:30, scheduled for recording by "ckarrie"
87
2016-12-16 23:47:00.387 [ NOTICE] START: HTS Tvheadend version 4.1-2388~gb8d7880 started, running as PID:1782 UID:1000 GID:1000, CWD:/home/waldmeister/src/tvheadend CNF:/home/waldmeister/.hts/tvheadend
88
=================================================================
89
==1782==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7f40709abd40 at pc 0x7f407cd99da6 bp 0x7f40709abc10 sp 0x7f40709abbe8
90
READ of size 39 at 0x7f40709abd40 thread T4 (tvh:save)
91
    #0 0x7f407cd99da5 in __interceptor_strlen (/home/waldmeister/src/tvheadend/build.linux/tvheadend+0x4d1da5)
92
    #1 0x7f407d0b7b6e in htsmsg_add_str /home/waldmeister/src/tvheadend/src/htsmsg.c:357
93
    #2 0x7f407ce5c939 in prop_read_value /home/waldmeister/src/tvheadend/src/prop.c:342
94
    #3 0x7f407ce596b4 in prop_read_values /home/waldmeister/src/tvheadend/src/prop.c:377
95
    #4 0x7f407ce286fd in idnode_read0 /home/waldmeister/src/tvheadend/src/idnode.c:1218
96
    #5 0x7f407d44697d in dvr_entry_class_save /home/waldmeister/src/tvheadend/src/dvr/dvr_db.c:2189
97
    #6 0x7f407ce26424 in idnode_savefn /home/waldmeister/src/tvheadend/src/idnode.c:1130
98
    #7 0x7f407ce41ad8 in save_thread /home/waldmeister/src/tvheadend/src/idnode.c:1901
99
    #8 0x7f407ce7b0f2 in thread_wrapper /home/waldmeister/src/tvheadend/src/wrappers.c:159
100
    #9 0x7f407b1b9183 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x8183)
101
    #10 0x7f407995c37c (/lib/x86_64-linux-gnu/libc.so.6+0xfa37c)
102

    
103
Address 0x7f40709abd40 is located in stack of thread T4 (tvh:save) at offset 128 in frame
104
    #0 0x7f407d0b790f in htsmsg_add_str /home/waldmeister/src/tvheadend/src/htsmsg.c:355
105

    
106
  This frame has 4 object(s):
107
    [32, 40) ''
108
    [96, 104) ''
109
    [160, 168) '' <== Memory access at offset 128 partially underflows this variable
110
    [224, 232) 'f'
111
HINT: this may be a false positive if your program uses some custom stack unwind mechanism or swapcontext
112
      (longjmp and C++ exceptions *are* supported)
113
Thread T4 (tvh:save) created by T0 here:
114
    #0 0x7f407cd97db2 in pthread_create (/home/waldmeister/src/tvheadend/build.linux/tvheadend+0x4cfdb2)
115
    #1 0x7f407ce7ab0b in tvhthread_create /home/waldmeister/src/tvheadend/src/wrappers.c:177
116
    #2 0x7f407ce41442 in idnode_init /home/waldmeister/src/tvheadend/src/idnode.c:1950
117
    #3 0x7f407cdd33de in main /home/waldmeister/src/tvheadend/src/main.c:1160
118
    #4 0x7f4079883f44 (/lib/x86_64-linux-gnu/libc.so.6+0x21f44)
119

    
120
SUMMARY: AddressSanitizer: stack-buffer-overflow ??:0 __interceptor_strlen
121
Shadow bytes around the buggy address:
122
  0x0fe88e12d750: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
123
  0x0fe88e12d760: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
124
  0x0fe88e12d770: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
125
  0x0fe88e12d780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
126
  0x0fe88e12d790: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f4 f4 f4
127
=>0x0fe88e12d7a0: f2 f2 f2 f2 00 f4 f4 f4[f2]f2 f2 f2 00 f4 f4 f4
128
  0x0fe88e12d7b0: f2 f2 f2 f2 00 f4 f4 f4 f3 f3 f3 f3 00 00 00 00
129
  0x0fe88e12d7c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
130
  0x0fe88e12d7d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
131
  0x0fe88e12d7e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
132
  0x0fe88e12d7f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
133
Shadow byte legend (one shadow byte represents 8 application bytes):
134
  Addressable:           00
135
  Partially addressable: 01 02 03 04 05 06 07
136
  Heap left redzone:     fa
137
  Heap right redzone:    fb
138
  Freed heap region:     fd
139
  Stack left redzone:    f1
140
  Stack mid redzone:     f2
141
  Stack right redzone:   f3
142
  Stack partial redzone: f4
143
  Stack after return:    f5
144
  Stack use after scope: f8
145
  Global redzone:        f9
146
  Global init order:     f6
147
  Poisoned by user:      f7
148
  ASan internal:         fe
149
==1782==ABORTING
150
waldmeister@waldmeister ~/src/tvheadend $
(4-4/6)