Ticket #8238: gdb-vsrc_testsrc994

File gdb-vsrc_testsrc994, 11.0 KB (added by Suhwan, 7 years ago)
Line 
1Splitting the commandline.
2Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '3'.
3Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
4Reading option '-i' ... matched as input url with argument 'samples/tmp3/tmp-285.tga'.
5Reading option '-filter_complex' ... matched as option 'filter_complex' (create a complex filtergraph) with argument 'rgbtestsrc'.
6Reading 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 'dv'.
7Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
8Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0'.
9Reading option '-c:a:6' ... matched as option 'c' (codec name) with argument 'sgi'.
10Reading option '-disposition:s:7' ... matched as option 'disposition' (disposition) with argument 'mjpeg'.
11Reading option '-vframes' ... matched as option 'vframes' (set the number of video frames to output) with argument '68'.
12Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '47'.
13Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '22050'.
14Reading option 'output/tmp.mpegtsraw' ... matched as output url.
15Finished splitting the commandline.
16Parsing a group of options: global .
17Applying option y (overwrite output files) with argument 1.
18Applying option filter_complex (create a complex filtergraph) with argument rgbtestsrc.
19Applying option loglevel (set logging level) with argument 99.
20Successfully parsed a group of options.
21Parsing a group of options: input url samples/tmp3/tmp-285.tga.
22Applying option t (record or transcode "duration" seconds of audio/video) with argument 3.
23Successfully parsed a group of options.
24Opening an input file: samples/tmp3/tmp-285.tga.
25[NULL @ 0x61b000000080] Opening 'samples/tmp3/tmp-285.tga' for reading
26[file @ 0x610000000040] Setting default whitelist 'file,crypto'
27Probing image2 score:50 size:2048
28Probing mp3 score:1 size:2048
29[image2 @ 0x61b000000080] Format image2 probed with size=2048 and score=50
30[image2 @ 0x61b000000080] Before avformat_find_stream_info() pos: 0 bytes read:3606 seeks:0 nb_streams:1
31[image2 @ 0x61b000000080] stream 0: start_time: 0.000 duration: 0.040
32[image2 @ 0x61b000000080] format: start_time: 0.000 duration: 0.040 (estimate from stream) bitrate=721 kb/s
33[image2 @ 0x61b000000080] After avformat_find_stream_info() pos: 3606 bytes read:3606 seeks:0 frames:1
34Input #0, image2, from 'samples/tmp3/tmp-285.tga':
35 Duration: 00:00:00.04, start: 0.000000, bitrate: 721 kb/s
36 Stream #0:0, 1, 1/25: Video: targa, 1 reference frame, pal8, 60x47, 0/1, 25 tbr, 25 tbn, 25 tbc
37Successfully opened the file.
38[Parsed_rgbtestsrc_0 @ 0x611000000680] size:320x240 rate:25/1 duration:-1.000000 sar:1/1
39Parsing a group of options: output url output/tmp.mpegtsraw.
40Applying option target (specify target file type ("vcd", "svcd", "dvd", "dv" or "dv50" with optional prefixes "pal-", "ntsc-" or "film-")) with argument dv.
41Assuming PAL for target.
42Applying option map (set input stream mapping) with argument 0.
43Applying option c:a:6 (codec name) with argument sgi.
44Applying option disposition:s:7 (disposition) with argument mjpeg.
45Applying option vframes (set the number of video frames to output) with argument 68.
46Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 47.
47Applying option ar (set audio sampling rate (in Hz)) with argument 22050.
48Successfully parsed a group of options.
49Opening an output file: output/tmp.mpegtsraw.
50[file @ 0x610000000540] Setting default whitelist 'file,crypto'
51Successfully opened the file.
52Stream mapping:
53 rgbtestsrc -> Stream #0:0 (dvvideo)
54Press [q] to stop, [?] for help
55cur_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)
56detected 48 logical cores
57[New Thread 0x7ffff172e700 (LWP 40391)]
58[New Thread 0x7ffff0f2d700 (LWP 40394)]
59[New Thread 0x7ffff072c700 (LWP 40396)]
60[New Thread 0x7fffeff2b700 (LWP 40398)]
61[New Thread 0x7fffef72a700 (LWP 40399)]
62[New Thread 0x7fffeef29700 (LWP 40400)]
63[New Thread 0x7fffee728700 (LWP 40401)]
64[New Thread 0x7fffedf27700 (LWP 40403)]
65[New Thread 0x7fffed726700 (LWP 40404)]
66[New Thread 0x7fffecf25700 (LWP 40407)]
67[New Thread 0x7fffec724700 (LWP 40409)]
68[New Thread 0x7fffebf23700 (LWP 40411)]
69[New Thread 0x7fffeb722700 (LWP 40413)]
70[New Thread 0x7fffeaf21700 (LWP 40427)]
71[New Thread 0x7fffea720700 (LWP 40429)]
72[New Thread 0x7fffe9f1f700 (LWP 40431)]
73[New Thread 0x7fffe971e700 (LWP 40433)]
74[New Thread 0x7fffe8f1d700 (LWP 40435)]
75[New Thread 0x7fffe871c700 (LWP 40438)]
76[New Thread 0x7fffe7f1b700 (LWP 40441)]
77[New Thread 0x7fffe771a700 (LWP 40443)]
78[New Thread 0x7fffe6f19700 (LWP 40445)]
79[New Thread 0x7fffe6718700 (LWP 40446)]
80[New Thread 0x7fffe5f01700 (LWP 40447)]
81[New Thread 0x7fffe56ea700 (LWP 40450)]
82[New Thread 0x7fffe4ed3700 (LWP 40454)]
83[New Thread 0x7fffe46bc700 (LWP 40455)]
84[New Thread 0x7fffe3ea5700 (LWP 40456)]
85[New Thread 0x7fffe368e700 (LWP 40457)]
86[New Thread 0x7fffe2e77700 (LWP 40459)]
87[New Thread 0x7fffe2660700 (LWP 40465)]
88[New Thread 0x7fffe1e49700 (LWP 40468)]
89[New Thread 0x7fffe1632700 (LWP 40470)]
90[New Thread 0x7fffe0e1b700 (LWP 40472)]
91[New Thread 0x7fffe0604700 (LWP 40474)]
92[New Thread 0x7fffdfded700 (LWP 40477)]
93[New Thread 0x7fffdf5d6700 (LWP 40480)]
94[New Thread 0x7fffdedbf700 (LWP 40487)]
95[New Thread 0x7fffde5a8700 (LWP 40491)]
96[New Thread 0x7fffddd91700 (LWP 40492)]
97[New Thread 0x7fffdd57a700 (LWP 40494)]
98[New Thread 0x7fffdcd63700 (LWP 40495)]
99[New Thread 0x7fffdc54c700 (LWP 40497)]
100[New Thread 0x7fffdbd35700 (LWP 40499)]
101[New Thread 0x7fffdb51e700 (LWP 40501)]
102[New Thread 0x7fffdad07700 (LWP 40503)]
103[New Thread 0x7fffda4f0700 (LWP 40506)]
104[New Thread 0x7fffd9cd9700 (LWP 40508)]
105[Parsed_rgbtestsrc_0 @ 0x611000000cc0] size:320x240 rate:25/1 duration:-1.000000 sar:1/1
106[scaler_out_0_0 @ 0x611000000f40] Setting 'w' to value '720'
107[scaler_out_0_0 @ 0x611000000f40] Setting 'h' to value '576'
108[scaler_out_0_0 @ 0x611000000f40] Setting 'flags' to value 'bicubic'
109[scaler_out_0_0 @ 0x611000000f40] w:720 h:576 flags:'bicubic' interl:0
110[format @ 0x6110000011c0] Setting 'pix_fmts' to value 'yuv420p'
111[AVFilterGraph @ 0x60e000000e40] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
112[scaler_out_0_0 @ 0x611000000f40] w:320 h:240 fmt:rgba sar:1/1 -> w:720 h:576 fmt:yuv420p sar:16/15 flags:0x4
113[New Thread 0x7fffd94c2700 (LWP 40540)]
114[New Thread 0x7fffd8cab700 (LWP 40554)]
115[New Thread 0x7fffd8494700 (LWP 40557)]
116[New Thread 0x7fffd7c7d700 (LWP 40565)]
117[New Thread 0x7fffd7466700 (LWP 40569)]
118[New Thread 0x7fffd6c4f700 (LWP 40574)]
119[New Thread 0x7fffd6438700 (LWP 40576)]
120[New Thread 0x7fffd5c21700 (LWP 40577)]
121[New Thread 0x7fffd540a700 (LWP 40580)]
122[New Thread 0x7fffd4bf3700 (LWP 40582)]
123[New Thread 0x7fffd43dc700 (LWP 40587)]
124[New Thread 0x7fffd3bc5700 (LWP 40589)]
125[New Thread 0x7fffd33ae700 (LWP 40593)]
126[New Thread 0x7fffd2b97700 (LWP 40597)]
127[New Thread 0x7fffd2380700 (LWP 40602)]
128[New Thread 0x7fffd1b69700 (LWP 40604)]
129[New Thread 0x7fffd1352700 (LWP 40606)]
130[New Thread 0x7fffd0b3b700 (LWP 40612)]
131[New Thread 0x7fffd0324700 (LWP 40614)]
132[New Thread 0x7fffcfb0d700 (LWP 40618)]
133[New Thread 0x7fffcf2f6700 (LWP 40622)]
134[New Thread 0x7fffceadf700 (LWP 40623)]
135[New Thread 0x7fffce2c8700 (LWP 40626)]
136[New Thread 0x7fffcdab1700 (LWP 40630)]
137[New Thread 0x7fffcd29a700 (LWP 40632)]
138[New Thread 0x7fffcca83700 (LWP 40636)]
139[New Thread 0x7fffcc26c700 (LWP 40637)]
140[New Thread 0x7fffcba55700 (LWP 40644)]
141[New Thread 0x7fffcb23e700 (LWP 40648)]
142[New Thread 0x7fffcaa27700 (LWP 40652)]
143[New Thread 0x7fffca210700 (LWP 40659)]
144[New Thread 0x7fffc99f9700 (LWP 40668)]
145[New Thread 0x7fffc91e2700 (LWP 40677)]
146[New Thread 0x7fffc89cb700 (LWP 40681)]
147[New Thread 0x7fffc81b4700 (LWP 40686)]
148[New Thread 0x7fffc799d700 (LWP 40691)]
149[New Thread 0x7fffc7186700 (LWP 40715)]
150[New Thread 0x7fffc696f700 (LWP 40719)]
151[New Thread 0x7fffc6158700 (LWP 40725)]
152[New Thread 0x7fffc5941700 (LWP 40733)]
153[New Thread 0x7fffc512a700 (LWP 40741)]
154[New Thread 0x7fffc4913700 (LWP 40748)]
155[New Thread 0x7fffc40fc700 (LWP 40754)]
156[New Thread 0x7fffc38e5700 (LWP 40762)]
157[New Thread 0x7fffc30ce700 (LWP 40767)]
158[New Thread 0x7fffc28b7700 (LWP 40774)]
159[New Thread 0x7fffc20a0700 (LWP 40781)]
160[New Thread 0x7fffc1889700 (LWP 40786)]
161Output #0, dv, to 'output/tmp.mpegtsraw':
162 Metadata:
163 encoder : Lavf58.33.100
164 Stream #0:0, 0, 1/47: Video: dvvideo, 1 reference frame, yuv420p(topleft), 720x576 [SAR 16:15 DAR 4:3], 0/1, q=2-31, 200 kb/s, 47 fps, 47 tbn, 47 tbc (default)
165 Metadata:
166 encoder : Lavc58.59.101 dvvideo
167
168Thread 1 "ffmpeg_usan" hit Breakpoint 1, rgbtest_put_pixel (dst=<optimized out>, rgba_map=<optimized out>,
169 dst_linesize=<optimized out>, x=<optimized out>, y=<optimized out>, r=<optimized out>, g=<optimized out>,
170 b=<optimized out>, fmt=<optimized out>) at libavfilter/vsrc_testsrc.c:994
171994 v = (r << (rgba_map[R]*8)) + (g << (rgba_map[G]*8)) + (b << (rgba_map[B]*8)) + (255 << (rgba_map[A]*8));
172(gdb) c
173Continuing.
174libavfilter/vsrc_testsrc.c:994:93: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
175SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavfilter/vsrc_testsrc.c:994:93 in
176
177Thread 1 "ffmpeg_usan" hit Breakpoint 1, rgbtest_put_pixel (dst=<optimized out>, rgba_map=<optimized out>,
178 dst_linesize=<optimized out>, x=<optimized out>, y=<optimized out>, r=<optimized out>, g=<optimized out>,
179 b=<optimized out>, fmt=<optimized out>) at libavfilter/vsrc_testsrc.c:994
180994 v = (r << (rgba_map[R]*8)) + (g << (rgba_map[G]*8)) + (b << (rgba_map[B]*8)) + (255 << (rgba_map[A]*8));
181(gdb) bt
182#0 rgbtest_put_pixel (dst=<optimized out>, rgba_map=<optimized out>, dst_linesize=<optimized out>, x=<optimized out>,
183 y=<optimized out>, r=<optimized out>, g=<optimized out>, b=<optimized out>, fmt=<optimized out>)
184 at libavfilter/vsrc_testsrc.c:994
185#1 rgbtest_fill_picture (ctx=0x611000000cc0, frame=0x61600004f880) at libavfilter/vsrc_testsrc.c:1015
186#2 0x000000000467d7f1 in request_frame (outlink=0x614000000040) at libavfilter/vsrc_testsrc.c:159
187#3 0x000000000116548e in ff_request_frame_to_filter (link=0x614000000040) at libavfilter/avfilter.c:458
188#4 0x000000000113de50 in ff_filter_activate_default (filter=0x611000000cc0) at libavfilter/avfilter.c:1280
189#5 ff_filter_activate (filter=0x611000000cc0) at libavfilter/avfilter.c:1430
190#6 0x000000000122ea7c in get_frame_internal (ctx=0x611000000e00, frame=0x0, flags=1, samples=165)
191 at libavfilter/buffersink.c:110
192#7 0x00000000011ce09b in avfilter_graph_request_oldest (graph=0x60e000000e40) at libavfilter/avfiltergraph.c:1409
193#8 0x000000000083b7e0 in transcode_from_filter (graph=0x60a000000040, best_ist=<optimized out>)
194 at fftools/ffmpeg.c:4541
195#9 transcode_step () at fftools/ffmpeg.c:4616
196#10 transcode () at fftools/ffmpeg.c:4692
197#11 0x000000000081cf60 in main (argc=<optimized out>, argv=<optimized out>) at fftools/ffmpeg.c:4894