| 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_g...r
|
|---|
| 16 | done.
|
|---|
| 17 | (gdb) r
|
|---|
| 18 | Starting program: ffmpeg/ffmpeg_g -y -r 30 -i tmp/tmp.wmv -map 0 -c:a pcm_s64le -c:v zmbv -disposition:s:15 comfortnoise -disposition:s:3 aptx -vframes 14 -level 3 -b:v 718 tmp_/tmp_.asf
|
|---|
| 19 | [Thread debugging using libthread_db enabled]
|
|---|
| 20 | Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
|
|---|
| 21 | ffmpeg version N-94185-gca576833e4 Copyright (c) 2000-2019 the FFmpeg developers
|
|---|
| 22 | built with clang version 9.0.0 (https://github.com/llvm/llvm-project.git 442a120567a4bc6c59bc754f9edabfb770086f36)
|
|---|
| 23 | configuration: --cc=clang --cxx=clang++ --prefix=ffmpeg/install --enable-debug --toolchain=clang-asan
|
|---|
| 24 | libavutil 56. 30.100 / 56. 30.100
|
|---|
| 25 | libavcodec 58. 53.101 / 58. 53.101
|
|---|
| 26 | libavformat 58. 28.101 / 58. 28.101
|
|---|
| 27 | libavdevice 58. 7.100 / 58. 7.100
|
|---|
| 28 | libavfilter 7. 56.101 / 7. 56.101
|
|---|
| 29 | libswscale 5. 4.101 / 5. 4.101
|
|---|
| 30 | libswresample 3. 4.100 / 3. 4.100
|
|---|
| 31 | Guessed Channel Layout for Input Stream #0.1 : mono
|
|---|
| 32 | Input #0, asf, from 'tmp/tmp.wmv':
|
|---|
| 33 | Metadata:
|
|---|
| 34 | encoder : Lavf57.66.105
|
|---|
| 35 | Duration: 00:00:05.63, start: 0.000000, bitrate: 647 kb/s
|
|---|
| 36 | Stream #0:0: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 560x320, SAR 1:1 DAR 7:4, 30 fps, 30 tbr, 1k tbn, 1k tbc
|
|---|
| 37 | Stream #0:1(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, mono, fltp, 128 kb/s
|
|---|
| 38 | Stream mapping:
|
|---|
| 39 | Stream #0:0 -> #0:0 (wmv2 (native) -> zmbv (native))
|
|---|
| 40 | Stream #0:1 -> #0:1 (wmav2 (native) -> pcm_s64le (native))
|
|---|
| 41 | Press [q] to stop, [?] for help
|
|---|
| 42 | [New Thread 0x7ffff025a700 (LWP 20539)]
|
|---|
| 43 | [New Thread 0x7fffefa59700 (LWP 20540)]
|
|---|
| 44 | [New Thread 0x7fffef258700 (LWP 20541)]
|
|---|
| 45 | [New Thread 0x7fffeea57700 (LWP 20542)]
|
|---|
| 46 | [New Thread 0x7fffee256700 (LWP 20543)]
|
|---|
| 47 | [New Thread 0x7fffeda55700 (LWP 20544)]
|
|---|
| 48 | [New Thread 0x7fffed254700 (LWP 20545)]
|
|---|
| 49 | [New Thread 0x7fffeca53700 (LWP 20546)]
|
|---|
| 50 | [New Thread 0x7fffec252700 (LWP 20547)]
|
|---|
| 51 | [New Thread 0x7fffeba51700 (LWP 20549)]
|
|---|
| 52 | [New Thread 0x7fffeb250700 (LWP 20550)]
|
|---|
| 53 | [New Thread 0x7fffeaa4f700 (LWP 20551)]
|
|---|
| 54 | libswresample/audioconvert.c:81:1: runtime error: left shift of 1 by 63 places cannot be represented in type 'long'
|
|---|
| 55 | SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libswresample/audioconvert.c:81:1 in
|
|---|
| 56 | libswresample/audioconvert.c:81:1: runtime error: left shift of 1 by 63 places cannot be represented in type 'long'
|
|---|
| 57 | SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libswresample/audioconvert.c:81:1 in
|
|---|
| 58 | libswresample/audioconvert.c:81:1: runtime error: left shift of 1 by 63 places cannot be represented in type 'long'
|
|---|
| 59 | SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libswresample/audioconvert.c:81:1 in
|
|---|
| 60 | libswresample/audioconvert.c:81:1: runtime error: left shift of 1 by 63 places cannot be represented in type 'long'
|
|---|
| 61 | SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libswresample/audioconvert.c:81:1 in
|
|---|
| 62 | [New Thread 0x7fffe9eff700 (LWP 20568)]
|
|---|
| 63 | [New Thread 0x7fffe96fe700 (LWP 20569)]
|
|---|
| 64 | [New Thread 0x7fffe8efd700 (LWP 20570)]
|
|---|
| 65 | [New Thread 0x7fffe86fc700 (LWP 20571)]
|
|---|
| 66 | [New Thread 0x7fffe7efb700 (LWP 20573)]
|
|---|
| 67 | [New Thread 0x7fffe76fa700 (LWP 20574)]
|
|---|
| 68 | [New Thread 0x7fffe6ef9700 (LWP 20575)]
|
|---|
| 69 | [New Thread 0x7fffe66f8700 (LWP 20576)]
|
|---|
| 70 | [New Thread 0x7fffe5ef7700 (LWP 20577)]
|
|---|
| 71 | [New Thread 0x7fffe56f6700 (LWP 20578)]
|
|---|
| 72 | [New Thread 0x7fffe4ef5700 (LWP 20579)]
|
|---|
| 73 | [New Thread 0x7fffe46f4700 (LWP 20580)]
|
|---|
| 74 | [zmbv @ 0x619000007380] Bitrate 718 is extremely low, maybe you mean 718k
|
|---|
| 75 | The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
|
|---|
| 76 | Output #0, asf, to 'tmp_/tmp_.asf':
|
|---|
| 77 | Metadata:
|
|---|
| 78 | WM/EncodingSettings: Lavf58.28.101
|
|---|
| 79 | Stream #0:0: Video: zmbv (ZMBV / 0x56424D5A), bgr0, 560x320 [SAR 1:1 DAR 7:4], q=2-31, 0 kb/s, 30 fps, 1k tbn, 30 tbc
|
|---|
| 80 | Metadata:
|
|---|
| 81 | encoder : Lavc58.53.101 zmbv
|
|---|
| 82 | Stream #0:1(eng): Audio: pcm_s64le ([1][0][0][0] / 0x0001), 48000 Hz, mono, s64, 3072 kb/s
|
|---|
| 83 | Metadata:
|
|---|
| 84 | encoder : Lavc58.53.101 pcm_s64le
|
|---|
| 85 | =================================================================
|
|---|
| 86 | ==20322==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7fffe3c097f0 at pc 0x000006333d15 bp 0x7fffffffa2b0 sp 0x7fffffffa2a8
|
|---|
| 87 | READ of size 1 at 0x7fffe3c097f0 thread T0
|
|---|
| 88 | #0 0x6333d14 in block_cmp ffmpeg/libavcodec/zmbvenc.c:97:30
|
|---|
| 89 | #1 0x632d66b in zmbv_me ffmpeg/libavcodec/zmbvenc.c:153:18
|
|---|
| 90 | #2 0x632d66b in encode_frame ffmpeg/libavcodec/zmbvenc.c:242
|
|---|
| 91 | #3 0x303efe0 in avcodec_encode_video2 ffmpeg/libavcodec/encode.c:296:11
|
|---|
| 92 | #4 0x304217e in do_encode ffmpeg/libavcodec/encode.c:365:15
|
|---|
| 93 | #5 0x304185a in avcodec_send_frame ffmpeg/libavcodec/encode.c:414:12
|
|---|
| 94 | #6 0x63230a in do_video_out ffmpeg/fftools/ffmpeg.c:1287:15
|
|---|
| 95 | #7 0x629ec0 in reap_filters ffmpeg/fftools/ffmpeg.c:1504:17
|
|---|
| 96 | #8 0x5bd8e3 in transcode_step ffmpeg/fftools/ffmpeg.c:4648:12
|
|---|
| 97 | #9 0x5bd8e3 in transcode ffmpeg/fftools/ffmpeg.c:4692
|
|---|
| 98 | #10 0x5b2feb in main ffmpeg/fftools/ffmpeg.c:4894:9
|
|---|
| 99 | #11 0x7ffff4fb2b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
|
|---|
| 100 | #12 0x41fb39 in _start (ffmpeg/ffmpeg_g+0x41fb39)
|
|---|
| 101 |
|
|---|
| 102 | 0x7fffe3c097f0 is located 16 bytes to the left of 763424-byte region [0x7fffe3c09800,0x7fffe3cc3e20)
|
|---|
| 103 | allocated by thread T0 here:
|
|---|
| 104 | #0 0x4ad2ad in posix_memalign opt/llvm/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cc:226
|
|---|
| 105 | #1 0x833d8b5 in av_malloc ffmpeg/libavutil/mem.c:87:9
|
|---|
| 106 | #2 0x833d8b5 in av_mallocz ffmpeg/libavutil/mem.c:238
|
|---|
| 107 | #3 0x6328ef0 in encode_init ffmpeg/libavcodec/zmbvenc.c:413:25
|
|---|
| 108 |
|
|---|
| 109 | SUMMARY: AddressSanitizer: heap-buffer-overflow ffmpeg/libavcodec/zmbvenc.c:97:30 in block_cmp
|
|---|
| 110 | Shadow bytes around the buggy address:
|
|---|
| 111 | 0x10007c7792a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
|---|
| 112 | 0x10007c7792b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
|---|
| 113 | 0x10007c7792c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
|---|
| 114 | 0x10007c7792d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
|---|
| 115 | 0x10007c7792e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
|---|
| 116 | =>0x10007c7792f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa[fa]fa
|
|---|
| 117 | 0x10007c779300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|---|
| 118 | 0x10007c779310: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|---|
| 119 | 0x10007c779320: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|---|
| 120 | 0x10007c779330: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|---|
| 121 | 0x10007c779340: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|---|
| 122 | Shadow byte legend (one shadow byte represents 8 application bytes):
|
|---|
| 123 | Addressable: 00
|
|---|
| 124 | Partially addressable: 01 02 03 04 05 06 07
|
|---|
| 125 | Heap left redzone: fa
|
|---|
| 126 | Freed heap region: fd
|
|---|
| 127 | Stack left redzone: f1
|
|---|
| 128 | Stack mid redzone: f2
|
|---|
| 129 | Stack right redzone: f3
|
|---|
| 130 | Stack after return: f5
|
|---|
| 131 | Stack use after scope: f8
|
|---|
| 132 | Global redzone: f9
|
|---|
| 133 | Global init order: f6
|
|---|
| 134 | Poisoned by user: f7
|
|---|
| 135 | Container overflow: fc
|
|---|
| 136 | Array cookie: ac
|
|---|
| 137 | Intra object redzone: bb
|
|---|
| 138 | ASan internal: fe
|
|---|
| 139 | Left alloca redzone: ca
|
|---|
| 140 | Right alloca redzone: cb
|
|---|
| 141 | Shadow gap: cc
|
|---|
| 142 | ==20322==ABORTING
|
|---|
| 143 | [Thread 0x7fffe4ef5700 (LWP 20579) exited]
|
|---|
| 144 | [Thread 0x7fffe56f6700 (LWP 20578) exited]
|
|---|
| 145 | [Thread 0x7fffe5ef7700 (LWP 20577) exited]
|
|---|
| 146 | [Thread 0x7fffe66f8700 (LWP 20576) exited]
|
|---|
| 147 | [Thread 0x7fffe6ef9700 (LWP 20575) exited]
|
|---|
| 148 | [Thread 0x7fffe76fa700 (LWP 20574) exited]
|
|---|
| 149 | [Thread 0x7fffe7efb700 (LWP 20573) exited]
|
|---|
| 150 | [Thread 0x7fffe86fc700 (LWP 20571) exited]
|
|---|
| 151 | [Thread 0x7fffe8efd700 (LWP 20570) exited]
|
|---|
| 152 | [Thread 0x7fffe96fe700 (LWP 20569) exited]
|
|---|
| 153 | [Thread 0x7fffe9eff700 (LWP 20568) exited]
|
|---|
| 154 | [Thread 0x7fffeaa4f700 (LWP 20551) exited]
|
|---|
| 155 | [Thread 0x7fffeb250700 (LWP 20550) exited]
|
|---|
| 156 | [Thread 0x7fffeba51700 (LWP 20549) exited]
|
|---|
| 157 | [Thread 0x7fffec252700 (LWP 20547) exited]
|
|---|
| 158 | [Thread 0x7fffeca53700 (LWP 20546) exited]
|
|---|
| 159 | [Thread 0x7fffed254700 (LWP 20545) exited]
|
|---|
| 160 | [Thread 0x7fffeda55700 (LWP 20544) exited]
|
|---|
| 161 | [Thread 0x7fffee256700 (LWP 20543) exited]
|
|---|
| 162 | [Thread 0x7fffeea57700 (LWP 20542) exited]
|
|---|
| 163 | [Thread 0x7fffef258700 (LWP 20541) exited]
|
|---|
| 164 | [Thread 0x7fffefa59700 (LWP 20540) exited]
|
|---|
| 165 | [Thread 0x7ffff025a700 (LWP 20539) exited]
|
|---|
| 166 | [Thread 0x7fffe46f4700 (LWP 20580) exited]
|
|---|
| 167 | [Inferior 1 (process 20322) exited with code 01]
|
|---|
| 168 | (gdb) bt
|
|---|
| 169 | No stack.
|
|---|
| 170 | (gdb) disass $pc-32,$pc+32
|
|---|
| 171 | No registers.
|
|---|
| 172 | (gdb) info all-registers
|
|---|
| 173 | The program has no registers now.
|
|---|
| 174 |
|
|---|