Ticket #7981: gdb_log_7981

File gdb_log_7981, 15.6 KB (added by Suhwan, 7 years ago)
Line 
1GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
2Copyright (C) 2018 Free Software Foundation, Inc.
3License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
4This is free software: you are free to change and redistribute it.
5There is NO WARRANTY, to the extent permitted by law. Type "show copying"
6and "show warranty" for details.
7This GDB was configured as "x86_64-linux-gnu".
8Type "show configuration" for configuration details.
9For bug reporting instructions, please see:
10<http://www.gnu.org/software/gdb/bugs/>.
11Find the GDB manual and other documentation resources online at:
12<http://www.gnu.org/software/gdb/documentation/>.
13For help, type "help".
14Type "apropos word" to search for commands related to "word"...
15Reading symbols from ./ffmpeg_g...done.
16(gdb) r
17Starting program: ffmpeg/ffmpeg_g -t 0 -stream_loop 20 -y -r 49 -i tmp.avi -map 0 -c:v v408 -c:s:8 pcm_s8 -disposition:a cinepak -disposition:v:109 ffv1 -aframes 38 -ar 48000 -b:v 627 tmp/tmp_.adx
18[Thread debugging using libthread_db enabled]
19Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
20ffmpeg 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
30Input #0, avi, from 'tmp.avi':
31 Duration: 00:00:03.14, start: 0.000000, bitrate: 736 kb/s
32 Stream #0:0: Video: indeo4 (IV41 / 0x31345649), yuv410p, 256x240, 731 kb/s, 35 fps, 35 tbr, 35 tbn, 35 tbc
33Stream mapping:
34 Stream #0:0 -> #0:0 (indeo4 (native) -> v408 (native))
35Press [q] to stop, [?] for help
36[New Thread 0x7ffff025b700 (LWP 31041)]
37[New Thread 0x7fffefa5a700 (LWP 31042)]
38[New Thread 0x7fffef259700 (LWP 31044)]
39[New Thread 0x7fffeea58700 (LWP 31045)]
40[New Thread 0x7fffee257700 (LWP 31046)]
41[New Thread 0x7fffeda56700 (LWP 31047)]
42[New Thread 0x7fffed255700 (LWP 31048)]
43[New Thread 0x7fffeca54700 (LWP 31049)]
44[New Thread 0x7fffec253700 (LWP 31050)]
45[New Thread 0x7fffeba52700 (LWP 31051)]
46[New Thread 0x7fffeb251700 (LWP 31052)]
47[New Thread 0x7fffeaa50700 (LWP 31053)]
48libavcodec/frame_thread_encoder.c:213:20: runtime error: null pointer passed as argument 1, which is declared to never be null
49/usr/include/string.h:43:28: note: nonnull attribute specified here
50SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavcodec/frame_thread_encoder.c:213:20 in
51libavcodec/frame_thread_encoder.c:213:45: runtime error: null pointer passed as argument 2, which is declared to never be null
52/usr/include/string.h:43:28: note: nonnull attribute specified here
53SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavcodec/frame_thread_encoder.c:213:45 in
54[v408 @ 0x619000005a80] Bitrate 627 is extremely low, maybe you mean 627k
55[New Thread 0x7fffe9eff700 (LWP 31104)]
56[v408 @ 0x619000005f80] Bitrate 627 is extremely low, maybe you mean 627k
57[New Thread 0x7fffe96fe700 (LWP 31105)]
58[v408 @ 0x619000006480] Bitrate 627 is extremely low, maybe you mean 627k
59[New Thread 0x7fffe8efd700 (LWP 31106)]
60[v408 @ 0x619000006980] Bitrate 627 is extremely low, maybe you mean 627k
61[New Thread 0x7fffe86fc700 (LWP 31107)]
62[v408 @ 0x619000006e80] Bitrate 627 is extremely low, maybe you mean 627k
63[New Thread 0x7fffe7efb700 (LWP 31108)]
64[v408 @ 0x619000007380] Bitrate 627 is extremely low, maybe you mean 627k
65[New Thread 0x7fffe76fa700 (LWP 31109)]
66[v408 @ 0x619000007880] Bitrate 627 is extremely low, maybe you mean 627k
67[New Thread 0x7fffe6ef9700 (LWP 31110)]
68[v408 @ 0x619000007d80] Bitrate 627 is extremely low, maybe you mean 627k
69[New Thread 0x7fffe66f8700 (LWP 31111)]
70[v408 @ 0x619000008280] Bitrate 627 is extremely low, maybe you mean 627k
71[New Thread 0x7fffe5ef7700 (LWP 31112)]
72[v408 @ 0x619000008780] Bitrate 627 is extremely low, maybe you mean 627k
73[New Thread 0x7fffe56f6700 (LWP 31113)]
74[v408 @ 0x619000008c80] Bitrate 627 is extremely low, maybe you mean 627k
75[New Thread 0x7fffe4ef5700 (LWP 31114)]
76[v408 @ 0x619000009180] Bitrate 627 is extremely low, maybe you mean 627k
77[New Thread 0x7fffe46f4700 (LWP 31115)]
78[v408 @ 0x619000002880] Bitrate 627 is extremely low, maybe you mean 627k
79Output #0, adx, to 'tmp/tmp_.adx':
80 Metadata:
81 encoder : Lavf58.28.101
82 Stream #0:0: Video: v408, yuva444p, 256x240, q=2-31, 96337 kb/s, 49 fps, 49 tbn, 49 tbc
83 Metadata:
84 encoder : Lavc58.53.100 v408
85libavformat/rawenc.c:70:50: runtime error: division by zero bitrate=96304.1kbits/s speed=2.14x
86SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavformat/rawenc.c:70:50 in
87
88Thread 1 "ffmpeg_g" received signal SIGFPE, Arithmetic exception.
890x000000000240b81e in adx_write_trailer (s=<optimized out>) at libavformat/rawenc.c:70
9070 uint64_t sample_count = (file_size - 36) / par->channels / 18 * 32;
91(gdb) bt
92#0 0x000000000240b81e in adx_write_trailer (s=<optimized out>) at libavformat/rawenc.c:70
93#1 0x0000000002242fa6 in av_write_trailer (s=0x61b000001580) at libavformat/mux.c:1283
94#2 0x00000000005c553a in transcode () at fftools/ffmpeg.c:4726
95#3 0x00000000005b2c0c in main (argc=<optimized out>, argv=<optimized out>) at fftools/ffmpeg.c:4894
96(gdb) disass $pc-32,$pc+32
97Dump of assembler code from 0x240b7fe to 0x240b83e:
98 0x000000000240b7fe <adx_write_trailer+926>: test %r13,%r13
99 0x000000000240b801 <adx_write_trailer+929>: je 0x240bab8 <adx_write_trailer+1624>
100 0x000000000240b807 <adx_write_trailer+935>: test %al,%al
101 0x000000000240b809 <adx_write_trailer+937>: je 0x240bab8 <adx_write_trailer+1624>
102 0x000000000240b80f <adx_write_trailer+943>: mov $0xb280f20,%edi
103 0x000000000240b814 <adx_write_trailer+948>: callq 0x4dc3f0 <__sanitizer_cov_trace_pc_guard(__sanitizer::u32*)>
104 0x000000000240b819 <adx_write_trailer+953>: mov %r12,%rax
105 0x000000000240b81c <adx_write_trailer+956>: cqto
106=> 0x000000000240b81e <adx_write_trailer+958>: idiv %r13
107 0x000000000240b821 <adx_write_trailer+961>: movabs $0xe38e38e38e38e39,%rcx
108 0x000000000240b82b <adx_write_trailer+971>: imul %rcx
109 0x000000000240b82e <adx_write_trailer+974>: mov %rdx,%rbx
110 0x000000000240b831 <adx_write_trailer+977>: shr $0x3f,%rbx
111 0x000000000240b835 <adx_write_trailer+981>: add %rdx,%rbx
112 0x000000000240b838 <adx_write_trailer+984>: imul $0x20,%rbx,%r12
113 0x000000000240b83c <adx_write_trailer+988>: jo 0x240ba7b <adx_write_trailer+1563>
114End of assembler dump.
115(gdb) info all-registers
116rax 0x21d67fdc 567705564
117rbx 0xffffffffffffffff -1
118rcx 0x7fffffffb7e0 140737488336864
119rdx 0x0 0
120rsi 0x7fffffffb7e0 140737488336864
121rdi 0x7fffffffb851 140737488336977
122rbp 0xffffffffffffffff 0xffffffffffffffff
123rsp 0x7fffffffbae0 0x7fffffffbae0
124r8 0x6a6cb03abcebc041 7668698031829270593
125r9 0x0 0
126r10 0x7ffff1a7a2e4 140737247683300
127r11 0x206 518
128r12 0x21d67fdc 567705564
129r13 0x0 0
130r14 0x613000000200 106858786324992
131r15 0x21d68000 567705600
132rip 0x240b81e 0x240b81e <adx_write_trailer+958>
133eflags 0x10202 [ IF RF ]
134cs 0x33 51
135ss 0x2b 43
136ds 0x0 0
137es 0x0 0
138fs 0x0 0
139gs 0x0 0
140st0 0 (raw 0x00000000000000000000)
141st1 0 (raw 0x00000000000000000000)
142st2 0 (raw 0x00000000000000000000)
143st3 0 (raw 0x00000000000000000000)
144st4 0 (raw 0x00000000000000000000)
145st5 0 (raw 0x00000000000000000000)
146st6 0 (raw 0x00000000000000000000)
147st7 0 (raw 0x00000000000000000000)
148fctrl 0x37f 895
149fstat 0x0 0
150ftag 0xffff 65535
151fiseg 0x0 0
152fioff 0x0 0
153foseg 0x0 0
154fooff 0x0 0
155fop 0x0 0
156mxcsr 0x1fa8 [ OE PE IM DM ZM OM UM PM ]
157---Type <return> to continue, or q <return> to quit---
158bndcfgu {raw = 0x0, config = {base = 0x0, reserved = 0x0, preserved = 0x0, enabled = 0x0}} {raw = 0x0, config = {base = 0,
159 reserved = 0, preserved = 0, enabled = 0}}
160bndstatus {raw = 0x0, status = {bde = 0x0, error = 0x0}} {raw = 0x0, status = {bde = 0, error = 0}}
161ymm0 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x8, 0x0, 0x0, 0x0, 0x30, 0x0,
162 0x0, 0x0, 0xd0, 0xb6, 0xff, 0xff, 0xff, 0x7f, 0x0 <repeats 18 times>}, v16_int16 = {0x8, 0x0, 0x30, 0x0, 0xb6d0, 0xffff, 0x7fff, 0x0, 0x0, 0x0,
163 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x8, 0x30, 0xffffb6d0, 0x7fff, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x3000000008, 0x7fffffffb6d0, 0x0,
164 0x0}, v2_int128 = {0x7fffffffb6d00000003000000008, 0x0}}
165ymm1 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0, 0xda, 0x6f, 0xf0, 0xff,
166 0x7f, 0x0, 0x0, 0x80, 0xb6, 0xff, 0xff, 0xff, 0x7f, 0x0 <repeats 18 times>}, v16_int16 = {0xda00, 0xf06f, 0x7fff, 0x0, 0xb680, 0xffff, 0x7fff,
167 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xf06fda00, 0x7fff, 0xffffb680, 0x7fff, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {
168 0x7ffff06fda00, 0x7fffffffb680, 0x0, 0x0}, v2_int128 = {0x7fffffffb68000007ffff06fda00, 0x0}}
169ymm2 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0, 0x2, 0x0, 0x0, 0x30, 0x61,
170 0x0 <repeats 26 times>}, v16_int16 = {0x200, 0x0, 0x6130, 0x0 <repeats 13 times>}, v8_int32 = {0x200, 0x6130, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
171 v4_int64 = {0x613000000200, 0x0, 0x0, 0x0}, v2_int128 = {0x613000000200, 0x0}}
172ymm3 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x8000000000000000, 0x0, 0x0}, v32_int8 = {
173 0x80, 0x1e, 0x80, 0xff, 0x80, 0x21, 0x80, 0xff, 0x80, 0x24, 0x80, 0xff, 0x80, 0x27, 0x80, 0xff, 0x0 <repeats 16 times>}, v16_int16 = {0x1e80,
174 0xff80, 0x2180, 0xff80, 0x2480, 0xff80, 0x2780, 0xff80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xff801e80, 0xff802180, 0xff802480,
175 0xff802780, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xff802180ff801e80, 0xff802780ff802480, 0x0, 0x0}, v2_int128 = {0xff802780ff802480ff802180ff801e80,
176 0x0}}
177ymm4 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x8000000000000000, 0x0, 0x0}, v32_int8 = {
178 0x80, 0x23, 0x80, 0xff, 0x80, 0x23, 0x80, 0xff, 0x80, 0x23, 0x80, 0xff, 0x80, 0x23, 0x80, 0xff, 0x0 <repeats 16 times>}, v16_int16 = {0x2380,
179 0xff80, 0x2380, 0xff80, 0x2380, 0xff80, 0x2380, 0xff80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xff802380, 0xff802380, 0xff802380,
180 0xff802380, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xff802380ff802380, 0xff802380ff802380, 0x0, 0x0}, v2_int128 = {0xff802380ff802380ff802380ff802380,
181 0x0}}
182ymm5 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x8000000000000000, 0x0, 0x0}, v32_int8 = {
183 0x80, 0x23, 0x80, 0xff, 0x80, 0x23, 0x80, 0xff, 0x80, 0x23, 0x80, 0xff, 0x80, 0x23, 0x80, 0xff, 0x0 <repeats 16 times>}, v16_int16 = {0x2380,
184 0xff80, 0x2380, 0xff80, 0x2380, 0xff80, 0x2380, 0xff80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xff802380, 0xff802380, 0xff802380,
185 0xff802380, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xff802380ff802380, 0xff802380ff802380, 0x0, 0x0}, v2_int128 = {0xff802380ff802380ff802380ff802380,
186 0x0}}
187ymm6 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x8000000000000000, 0x0, 0x0}, v32_int8 = {
188 0x80, 0x2d, 0x80, 0xff, 0x80, 0x2c, 0x80, 0xff, 0x80, 0x2b, 0x80, 0xff, 0x80, 0x2a, 0x80, 0xff, 0x0 <repeats 16 times>}, v16_int16 = {0x2d80,
189 0xff80, 0x2c80, 0xff80, 0x2b80, 0xff80, 0x2a80, 0xff80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xff802d80, 0xff802c80, 0xff802b80,
190 0xff802a80, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xff802c80ff802d80, 0xff802a80ff802b80, 0x0, 0x0}, v2_int128 = {0xff802a80ff802b80ff802c80ff802d80,
191 0x0}}
192ymm7 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x8000000000000000, 0x0, 0x0}, v32_int8 = {
193 0x80, 0x29, 0x80, 0xff, 0x80, 0x28, 0x80, 0xff, 0x80, 0x27, 0x80, 0xff, 0x80, 0x26, 0x80, 0xff, 0x0 <repeats 16 times>}, v16_int16 = {0x2980,
194 0xff80, 0x2880, 0xff80, 0x2780, 0xff80, 0x2680, 0xff80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xff802980, 0xff802880, 0xff802780,
195 0xff802680, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xff802880ff802980, 0xff802680ff802780, 0x0, 0x0}, v2_int128 = {0xff802680ff802780ff802880ff802980,
196 0x0}}
197ymm8 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
198 v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
199---Type <return> to continue, or q <return> to quit---
200ymm9 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
201 v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
202ymm10 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
203 v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
204ymm11 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
205 v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
206ymm12 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
207 v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
208ymm13 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
209 v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
210ymm14 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
211 v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
212ymm15 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
213 v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
214bnd0 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
215bnd1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
216bnd2 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
217bnd3 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
218