Ticket #7985: gdb_log_7985

File gdb_log_7985, 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 74 -i tmp/tmp.tiff -map 0 -c:a mpeg1video -c:v vc2 -disposition:a pgm -disposition:a flv -vframes 46 -r 3 -ab 731 -ar 22050 -b:v 716k 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-94148-g4877b5869e 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.101 / 58. 53.101
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, jpegls_pipe, from 'tmp/tmp.tiff':
31 Duration: N/A, bitrate: N/A
32 Stream #0:0: Video: jpegls, rgb24(bt470bg/unknown/unknown), 256x240, lossless, 25 tbr, 25 tbn, 25 tbc
33Stream mapping:
34 Stream #0:0 -> #0:0 (jpegls (native) -> dirac (vc2))
35Press [q] to stop, [?] for help
36[New Thread 0x7ffff025b700 (LWP 20203)]
37[New Thread 0x7fffefa5a700 (LWP 20204)]
38[New Thread 0x7fffef259700 (LWP 20209)]
39[New Thread 0x7fffeea58700 (LWP 20213)]
40[New Thread 0x7fffee257700 (LWP 20216)]
41[New Thread 0x7fffeda56700 (LWP 20220)]
42[New Thread 0x7fffed255700 (LWP 20226)]
43[New Thread 0x7fffeca54700 (LWP 20231)]
44[New Thread 0x7fffec253700 (LWP 20234)]
45[New Thread 0x7fffeba52700 (LWP 20237)]
46[New Thread 0x7fffeb251700 (LWP 20241)]
47[New Thread 0x7fffeaa50700 (LWP 20244)]
48[New Thread 0x7fffea24f700 (LWP 20247)]
49[New Thread 0x7fffe9a4e700 (LWP 20249)]
50[New Thread 0x7fffe924d700 (LWP 20250)]
51[New Thread 0x7fffe8a4c700 (LWP 20251)]
52[New Thread 0x7fffe824b700 (LWP 20253)]
53[New Thread 0x7fffe7a4a700 (LWP 20255)]
54[New Thread 0x7fffe7249700 (LWP 20256)]
55[New Thread 0x7fffe6a48700 (LWP 20259)]
56[New Thread 0x7fffe6247700 (LWP 20262)]
57[New Thread 0x7fffe5a46700 (LWP 20264)]
58[New Thread 0x7fffe5245700 (LWP 20265)]
59[New Thread 0x7fffe4a44700 (LWP 20266)]
60[vc2 @ 0x619000001e80] Format does not strictly comply with VC2 specs
61Output #0, adx, to 'tmp_/tmp_.adx':
62 Metadata:
63 encoder : Lavf58.28.101
64 Stream #0:0: Video: dirac (vc2), yuv444p, 256x240, q=2-31, 716 kb/s, 3 fps, 3 tbn, 3 tbc
65 Metadata:
66 encoder : Lavc58.53.101 vc2
67libavcodec/vc2enc_dwt.c:69:34: runtime error: left shift of negative value -84
68SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavcodec/vc2enc_dwt.c:69:34 in
69libavformat/rawenc.c:70:50: runtime error: division by zero bitrate= 715.2kbits/s speed=0.628x
70SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavformat/rawenc.c:70:50 in
71
72Thread 1 "ffmpeg_g" received signal SIGFPE, Arithmetic exception.
730x000000000240b7fe in adx_write_trailer (s=<optimized out>) at libavformat/rawenc.c:70
7470 uint64_t sample_count = (file_size - 36) / par->channels / 18 * 32;
75(gdb) bt
76#0 0x000000000240b7fe in adx_write_trailer (s=<optimized out>) at libavformat/rawenc.c:70
77#1 0x0000000002242f86 in av_write_trailer (s=0x61b000000780) at libavformat/mux.c:1283
78#2 0x00000000005c553a in transcode () at fftools/ffmpeg.c:4726
79#3 0x00000000005b2c0c in main (argc=<optimized out>, argv=<optimized out>) at fftools/ffmpeg.c:4894
80(gdb) disass $pc-32,$pc+32
81Dump of assembler code from 0x240b7de to 0x240b81e:
82 0x000000000240b7de <adx_write_trailer+926>: test %r13,%r13
83 0x000000000240b7e1 <adx_write_trailer+929>: je 0x240ba98 <adx_write_trailer+1624>
84 0x000000000240b7e7 <adx_write_trailer+935>: test %al,%al
85 0x000000000240b7e9 <adx_write_trailer+937>: je 0x240ba98 <adx_write_trailer+1624>
86 0x000000000240b7ef <adx_write_trailer+943>: mov $0xb280f40,%edi
87 0x000000000240b7f4 <adx_write_trailer+948>:
88 callq 0x4dc3f0 <__sanitizer_cov_trace_pc_guard(__sanitizer::u32*)>
89 0x000000000240b7f9 <adx_write_trailer+953>: mov %r12,%rax
90 0x000000000240b7fc <adx_write_trailer+956>: cqto
91=> 0x000000000240b7fe <adx_write_trailer+958>: idiv %r13
92 0x000000000240b801 <adx_write_trailer+961>: movabs $0xe38e38e38e38e39,%rcx
93 0x000000000240b80b <adx_write_trailer+971>: imul %rcx
94 0x000000000240b80e <adx_write_trailer+974>: mov %rdx,%rbx
95 0x000000000240b811 <adx_write_trailer+977>: shr $0x3f,%rbx
96 0x000000000240b815 <adx_write_trailer+981>: add %rdx,%rbx
97 0x000000000240b818 <adx_write_trailer+984>: imul $0x20,%rbx,%r12
98 0x000000000240b81c <adx_write_trailer+988>: jo 0x240ba5b <adx_write_trailer+1563>
99End of assembler dump.
100(gdb) info all-registers
101rax 0x7445 29765
102rbx 0xffffffffffffffff -1
103rcx 0x7fffffffb340 140737488335680
104rdx 0x0 0
105rsi 0x7fffffffb340 140737488335680
106rdi 0x7fffffffb3b1 140737488335793
107rbp 0xffffffffffffffff 0xffffffffffffffff
108rsp 0x7fffffffb640 0x7fffffffb640
109r8 0x6a6cb03abcebc041 7668698031829270593
110r9 0x0 0
111r10 0x7ffff181413d 140737245167933
112r11 0x206 518
113r12 0x7445 29765
114r13 0x0 0
115r14 0x613000000200 106858786324992
116r15 0x7469 29801
117rip 0x240b7fe 0x240b7fe <adx_write_trailer+958>
118eflags 0x10202 [ IF RF ]
119cs 0x33 51
120ss 0x2b 43
121ds 0x0 0
122es 0x0 0
123fs 0x0 0
124gs 0x0 0
125st0 0 (raw 0x00000000000000000000)
126st1 0 (raw 0x00000000000000000000)
127st2 0 (raw 0x00000000000000000000)
128st3 0 (raw 0x00000000000000000000)
129st4 0 (raw 0x00000000000000000000)
130st5 0 (raw 0x00000000000000000000)
131st6 0 (raw 0x00000000000000000000)
132st7 0 (raw 0x00000000000000000000)
133fctrl 0x37f 895
134fstat 0x0 0
135ftag 0xffff 65535
136fiseg 0x0 0
137fioff 0x0 0
138foseg 0x0 0
139fooff 0x0 0
140fop 0x0 0
141mxcsr 0x1fa8 [ OE PE IM DM ZM OM UM PM ]
142bndcfgu {raw = 0x0, config = {base = 0x0, reserved = 0x0, preserved = 0x0, enabled = 0x0}} {
143 raw = 0x0, config = {base = 0, reserved = 0, preserved = 0, enabled = 0}}
144bndstatus {raw = 0x0, status = {bde = 0x0, error = 0x0}} {raw = 0x0, status = {bde = 0, error = 0}}
145ymm0 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0},
146 v32_int8 = {0x8, 0x0, 0x0, 0x0, 0x30, 0x0, 0x0, 0x0, 0x30, 0xb2, 0xff, 0xff, 0xff, 0x7f,
147 0x0 <repeats 18 times>}, v16_int16 = {0x8, 0x0, 0x30, 0x0, 0xb230, 0xffff, 0x7fff, 0x0, 0x0, 0x0, 0x0, 0x0,
148 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x8, 0x30, 0xffffb230, 0x7fff, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {
149 0x3000000008, 0x7fffffffb230, 0x0, 0x0}, v2_int128 = {0x7fffffffb2300000003000000008, 0x0}}
150ymm1 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0},
151 v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0,
152 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
153ymm2 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0},
154 v32_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc0, 0xab, 0xff, 0xff, 0xff, 0x7f,
155 0x0 <repeats 18 times>}, v16_int16 = {0x0, 0x0, 0x0, 0x0, 0xabc0, 0xffff, 0x7fff, 0x0, 0x0, 0x0, 0x0, 0x0,
156 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x0, 0x0, 0xffffabc0, 0x7fff, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0,
157 0x7fffffffabc0, 0x0, 0x0}, v2_int128 = {0x7fffffffabc00000000000000000, 0x0}}
158---Type <return> to continue, or q <return> to quit---
159ymm3 {v8_float = {0x0, 0x0, 0x0, 0xffffffff, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x7fffffffffffffff,
160 0x0, 0x0}, v32_int8 = {0x30, 0x30, 0x3a, 0x30, 0x30, 0x3a, 0x30, 0x30, 0x2e, 0x33, 0x33, 0x20, 0x62, 0x69,
161 0x74, 0x72, 0x0 <repeats 16 times>}, v16_int16 = {0x3030, 0x303a, 0x3a30, 0x3030, 0x332e, 0x2033, 0x6962,
162 0x7274, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x303a3030, 0x30303a30, 0x2033332e, 0x72746962,
163 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x30303a30303a3030, 0x727469622033332e, 0x0, 0x0}, v2_int128 = {
164 0x727469622033332e30303a30303a3030, 0x0}}
165ymm4 {v8_float = {0x0, 0x0, 0xffffffff, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0},
166 v32_int8 = {0x61, 0x74, 0x65, 0x3d, 0x20, 0x37, 0x31, 0x35, 0x2e, 0x32, 0x6b, 0x62, 0x69, 0x74, 0x73, 0x2f,
167 0x0 <repeats 16 times>}, v16_int16 = {0x7461, 0x3d65, 0x3720, 0x3531, 0x322e, 0x626b, 0x7469, 0x2f73, 0x0,
168 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x3d657461, 0x35313720, 0x626b322e, 0x2f737469, 0x0, 0x0,
169 0x0, 0x0}, v4_int64 = {0x353137203d657461, 0x2f737469626b322e, 0x0, 0x0}, v2_int128 = {
170 0x2f737469626b322e353137203d657461, 0x0}}
171ymm5 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0},
172 v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0,
173 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
174ymm6 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0},
175 v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0,
176 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
177ymm7 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0},
178 v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0,
179 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
180ymm8 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0},
181 v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0,
182 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
183ymm9 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0},
184 v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0,
185 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
186ymm10 {v8_float = {0xe63e4000, 0x0, 0xe63e4000, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0,
187 0x0}, v32_int8 = {0x38, 0x38, 0xe3, 0xd0, 0x0, 0x0, 0x38, 0x38, 0x38, 0x38, 0xe3, 0xd0, 0x0, 0x0, 0x38, 0x38,
188 0x0 <repeats 16 times>}, v16_int16 = {0x3838, 0xd0e3, 0x0, 0x3838, 0x3838, 0xd0e3, 0x0, 0x3838, 0x0, 0x0,
189 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xd0e33838, 0x38380000, 0xd0e33838, 0x38380000, 0x0, 0x0, 0x0,
190 0x0}, v4_int64 = {0x38380000d0e33838, 0x38380000d0e33838, 0x0, 0x0}, v2_int128 = {
191 0x38380000d0e3383838380000d0e33838, 0x0}}
192ymm11 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000,
193 0x8000000000000000, 0x0, 0x0}, v32_int8 = {0xe4, 0xf6, 0x0, 0x0, 0xe3, 0xd0, 0xe4, 0xf6, 0xe4, 0xf6, 0x0,
194 0x0, 0xe3, 0xd0, 0xe4, 0xf6, 0x0 <repeats 16 times>}, v16_int16 = {0xf6e4, 0x0, 0xd0e3, 0xf6e4, 0xf6e4, 0x0,
195 0xd0e3, 0xf6e4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xf6e4, 0xf6e4d0e3, 0xf6e4, 0xf6e4d0e3,
196 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xf6e4d0e30000f6e4, 0xf6e4d0e30000f6e4, 0x0, 0x0}, v2_int128 = {
197 0xf6e4d0e30000f6e4f6e4d0e30000f6e4, 0x0}}
198ymm12 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0},
199 v32_int8 = {0x2, 0x80, 0x3, 0x80, 0x4, 0x80, 0x5, 0x80, 0x8, 0x80, 0x9, 0x80, 0xa, 0x80, 0xb, 0x80,
200 0x0 <repeats 16 times>}, v16_int16 = {0x8002, 0x8003, 0x8004, 0x8005, 0x8008, 0x8009, 0x800a, 0x800b, 0x0,
201 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x80038002, 0x80058004, 0x80098008, 0x800b800a, 0x0, 0x0,
202 0x0, 0x0}, v4_int64 = {0x8005800480038002, 0x800b800a80098008, 0x0, 0x0}, v2_int128 = {
203 0x800b800a800980088005800480038002, 0x0}}
204ymm13 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0},
205 v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0,
206 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
207ymm14 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0},
208 v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0,
209 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
210ymm15 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0},
211 v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0,
212 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
213bnd0 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
214bnd1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff}---Type <return> to continue, or q <return> to quit---
215 : 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