Ticket #7997: gdb_log_7997

File gdb_log_7997, 14.8 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 8 -i tmp/tmp.avi -map 0 -c:v snow -c:v prores_aw -disposition:a:79 prores_aw -disposition:a ffv1 -vframes 42 -aframes 83 -r 9 -level 3 -b:v 507k 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) -> prores (prores_aw))
35Press [q] to stop, [?] for help
36[New Thread 0x7ffff025a700 (LWP 663)]
37[New Thread 0x7fffefa59700 (LWP 664)]
38[New Thread 0x7fffef258700 (LWP 665)]
39[New Thread 0x7fffeea57700 (LWP 666)]
40[New Thread 0x7fffee256700 (LWP 667)]
41[New Thread 0x7fffeda55700 (LWP 668)]
42[New Thread 0x7fffed254700 (LWP 669)]
43[New Thread 0x7fffeca53700 (LWP 670)]
44[New Thread 0x7fffec252700 (LWP 671)]
45[New Thread 0x7fffeba51700 (LWP 672)]
46[New Thread 0x7fffeb250700 (LWP 673)]
47[New Thread 0x7fffeaa4f700 (LWP 674)]
48[prores_aw @ 0x619000005a80] encoding with ProRes standard (apcn) profile
49[New Thread 0x7fffea24e700 (LWP 675)]
50[prores_aw @ 0x619000005f80] encoding with ProRes standard (apcn) profile
51[New Thread 0x7fffe9a4d700 (LWP 676)]
52[prores_aw @ 0x619000006480] encoding with ProRes standard (apcn) profile
53[New Thread 0x7fffe924c700 (LWP 677)]
54[prores_aw @ 0x619000006980] encoding with ProRes standard (apcn) profile
55[New Thread 0x7fffe8a4b700 (LWP 678)]
56[prores_aw @ 0x619000006e80] encoding with ProRes standard (apcn) profile
57[New Thread 0x7fffe824a700 (LWP 679)]
58[prores_aw @ 0x619000007380] encoding with ProRes standard (apcn) profile
59[New Thread 0x7fffe7a49700 (LWP 680)]
60[prores_aw @ 0x619000007880] encoding with ProRes standard (apcn) profile
61[New Thread 0x7fffe7248700 (LWP 682)]
62[prores_aw @ 0x619000007d80] encoding with ProRes standard (apcn) profile
63[New Thread 0x7fffe6a47700 (LWP 683)]
64[prores_aw @ 0x619000008280] encoding with ProRes standard (apcn) profile
65[New Thread 0x7fffe6246700 (LWP 684)]
66[prores_aw @ 0x619000008780] encoding with ProRes standard (apcn) profile
67[New Thread 0x7fffe5a45700 (LWP 685)]
68[prores_aw @ 0x619000008c80] encoding with ProRes standard (apcn) profile
69[New Thread 0x7fffe5244700 (LWP 686)]
70[prores_aw @ 0x619000009180] encoding with ProRes standard (apcn) profile
71[New Thread 0x7fffe4a43700 (LWP 687)]
72[prores_aw @ 0x619000002880] encoding with ProRes standard (apcn) profile
73Output #0, adx, to 'tmp_/tmp_.adx':
74 Metadata:
75 encoder : Lavf58.28.101
76 Stream #0:0: Video: prores (prores_aw) (Standard) (apcn / 0x6E637061), yuv422p10le, 256x240, q=2-31, 507 kb/s, 9 fps, 9 tbn, 9 tbc
77 Metadata:
78 encoder : Lavc58.53.101 prores_aw
79libavcodec/proresenc_anatoliy.c:250:12: runtime error: left shift of negative value -1384
80SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavcodec/proresenc_anatoliy.c:250:12 in
81libavformat/rawenc.c:70:50: runtime error: division by zero
82SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavformat/rawenc.c:70:50 in
83
84Thread 1 "ffmpeg_g" received signal SIGFPE, Arithmetic exception.
850x000000000241195e in adx_write_trailer (s=<optimized out>) at libavformat/rawenc.c:70
8670 uint64_t sample_count = (file_size - 36) / par->channels / 18 * 32;
87(gdb) bt
88#0 0x000000000241195e in adx_write_trailer (s=<optimized out>) at libavformat/rawenc.c:70
89#1 0x00000000022490e6 in av_write_trailer (s=0x61b000001580) at libavformat/mux.c:1283
90#2 0x00000000005c591a in transcode () at fftools/ffmpeg.c:4726
91#3 0x00000000005b2fec in main (argc=<optimized out>, argv=<optimized out>) at fftools/ffmpeg.c:4894
92(gdb) disass $pc-32,$pc+32
93Dump of assembler code from 0x241193e to 0x241197e:
94 0x000000000241193e <adx_write_trailer+926>: test %r13,%r13
95 0x0000000002411941 <adx_write_trailer+929>: je 0x2411bf8 <adx_write_trailer+1624>
96 0x0000000002411947 <adx_write_trailer+935>: test %al,%al
97 0x0000000002411949 <adx_write_trailer+937>: je 0x2411bf8 <adx_write_trailer+1624>
98 0x000000000241194f <adx_write_trailer+943>: mov $0xb28aa48,%edi
99 0x0000000002411954 <adx_write_trailer+948>: callq 0x4dc3f0 <__sanitizer_cov_trace_pc_guard(__sanitizer::u32*)>
100 0x0000000002411959 <adx_write_trailer+953>: mov %r12,%rax
101 0x000000000241195c <adx_write_trailer+956>: cqto
102=> 0x000000000241195e <adx_write_trailer+958>: idiv %r13
103 0x0000000002411961 <adx_write_trailer+961>: movabs $0xe38e38e38e38e39,%rcx
104 0x000000000241196b <adx_write_trailer+971>: imul %rcx
105 0x000000000241196e <adx_write_trailer+974>: mov %rdx,%rbx
106 0x0000000002411971 <adx_write_trailer+977>: shr $0x3f,%rbx
107 0x0000000002411975 <adx_write_trailer+981>: add %rdx,%rbx
108 0x0000000002411978 <adx_write_trailer+984>: imul $0x20,%rbx,%r12
109 0x000000000241197c <adx_write_trailer+988>: jo 0x2411bbb <adx_write_trailer+1563>
110End of assembler dump.
111(gdb) info all-registers
112rax 0x4e498 320664
113rbx 0xffffffffffffffff -1
114rcx 0x7fffffffb300 140737488335616
115rdx 0x0 0
116rsi 0x7fffffffb300 140737488335616
117rdi 0x7fffffffb371 140737488335729
118rbp 0xffffffffffffffff 0xffffffffffffffff
119rsp 0x7fffffffb600 0x7fffffffb600
120r8 0x6a6cb03abcebc041 7668698031829270593
121r9 0x0 0
122r10 0x7ffff184e151 140737245405521
123r11 0x202 514
124r12 0x4e498 320664
125r13 0x0 0
126r14 0x613000000200 106858786324992
127r15 0x4e4bc 320700
128rip 0x241195e 0x241195e <adx_write_trailer+958>
129eflags 0x10202 [ IF RF ]
130cs 0x33 51
131ss 0x2b 43
132ds 0x0 0
133es 0x0 0
134fs 0x0 0
135gs 0x0 0
136st0 0 (raw 0x00000000000000000000)
137st1 0 (raw 0x00000000000000000000)
138st2 0 (raw 0x00000000000000000000)
139st3 0 (raw 0x00000000000000000000)
140st4 0 (raw 0x00000000000000000000)
141st5 0 (raw 0x00000000000000000000)
142st6 0 (raw 0x00000000000000000000)
143st7 0 (raw 0x00000000000000000000)
144fctrl 0x37f 895
145fstat 0x0 0
146ftag 0xffff 65535
147fiseg 0x0 0
148fioff 0x0 0
149foseg 0x0 0
150fooff 0x0 0
151fop 0x0 0
152mxcsr 0x1fa8 [ OE PE IM DM ZM OM UM PM ]
153bndcfgu {raw = 0x0, config = {base = 0x0, reserved = 0x0, preserved = 0x0, enabled = 0x0}} {raw = 0x0,
154 config = {base = 0, reserved = 0, preserved = 0, enabled = 0}}
155bndstatus {raw = 0x0, status = {bde = 0x0, error = 0x0}} {raw = 0x0, status = {bde = 0, error = 0}}
156ymm0 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x8,
157 0x0, 0x0, 0x0, 0x30, 0x0, 0x0, 0x0, 0xf0, 0xb1, 0xff, 0xff, 0xff, 0x7f, 0x0 <repeats 18 times>}, v16_int16 = {0x8,
158 0x0, 0x30, 0x0, 0xb1f0, 0xffff, 0x7fff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x8, 0x30,
159 0xffffb1f0, 0x7fff, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x3000000008, 0x7fffffffb1f0, 0x0, 0x0}, v2_int128 = {
160 0x7fffffffb1f00000003000000008, 0x0}}
161ymm1 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0,
162 0xd9, 0x6f, 0xf0, 0xff, 0x7f, 0x0, 0x0, 0xa0, 0xb1, 0xff, 0xff, 0xff, 0x7f, 0x0 <repeats 18 times>}, v16_int16 = {
163 0xd900, 0xf06f, 0x7fff, 0x0, 0xb1a0, 0xffff, 0x7fff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {
164 0xf06fd900, 0x7fff, 0xffffb1a0, 0x7fff, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x7ffff06fd900, 0x7fffffffb1a0, 0x0, 0x0},
165 v2_int128 = {0x7fffffffb1a000007ffff06fd900, 0x0}}
166ymm2 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0,
167 0x2, 0x0, 0x0, 0x30, 0x61, 0x0 <repeats 26 times>}, v16_int16 = {0x200, 0x0, 0x6130, 0x0 <repeats 13 times>},
168 v8_int32 = {0x200, 0x6130, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x613000000200, 0x0, 0x0, 0x0}, v2_int128 = {
169 0x613000000200, 0x0}}
170ymm3 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x9,
171---Type <return> to continue, or q <return> to quit---
172 0x4, 0x4, 0x5, 0x6, 0x7, 0x7, 0x9, 0x9, 0x5, 0x5, 0x6, 0x7, 0x7, 0x9, 0x9, 0x0 <repeats 16 times>}, v16_int16 = {
173 0x409, 0x504, 0x706, 0x907, 0x509, 0x605, 0x707, 0x909, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {
174 0x5040409, 0x9070706, 0x6050509, 0x9090707, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x907070605040409, 0x909070706050509,
175 0x0, 0x0}, v2_int128 = {0x9090707060505090907070605040409, 0x0}}
176ymm4 {v8_float = {0x0, 0xffffffff, 0x0, 0xffffffff, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x7fffffffffffffff,
177 0x7fffffffffffffff, 0x0, 0x0}, v32_int8 = {0x0, 0x0, 0x1e, 0xaf, 0x69, 0x63, 0x70, 0x66, 0x0, 0x94, 0x0, 0x0, 0x66,
178 0x6d, 0x70, 0x67, 0x0 <repeats 16 times>}, v16_int16 = {0x0, 0xaf1e, 0x6369, 0x6670, 0x9400, 0x0, 0x6d66, 0x6770,
179 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xaf1e0000, 0x66706369, 0x9400, 0x67706d66, 0x0, 0x0, 0x0,
180 0x0}, v4_int64 = {0x66706369af1e0000, 0x67706d6600009400, 0x0, 0x0}, v2_int128 = {
181 0x67706d660000940066706369af1e0000, 0x0}}
182ymm5 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x1,
183 0x0, 0x0, 0xf0, 0x82, 0x0, 0x2, 0x2, 0x2, 0x20, 0x0, 0x3, 0x4, 0x4, 0x5, 0x5, 0x0 <repeats 16 times>}, v16_int16 = {
184 0x1, 0xf000, 0x82, 0x202, 0x2002, 0x300, 0x404, 0x505, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {
185 0xf0000001, 0x2020082, 0x3002002, 0x5050404, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x2020082f0000001, 0x505040403002002,
186 0x0, 0x0}, v2_int128 = {0x50504040300200202020082f0000001, 0x0}}
187ymm6 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x6,
188 0x7, 0x7, 0x9, 0x4, 0x4, 0x5, 0x6, 0x7, 0x7, 0x9, 0x9, 0x5, 0x5, 0x6, 0x7, 0x0 <repeats 16 times>}, v16_int16 = {
189 0x706, 0x907, 0x404, 0x605, 0x707, 0x909, 0x505, 0x706, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {
190 0x9070706, 0x6050404, 0x9090707, 0x7060505, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x605040409070706, 0x706050509090707,
191 0x0, 0x0}, v2_int128 = {0x7060505090907070605040409070706, 0x0}}
192ymm7 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x7,
193 0x9, 0x9, 0xa, 0x5, 0x5, 0x6, 0x7, 0x7, 0x9, 0x9, 0xa, 0x5, 0x6, 0x7, 0x7, 0x0 <repeats 16 times>}, v16_int16 = {
194 0x907, 0xa09, 0x505, 0x706, 0x907, 0xa09, 0x605, 0x707, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {
195 0xa090907, 0x7060505, 0xa090907, 0x7070605, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x70605050a090907, 0x70706050a090907,
196 0x0, 0x0}, v2_int128 = {0x70706050a090907070605050a090907, 0x0}}
197ymm8 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
198 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
199 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
200ymm9 {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}}
203ymm10 {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}}
206ymm11 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
207 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
208 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
209ymm12 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
210 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
211 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
212ymm13 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
213 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
214 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
215ymm14 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
216 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
217 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
218ymm15 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {
219 0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
220 v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
221bnd0 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
222bnd1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
223bnd2 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
224bnd3 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
225