| 1 | GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
|
|---|
| 2 | Copyright (C) 2018 Free Software Foundation, Inc.
|
|---|
| 3 | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
|
|---|
| 4 | This is free software: you are free to change and redistribute it.
|
|---|
| 5 | There is NO WARRANTY, to the extent permitted by law. Type "show copying"
|
|---|
| 6 | and "show warranty" for details.
|
|---|
| 7 | This GDB was configured as "x86_64-linux-gnu".
|
|---|
| 8 | Type "show configuration" for configuration details.
|
|---|
| 9 | For bug reporting instructions, please see:
|
|---|
| 10 | <http://www.gnu.org/software/gdb/bugs/>.
|
|---|
| 11 | Find the GDB manual and other documentation resources online at:
|
|---|
| 12 | <http://www.gnu.org/software/gdb/documentation/>.
|
|---|
| 13 | For help, type "help".
|
|---|
| 14 | Type "apropos word" to search for commands related to "word"...
|
|---|
| 15 | Reading symbols from ../ffmpeg/ffmpeg_g...done.
|
|---|
| 16 | (gdb) b lpc.h:189
|
|---|
| 17 | Breakpoint 1 at 0x3dd84d1: lpc.h:189. (2 locations)
|
|---|
| 18 | (gdb) ignore 1 20
|
|---|
| 19 | Will ignore next 20 crossings of breakpoint 1.
|
|---|
| 20 | (gdb) r
|
|---|
| 21 | Starting program: ffmpeg_g -t 2 -stream_loop 14 -y -i samples/hello/nsynth-valid/audio/guitar_acoustic_021-105-025.wav -loglevel 99 -map 0 -c copy -c:a:0 alac -disposition:s:8 vp8_v4l2m2m -disposition:s:8 pgmyuv -aframes 66 -ab 389k -ar 48000 -ac 1 -b:v 608k output/tmp.dts
|
|---|
| 22 | [Thread debugging using libthread_db enabled]
|
|---|
| 23 | Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
|
|---|
| 24 | ffmpeg version N-95160-g9fdc2c7bc4 Copyright (c) 2000-2019 the FFmpeg developers
|
|---|
| 25 | built with clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
|
|---|
| 26 | configuration: --cc=clang --cxx=clang++ --ld=clang --enable-debug --toolchain=clang-asan
|
|---|
| 27 | libavutil 56. 35.100 / 56. 35.100
|
|---|
| 28 | libavcodec 58. 59.101 / 58. 59.101
|
|---|
| 29 | libavformat 58. 33.100 / 58. 33.100
|
|---|
| 30 | libavdevice 58. 9.100 / 58. 9.100
|
|---|
| 31 | libavfilter 7. 59.100 / 7. 59.100
|
|---|
| 32 | libswscale 5. 6.100 / 5. 6.100
|
|---|
| 33 | libswresample 3. 6.100 / 3. 6.100
|
|---|
| 34 | Splitting the commandline.
|
|---|
| 35 | Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '2'.
|
|---|
| 36 | Reading option '-stream_loop' ... matched as option 'stream_loop' (set number of times input stream shall be looped) with argument '14'.
|
|---|
| 37 | Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
|
|---|
| 38 | Reading option '-i' ... matched as input url with argument 'samples/hello/nsynth-valid/audio/guitar_acoustic_021-105-025.wav'.
|
|---|
| 39 | Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
|
|---|
| 40 | Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0'.
|
|---|
| 41 | Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'.
|
|---|
| 42 | Reading option '-c:a:0' ... matched as option 'c' (codec name) with argument 'alac'.
|
|---|
| 43 | Reading option '-disposition:s:8' ... matched as option 'disposition' (disposition) with argument 'vp8_v4l2m2m'.
|
|---|
| 44 | Reading option '-disposition:s:8' ... matched as option 'disposition' (disposition) with argument 'pgmyuv'.
|
|---|
| 45 | Reading option '-aframes' ... matched as option 'aframes' (set the number of audio frames to output) with argument '66'.
|
|---|
| 46 | Reading option '-ab' ... matched as option 'ab' (audio bitrate (please use -b:a)) with argument '389k'.
|
|---|
| 47 | Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '48000'.
|
|---|
| 48 | Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '1'.
|
|---|
| 49 | Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '608k'.
|
|---|
| 50 | Reading option 'output/tmp.dts' ... matched as output url.
|
|---|
| 51 | Finished splitting the commandline.
|
|---|
| 52 | Parsing a group of options: global .
|
|---|
| 53 | Applying option y (overwrite output files) with argument 1.
|
|---|
| 54 | Applying option loglevel (set logging level) with argument 99.
|
|---|
| 55 | Successfully parsed a group of options.
|
|---|
| 56 | Parsing a group of options: input url samples/hello/nsynth-valid/audio/guitar_acoustic_021-105-025.wav.
|
|---|
| 57 | Applying option t (record or transcode "duration" seconds of audio/video) with argument 2.
|
|---|
| 58 | Applying option stream_loop (set number of times input stream shall be looped) with argument 14.
|
|---|
| 59 | Successfully parsed a group of options.
|
|---|
| 60 | Opening an input file: samples/hello/nsynth-valid/audio/guitar_acoustic_021-105-025.wav.
|
|---|
| 61 | [NULL @ 0x61b000000080] Opening 'samples/hello/nsynth-valid/audio/guitar_acoustic_021-105-025.wav' for reading
|
|---|
| 62 | [file @ 0x611000000400] Setting default whitelist 'file,crypto'
|
|---|
| 63 | Probing mp3 score:1 size:2048
|
|---|
| 64 | Probing wav score:99 size:2048
|
|---|
| 65 | [wav @ 0x61b000000080] Format wav probed with size=2048 and score=99
|
|---|
| 66 | [wav @ 0x61b000000080] Before avformat_find_stream_info() pos: 44 bytes read:65580 seeks:1 nb_streams:1
|
|---|
| 67 | [wav @ 0x61b000000080] probing stream 0 pp:32
|
|---|
| 68 | Probing mp3 score:1 size:4096
|
|---|
| 69 | [wav @ 0x61b000000080] Probe with size=4096, packets=2469 detected mp3 with score=1
|
|---|
| 70 | [wav @ 0x61b000000080] probing stream 0 pp:31
|
|---|
| 71 | Probing mp3 score:1 size:8192
|
|---|
| 72 | [wav @ 0x61b000000080] Probe with size=8192, packets=2470 detected mp3 with score=1
|
|---|
| 73 | [wav @ 0x61b000000080] probing stream 0 pp:30
|
|---|
| 74 | [wav @ 0x61b000000080] probing stream 0 pp:29
|
|---|
| 75 | [wav @ 0x61b000000080] probing stream 0 pp:28
|
|---|
| 76 | [wav @ 0x61b000000080] probing stream 0 pp:27
|
|---|
| 77 | [wav @ 0x61b000000080] probing stream 0 pp:26
|
|---|
| 78 | [wav @ 0x61b000000080] probing stream 0 pp:25
|
|---|
| 79 | [wav @ 0x61b000000080] probing stream 0 pp:24
|
|---|
| 80 | [wav @ 0x61b000000080] probing stream 0 pp:23
|
|---|
| 81 | [wav @ 0x61b000000080] probing stream 0 pp:22
|
|---|
| 82 | [wav @ 0x61b000000080] probing stream 0 pp:21
|
|---|
| 83 | [wav @ 0x61b000000080] probing stream 0 pp:20
|
|---|
| 84 | [wav @ 0x61b000000080] probing stream 0 pp:19
|
|---|
| 85 | [wav @ 0x61b000000080] probing stream 0 pp:18
|
|---|
| 86 | [wav @ 0x61b000000080] probing stream 0 pp:17
|
|---|
| 87 | [wav @ 0x61b000000080] probing stream 0 pp:16
|
|---|
| 88 | [wav @ 0x61b000000080] probing stream 0 pp:15
|
|---|
| 89 | [wav @ 0x61b000000080] probing stream 0 pp:14
|
|---|
| 90 | [wav @ 0x61b000000080] probing stream 0 pp:13
|
|---|
| 91 | [wav @ 0x61b000000080] probing stream 0 pp:12
|
|---|
| 92 | [wav @ 0x61b000000080] probing stream 0 pp:11
|
|---|
| 93 | [wav @ 0x61b000000080] probing stream 0 pp:10
|
|---|
| 94 | [wav @ 0x61b000000080] probing stream 0 pp:9
|
|---|
| 95 | [wav @ 0x61b000000080] probing stream 0 pp:8
|
|---|
| 96 | [wav @ 0x61b000000080] probing stream 0 pp:7
|
|---|
| 97 | [wav @ 0x61b000000080] probing stream 0 pp:6
|
|---|
| 98 | [wav @ 0x61b000000080] probing stream 0 pp:5
|
|---|
| 99 | [wav @ 0x61b000000080] probing stream 0 pp:4
|
|---|
| 100 | [wav @ 0x61b000000080] probing stream 0 pp:3
|
|---|
| 101 | [wav @ 0x61b000000080] probing stream 0 pp:2
|
|---|
| 102 | [wav @ 0x61b000000080] probing stream 0 pp:1
|
|---|
| 103 | [wav @ 0x61b000000080] probed stream 0
|
|---|
| 104 | [wav @ 0x61b000000080] parser not found for codec pcm_s16le, packets or times may be invalid.
|
|---|
| 105 | [wav @ 0x61b000000080] stream 0: start_time: -576460752303423.500 duration: 4.000
|
|---|
| 106 | [wav @ 0x61b000000080] format: start_time: -9223372036854.775 duration: 4.000 bitrate=256 kb/s
|
|---|
| 107 | [wav @ 0x61b000000080] After avformat_find_stream_info() pos: 128044 bytes read:193580 seeks:1 frames:32
|
|---|
| 108 | Guessed Channel Layout for Input Stream #0.0 : mono
|
|---|
| 109 | Input #0, wav, from 'samples/hello/nsynth-valid/audio/guitar_acoustic_021-105-025.wav':
|
|---|
| 110 | Duration: 00:00:04.00, bitrate: 256 kb/s
|
|---|
| 111 | Stream #0:0, 32, 1/16000: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
|
|---|
| 112 | Successfully opened the file.
|
|---|
| 113 | Parsing a group of options: output url output/tmp.dts.
|
|---|
| 114 | Applying option map (set input stream mapping) with argument 0.
|
|---|
| 115 | Applying option c (codec name) with argument copy.
|
|---|
| 116 | Applying option c:a:0 (codec name) with argument alac.
|
|---|
| 117 | Applying option disposition:s:8 (disposition) with argument vp8_v4l2m2m.
|
|---|
| 118 | Applying option disposition:s:8 (disposition) with argument pgmyuv.
|
|---|
| 119 | Applying option aframes (set the number of audio frames to output) with argument 66.
|
|---|
| 120 | Applying option ab (audio bitrate (please use -b:a)) with argument 389k.
|
|---|
| 121 | Applying option ar (set audio sampling rate (in Hz)) with argument 48000.
|
|---|
| 122 | Applying option ac (set number of audio channels) with argument 1.
|
|---|
| 123 | Applying option b:v (video bitrate (please use -b:v)) with argument 608k.
|
|---|
| 124 | Successfully parsed a group of options.
|
|---|
| 125 | Opening an output file: output/tmp.dts.
|
|---|
| 126 | [file @ 0x610000000640] Setting default whitelist 'file,crypto'
|
|---|
| 127 | Successfully opened the file.
|
|---|
| 128 | Stream mapping:
|
|---|
| 129 | Stream #0:0 -> #0:0 (pcm_s16le (native) -> alac (native))
|
|---|
| 130 | Press [q] to stop, [?] for help
|
|---|
| 131 | cur_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)
|
|---|
| 132 | detected 48 logical cores
|
|---|
| 133 | [New Thread 0x7ffff1732700 (LWP 8104)]
|
|---|
| 134 | [New Thread 0x7ffff0f31700 (LWP 8105)]
|
|---|
| 135 | [New Thread 0x7ffff0730700 (LWP 8106)]
|
|---|
| 136 | [New Thread 0x7fffeff2f700 (LWP 8107)]
|
|---|
| 137 | [New Thread 0x7fffef72e700 (LWP 8108)]
|
|---|
| 138 | [New Thread 0x7fffeef2d700 (LWP 8109)]
|
|---|
| 139 | [New Thread 0x7fffee72c700 (LWP 8110)]
|
|---|
| 140 | [New Thread 0x7fffedf2b700 (LWP 8111)]
|
|---|
| 141 | [New Thread 0x7fffed72a700 (LWP 8112)]
|
|---|
| 142 | [New Thread 0x7fffecf29700 (LWP 8113)]
|
|---|
| 143 | [New Thread 0x7fffec728700 (LWP 8114)]
|
|---|
| 144 | [New Thread 0x7fffebf27700 (LWP 8115)]
|
|---|
| 145 | [New Thread 0x7fffeb726700 (LWP 8116)]
|
|---|
| 146 | [New Thread 0x7fffeaf25700 (LWP 8117)]
|
|---|
| 147 | [New Thread 0x7fffea724700 (LWP 8118)]
|
|---|
| 148 | [New Thread 0x7fffe9f23700 (LWP 8119)]
|
|---|
| 149 | [New Thread 0x7fffe9722700 (LWP 8120)]
|
|---|
| 150 | [New Thread 0x7fffe8f21700 (LWP 8121)]
|
|---|
| 151 | [New Thread 0x7fffe8720700 (LWP 8122)]
|
|---|
| 152 | [New Thread 0x7fffe7f1f700 (LWP 8123)]
|
|---|
| 153 | [New Thread 0x7fffe771e700 (LWP 8124)]
|
|---|
| 154 | [New Thread 0x7fffe6f1d700 (LWP 8125)]
|
|---|
| 155 | [New Thread 0x7fffe671c700 (LWP 8126)]
|
|---|
| 156 | [New Thread 0x7fffe5f1b700 (LWP 8127)]
|
|---|
| 157 | [New Thread 0x7fffe571a700 (LWP 8128)]
|
|---|
| 158 | [New Thread 0x7fffe4f19700 (LWP 8129)]
|
|---|
| 159 | [New Thread 0x7fffe4718700 (LWP 8130)]
|
|---|
| 160 | [New Thread 0x7fffe3f17700 (LWP 8131)]
|
|---|
| 161 | [New Thread 0x7fffe3716700 (LWP 8132)]
|
|---|
| 162 | [New Thread 0x7fffe2f0d700 (LWP 8133)]
|
|---|
| 163 | [New Thread 0x7fffe26f6700 (LWP 8134)]
|
|---|
| 164 | [New Thread 0x7fffe1edf700 (LWP 8135)]
|
|---|
| 165 | [New Thread 0x7fffe16c8700 (LWP 8136)]
|
|---|
| 166 | [New Thread 0x7fffe0eb1700 (LWP 8137)]
|
|---|
| 167 | [New Thread 0x7fffe069a700 (LWP 8138)]
|
|---|
| 168 | [New Thread 0x7fffdfe83700 (LWP 8139)]
|
|---|
| 169 | [New Thread 0x7fffdf66c700 (LWP 8140)]
|
|---|
| 170 | [New Thread 0x7fffdee55700 (LWP 8141)]
|
|---|
| 171 | [New Thread 0x7fffde63e700 (LWP 8142)]
|
|---|
| 172 | [New Thread 0x7fffdde27700 (LWP 8143)]
|
|---|
| 173 | [New Thread 0x7fffdd610700 (LWP 8144)]
|
|---|
| 174 | [New Thread 0x7fffdcdf9700 (LWP 8145)]
|
|---|
| 175 | [New Thread 0x7fffdc5e2700 (LWP 8146)]
|
|---|
| 176 | [New Thread 0x7fffdbdcb700 (LWP 8147)]
|
|---|
| 177 | [New Thread 0x7fffdb5b4700 (LWP 8148)]
|
|---|
| 178 | [New Thread 0x7fffdad9d700 (LWP 8149)]
|
|---|
| 179 | [New Thread 0x7fffda586700 (LWP 8150)]
|
|---|
| 180 | [New Thread 0x7fffd9d6f700 (LWP 8151)]
|
|---|
| 181 | [graph_0_in_0_0 @ 0x611000001440] Setting 'time_base' to value '1/16000'
|
|---|
| 182 | [graph_0_in_0_0 @ 0x611000001440] Setting 'sample_rate' to value '16000'
|
|---|
| 183 | [graph_0_in_0_0 @ 0x611000001440] Setting 'sample_fmt' to value 's16'
|
|---|
| 184 | [graph_0_in_0_0 @ 0x611000001440] Setting 'channel_layout' to value '0x4'
|
|---|
| 185 | [graph_0_in_0_0 @ 0x611000001440] tb:1/16000 samplefmt:s16 samplerate:16000 chlayout:0x4
|
|---|
| 186 | [format_out_0_0 @ 0x611000001800] Setting 'sample_fmts' to value 's32p|s16p'
|
|---|
| 187 | [format_out_0_0 @ 0x611000001800] Setting 'sample_rates' to value '48000'
|
|---|
| 188 | [format_out_0_0 @ 0x611000001800] Setting 'channel_layouts' to value '0x4'
|
|---|
| 189 | [format_out_0_0 @ 0x611000001800] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_0'
|
|---|
| 190 | [AVFilterGraph @ 0x60e000004480] query_formats: 5 queried, 9 merged, 3 already done, 0 delayed
|
|---|
| 191 | [auto_resampler_0 @ 0x611000001940] picking s16p out of 2 ref:s16
|
|---|
| 192 | [auto_resampler_0 @ 0x611000001940] [SWR @ 0x632000060800] Using s16p internally between filters
|
|---|
| 193 | [auto_resampler_0 @ 0x611000001940] ch:1 chl:mono fmt:s16 r:16000Hz -> ch:1 chl:mono fmt:s16p r:48000Hz
|
|---|
| 194 | Output #0, dts, to 'output/tmp.dts':
|
|---|
| 195 | Metadata:
|
|---|
| 196 | encoder : Lavf58.33.100
|
|---|
| 197 | Stream #0:0, 0, 1/48000: Audio: alac, 48000 Hz, mono, s16p, 389 kb/s
|
|---|
| 198 | Metadata:
|
|---|
| 199 | encoder : Lavc58.59.101 alac
|
|---|
| 200 | libavcodec/lpc.h:189:15: runtime error: division by zero
|
|---|
| 201 | SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavcodec/lpc.h:189:15 in
|
|---|
| 202 |
|
|---|
| 203 | Thread 1 "ffmpeg_g" hit Breakpoint 1, compute_lpc_coefs (autoc=0x7fffffff74c8,
|
|---|
| 204 | lpc=<optimized out>, lpc_stride=32, fail=0, normalize=1,
|
|---|
| 205 | max_order=<optimized out>) at libavcodec/lpc.h:189
|
|---|
| 206 | 189 r /= err;
|
|---|
| 207 | (gdb) bt
|
|---|
| 208 | #0 compute_lpc_coefs (autoc=0x7fffffff74c8, lpc=<optimized out>, lpc_stride=32,
|
|---|
| 209 | fail=0, normalize=1, max_order=<optimized out>) at libavcodec/lpc.h:189
|
|---|
| 210 | #1 ff_lpc_calc_coefs (s=0x633000080980, samples=0x633000070830, blocksize=4096,
|
|---|
| 211 | min_order=4, max_order=6, precision=9, coefs=<optimized out>,
|
|---|
| 212 | shift=<optimized out>, lpc_type=<optimized out>, lpc_passes=2, omethod=0,
|
|---|
| 213 | min_shift=<optimized out>, max_shift=<optimized out>,
|
|---|
| 214 | zero_shift=<optimized out>) at libavcodec/lpc.c:232
|
|---|
| 215 | #2 0x00000000068f926e in calc_predictor_params (s=0x633000070800,
|
|---|
| 216 | ch=<optimized out>) at libavcodec/alacenc.c:169
|
|---|
| 217 | #3 write_element (s=0x633000070800, element=TYPE_SCE, instance=0,
|
|---|
| 218 | samples0=<optimized out>, samples1=0x0) at libavcodec/alacenc.c:423
|
|---|
| 219 | #4 0x00000000068f26c3 in write_frame (s=0x633000070800, avpkt=<optimized out>,
|
|---|
| 220 | samples=0x616000009c80) at libavcodec/alacenc.c:478
|
|---|
| 221 | #5 0x00000000068f0b4e in alac_encode_frame (avctx=0x619000002380,
|
|---|
| 222 | avpkt=<optimized out>, frame=<optimized out>, got_packet_ptr=0x7fffffffb3c0)
|
|---|
| 223 | at libavcodec/alacenc.c:640
|
|---|
| 224 | #6 0x000000000314964d in avcodec_encode_audio2 (avctx=0x619000002380,
|
|---|
| 225 | avpkt=0x60e000005180, frame=0x616000009c80, got_packet_ptr=0x7fffffffb3c0)
|
|---|
| 226 | at libavcodec/encode.c:203
|
|---|
| 227 | #7 0x0000000003151c20 in do_encode (avctx=<optimized out>, frame=0x616000009c80,
|
|---|
| 228 | got_packet=0x7fffffffb3c0) at libavcodec/encode.c:374
|
|---|
| 229 | #8 0x00000000031513ef in avcodec_send_frame (avctx=<optimized out>,
|
|---|
| 230 | frame=0x616000009c80) at libavcodec/encode.c:420
|
|---|
| 231 | #9 0x0000000000653b5d in do_audio_out (of=0x60a000000180, ost=0x616000007880,
|
|---|
| 232 | frame=<optimized out>) at fftools/ffmpeg.c:939
|
|---|
| 233 | #10 reap_filters (flush=0) at fftools/ffmpeg.c:1513
|
|---|
| 234 | #11 0x00000000005e73a3 in transcode_step () at fftools/ffmpeg.c:4648
|
|---|
| 235 | #12 transcode () at fftools/ffmpeg.c:4692
|
|---|
| 236 | #13 0x00000000005db65c in main (argc=<optimized out>, argv=<optimized out>)
|
|---|
| 237 | at fftools/ffmpeg.c:4894
|
|---|