Ticket #7990: gdb_log_7990

File gdb_log_7990, 14.1 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 snow -c:v:82 sgi -disposition:a msvideo1 -disposition:s:13 g726 -r 2 -ab 841k -ar 22050 -ac 5 -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
33Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (tmp_/tmp_.adx) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
34Stream mapping:
35 Stream #0:0 -> #0:0 (indeo4 (native) -> snow (native))
36Press [q] to stop, [?] for help
37[New Thread 0x7ffff0048700 (LWP 16123)]
38[New Thread 0x7fffef847700 (LWP 16124)]
39[New Thread 0x7fffef046700 (LWP 16125)]
40[New Thread 0x7fffee845700 (LWP 16126)]
41[New Thread 0x7fffee044700 (LWP 16127)]
42[New Thread 0x7fffed843700 (LWP 16128)]
43[New Thread 0x7fffed042700 (LWP 16129)]
44[New Thread 0x7fffec841700 (LWP 16130)]
45[New Thread 0x7fffec040700 (LWP 16131)]
46[New Thread 0x7fffeb83f700 (LWP 16132)]
47[New Thread 0x7fffeb03e700 (LWP 16133)]
48[New Thread 0x7fffea83d700 (LWP 16134)]
49Output #0, adx, to 'tmp_/tmp_.adx':
50 Metadata:
51 encoder : Lavf58.28.101
52 Stream #0:0: Video: snow, yuv410p, 256x240, q=2-31, 200 kb/s, 2 fps, 2 tbn, 2 tbc
53 Metadata:
54 encoder : Lavc58.53.101 snow
55libavcodec/snowenc.c:1777:87: runtime error: left shift of negative value -1312
56SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavcodec/snowenc.c:1777:87 in
57libavcodec/ratecontrol.c:254:22: runtime error: division by zero
58SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavcodec/ratecontrol.c:254:22 in
59libavcodec/ratecontrol.c:256:22: runtime error: division by zero
60SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavcodec/ratecontrol.c:256:22 in
61libavcodec/ratecontrol.c:257:28: runtime error: division by zero
62SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavcodec/ratecontrol.c:257:28 in
63libavcodec/ratecontrol.c:258:25: runtime error: division by zero
64SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavcodec/ratecontrol.c:258:25 in
65libavcodec/snowenc.c:315:32: runtime error: left shift of negative value -13
66SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavcodec/snowenc.c:315:32 in
67frame= 3 fps=0.0 q=2.0 size= 7kB time=00:00:01.50 bitrate= 36.6kbits/s dup=0 drop=20 spframe= 5 fps=4.8 q=2.0 size= 13kB time=00:00:02.50 bitrate= 42.1kbits/s dup=0 drop=87 splibavformat/rawenc.c:70:50: runtime error: division by zero
68SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavformat/rawenc.c:70:50 in
69
70Thread 1 "ffmpeg_g" received signal SIGFPE, Arithmetic exception.
710x000000000241195e in adx_write_trailer (s=<optimized out>) at libavformat/rawenc.c:70
7270 uint64_t sample_count = (file_size - 36) / par->channels / 18 * 32;
73(gdb) bt
74#0 0x000000000241195e in adx_write_trailer (s=<optimized out>) at libavformat/rawenc.c:70
75#1 0x00000000022490e6 in av_write_trailer (s=0x61b000001580) at libavformat/mux.c:1283
76#2 0x00000000005c591a in transcode () at fftools/ffmpeg.c:4726
77#3 0x00000000005b2fec in main (argc=<optimized out>, argv=<optimized out>)
78 at fftools/ffmpeg.c:4894
79(gdb) disass $pc-32,$pc+32
80Dump of assembler code from 0x241193e to 0x241197e:
81 0x000000000241193e <adx_write_trailer+926>: test %r13,%r13
82 0x0000000002411941 <adx_write_trailer+929>: je 0x2411bf8 <adx_write_trailer+1624>
83 0x0000000002411947 <adx_write_trailer+935>: test %al,%al
84 0x0000000002411949 <adx_write_trailer+937>: je 0x2411bf8 <adx_write_trailer+1624>
85 0x000000000241194f <adx_write_trailer+943>: mov $0xb28aa48,%edi
86 0x0000000002411954 <adx_write_trailer+948>:
87 callq 0x4dc3f0 <__sanitizer_cov_trace_pc_guard(__sanitizer::u32*)>
88 0x0000000002411959 <adx_write_trailer+953>: mov %r12,%rax
89 0x000000000241195c <adx_write_trailer+956>: cqto
90=> 0x000000000241195e <adx_write_trailer+958>: idiv %r13
91 0x0000000002411961 <adx_write_trailer+961>: movabs $0xe38e38e38e38e39,%rcx
92 0x000000000241196b <adx_write_trailer+971>: imul %rcx
93 0x000000000241196e <adx_write_trailer+974>: mov %rdx,%rbx
94 0x0000000002411971 <adx_write_trailer+977>: shr $0x3f,%rbx
95 0x0000000002411975 <adx_write_trailer+981>: add %rdx,%rbx
96 0x0000000002411978 <adx_write_trailer+984>: imul $0x20,%rbx,%r12
97 0x000000000241197c <adx_write_trailer+988>: jo 0x2411bbb <adx_write_trailer+1563>
98End of assembler dump.
99(gdb) info all-registers
100rax 0x3da2 15778
101rbx 0xffffffffffffffff -1
102rcx 0x7fffffffb320 140737488335648
103rdx 0x0 0
104rsi 0x7fffffffb320 140737488335648
105rdi 0x7fffffffb391 140737488335761
106rbp 0xffffffffffffffff 0xffffffffffffffff
107rsp 0x7fffffffb620 0x7fffffffb620
108r8 0x6a6cb03abcebc041 7668698031829270593
109r9 0x0 0
110r10 0x7ffff18b9456 140737245844566
111r11 0x202 514
112r12 0x3da2 15778
113r13 0x0 0
114r14 0x613000000200 106858786324992
115r15 0x3dc6 15814
116rip 0x241195e 0x241195e <adx_write_trailer+958>
117eflags 0x10206 [ PF IF RF ]
118cs 0x33 51
119ss 0x2b 43
120ds 0x0 0
121es 0x0 0
122fs 0x0 0
123gs 0x0 0
124st0 <invalid float value> (raw 0xffff0000000080808080)
125st1 <invalid float value> (raw 0xffff0000000080808080)
126st2 <invalid float value> (raw 0xffff0000000080808080)
127st3 <invalid float value> (raw 0xffff0000000080808080)
128st4 <invalid float value> (raw 0xffff0005000500050005)
129st5 <invalid float value> (raw 0xffff0010001000100010)
130st6 -nan(0x8080808080808080) (raw 0xffff8080808080808080)
131st7 <invalid float value> (raw 0xffff0000000000000000)
132fctrl 0x37f 895
133fstat 0x0 0
134ftag 0xffff 65535
135fiseg 0x0 0
136fioff 0x0 0
137foseg 0x0 0
138fooff 0x0 0
139fop 0x0 0
140mxcsr 0x1fad [ IE ZE OE PE IM DM ZM OM UM PM ]
141bndcfgu {raw = 0x0, config = {base = 0x0, reserved = 0x0, preserved = 0x0,
142 enabled = 0x0}} {raw = 0x0, config = {base = 0, reserved = 0, preserved = 0,
143 enabled = 0}}
144bndstatus {raw = 0x0, status = {bde = 0x0, error = 0x0}} {raw = 0x0, status = {bde = 0,
145 error = 0}}
146ymm0 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0,
147 0x0, 0x0}, v32_int8 = {0x8, 0x0, 0x0, 0x0, 0x30, 0x0, 0x0, 0x0, 0x10, 0xb2, 0xff, 0xff,
148 0xff, 0x7f, 0x0 <repeats 18 times>}, v16_int16 = {0x8, 0x0, 0x30, 0x0, 0xb210, 0xffff,
149 0x7fff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x8, 0x30, 0xffffb210,
150 0x7fff, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x3000000008, 0x7fffffffb210, 0x0, 0x0},
151 v2_int128 = {0x7fffffffb2100000003000000008, 0x0}}
152ymm1 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0,
153 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>},
154 v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0},
155 v2_int128 = {0x0, 0x0}}
156ymm2 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0,
157 0x0, 0x0}, v32_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xa0, 0xab, 0xff, 0xff,
158 0xff, 0x7f, 0x0 <repeats 18 times>}, v16_int16 = {0x0, 0x0, 0x0, 0x0, 0xaba0, 0xffff,
159---Type <return> to continue, or q <return> to quit---
160 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x0, 0x0, 0xffffaba0, 0x7fff, 0x0, 0x0, 0x0, 0x0},
161 v4_int64 = {0x0, 0x7fffffffaba0, 0x0, 0x0}, v2_int128 = {0x7fffffffaba00000000000000000, 0x0}}
162ymm3 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
163 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
164 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
165ymm4 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x0, 0x0, 0x0},
166 v32_int8 = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0 <repeats 24 times>}, v16_int16 = {0xffff, 0xffff,
167 0xffff, 0xffff, 0x0 <repeats 12 times>}, v8_int32 = {0xffffffff, 0xffffffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
168 v4_int64 = {0xffffffffffffffff, 0x0, 0x0, 0x0}, v2_int128 = {0xffffffffffffffff, 0x0}}
169ymm5 {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}}
172ymm6 {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}}
175ymm7 {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}}
178ymm8 {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}}
181ymm9 {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}}
184ymm10 {v8_float = {0x0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0,
185 0x0, 0x0, 0x0, 0x0, 0x0, 0xe0, 0x3f, 0x0 <repeats 24 times>}, v16_int16 = {0x0, 0x0, 0x0, 0x3fe0,
186 0x0 <repeats 12 times>}, v8_int32 = {0x0, 0x3fe00000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x3fe0000000000000,
187 0x0, 0x0, 0x0}, v2_int128 = {0x3fe0000000000000, 0x0}}
188ymm11 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x1e,
189 0xe8, 0x48, 0x8c, 0xa0, 0xd0, 0x58, 0xbe, 0x0 <repeats 24 times>}, v16_int16 = {0xe81e, 0x8c48, 0xd0a0, 0xbe58,
190 0x0 <repeats 12 times>}, v8_int32 = {0x8c48e81e, 0xbe58d0a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {
191 0xbe58d0a08c48e81e, 0x0, 0x0, 0x0}, v2_int128 = {0xbe58d0a08c48e81e, 0x0}}
192ymm12 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0,
193 0x0, 0x0, 0x10, 0xbf, 0xb8, 0xbd, 0x3c, 0x0 <repeats 24 times>}, v16_int16 = {0x0, 0x1000, 0xb8bf, 0x3cbd,
194 0x0 <repeats 12 times>}, v8_int32 = {0x10000000, 0x3cbdb8bf, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {
195 0x3cbdb8bf10000000, 0x0, 0x0, 0x0}, v2_int128 = {0x3cbdb8bf10000000, 0x0}}
196ymm13 {v8_float = {0xffffffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0},
197 v32_int8 = {0xb8, 0xdb, 0xfa, 0x78, 0xb1, 0x4f, 0x74, 0x3d, 0x0 <repeats 24 times>}, v16_int16 = {0xdbb8, 0x78fa,
198 0x4fb1, 0x3d74, 0x0 <repeats 12 times>}, v8_int32 = {0x78fadbb8, 0x3d744fb1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
199 v4_int64 = {0x3d744fb178fadbb8, 0x0, 0x0, 0x0}, v2_int128 = {0x3d744fb178fadbb8, 0x0}}
200ymm14 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
201 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
202 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
203ymm15 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
204 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
205 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
206bnd0 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
207bnd1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
208bnd2 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
209bnd3 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
210