Ticket #8142: gdb-signed

File gdb-signed, 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/ffmpeg_g...done.
16(gdb) b seek_to_start
17Breakpoint 1 at 0x4bae5d: file fftools/ffmpeg.c, line 4198.
18(gdb) r
19Starting program: ffmpeg_g -stream_loop 21 -y -i samples/samples.mplayerhq.hu/tests/DivX-test/Silent_Mobius-OpenDivX-200-sound.avi -target vcd -map 0 -c copy -aframes 100 -ar 48000 -ac 7 -b:v 599k output/tmp.nuv
20[Thread debugging using libthread_db enabled]
21Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
22ffmpeg version N-94906-gcb8d6a4e3e Copyright (c) 2000-2019 the FFmpeg developers
23 built with clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
24 configuration: --cc=clang --cxx=clang++ --ld=clang --enable-debug --toolchain=clang-usan
25 libavutil 56. 35.100 / 56. 35.100
26 libavcodec 58. 56.101 / 58. 56.101
27 libavformat 58. 32.104 / 58. 32.104
28 libavdevice 58. 9.100 / 58. 9.100
29 libavfilter 7. 58.102 / 7. 58.102
30 libswscale 5. 6.100 / 5. 6.100
31 libswresample 3. 6.100 / 3. 6.100
32[mpeg4 @ 0x922f280] time_increment_bits 0 is invalid in relation to the current bitstream, this is likely caused by a missing VOL header
33[mpeg4 @ 0x922f280] time_increment_bits set to 4 bits, based on bitstream analysis
34[mpeg4 @ 0x922f280] looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
35Input #0, avi, from 'samples/samples.mplayerhq.hu/tests/DivX-test/Silent_Mobius-OpenDivX-200-sound.avi':
36 Duration: 00:00:18.35, start: 0.000000, bitrate: 431 kb/s
37 Stream #0:0: Video: mpeg4 ([4][0][0][0] / 0x0004), yuv420p, 352x240, 382 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
38 Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 22050 Hz, mono, fltp, 31 kb/s
39Assuming NTSC for target.
40[vcd @ 0x927a000] VBV buffer size not set, using default size of 230KB
41If you want the mpeg file to be compliant to some specification
42Like DVD, VCD or others, make sure you set the correct buffer size
43Output #0, vcd, to 'output/tmp.nuv':
44 Metadata:
45 encoder : Lavf58.32.104
46 Stream #0:0: Video: mpeg4 ([4][0][0][0] / 0x0004), yuv420p, 352x240, q=2-31, 599 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc
47 Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 22050 Hz, mono, fltp, 224 kb/s
48Stream mapping:
49 Stream #0:0 -> #0:0 (copy)
50 Stream #0:1 -> #0:1 (copy)
51Press [q] to stop, [?] for help
52[vcd @ 0x927a000] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
53[NULL @ 0x922f280] Error, header damaged or not MPEG-4 header (f_code=0)
54 Last message repeated 67 times
55Breakpoint 1, process_input (file_index=0) at fftools/ffmpeg.c:4288
564288 ret = seek_to_start(ifile, is);
57(gdb) n
58fftools/ffmpeg.c:4238:34: runtime error: signed integer overflow: -9223372036854775808 - 9223372036854775807 cannot be represented in type 'long'
594273 if (ret < 0 && ifile->loop) {
60(gdb) bt
61#0 process_input (file_index=0) at fftools/ffmpeg.c:4273
62#1 0x000000000048f47b in transcode_step () at fftools/ffmpeg.c:4638
63#2 transcode () at fftools/ffmpeg.c:4692
64#3 0x0000000000489c34 in main (argc=21, argv=<optimized out>) at fftools/ffmpeg.c:4894
65(gdb) disass $pc-32,$pc+32
66Dump of assembler code from 0x4bc004 to 0x4bc044:
67 0x00000000004bc004 <process_input+6340>: clc
68 0x00000000004bc005 <process_input+6341>: (bad)
69 0x00000000004bc006 <process_input+6342>: (bad)
70 0x00000000004bc007 <process_input+6343>: mov $0x6378da0,%edi
71 0x00000000004bc00c <process_input+6348>: mov %rbx,%rsi
72 0x00000000004bc00f <process_input+6351>: callq 0x42e510 <__ubsan_handle_type_mismatch_v1>
73 0x00000000004bc014 <process_input+6356>: jmpq 0x4bb8f7 <process_input+4535>
74 0x00000000004bc019 <process_input+6361>: cmpb $0x0,0x28(%rsp)
75 0x00000000004bc01e <process_input+6366>: je 0x4bcdb4 <process_input+9844>
76=> 0x00000000004bc024 <process_input+6372>: test $0x3,%r13b
77 0x00000000004bc028 <process_input+6376>: jne 0x4bcdcb <process_input+9867>
78 0x00000000004bc02e <process_input+6382>: mov 0x0(%r13),%eax
79 0x00000000004bc032 <process_input+6386>: test %eax,%eax
80 0x00000000004bc034 <process_input+6388>: jle 0x4bc04f <process_input+6415>
81 0x00000000004bc036 <process_input+6390>: cmpb $0x0,0x28(%rsp)
82 0x00000000004bc03b <process_input+6395>: je 0x4bf4d0 <process_input+19856>
83 0x00000000004bc041 <process_input+6401>: mov %eax,%ebx
84 0x00000000004bc043 <process_input+6403>: dec %ebx
85End of assembler dump.
86(gdb) info all-registers
87rax 0xffffffff 4294967295
88rbx 0xf8d00000001 17098264805377
89rcx 0xf8d00000000 17098264805376
90rdx 0x12351 74577
91rsi 0xbb500000064 12872016986212
92rdi 0x9240e58 153357912
93rbp 0xf8d00000001 0xf8d00000001
94rsp 0x7fffffffc9f0 0x7fffffffc9f0
95r8 0x9240e10 153357840
96r9 0x0 0
97r10 0x9240e18 153357848
98r11 0x206 518
99r12 0x2 2
100r13 0x9240e14 153357844
101r14 0x9240e00 153357824
102r15 0x0 0
103rip 0x4bc024 0x4bc024 <process_input+6372>
104eflags 0x202 [ IF ]
105cs 0x33 51
106ss 0x2b 43
107ds 0x0 0
108es 0x0 0
109fs 0x0 0
110gs 0x0 0
111st0 0 (raw 0x00000000000000000000)
112st1 0 (raw 0x00000000000000000000)
113st2 0 (raw 0x00000000000000000000)
114st3 0 (raw 0x00000000000000000000)
115st4 0 (raw 0x00000000000000000000)
116st5 0 (raw 0x00000000000000000000)
117st6 0 (raw 0x00000000000000000000)
118st7 0 (raw 0x00000000000000000000)
119fctrl 0x37f 895
120fstat 0x0 0
121ftag 0xffff 65535
122fiseg 0x0 0
123fioff 0x0 0
124foseg 0x0 0
125fooff 0x0 0
126fop 0x0 0
127mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ]
128---Type <return> to continue, or q <return> to quit---
129bndcfgu {raw = 0x0, config = {base = 0x0, reserved = 0x0, preserved = 0x0, enabled = 0x0}} {raw = 0x0, config = {base = 0, reserved = 0, preserved = 0,
130 enabled = 0}}
131bndstatus {raw = 0x0, status = {bde = 0x0, error = 0x0}} {raw = 0x0, status = {bde = 0, error = 0}}
132ymm0 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x8, 0x0, 0x0, 0x0, 0x30, 0x0, 0x0, 0x0, 0x80, 0xc6,
133 0xff, 0xff, 0xff, 0x7f, 0x0 <repeats 18 times>}, v16_int16 = {0x8, 0x0, 0x30, 0x0, 0xc680, 0xffff, 0x7fff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
134 v8_int32 = {0x8, 0x30, 0xffffc680, 0x7fff, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x3000000008, 0x7fffffffc680, 0x0, 0x0}, v2_int128 = {0x7fffffffc6800000003000000008,
135 0x0}}
136ymm1 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {
137 0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
138ymm2 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x4f, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0, 0x1,
139 0x0 <repeats 23 times>}, v16_int16 = {0x4f, 0x0, 0x1, 0x0, 0x1, 0x0 <repeats 11 times>}, v8_int32 = {0x4f, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {
140 0x10000004f, 0x1, 0x0, 0x0}, v2_int128 = {0x1000000010000004f, 0x0}}
141ymm3 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {
142 0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
143ymm4 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x8000000000000000, 0x0, 0x0}, v32_int8 = {0x0, 0x0, 0x1, 0xb6,
144 0x50, 0xe1, 0x33, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xd6, 0xdc, 0x0 <repeats 16 times>}, v16_int16 = {0x0, 0xb601, 0xe150, 0xff33, 0xffff, 0xffff, 0xffff,
145 0xdcd6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xb6010000, 0xff33e150, 0xffffffff, 0xdcd6ffff, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xff33e150b6010000,
146 0xdcd6ffffffffffff, 0x0, 0x0}, v2_int128 = {0xdcd6ffffffffffffff33e150b6010000, 0x0}}
147ymm5 {v8_float = {0xffb94561, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x8000000000000000, 0x0, 0x0}, v32_int8 = {0x3e, 0x75,
148 0x8d, 0xca, 0x6e, 0x76, 0xb6, 0xe6, 0xf2, 0x6f, 0x5b, 0x81, 0x9a, 0x3c, 0xf9, 0xef, 0x0 <repeats 16 times>}, v16_int16 = {0x753e, 0xca8d, 0x766e, 0xe6b6, 0x6ff2,
149 0x815b, 0x3c9a, 0xeff9, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xca8d753e, 0xe6b6766e, 0x815b6ff2, 0xeff93c9a, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {
150 0xe6b6766eca8d753e, 0xeff93c9a815b6ff2, 0x0, 0x0}, v2_int128 = {0xeff93c9a815b6ff2e6b6766eca8d753e, 0x0}}
151ymm6 {v8_float = {0xbd8f000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x1e, 0x7b, 0x81, 0x50, 0x59, 0x21, 0x64,
152 0x91, 0xf3, 0x3a, 0x48, 0x6, 0xb2, 0x1c, 0x70, 0x14, 0x0 <repeats 16 times>}, v16_int16 = {0x7b1e, 0x5081, 0x2159, 0x9164, 0x3af3, 0x648, 0x1cb2, 0x1470, 0x0, 0x0,
153 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x50817b1e, 0x91642159, 0x6483af3, 0x14701cb2, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x9164215950817b1e, 0x14701cb206483af3,
154 0x0, 0x0}, v2_int128 = {0x14701cb206483af39164215950817b1e, 0x0}}
155ymm7 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {
156 0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
157ymm8 {v8_float = {0xffff809e, 0x7eb6328, 0x6cfcb400, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x7fffffffffffffff, 0x0, 0x0, 0x0}, v32_int8 = {0xd6, 0xc4, 0xfe,
158 0xc6, 0x65, 0x6c, 0xfd, 0x4c, 0x5a, 0x7e, 0xb6, 0x4f, 0xff, 0xf8, 0xbc, 0x2b, 0x0 <repeats 16 times>}, v16_int16 = {0xc4d6, 0xc6fe, 0x6c65, 0x4cfd, 0x7e5a, 0x4fb6,
159 0xf8ff, 0x2bbc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xc6fec4d6, 0x4cfd6c65, 0x4fb67e5a, 0x2bbcf8ff, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {
160 0x4cfd6c65c6fec4d6, 0x2bbcf8ff4fb67e5a, 0x0, 0x0}, v2_int128 = {0x2bbcf8ff4fb67e5a4cfd6c65c6fec4d6, 0x0}}
161ymm9 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {
162 0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x0, 0x0}}
163ymm10 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x49, 0x30, 0xf3, 0xb7, 0xae, 0x6e, 0xdf, 0xb8,
164 0x14, 0x1a, 0xa, 0xb8, 0xfe, 0x81, 0x3e, 0xb9, 0x0 <repeats 16 times>}, v16_int16 = {0x3049, 0xb7f3, 0x6eae, 0xb8df, 0x1a14, 0xb80a, 0x81fe, 0xb93e, 0x0, 0x0, 0x0,
165 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xb7f33049, 0xb8df6eae, 0xb80a1a14, 0xb93e81fe, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xb8df6eaeb7f33049, 0xb93e81feb80a1a14, 0x0,
166 0x0}, v2_int128 = {0xb93e81feb80a1a14b8df6eaeb7f33049, 0x0}}
167ymm11 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0, 0x0, 0x0, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
168 0x0, 0x80, 0x0 <repeats 20 times>}, v16_int16 = {0x0, 0x8000, 0x0, 0x0, 0x0, 0x8000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x80000000,
169 0x0, 0x80000000, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x80000000, 0x80000000, 0x0, 0x0}, v2_int128 = {0x800000000000000080000000, 0x0}}
170---Type <return> to continue, or q <return> to quit---
171ymm12 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0xee, 0x76, 0xc3, 0xbb, 0x3b, 0xb4, 0xda, 0x39,
172 0xcf, 0x69, 0xf8, 0x38, 0x55, 0x19, 0xf2, 0xbb, 0x0 <repeats 16 times>}, v16_int16 = {0x76ee, 0xbbc3, 0xb43b, 0x39da, 0x69cf, 0x38f8, 0x1955, 0xbbf2, 0x0, 0x0,
173 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xbbc376ee, 0x39dab43b, 0x38f869cf, 0xbbf21955, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x39dab43bbbc376ee, 0xbbf2195538f869cf,
174 0x0, 0x0}, v2_int128 = {0xbbf2195538f869cf39dab43bbbc376ee, 0x0}}
175ymm13 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0xd5, 0x52, 0x1a, 0x39, 0x7a, 0xde, 0xe7, 0x39,
176 0x19, 0x54, 0xd3, 0xb9, 0x24, 0x19, 0xb4, 0x39, 0x0 <repeats 16 times>}, v16_int16 = {0x52d5, 0x391a, 0xde7a, 0x39e7, 0x5419, 0xb9d3, 0x1924, 0x39b4, 0x0, 0x0,
177 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x391a52d5, 0x39e7de7a, 0xb9d35419, 0x39b41924, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x39e7de7a391a52d5, 0x39b41924b9d35419,
178 0x0, 0x0}, v2_int128 = {0x39b41924b9d3541939e7de7a391a52d5, 0x0}}
179ymm14 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0xf1, 0x2c, 0x1d, 0xb9, 0x77, 0x60, 0x80, 0xb9,
180 0x56, 0x0, 0x79, 0xb8, 0x31, 0x1, 0x1f, 0x38, 0x0 <repeats 16 times>}, v16_int16 = {0x2cf1, 0xb91d, 0x6077, 0xb980, 0x56, 0xb879, 0x131, 0x381f, 0x0, 0x0, 0x0,
181 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xb91d2cf1, 0xb9806077, 0xb8790056, 0x381f0131, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xb9806077b91d2cf1, 0x381f0131b8790056, 0x0,
182 0x0}, v2_int128 = {0x381f0131b8790056b9806077b91d2cf1, 0x0}}
183ymm15 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0, 0x0, 0x0, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
184 0x0, 0x80, 0x0 <repeats 20 times>}, v16_int16 = {0x0, 0x8000, 0x0, 0x0, 0x0, 0x8000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x80000000,
185 0x0, 0x80000000, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x80000000, 0x80000000, 0x0, 0x0}, v2_int128 = {0x800000000000000080000000, 0x0}}
186bnd0 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
187bnd1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
188bnd2 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
189bnd3 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1 {lbound = 0x0, ubound = 0xffffffffffffffff} : size -1
190