| 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...done.
|
|---|
| 16 | (gdb) r
|
|---|
| 17 | Starting program: ffmpeg/ffmpeg_g -y -r 3 -i tmp.webm -map 0 -c:v zmbv -c:s adpcm_ms -disposition:a:86 vc2 -disposition:s prores_ks -vframes 52 -r 8 -ar 22050 -b:v 928 -strict 2 tmp/tmp_.nut
|
|---|
| 18 | [Thread debugging using libthread_db enabled]
|
|---|
| 19 | Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
|
|---|
| 20 | ffmpeg version N-94137-g89b96900fa Copyright (c) 2000-2019 the FFmpeg developers
|
|---|
| 21 | built with clang version 9.0.0 (https://github.com/llvm/llvm-project.git 442a120567a4bc6c59bc754f9edabfb770086f36)
|
|---|
| 22 | configuration: --cc=clang --cxx=clang++ --extra-cflags=-g --extra-cxxflags=-g --extra-ldflags='-fsanitize=address -g' --prefix=ffmpeg/install --enable-debug --toolchain=clang-asan
|
|---|
| 23 | libavutil 56. 30.100 / 56. 30.100
|
|---|
| 24 | libavcodec 58. 53.100 / 58. 53.100
|
|---|
| 25 | libavformat 58. 28.101 / 58. 28.101
|
|---|
| 26 | libavdevice 58. 7.100 / 58. 7.100
|
|---|
| 27 | libavfilter 7. 55.100 / 7. 55.100
|
|---|
| 28 | libswscale 5. 4.101 / 5. 4.101
|
|---|
| 29 | libswresample 3. 4.100 / 3. 4.100
|
|---|
| 30 | Input #0, matroska,webm, from 'tmp.webm':
|
|---|
| 31 | Metadata:
|
|---|
| 32 | encoder : Lavf53.17.0
|
|---|
| 33 | Duration: 00:00:05.57, start: 0.000000, bitrate: 329 kb/s
|
|---|
| 34 | Stream #0:0: Video: vp8, yuv420p(progressive), 560x320, SAR 1:1 DAR 7:4, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
|
|---|
| 35 | Stream #0:1(eng): Audio: vorbis, 48000 Hz, mono, fltp (default)
|
|---|
| 36 | [New Thread 0x7ffff025b700 (LWP 8902)]
|
|---|
| 37 | [New Thread 0x7fffefa5a700 (LWP 8903)]
|
|---|
| 38 | [New Thread 0x7fffef259700 (LWP 8904)]
|
|---|
| 39 | [New Thread 0x7fffeea58700 (LWP 8905)]
|
|---|
| 40 | [New Thread 0x7fffee257700 (LWP 8906)]
|
|---|
| 41 | [New Thread 0x7fffeda56700 (LWP 8907)]
|
|---|
| 42 | [New Thread 0x7fffed255700 (LWP 8908)]
|
|---|
| 43 | [New Thread 0x7fffeca54700 (LWP 8909)]
|
|---|
| 44 | [New Thread 0x7fffec253700 (LWP 8910)]
|
|---|
| 45 | [New Thread 0x7fffeba52700 (LWP 8911)]
|
|---|
| 46 | [New Thread 0x7fffeb251700 (LWP 8912)]
|
|---|
| 47 | [New Thread 0x7fffeaa50700 (LWP 8913)]
|
|---|
| 48 | [New Thread 0x7fffea24f700 (LWP 8914)]
|
|---|
| 49 | Stream mapping:
|
|---|
| 50 | Stream #0:0 -> #0:0 (vp8 (native) -> zmbv (native))
|
|---|
| 51 | Stream #0:1 -> #0:1 (vorbis (native) -> mp2 (native))
|
|---|
| 52 | Press [q] to stop, [?] for help
|
|---|
| 53 | [New Thread 0x7fffe9a4e700 (LWP 8916)]
|
|---|
| 54 | [New Thread 0x7fffe924d700 (LWP 8917)]
|
|---|
| 55 | [New Thread 0x7fffe8a4c700 (LWP 8918)]
|
|---|
| 56 | [New Thread 0x7fffe824b700 (LWP 8919)]
|
|---|
| 57 | [New Thread 0x7fffe7a4a700 (LWP 8920)]
|
|---|
| 58 | [New Thread 0x7fffe7249700 (LWP 8921)]
|
|---|
| 59 | [New Thread 0x7fffe6a32700 (LWP 8922)]
|
|---|
| 60 | [New Thread 0x7fffe621b700 (LWP 8923)]
|
|---|
| 61 | [New Thread 0x7fffe5a04700 (LWP 8924)]
|
|---|
| 62 | [New Thread 0x7fffe51ed700 (LWP 8925)]
|
|---|
| 63 | [New Thread 0x7fffe49d6700 (LWP 8926)]
|
|---|
| 64 | [New Thread 0x7fffe41bf700 (LWP 8927)]
|
|---|
| 65 | [New Thread 0x7fffe372c700 (LWP 8930)]
|
|---|
| 66 | [New Thread 0x7fffe2f15700 (LWP 8931)]
|
|---|
| 67 | [New Thread 0x7fffe26fe700 (LWP 8932)]
|
|---|
| 68 | [New Thread 0x7fffe1ee7700 (LWP 8933)]
|
|---|
| 69 | [New Thread 0x7fffe16d0700 (LWP 8934)]
|
|---|
| 70 | [New Thread 0x7fffe0eb9700 (LWP 8935)]
|
|---|
| 71 | [New Thread 0x7fffe06a2700 (LWP 8936)]
|
|---|
| 72 | [New Thread 0x7fffdfe8b700 (LWP 8937)]
|
|---|
| 73 | [New Thread 0x7fffdf674700 (LWP 8938)]
|
|---|
| 74 | [New Thread 0x7fffdee5d700 (LWP 8939)]
|
|---|
| 75 | [New Thread 0x7fffde646700 (LWP 8940)]
|
|---|
| 76 | [New Thread 0x7fffdde2f700 (LWP 8941)]
|
|---|
| 77 | [zmbv @ 0x619000015480] Bitrate 928 is extremely low, maybe you mean 928k
|
|---|
| 78 | The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
|
|---|
| 79 | Output #0, nut, to 'tmp/tmp_.nut':
|
|---|
| 80 | Metadata:
|
|---|
| 81 | encoder : Lavf58.28.101
|
|---|
| 82 | Stream #0:0: Video: zmbv (ZMBV / 0x56424D5A), bgr0, 560x320 [SAR 1:1 DAR 7:4], q=2-31, 0 kb/s, 8 fps, 65536 tbn, 8 tbc (default)
|
|---|
| 83 | Metadata:
|
|---|
| 84 | encoder : Lavc58.53.100 zmbv
|
|---|
| 85 | Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 22050 Hz, mono, s16, 160 kb/s (default)
|
|---|
| 86 | Metadata:
|
|---|
| 87 | X-Language : eng
|
|---|
| 88 | encoder : Lavc58.53.100 mp2
|
|---|
| 89 | libavformat/nutenc.c:794:27: runtime error: null pointer passed as argument 2, which is declared to never be null
|
|---|
| 90 | /usr/include/string.h:64:33: note: nonnull attribute specified here
|
|---|
| 91 | SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavformat/nutenc.c:794:27 in
|
|---|
| 92 | =================================================================
|
|---|
| 93 | ==8843==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7fffdd32e7f0 at pc 0x00000632b075 bp 0x7fffffffa2d0 sp 0x7fffffffa2c8
|
|---|
| 94 | READ of size 1 at 0x7fffdd32e7f0 thread T0
|
|---|
| 95 | #0 0x632b074 in block_cmp ffmpeg/libavcodec/zmbvenc.c:97:30
|
|---|
| 96 | #1 0x63249cb in zmbv_me ffmpeg/libavcodec/zmbvenc.c:153:18
|
|---|
| 97 | #2 0x63249cb in encode_frame ffmpeg/libavcodec/zmbvenc.c:242
|
|---|
| 98 | #3 0x3036600 in avcodec_encode_video2 ffmpeg/libavcodec/encode.c:296:11
|
|---|
| 99 | #4 0x303979e in do_encode ffmpeg/libavcodec/encode.c:365:15
|
|---|
| 100 | #5 0x3038e7a in avcodec_send_frame ffmpeg/libavcodec/encode.c:414:12
|
|---|
| 101 | #6 0x631f2a in do_video_out ffmpeg/fftools/ffmpeg.c:1287:15
|
|---|
| 102 | #7 0x629ae0 in reap_filters ffmpeg/fftools/ffmpeg.c:1504:17
|
|---|
| 103 | #8 0x5bd503 in transcode_step ffmpeg/fftools/ffmpeg.c:4648:12
|
|---|
| 104 | #9 0x5bd503 in transcode ffmpeg/fftools/ffmpeg.c:4692
|
|---|
| 105 | #10 0x5b2c0b in main ffmpeg/fftools/ffmpeg.c:4894:9
|
|---|
| 106 | #11 0x7ffff4fb2b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
|
|---|
| 107 | #12 0x41fb39 in _start (ffmpeg/ffmpeg_g+0x41fb39)
|
|---|
| 108 |
|
|---|
| 109 | 0x7fffdd32e7f0 is located 16 bytes to the left of 763424-byte region [0x7fffdd32e800,0x7fffdd3e8e20)
|
|---|
| 110 | allocated by thread T0 here:
|
|---|
| 111 | #0 0x4ad2ad in posix_memalign opt/llvm/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cc:226
|
|---|
| 112 | #1 0x8334fc5 in av_malloc ffmpeg/libavutil/mem.c:87:9
|
|---|
| 113 | #2 0x8334fc5 in av_mallocz ffmpeg/libavutil/mem.c:238
|
|---|
| 114 | #3 0x6320250 in encode_init ffmpeg/libavcodec/zmbvenc.c:413:25
|
|---|
| 115 |
|
|---|
| 116 | SUMMARY: AddressSanitizer: heap-buffer-overflow ffmpeg/libavcodec/zmbvenc.c:97:30 in block_cmp
|
|---|
| 117 | Shadow bytes around the buggy address:
|
|---|
| 118 | 0x10007ba5dca0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
|---|
| 119 | 0x10007ba5dcb0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
|---|
| 120 | 0x10007ba5dcc0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
|---|
| 121 | 0x10007ba5dcd0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
|---|
| 122 | 0x10007ba5dce0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
|---|
| 123 | =>0x10007ba5dcf0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa[fa]fa
|
|---|
| 124 | 0x10007ba5dd00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|---|
| 125 | 0x10007ba5dd10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|---|
| 126 | 0x10007ba5dd20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|---|
| 127 | 0x10007ba5dd30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|---|
| 128 | 0x10007ba5dd40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|---|
| 129 | Shadow byte legend (one shadow byte represents 8 application bytes):
|
|---|
| 130 | Addressable: 00
|
|---|
| 131 | Partially addressable: 01 02 03 04 05 06 07
|
|---|
| 132 | Heap left redzone: fa
|
|---|
| 133 | Freed heap region: fd
|
|---|
| 134 | Stack left redzone: f1
|
|---|
| 135 | Stack mid redzone: f2
|
|---|
| 136 | Stack right redzone: f3
|
|---|
| 137 | Stack after return: f5
|
|---|
| 138 | Stack use after scope: f8
|
|---|
| 139 | Global redzone: f9
|
|---|
| 140 | Global init order: f6
|
|---|
| 141 | Poisoned by user: f7
|
|---|
| 142 | Container overflow: fc
|
|---|
| 143 | Array cookie: ac
|
|---|
| 144 | Intra object redzone: bb
|
|---|
| 145 | ASan internal: fe
|
|---|
| 146 | Left alloca redzone: ca
|
|---|
| 147 | Right alloca redzone: cb
|
|---|
| 148 | Shadow gap: cc
|
|---|
| 149 | ==8843==ABORTING
|
|---|
| 150 | [Thread 0x7fffde646700 (LWP 8940) exited]
|
|---|
| 151 | [Thread 0x7fffdee5d700 (LWP 8939) exited]
|
|---|
| 152 | [Thread 0x7fffdf674700 (LWP 8938) exited]
|
|---|
| 153 | [Thread 0x7fffdfe8b700 (LWP 8937) exited]
|
|---|
| 154 | [Thread 0x7fffe06a2700 (LWP 8936) exited]
|
|---|
| 155 | [Thread 0x7fffe0eb9700 (LWP 8935) exited]
|
|---|
| 156 | [Thread 0x7fffe16d0700 (LWP 8934) exited]
|
|---|
| 157 | [Thread 0x7fffe1ee7700 (LWP 8933) exited]
|
|---|
| 158 | [Thread 0x7fffe2f15700 (LWP 8931) exited]
|
|---|
| 159 | [Thread 0x7fffe372c700 (LWP 8930) exited]
|
|---|
| 160 | [Thread 0x7fffe41bf700 (LWP 8927) exited]
|
|---|
| 161 | [Thread 0x7fffe49d6700 (LWP 8926) exited]
|
|---|
| 162 | [Thread 0x7fffe51ed700 (LWP 8925) exited]
|
|---|
| 163 | [Thread 0x7fffe621b700 (LWP 8923) exited]
|
|---|
| 164 | [Thread 0x7fffe6a32700 (LWP 8922) exited]
|
|---|
| 165 | [Thread 0x7fffe7249700 (LWP 8921) exited]
|
|---|
| 166 | [Thread 0x7fffe7a4a700 (LWP 8920) exited]
|
|---|
| 167 | [Thread 0x7fffe8a4c700 (LWP 8918) exited]
|
|---|
| 168 | [Thread 0x7fffe924d700 (LWP 8917) exited]
|
|---|
| 169 | [Thread 0x7fffe9a4e700 (LWP 8916) exited]
|
|---|
| 170 | [Thread 0x7fffea24f700 (LWP 8914) exited]
|
|---|
| 171 | [Thread 0x7fffeaa50700 (LWP 8913) exited]
|
|---|
| 172 | [Thread 0x7fffeb251700 (LWP 8912) exited]
|
|---|
| 173 | [Thread 0x7fffeba52700 (LWP 8911) exited]
|
|---|
| 174 | [Thread 0x7fffec253700 (LWP 8910) exited]
|
|---|
| 175 | [Thread 0x7fffeca54700 (LWP 8909) exited]
|
|---|
| 176 | [Thread 0x7fffeda56700 (LWP 8907) exited]
|
|---|
| 177 | [Thread 0x7fffee257700 (LWP 8906) exited]
|
|---|
| 178 | [Thread 0x7fffeea58700 (LWP 8905) exited]
|
|---|
| 179 | [Thread 0x7fffef259700 (LWP 8904) exited]
|
|---|
| 180 | [Thread 0x7fffefa5a700 (LWP 8903) exited]
|
|---|
| 181 | [Thread 0x7ffff025b700 (LWP 8902) exited]
|
|---|
| 182 | [Thread 0x7fffdde2f700 (LWP 8941) exited]
|
|---|
| 183 | [Thread 0x7fffe5a04700 (LWP 8924) exited]
|
|---|
| 184 | [Thread 0x7fffe824b700 (LWP 8919) exited]
|
|---|
| 185 | [Thread 0x7fffed255700 (LWP 8908) exited]
|
|---|
| 186 | [Thread 0x7ffff7fad780 (LWP 8843) exited]
|
|---|
| 187 | [Inferior 1 (process 8843) exited with code 01]
|
|---|
| 188 | (gdb) bt
|
|---|
| 189 | No stack.
|
|---|
| 190 | (gdb) disass $pc-32,$pc+32
|
|---|
| 191 | No registers.
|
|---|
| 192 | (gdb) info all-registers
|
|---|
| 193 | The program has no registers now.
|
|---|
| 194 |
|
|---|