Ticket #8217: gdb-ra144

File gdb-ra144, 9.8 KB (added by Suhwan, 7 years ago)
Line 
1Splitting the commandline.
2Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
3Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '70'.
4Reading option '-i' ... matched as input url with argument 'samples/hello/nsynth-valid/audio/bass_electronic_027-024-025.wav'.
5Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
6Reading option '-c:a:0' ... matched as option 'c' (codec name) with argument 'real_144'.
7Reading option '-c:a:48' ... matched as option 'c' (codec name) with argument 'alias_pix'.
8Reading option '-disposition:s:15' ... matched as option 'disposition' (disposition) with argument 'xwd'.
9Reading option '-disposition:v:122' ... matched as option 'disposition' (disposition) with argument 'flashsv2'.
10Reading option 'output/tmp.aptx' ... matched as output url.
11Finished splitting the commandline.
12Parsing a group of options: global .
13Applying option y (overwrite output files) with argument 1.
14Applying option loglevel (set logging level) with argument 99.
15Successfully parsed a group of options.
16Parsing a group of options: input url samples/hello/nsynth-valid/audio/bass_electronic_027-024-025.wav.
17Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 70.
18Successfully parsed a group of options.
19Opening an input file: samples/hello/nsynth-valid/audio/bass_electronic_027-024-025.wav.
20[NULL @ 0x61b000000080] Opening 'samples/hello/nsynth-valid/audio/bass_electronic_027-024-025.wav' for reading
21[file @ 0x611000000180] Setting default whitelist 'file,crypto'
22Probing wav score:99 size:2048
23[wav @ 0x61b000000080] Format wav probed with size=2048 and score=99
24[wav @ 0x61b000000080] Before avformat_find_stream_info() pos: 44 bytes read:65580 seeks:1 nb_streams:1
25[wav @ 0x61b000000080] probing stream 0 pp:32
26Probing mp3 score:1 size:4096
27[wav @ 0x61b000000080] Probe with size=4096, packets=2469 detected mp3 with score=1
28[wav @ 0x61b000000080] probing stream 0 pp:31
29Probing mp3 score:1 size:8192
30[wav @ 0x61b000000080] Probe with size=8192, packets=2470 detected mp3 with score=1
31[wav @ 0x61b000000080] probing stream 0 pp:30
32[wav @ 0x61b000000080] probing stream 0 pp:29
33[wav @ 0x61b000000080] probing stream 0 pp:28
34[wav @ 0x61b000000080] probing stream 0 pp:27
35[wav @ 0x61b000000080] probing stream 0 pp:26
36[wav @ 0x61b000000080] probing stream 0 pp:25
37[wav @ 0x61b000000080] probing stream 0 pp:24
38[wav @ 0x61b000000080] probing stream 0 pp:23
39[wav @ 0x61b000000080] probing stream 0 pp:22
40[wav @ 0x61b000000080] probing stream 0 pp:21
41[wav @ 0x61b000000080] probing stream 0 pp:20
42[wav @ 0x61b000000080] probing stream 0 pp:19
43[wav @ 0x61b000000080] probing stream 0 pp:18
44[wav @ 0x61b000000080] probing stream 0 pp:17
45[wav @ 0x61b000000080] probing stream 0 pp:16
46[wav @ 0x61b000000080] probing stream 0 pp:15
47[wav @ 0x61b000000080] probing stream 0 pp:14
48[wav @ 0x61b000000080] probing stream 0 pp:13
49[wav @ 0x61b000000080] probing stream 0 pp:12
50[wav @ 0x61b000000080] probing stream 0 pp:11
51[wav @ 0x61b000000080] probing stream 0 pp:10
52[wav @ 0x61b000000080] probing stream 0 pp:9
53[wav @ 0x61b000000080] probing stream 0 pp:8
54[wav @ 0x61b000000080] probing stream 0 pp:7
55[wav @ 0x61b000000080] probing stream 0 pp:6
56[wav @ 0x61b000000080] probing stream 0 pp:5
57[wav @ 0x61b000000080] probing stream 0 pp:4
58[wav @ 0x61b000000080] probing stream 0 pp:3
59[wav @ 0x61b000000080] probing stream 0 pp:2
60[wav @ 0x61b000000080] probing stream 0 pp:1
61[wav @ 0x61b000000080] probed stream 0
62[wav @ 0x61b000000080] parser not found for codec pcm_s16le, packets or times may be invalid.
63[wav @ 0x61b000000080] stream 0: start_time: -576460752303423.500 duration: 4.000
64[wav @ 0x61b000000080] format: start_time: -9223372036854.775 duration: 4.000 (estimate from stream) bitrate=256 kb/s
65[wav @ 0x61b000000080] After avformat_find_stream_info() pos: 128044 bytes read:193580 seeks:1 frames:32
66Guessed Channel Layout for Input Stream #0.0 : mono
67Input #0, wav, from 'samples/hello/nsynth-valid/audio/bass_electronic_027-024-025.wav':
68 Duration: 00:00:04.00, bitrate: 256 kb/s
69 Stream #0:0, 32, 1/16000: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
70Successfully opened the file.
71Parsing a group of options: output url output/tmp.aptx.
72Applying option c:a:0 (codec name) with argument real_144.
73Applying option c:a:48 (codec name) with argument alias_pix.
74Applying option disposition:s:15 (disposition) with argument xwd.
75Applying option disposition:v:122 (disposition) with argument flashsv2.
76Successfully parsed a group of options.
77Opening an output file: output/tmp.aptx.
78[file @ 0x610000000540] Setting default whitelist 'file,crypto'
79Successfully opened the file.
80Stream mapping:
81 Stream #0:0 -> #0:0 (pcm_s16le (native) -> ra_144 (real_144))
82Press [q] to stop, [?] for help
83cur_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)
84detected 48 logical cores
85[New Thread 0x7ffff172f700 (LWP 11589)]
86[New Thread 0x7ffff0f2e700 (LWP 11598)]
87[New Thread 0x7ffff072d700 (LWP 11613)]
88[New Thread 0x7fffeff2c700 (LWP 11618)]
89[New Thread 0x7fffef72b700 (LWP 11629)]
90[New Thread 0x7fffeef2a700 (LWP 11639)]
91[New Thread 0x7fffee729700 (LWP 11645)]
92[New Thread 0x7fffedf28700 (LWP 11651)]
93[New Thread 0x7fffed727700 (LWP 11656)]
94[New Thread 0x7fffecf26700 (LWP 11660)]
95[New Thread 0x7fffec725700 (LWP 11664)]
96[New Thread 0x7fffebf24700 (LWP 11671)]
97[New Thread 0x7fffeb723700 (LWP 11674)]
98[New Thread 0x7fffeaf22700 (LWP 11688)]
99[New Thread 0x7fffea721700 (LWP 11691)]
100[New Thread 0x7fffe9f20700 (LWP 11694)]
101[New Thread 0x7fffe971f700 (LWP 11703)]
102[New Thread 0x7fffe8f1e700 (LWP 11713)]
103[New Thread 0x7fffe871d700 (LWP 11722)]
104[New Thread 0x7fffe7f1c700 (LWP 11729)]
105[New Thread 0x7fffe771b700 (LWP 11733)]
106[New Thread 0x7fffe6f1a700 (LWP 11744)]
107[New Thread 0x7fffe6719700 (LWP 11754)]
108[New Thread 0x7fffe5f18700 (LWP 11764)]
109[New Thread 0x7fffe5717700 (LWP 11768)]
110[New Thread 0x7fffe4f16700 (LWP 11776)]
111[New Thread 0x7fffe4715700 (LWP 11793)]
112[New Thread 0x7fffe3f14700 (LWP 11803)]
113[New Thread 0x7fffe3713700 (LWP 11816)]
114[New Thread 0x7fffe2f0a700 (LWP 11824)]
115[New Thread 0x7fffe26f3700 (LWP 11833)]
116[New Thread 0x7fffe1edc700 (LWP 11837)]
117[New Thread 0x7fffe16c5700 (LWP 11846)]
118[New Thread 0x7fffe0eae700 (LWP 11856)]
119[New Thread 0x7fffe0697700 (LWP 11858)]
120[New Thread 0x7fffdfe80700 (LWP 11862)]
121[New Thread 0x7fffdf669700 (LWP 11868)]
122[New Thread 0x7fffdee52700 (LWP 11874)]
123[New Thread 0x7fffde63b700 (LWP 11883)]
124[New Thread 0x7fffdde24700 (LWP 11899)]
125[New Thread 0x7fffdd60d700 (LWP 11910)]
126[New Thread 0x7fffdcdf6700 (LWP 11923)]
127[New Thread 0x7fffdc5df700 (LWP 11942)]
128[New Thread 0x7fffdbdc8700 (LWP 11959)]
129[New Thread 0x7fffdb5b1700 (LWP 11969)]
130[New Thread 0x7fffdad9a700 (LWP 11985)]
131[New Thread 0x7fffda583700 (LWP 11995)]
132[New Thread 0x7fffd9d6c700 (LWP 12005)]
133[graph_0_in_0_0 @ 0x6110000011c0] Setting 'time_base' to value '1/16000'
134[graph_0_in_0_0 @ 0x6110000011c0] Setting 'sample_rate' to value '16000'
135[graph_0_in_0_0 @ 0x6110000011c0] Setting 'sample_fmt' to value 's16'
136[graph_0_in_0_0 @ 0x6110000011c0] Setting 'channel_layout' to value '0x4'
137[graph_0_in_0_0 @ 0x6110000011c0] tb:1/16000 samplefmt:s16 samplerate:16000 chlayout:0x4
138[format_out_0_0 @ 0x611000001440] Setting 'sample_fmts' to value 's16'
139[format_out_0_0 @ 0x611000001440] Setting 'sample_rates' to value '8000'
140[format_out_0_0 @ 0x611000001440] Setting 'channel_layouts' to value '0x4'
141[format_out_0_0 @ 0x611000001440] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_0'
142[AVFilterGraph @ 0x60e000004480] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
143[auto_resampler_0 @ 0x611000001580] [SWR @ 0x632000060800] Using s16p internally between filters
144[auto_resampler_0 @ 0x611000001580] ch:1 chl:mono fmt:s16 r:16000Hz -> ch:1 chl:mono fmt:s16 r:8000Hz
145Output #0, aptx, to 'output/tmp.aptx':
146 Metadata:
147 encoder : Lavf58.33.100
148 Stream #0:0, 0, 1/8000: Audio: ra_144 (real_144), 8000 Hz, mono, s16, delay 160, 8 kb/s
149 Metadata:
150 encoder : Lavc58.59.101 real_144
151
152Thread 1 "ffmpeg_usan" hit Breakpoint 1, ra144_encode_frame (
153 avctx=0x619000002380, avpkt=0x60e000004fc0, frame=0x61600000a280,
154 got_packet_ptr=0x7fffffffb480) at libavcodec/ra144enc.c:480
155480 block_coefs[NBLOCKS - 1][i] = -(lpc_coefs[LPC_ORDER - 1][i] <<
156(gdb) c
157Continuing.
158libavcodec/ra144enc.c:480:69: runtime error: left shift of negative value -2682
159SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavcodec/ra144enc.c:480:69 in
160
161Thread 1 "ffmpeg_usan" hit Breakpoint 1, ra144_encode_frame (
162 avctx=0x619000002380, avpkt=0x60e000004fc0, frame=0x61600000a280,
163 got_packet_ptr=0x7fffffffb480) at libavcodec/ra144enc.c:480
164480 block_coefs[NBLOCKS - 1][i] = -(lpc_coefs[LPC_ORDER - 1][i] <<
165(gdb) bt
166#0 ra144_encode_frame (avctx=0x619000002380, avpkt=0x60e000004fc0,
167 frame=0x61600000a280, got_packet_ptr=0x7fffffffb480)
168 at libavcodec/ra144enc.c:480
169#1 0x000000000b429aae in avcodec_encode_audio2 (avctx=0x619000002380,
170 avpkt=0x60e000004fc0, frame=0x61600000a280, got_packet_ptr=0x7fffffffb480)
171 at libavcodec/encode.c:203
172#2 0x000000000b44ae2a in do_encode (avctx=<optimized out>,
173 frame=0x61600000a280, got_packet=0x7fffffffb480)
174 at libavcodec/encode.c:374
175#3 0x000000000b448ee7 in avcodec_send_frame (avctx=<optimized out>,
176 frame=0x61600000a280) at libavcodec/encode.c:420
177#4 0x00000000009f9437 in do_audio_out (of=0x60a000000180,
178 ost=0x616000007880, frame=<optimized out>) at fftools/ffmpeg.c:939
179#5 reap_filters (flush=0) at fftools/ffmpeg.c:1513
180#6 0x0000000000848299 in transcode_step () at fftools/ffmpeg.c:4648
181#7 transcode () at fftools/ffmpeg.c:4692
182#8 0x000000000081cf60 in main (argc=<optimized out>, argv=<optimized out>)
183 at fftools/ffmpeg.c:4894