Ticket #8241: gdb_vf_vmafmotion180

File gdb_vf_vmafmotion180, 17.1 KB (added by Suhwan, 7 years ago)
Line 
1GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
2Copyright (C) 2018 Free Software Foundation, Inc.
3License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
4This is free software: you are free to change and redistribute it.
5There is NO WARRANTY, to the extent permitted by law. Type "show copying"
6and "show warranty" for details.
7This GDB was configured as "x86_64-linux-gnu".
8Type "show configuration" for configuration details.
9For bug reporting instructions, please see:
10<http://www.gnu.org/software/gdb/bugs/>.
11Find the GDB manual and other documentation resources online at:
12<http://www.gnu.org/software/gdb/documentation/>.
13For help, type "help".
14Type "apropos word" to search for commands related to "word"...
15Reading symbols from ../ffmpeg/ffmpeg_g...done.
16(gdb) r
17Starting program: ffmpeg/ffmpeg_g -stream_loop 1 -y -i samples/tmp3/tmp-33.png48 -filter_complex vmafmotion -target dvd -loglevel 99 -vbsf chomp -c:v:115 pcm_vidc -disposition:s:19 ffvhuff -b:v 883k -strict 0 output/tmp.sup
18[Thread debugging using libthread_db enabled]
19Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
20ffmpeg version N-95314-g1331e00179 Copyright (c) 2000-2019 the FFmpeg developers
21 built with clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
22 configuration: --cc=clang --cxx=clang++ --ld=clang --enable-debug --toolchain=clang-asan
23 libavutil 56. 35.100 / 56. 35.100
24 libavcodec 58. 59.102 / 58. 59.102
25 libavformat 58. 33.100 / 58. 33.100
26 libavdevice 58. 9.100 / 58. 9.100
27 libavfilter 7. 62.100 / 7. 62.100
28 libswscale 5. 6.100 / 5. 6.100
29 libswresample 3. 6.100 / 3. 6.100
30Splitting the commandline.
31Reading option '-stream_loop' ... matched as option 'stream_loop' (set number of times input stream shall be looped) with argument '1'.
32Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
33Reading option '-i' ... matched as input url with argument 'samples/tmp3/tmp-33.png48'.
34Reading option '-filter_complex' ... matched as option 'filter_complex' (create a complex filtergraph) with argument 'vmafmotion'.
35Reading option '-target' ... matched as option 'target' (specify target file type ("vcd", "svcd", "dvd", "dv" or "dv50" with optional prefixes "pal-", "ntsc-" or "film-")) with argument 'dvd'.
36Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
37Reading option '-vbsf' ... matched as option 'vbsf' (deprecated) with argument 'chomp'.
38Reading option '-c:v:115' ... matched as option 'c' (codec name) with argument 'pcm_vidc'.
39Reading option '-disposition:s:19' ... matched as option 'disposition' (disposition) with argument 'ffvhuff'.
40Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '883k'.
41Reading option '-strict' ...Routing option strict to both codec and muxer layer
42 matched as AVOption 'strict' with argument '0'.
43Reading option 'output/tmp.sup' ... matched as output url.
44Finished splitting the commandline.
45Parsing a group of options: global .
46Applying option y (overwrite output files) with argument 1.
47Applying option filter_complex (create a complex filtergraph) with argument vmafmotion.
48Applying option loglevel (set logging level) with argument 99.
49Successfully parsed a group of options.
50Parsing a group of options: input url samples/tmp3/tmp-33.png48.
51Applying option stream_loop (set number of times input stream shall be looped) with argument 1.
52Successfully parsed a group of options.
53Opening an input file: samples/tmp3/tmp-33.png48.
54[NULL @ 0x61b000000080] Opening 'samples/tmp3/tmp-33.png48' for reading
55[file @ 0x610000000040] Setting default whitelist 'file,crypto'
56Probing mpegts score:2 size:290
57Probing png_pipe score:99 size:290
58[png_pipe @ 0x61b000000080] Format png_pipe probed with size=2048 and score=99
59[png_pipe @ 0x61b000000080] Before avformat_find_stream_info() pos: 0 bytes read:290 seeks:0 nb_streams:1
60[png_pipe @ 0x61b000000080] stream 0: start_time: -368934881474191040.000 duration: -368934881474191040.000
61[png_pipe @ 0x61b000000080] format: start_time: -9223372036854.775 duration: -9223372036854.775 (estimate from bit rate) bitrate=0 kb/s
62[png_pipe @ 0x61b000000080] After avformat_find_stream_info() pos: 290 bytes read:290 seeks:0 frames:1
63Input #0, png_pipe, from 'samples/tmp3/tmp-33.png48':
64 Duration: N/A, bitrate: N/A
65 Stream #0:0, 1, 1/25: Video: png, 1 reference frame, rgba64be(pc), 1x1, 0/1, 25 tbr, 25 tbn, 25 tbc
66Successfully opened the file.
67Parsing a group of options: output url output/tmp.sup.
68Applying option target (specify target file type ("vcd", "svcd", "dvd", "dv" or "dv50" with optional prefixes "pal-", "ntsc-" or "film-")) with argument dvd.
69Assuming PAL for target.
70Applying option vbsf (deprecated) with argument chomp.
71Applying option c:v:115 (codec name) with argument pcm_vidc.
72Applying option disposition:s:19 (disposition) with argument ffvhuff.
73Applying option b:v (video bitrate (please use -b:v)) with argument 883k.
74Successfully parsed a group of options.
75Opening an output file: output/tmp.sup.
76[file @ 0x610000000940] Setting default whitelist 'file,crypto'
77Successfully opened the file.
78detected 48 logical cores
79[New Thread 0x7ffff172d700 (LWP 43800)]
80[New Thread 0x7ffff0f2c700 (LWP 43802)]
81[New Thread 0x7ffff072b700 (LWP 43803)]
82[New Thread 0x7fffeff2a700 (LWP 43807)]
83[New Thread 0x7fffef729700 (LWP 43810)]
84[New Thread 0x7fffeef28700 (LWP 43811)]
85[New Thread 0x7fffee727700 (LWP 43813)]
86[New Thread 0x7fffedf26700 (LWP 43814)]
87[New Thread 0x7fffed725700 (LWP 43818)]
88[New Thread 0x7fffecf24700 (LWP 43821)]
89[New Thread 0x7fffec723700 (LWP 43822)]
90[New Thread 0x7fffebf22700 (LWP 43828)]
91[New Thread 0x7fffeb721700 (LWP 43829)]
92[New Thread 0x7fffeaf20700 (LWP 43830)]
93[New Thread 0x7fffea71f700 (LWP 43831)]
94[New Thread 0x7fffe9f1e700 (LWP 43832)]
95Stream mapping:
96 Stream #0:0 (png) -> vmafmotion
97 vmafmotion -> Stream #0:0 (mpeg2video)
98Press [q] to stop, [?] for help
99cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
100[New Thread 0x7fffe971d700 (LWP 43833)]
101[New Thread 0x7fffe8f1c700 (LWP 43834)]
102[New Thread 0x7fffe871b700 (LWP 43836)]
103[New Thread 0x7fffe7f1a700 (LWP 43837)]
104[New Thread 0x7fffe7719700 (LWP 43838)]
105[New Thread 0x7fffe6f18700 (LWP 43840)]
106[New Thread 0x7fffe6717700 (LWP 43841)]
107[New Thread 0x7fffe5f16700 (LWP 43842)]
108[New Thread 0x7fffe5715700 (LWP 43844)]
109[New Thread 0x7fffe4f14700 (LWP 43845)]
110[New Thread 0x7fffe4713700 (LWP 43846)]
111[New Thread 0x7fffe3f12700 (LWP 43847)]
112[New Thread 0x7fffe3711700 (LWP 43850)]
113[New Thread 0x7fffe2f08700 (LWP 43851)]
114[New Thread 0x7fffe26f1700 (LWP 43852)]
115[New Thread 0x7fffe1eda700 (LWP 43854)]
116[New Thread 0x7fffe16c3700 (LWP 43855)]
117[New Thread 0x7fffe0eac700 (LWP 43856)]
118[New Thread 0x7fffe0695700 (LWP 43857)]
119[New Thread 0x7fffdfe7e700 (LWP 43858)]
120[New Thread 0x7fffdf667700 (LWP 43859)]
121[New Thread 0x7fffdee50700 (LWP 43860)]
122[New Thread 0x7fffde639700 (LWP 43861)]
123[New Thread 0x7fffdde22700 (LWP 43862)]
124[New Thread 0x7fffdd60b700 (LWP 43863)]
125[New Thread 0x7fffdcdf4700 (LWP 43864)]
126[New Thread 0x7fffdc5dd700 (LWP 43865)]
127[New Thread 0x7fffdbdc6700 (LWP 43866)]
128[New Thread 0x7fffdb5af700 (LWP 43867)]
129[New Thread 0x7fffdad98700 (LWP 43869)]
130[New Thread 0x7fffda581700 (LWP 43872)]
131[New Thread 0x7fffd9d6a700 (LWP 43873)]
132[New Thread 0x7fffd9553700 (LWP 43874)]
133[New Thread 0x7fffd8d3c700 (LWP 43875)]
134[New Thread 0x7fffd8525700 (LWP 43876)]
135[New Thread 0x7fffd7d0e700 (LWP 43877)]
136[New Thread 0x7fffd74f7700 (LWP 43878)]
137[New Thread 0x7fffd6ce0700 (LWP 43880)]
138[New Thread 0x7fffd64c9700 (LWP 43881)]
139[New Thread 0x7fffd5cb2700 (LWP 43882)]
140[New Thread 0x7fffd549b700 (LWP 43884)]
141[New Thread 0x7fffd4c84700 (LWP 43885)]
142[New Thread 0x7fffd446d700 (LWP 43887)]
143[New Thread 0x7fffd3c56700 (LWP 43892)]
144[New Thread 0x7fffd343f700 (LWP 43898)]
145[New Thread 0x7fffd2c28700 (LWP 43900)]
146[New Thread 0x7fffd2411700 (LWP 43902)]
147[New Thread 0x7fffd1bfa700 (LWP 43903)]
148 Last message repeated 1 times
149[graph 0 input from stream 0:0 @ 0x611000001440] Setting 'video_size' to value '1x1'
150[graph 0 input from stream 0:0 @ 0x611000001440] Setting 'pix_fmt' to value '106'
151[graph 0 input from stream 0:0 @ 0x611000001440] Setting 'time_base' to value '1/25'
152[graph 0 input from stream 0:0 @ 0x611000001440] Setting 'pixel_aspect' to value '0/1'
153[graph 0 input from stream 0:0 @ 0x611000001440] Setting 'sws_param' to value 'flags=2'
154[graph 0 input from stream 0:0 @ 0x611000001440] Setting 'frame_rate' to value '25/1'
155[graph 0 input from stream 0:0 @ 0x611000001440] w:1 h:1 pixfmt:rgba64be tb:1/25 fr:25/1 sar:0/1 sws_param:flags=2
156[scaler_out_0_0 @ 0x6110000016c0] Setting 'w' to value '720'
157[scaler_out_0_0 @ 0x6110000016c0] Setting 'h' to value '576'
158[scaler_out_0_0 @ 0x6110000016c0] Setting 'flags' to value 'bicubic'
159[scaler_out_0_0 @ 0x6110000016c0] w:720 h:576 flags:'bicubic' interl:0
160[format @ 0x611000001940] Setting 'pix_fmts' to value 'yuv420p'
161[auto_scaler_0 @ 0x61100001b980] w:iw h:ih flags:'bilinear' interl:0
162[Parsed_vmafmotion_0 @ 0x611000001300] auto-inserting filter 'auto_scaler_0' between the filter 'graph 0 input from stream 0:0' and the filter 'Parsed_vmafmotion_0'
163[AVFilterGraph @ 0x60e000001280] query_formats: 5 queried, 3 merged, 1 already done, 0 delayed
164[auto_scaler_0 @ 0x61100001b980] picking yuva444p10le out of 28 ref:rgba64be alpha:1
165[auto_scaler_0 @ 0x61100001b980] w:1 h:1 fmt:rgba64be sar:0/1 -> w:1 h:1 fmt:yuva444p10le sar:0/1 flags:0x2
166[scaler_out_0_0 @ 0x6110000016c0] w:1 h:1 fmt:yuva444p10le sar:0/1 -> w:720 h:576 fmt:yuv420p sar:0/1 flags:0x4
167=================================================================
168==43591==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x619000007d60 at pc 0x0000013c447f bp 0x7fffffffa5e0 sp 0x7fffffffa5d8
169READ of size 2 at 0x619000007d60 thread T0
170 #0 0x13c447e in convolution_y_10bit ffmpeg/libavfilter/vf_vmafmotion.c:180:1
171 #1 0x13bcaf8 in ff_vmafmotion_process ffmpeg/libavfilter/vf_vmafmotion.c:192:5
172 #2 0x13c68f8 in do_vmafmotion ffmpeg/libavfilter/vf_vmafmotion.c:225:13
173 #3 0x13c68f8 in filter_frame ffmpeg/libavfilter/vf_vmafmotion.c:300
174 #4 0x827289 in ff_filter_activate_default ffmpeg/libavfilter/avfilter.c:1071:11
175 #5 0x827289 in ff_filter_activate ffmpeg/libavfilter/avfilter.c:1430
176 #6 0x870182 in push_frame ffmpeg/libavfilter/buffersrc.c:187:15
177 #7 0x870182 in av_buffersrc_add_frame_internal ffmpeg/libavfilter/buffersrc.c:261
178 #8 0x86ebc2 in av_buffersrc_add_frame_flags ffmpeg/libavfilter/buffersrc.c:170:16
179 #9 0x666867 in ifilter_send_frame ffmpeg/fftools/ffmpeg.c:2196:11
180 #10 0x666867 in send_frame_to_filters ffmpeg/fftools/ffmpeg.c:2270
181 #11 0x6075f7 in decode_video ffmpeg/fftools/ffmpeg.c:2469:11
182 #12 0x6075f7 in process_input_packet ffmpeg/fftools/ffmpeg.c:2623
183 #13 0x64211d in process_input ffmpeg/fftools/ffmpeg.c:4279:23
184 #14 0x5e7157 in transcode_step ffmpeg/fftools/ffmpeg.c:4638:11
185 #15 0x5e7157 in transcode ffmpeg/fftools/ffmpeg.c:4692
186 #16 0x5db65b in main ffmpeg/fftools/ffmpeg.c:4894:9
187 #17 0x7ffff5c93b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
188 #18 0x41def9 in _start (ffmpeg/ffmpeg_g+0x41def9)
189
1900x619000007d60 is located 32 bytes to the left of 1055-byte region [0x619000007d80,0x61900000819f)
191allocated by thread T0 here:
192 #0 0x4de9e8 in posix_memalign (ffmpeg/ffmpeg_g+0x4de9e8)
193 #1 0x8564fb1 in av_malloc ffmpeg/libavutil/mem.c:87:9
194 #2 0x84cc231 in av_buffer_alloc ffmpeg/libavutil/buffer.c:72:12
195 #3 0x84cc231 in av_buffer_allocz ffmpeg/libavutil/buffer.c:85
196 #4 0x84d0a56 in pool_alloc_buffer ffmpeg/libavutil/buffer.c:313:26
197 #5 0x84d0a56 in av_buffer_pool_get ffmpeg/libavutil/buffer.c:349
198 #6 0x91af8d in ff_frame_pool_get ffmpeg/libavfilter/framepool.c:222:29
199 #7 0x15a660c in ff_default_get_video_buffer ffmpeg/libavfilter/video.c:90:13
200 #8 0x124c7f9 in scale_frame ffmpeg/libavfilter/vf_scale.c:460:11
201 #9 0x124a8ec in filter_frame ffmpeg/libavfilter/vf_scale.c:549:11
202 #10 0x827289 in ff_filter_activate_default ffmpeg/libavfilter/avfilter.c:1071:11
203 #11 0x827289 in ff_filter_activate ffmpeg/libavfilter/avfilter.c:1430
204 #12 0x870135 in push_frame ffmpeg/libavfilter/buffersrc.c:187:15
205 #13 0x870135 in av_buffersrc_add_frame_internal ffmpeg/libavfilter/buffersrc.c:261
206 #14 0x86ebc2 in av_buffersrc_add_frame_flags ffmpeg/libavfilter/buffersrc.c:170:16
207 #15 0x666867 in ifilter_send_frame ffmpeg/fftools/ffmpeg.c:2196:11
208 #16 0x666867 in send_frame_to_filters ffmpeg/fftools/ffmpeg.c:2270
209 #17 0x6075f7 in decode_video ffmpeg/fftools/ffmpeg.c:2469:11
210 #18 0x6075f7 in process_input_packet ffmpeg/fftools/ffmpeg.c:2623
211 #19 0x64211d in process_input ffmpeg/fftools/ffmpeg.c:4279:23
212 #20 0x5e7157 in transcode_step ffmpeg/fftools/ffmpeg.c:4638:11
213 #21 0x5e7157 in transcode ffmpeg/fftools/ffmpeg.c:4692
214 #22 0x5db65b in main ffmpeg/fftools/ffmpeg.c:4894:9
215 #23 0x7ffff5c93b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
216
217SUMMARY: AddressSanitizer: heap-buffer-overflow ffmpeg/libavfilter/vf_vmafmotion.c:180:1 in convolution_y_10bit
218Shadow bytes around the buggy address:
219 0x0c327fff8f50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
220 0x0c327fff8f60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
221 0x0c327fff8f70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
222 0x0c327fff8f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
223 0x0c327fff8f90: 00 00 00 00 00 fa fa fa fa fa fa fa fa fa fa fa
224=>0x0c327fff8fa0: fa fa fa fa fa fa fa fa fa fa fa fa[fa]fa fa fa
225 0x0c327fff8fb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
226 0x0c327fff8fc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
227 0x0c327fff8fd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
228 0x0c327fff8fe0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
229 0x0c327fff8ff0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
230Shadow byte legend (one shadow byte represents 8 application bytes):
231 Addressable: 00
232 Partially addressable: 01 02 03 04 05 06 07
233 Heap left redzone: fa
234 Freed heap region: fd
235 Stack left redzone: f1
236 Stack mid redzone: f2
237 Stack right redzone: f3
238 Stack after return: f5
239 Stack use after scope: f8
240 Global redzone: f9
241 Global init order: f6
242 Poisoned by user: f7
243 Container overflow: fc
244 Array cookie: ac
245 Intra object redzone: bb
246 ASan internal: fe
247 Left alloca redzone: ca
248 Right alloca redzone: cb
249==43591==ABORTING
250[Thread 0x7fffd1bfa700 (LWP 43903) exited]
251[Thread 0x7fffd2411700 (LWP 43902) exited]
252[Thread 0x7fffd2c28700 (LWP 43900) exited]
253[Thread 0x7fffd343f700 (LWP 43898) exited]
254[Thread 0x7fffd3c56700 (LWP 43892) exited]
255[Thread 0x7fffd446d700 (LWP 43887) exited]
256[Thread 0x7fffd4c84700 (LWP 43885) exited]
257[Thread 0x7fffd549b700 (LWP 43884) exited]
258[Thread 0x7fffd5cb2700 (LWP 43882) exited]
259[Thread 0x7fffd64c9700 (LWP 43881) exited]
260[Thread 0x7fffd6ce0700 (LWP 43880) exited]
261[Thread 0x7fffd74f7700 (LWP 43878) exited]
262[Thread 0x7fffd7d0e700 (LWP 43877) exited]
263[Thread 0x7fffd8525700 (LWP 43876) exited]
264[Thread 0x7fffd8d3c700 (LWP 43875) exited]
265[Thread 0x7fffd9d6a700 (LWP 43873) exited]
266[Thread 0x7fffda581700 (LWP 43872) exited]
267[Thread 0x7fffdad98700 (LWP 43869) exited]
268[Thread 0x7fffdb5af700 (LWP 43867) exited]
269[Thread 0x7fffdbdc6700 (LWP 43866) exited]
270[Thread 0x7fffdc5dd700 (LWP 43865) exited]
271[Thread 0x7fffdcdf4700 (LWP 43864) exited]
272[Thread 0x7fffdd60b700 (LWP 43863) exited]
273[Thread 0x7fffdde22700 (LWP 43862) exited]
274[Thread 0x7fffde639700 (LWP 43861) exited]
275[Thread 0x7fffdee50700 (LWP 43860) exited]
276[Thread 0x7fffdf667700 (LWP 43859) exited]
277[Thread 0x7fffdfe7e700 (LWP 43858) exited]
278[Thread 0x7fffe0695700 (LWP 43857) exited]
279[Thread 0x7fffe0eac700 (LWP 43856) exited]
280[Thread 0x7fffe16c3700 (LWP 43855) exited]
281[Thread 0x7fffe1eda700 (LWP 43854) exited]
282[Thread 0x7fffe26f1700 (LWP 43852) exited]
283[Thread 0x7fffe2f08700 (LWP 43851) exited]
284[Thread 0x7fffe3711700 (LWP 43850) exited]
285[Thread 0x7fffe3f12700 (LWP 43847) exited]
286[Thread 0x7fffe4713700 (LWP 43846) exited]
287[Thread 0x7fffe4f14700 (LWP 43845) exited]
288[Thread 0x7fffe5715700 (LWP 43844) exited]
289[Thread 0x7fffe5f16700 (LWP 43842) exited]
290[Thread 0x7fffe6717700 (LWP 43841) exited]
291[Thread 0x7fffe6f18700 (LWP 43840) exited]
292[Thread 0x7fffe7719700 (LWP 43838) exited]
293[Thread 0x7fffe7f1a700 (LWP 43837) exited]
294[Thread 0x7fffe871b700 (LWP 43836) exited]
295[Thread 0x7fffe8f1c700 (LWP 43834) exited]
296[Thread 0x7fffe971d700 (LWP 43833) exited]
297[Thread 0x7fffe9f1e700 (LWP 43832) exited]
298[Thread 0x7fffea71f700 (LWP 43831) exited]
299[Thread 0x7fffeaf20700 (LWP 43830) exited]
300[Thread 0x7fffeb721700 (LWP 43829) exited]
301[Thread 0x7fffebf22700 (LWP 43828) exited]
302[Thread 0x7fffec723700 (LWP 43822) exited]
303[Thread 0x7fffecf24700 (LWP 43821) exited]
304[Thread 0x7fffed725700 (LWP 43818) exited]
305[Thread 0x7fffedf26700 (LWP 43814) exited]
306[Thread 0x7fffee727700 (LWP 43813) exited]
307[Thread 0x7fffeef28700 (LWP 43811) exited]
308[Thread 0x7fffef729700 (LWP 43810) exited]
309[Thread 0x7fffeff2a700 (LWP 43807) exited]
310[Thread 0x7ffff072b700 (LWP 43803) exited]
311[Thread 0x7ffff0f2c700 (LWP 43802) exited]
312[Thread 0x7ffff172d700 (LWP 43800) exited]
313[Thread 0x7ffff7fb6780 (LWP 43591) exited]
314[Inferior 1 (process 43591) exited with code 01]
315