Ticket #7991: gdb_log_7991

File gdb_log_7991, 12.4 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 -y -r 51 -i tmp/tmp.avi -map 0 -c:v qtrle -c:v:82 sgi -disposition:a msvideo1 -disposition:s g726 -r 6 -ab 841k -ar 22050 -b:v 935 -strict 1 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-94163-g664a27ea40 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++ --prefix=ffmpeg/install --enable-debug --toolchain=clang-asan
23 libavutil 56. 30.100 / 56. 30.100
24 libavcodec 58. 53.101 / 58. 53.101
25 libavformat 58. 28.101 / 58. 28.101
26 libavdevice 58. 7.100 / 58. 7.100
27 libavfilter 7. 56.100 / 7. 56.100
28 libswscale 5. 4.101 / 5. 4.101
29 libswresample 3. 4.100 / 3. 4.100
30Input #0, avi, from 'tmp/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) -> qtrle (native))
35Press [q] to stop, [?] for help
36[New Thread 0x7ffff025a700 (LWP 16447)]
37[New Thread 0x7fffefa59700 (LWP 16448)]
38[New Thread 0x7fffef258700 (LWP 16449)]
39[New Thread 0x7fffeea57700 (LWP 16450)]
40[New Thread 0x7fffee256700 (LWP 16451)]
41[New Thread 0x7fffeda55700 (LWP 16452)]
42[New Thread 0x7fffed254700 (LWP 16453)]
43[New Thread 0x7fffeca53700 (LWP 16454)]
44[New Thread 0x7fffec252700 (LWP 16455)]
45[New Thread 0x7fffeba51700 (LWP 16456)]
46[New Thread 0x7fffeb250700 (LWP 16457)]
47[New Thread 0x7fffeaa4f700 (LWP 16458)]
48[qtrle @ 0x619000002880] Bitrate 935 is extremely low, maybe you mean 935k
49The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
50Output #0, adx, to 'tmp_/tmp_.adx':
51 Metadata:
52 encoder : Lavf58.28.101
53 Stream #0:0: Video: qtrle, rgb24, 256x240, q=2-31, 0 kb/s, 6 fps, 6 tbn, 6 tbc
54 Metadata:
55 encoder : Lavc58.53.101 qtrle
56libavcodec/qtrleenc.c:264:19: runtime error: pointer index expression with base 0x000000000000 overflowed to 0xfffffffffffffffd
57SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavcodec/qtrleenc.c:264:19 in
58libavformat/rawenc.c:70:50: runtime error: division by zero bitrate=2696.3kbits/s dup=0 drop=92 speed=1.14x
59SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavformat/rawenc.c:70:50 in
60
61Thread 1 "ffmpeg_g" received signal SIGFPE, Arithmetic exception.
620x000000000241195e in adx_write_trailer (s=<optimized out>) at libavformat/rawenc.c:70
6370 uint64_t sample_count = (file_size - 36) / par->channels / 18 * 32;
64(gdb) bt
65#0 0x000000000241195e in adx_write_trailer (s=<optimized out>) at libavformat/rawenc.c:70
66#1 0x00000000022490e6 in av_write_trailer (s=0x61b000001580) at libavformat/mux.c:1283
67#2 0x00000000005c591a in transcode () at fftools/ffmpeg.c:4726
68#3 0x00000000005b2fec in main (argc=<optimized out>, argv=<optimized out>) at fftools/ffmpeg.c:4894
69(gdb) disass $pc-32,$pc+32
70Dump of assembler code from 0x241193e to 0x241197e:
71 0x000000000241193e <adx_write_trailer+926>: test %r13,%r13
72 0x0000000002411941 <adx_write_trailer+929>: je 0x2411bf8 <adx_write_trailer+1624>
73 0x0000000002411947 <adx_write_trailer+935>: test %al,%al
74 0x0000000002411949 <adx_write_trailer+937>: je 0x2411bf8 <adx_write_trailer+1624>
75 0x000000000241194f <adx_write_trailer+943>: mov $0xb28aa48,%edi
76 0x0000000002411954 <adx_write_trailer+948>: callq 0x4dc3f0 <__sanitizer_cov_trace_pc_guard(__sanitizer::u32*)>
77 0x0000000002411959 <adx_write_trailer+953>: mov %r12,%rax
78 0x000000000241195c <adx_write_trailer+956>: cqto
79=> 0x000000000241195e <adx_write_trailer+958>: idiv %r13
80 0x0000000002411961 <adx_write_trailer+961>: movabs $0xe38e38e38e38e39,%rcx
81 0x000000000241196b <adx_write_trailer+971>: imul %rcx
82 0x000000000241196e <adx_write_trailer+974>: mov %rdx,%rbx
83 0x0000000002411971 <adx_write_trailer+977>: shr $0x3f,%rbx
84 0x0000000002411975 <adx_write_trailer+981>: add %rdx,%rbx
85 0x0000000002411978 <adx_write_trailer+984>: imul $0x20,%rbx,%r12
86 0x000000000241197c <adx_write_trailer+988>: jo 0x2411bbb <adx_write_trailer+1563>
87End of assembler dump.
88(gdb) info all-registers
89rax 0xf54e2 1004770
90rbx 0xffffffffffffffff -1
91rcx 0x7fffffffb300 140737488335616
92rdx 0x0 0
93rsi 0x7fffffffb300 140737488335616
94rdi 0x7fffffffb371 140737488335729
95rbp 0xffffffffffffffff 0xffffffffffffffff
96rsp 0x7fffffffb600 0x7fffffffb600
97r8 0x6a6cb03abcebc041 7668698031829270593
98r9 0x0 0
99r10 0x7ffff1a4716d 140737247474029
100r11 0x202 514
101r12 0xf54e2 1004770
102r13 0x0 0
103r14 0x613000000200 106858786324992
104r15 0xf5506 1004806
105rip 0x241195e 0x241195e <adx_write_trailer+958>
106eflags 0x10202 [ IF RF ]
107cs 0x33 51
108ss 0x2b 43
109ds 0x0 0
110es 0x0 0
111fs 0x0 0
112gs 0x0 0
113st0 0 (raw 0x00000000000000000000)
114st1 0 (raw 0x00000000000000000000)
115st2 0 (raw 0x00000000000000000000)
116st3 0 (raw 0x00000000000000000000)
117st4 0 (raw 0x00000000000000000000)
118st5 0 (raw 0x00000000000000000000)
119st6 0 (raw 0x00000000000000000000)
120st7 0 (raw 0x00000000000000000000)
121fctrl 0x37f 895
122fstat 0x0 0
123ftag 0xffff 65535
124fiseg 0x0 0
125fioff 0x0 0
126foseg 0x0 0
127fooff 0x0 0
128fop 0x0 0
129mxcsr 0x1fa8 [ OE PE IM DM ZM OM UM PM ]
130bndcfgu {raw = 0x0, config = {base = 0x0, reserved = 0x0, preserved = 0x0, enabled = 0x0}} {raw = 0x0,
131 config = {base = 0, reserved = 0, preserved = 0, enabled = 0}}
132bndstatus {raw = 0x0, status = {bde = 0x0, error = 0x0}} {raw = 0x0, status = {bde = 0, error = 0}}
133ymm0 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x8,
134 0x0, 0x0, 0x0, 0x30, 0x0, 0x0, 0x0, 0xf0, 0xb1, 0xff, 0xff, 0xff, 0x7f, 0x0 <repeats 18 times>}, v16_int16 = {0x8,
135 0x0, 0x30, 0x0, 0xb1f0, 0xffff, 0x7fff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x8, 0x30,
136 0xffffb1f0, 0x7fff, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x3000000008, 0x7fffffffb1f0, 0x0, 0x0}, v2_int128 = {
137 0x7fffffffb1f00000003000000008, 0x0}}
138ymm1 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
139 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
140 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
141ymm2 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0,
142 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80, 0xab, 0xff, 0xff, 0xff, 0x7f, 0x0 <repeats 18 times>}, v16_int16 = {0x0,
143 0x0, 0x0, 0x0, 0xab80, 0xffff, 0x7fff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x0, 0x0,
144 0xffffab80, 0x7fff, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x7fffffffab80, 0x0, 0x0}, v2_int128 = {
145 0x7fffffffab800000000000000000, 0x0}}
146ymm3 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
147 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
148---Type <return> to continue, or q <return> to quit---
149 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
150ymm4 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x0, 0x0, 0x0},
151 v32_int8 = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0 <repeats 24 times>}, v16_int16 = {0xffff, 0xffff,
152 0xffff, 0xffff, 0x0 <repeats 12 times>}, v8_int32 = {0xffffffff, 0xffffffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
153 v4_int64 = {0xffffffffffffffff, 0x0, 0x0, 0x0}, v2_int128 = {0xffffffffffffffff, 0x0}}
154ymm5 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
155 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
156 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
157ymm6 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
158 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
159 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
160ymm7 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
161 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
162 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
163ymm8 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
164 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
165 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
166ymm9 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
167 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
168 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
169ymm10 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
170 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
171 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
172ymm11 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
173 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
174 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
175ymm12 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
176 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
177 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
178ymm13 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
179 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
180 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
181ymm14 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
182 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
183 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
184ymm15 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
185 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
186 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
187bnd0 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
188bnd1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
189bnd2 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
190bnd3 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
191