Ticket #185: gdb.txt

File gdb.txt, 12.6 KB (added by Philip Ashmore, 15 years ago)

gdb session

Line 
1LD_LIBRARY_PATH=/usr/local/lib gdb --args /v3c/downloads/c/ffmpeg/git/ffmpeg/ffmpeg_g -v 9 -loglevel 99 -i 2011-05-10-021123.ogv -an -pass 1 -f avi -y /dev/null
2GNU gdb (GDB) 7.2-debian
3Copyright (C) 2010 Free Software Foundation, Inc.
4License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
5This is free software: you are free to change and redistribute it.
6There is NO WARRANTY, to the extent permitted by law. Type "show copying"
7and "show warranty" for details.
8This GDB was configured as "x86_64-linux-gnu".
9For bug reporting instructions, please see:
10<http://www.gnu.org/software/gdb/bugs/>...
11Reading symbols from /v3c/downloads/c/ffmpeg/git/ffmpeg/ffmpeg_g...done.
12(gdb) r
13Starting program: /v3c/downloads/c/ffmpeg/git/ffmpeg/ffmpeg_g -v 9 -loglevel 99 -i 2011-05-10-021123.ogv -an -pass 1 -f avi -y /dev/null
14[Thread debugging using libthread_db enabled]
15ffmpeg version git-N-29809-g3b6bbfa-4:0.7-rc1, Copyright (c) 2000-2011 the FFmpeg developers
16 built on May 11 2011 13:45:43 with gcc 4.4.5
17 configuration: --extra-version='4:0.7-rc1' --prefix=/usr/local --enable-avfilter --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static --enable-nonfree --enable-avfilter --enable-pthreads --enable-x11grab --enable-runtime-cpudetect --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-zlib --enable-libopencv --enable-libfaac --enable-libfreetype --enable-libvo-aacenc --enable-libx264 --enable-libxvid --enable-zlib
18 libavutil 51. 2. 1 / 51. 2. 1
19 libavcodec 53. 5. 0 / 53. 5. 0
20 libavformat 53. 0. 3 / 53. 0. 3
21 libavdevice 53. 0. 0 / 53. 0. 0
22 libavfilter 2. 5. 0 / 2. 5. 0
23 libswscale 0. 14. 0 / 0. 14. 0
24 libpostproc 51. 2. 0 / 51. 2. 0
25[NULL @ 0x63eb40] Format ogg probed with size=2048 and score=100
26[theora @ 0x640ca0] Theora bitstream version 30201
27[theora @ 0x640ca0] 7 bits left in packet 82
28[ogg @ 0x63eb40] All info found
29Input #0, ogg, from '2011-05-10-021123.ogv':
30 Duration: 00:49:08.05, start: 0.000000, bitrate: 7364 kb/s
31 Stream #0.0, 1, 1/30: Video: theora, yuv444p, 640x480 [PAR 1:1 DAR 4:3], 1/30, 30 tbr, 30 tbn, 30 tbc
32 Stream #0.1, 881, 1/44100: Audio: vorbis, 44100 Hz, mono, s16, 80 kb/s
33Incompatible pixel format 'yuv444p' for codec 'mpeg4', auto-selecting format 'yuv420p'
34[buffer @ 0x7f04c0] w:640 h:480 pixfmt:yuv444p tb:1/1000000 sar:1/1
35[ffsink @ 0x826ae0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
36[scale @ 0x834160] w:640 h:480 fmt:yuv444p -> w:640 h:480 fmt:yuv420p flags:0xa2000004
37[theora @ 0x640ca0] Theora bitstream version 30201
38[theora @ 0x640ca0] 7 bits left in packet 82
39Output #0, avi, to '/dev/null':
40 Metadata:
41 ISFT : Lavf53.0.3
42 Stream #0.0, 0, 1/30: Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 1/30, q=2-31, pass 1, 200 kb/s, 30 tbn, 30 tbc
43Stream mapping:
44 Stream #0.0 -> #0.0
45Press [q] to stop encoding
46[buffer @ 0x7f04c0] Buffer video input changed from size:640x480 fmt:yuv444p to size:640x480 fmt:yuv420p
47[scale @ 0x834160] w:640 h:480 fmt:yuv420p -> w:640 h:480 fmt:yuv420p flags:0x2
48frame=70427 fps=111 q=23.1 size= 0kB time=2347.57 bitrate= 0.0kbits/s
49Program received signal SIGSEGV, Segmentation fault.
50memcpy () at ../sysdeps/x86_64/memcpy.S:267
51267 ../sysdeps/x86_64/memcpy.S: No such file or directory.
52 in ../sysdeps/x86_64/memcpy.S
53(gdb) bt
54#0 memcpy () at ../sysdeps/x86_64/memcpy.S:267
55#1 0x00007ffff76ec6f7 in ogg_read_page (s=<value optimized out>, str=0x7fffffffce5c) at libavformat/oggdec.c:293
56#2 0x00007ffff76ec76b in ogg_packet (s=0x63eb40, str=0x7fffffffcedc, dstart=0x7f8d5ef6, dsize=0x800,
57 fpos=0x7fffffffcec8) at libavformat/oggdec.c:328
58#3 0x00007ffff76ed0b4 in ogg_read_packet (s=0x63eb40, pkt=<value optimized out>) at libavformat/oggdec.c:573
59#4 0x00007ffff771896c in av_read_packet (s=0x63eb40, pkt=0x7fffffffcfe0) at libavformat/utils.c:666
60#5 0x00007ffff771a15a in av_read_frame_internal (s=0x63eb40, pkt=0x7fffffffdde0) at libavformat/utils.c:1121
61#6 0x000000000040ccb1 in transcode (nb_output_files=<value optimized out>, nb_input_files=<value optimized out>,
62 stream_maps=<value optimized out>, nb_stream_maps=<value optimized out>, input_files=<value optimized out>,
63 output_files=<value optimized out>) at ffmpeg.c:2643
64#7 0x000000000040dbb7 in main (argc=14, argv=<value optimized out>) at ffmpeg.c:4517
65(gdb) info all-registers
66rax 0x0 0
67rbx 0x647140 6582592
68rcx 0x800 2048
69rdx 0x7f8d5ef6 2139971318
70rsi 0x7ffeef010040 140732908240960
71rdi 0x0 0
72rbp 0x7767 0x7767
73rsp 0x7fffffffcda8 0x7fffffffcda8
74r8 0x641220 6558240
75r9 0xffffffffffffffff -1
76r10 0xffffffffffffffff -1
77r11 0x4000 16384
78r12 0x0 0
79r13 0x0 0
80r14 0x7fffffffce5c 140737488342620
81r15 0x7767 30567
82rip 0x7ffff5a718ab 0x7ffff5a718ab <memcpy+347>
83eflags 0x10206 [ PF IF RF ]
84cs 0x33 51
85ss 0x2b 43
86ds 0x0 0
87es 0x0 0
88fs 0x0 0
89gs 0x0 0
90st0 -nan(0x7e7e7e7e7e7e7e7e) (raw 0xffff7e7e7e7e7e7e7e7e)
91---Type <return> to continue, or q <return> to quit---
92st1 -nan(0x7e7e7e7e7e7e7e7e) (raw 0xffff7e7e7e7e7e7e7e7e)
93st2 -nan(0x7e007e007e007e) (raw 0xffff007e007e007e007e)
94st3 -nan(0x7e007e007e007e) (raw 0xffff007e007e007e007e)
95st4 -nan(0x691000006910) (raw 0xffff0000691000006910)
96st5 -nan(0x1000100010001) (raw 0xffff0001000100010001)
97st6 -inf (raw 0xffff0000000000000000)
98st7 -inf (raw 0xffff0000000000000000)
99fctrl 0x37f 895
100fstat 0x20 32
101ftag 0xffff 65535
102fiseg 0x7fff 32767
103fioff 0xf5d78e47 -170422713
104foseg 0x7fff 32767
105fooff 0xffffd888 -10104
106fop 0x51f 1311
107xmm0 {v4_float = {0x0, 0x5, 0x0, 0x0}, v2_double = {0x92d, 0x8000000000000000}, v16_int8 = {0x0, 0x0, 0x0,
108 0x0, 0x0, 0x5a, 0xa2, 0x40, 0xff, 0x0, 0x0, 0x0, 0xff, 0x0, 0x0, 0xff}, v8_int16 = {0x0, 0x0, 0x5a00, 0x40a2, 0xff,
109 0x0, 0xff, 0xff00}, v4_int32 = {0x0, 0x40a25a00, 0xff, 0xff0000ff}, v2_int64 = {0x40a25a0000000000,
110 0xff0000ff000000ff}, uint128 = 0xff0000ff000000ff40a25a0000000000}
111xmm1 {v4_float = {0x0, 0x4d680000, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x0}, v16_int8 = {0x7d, 0xc3,
112 0x94, 0x25, 0xad, 0x49, 0xb2, 0x54, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xc37d, 0x2594, 0x49ad,
113 0x54b2, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x2594c37d, 0x54b249ad, 0x0, 0x0}, v2_int64 = {0x54b249ad2594c37d, 0x0},
114 uint128 = 0x000000000000000054b249ad2594c37d}
115xmm2 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x11, 0x11, 0x11, 0x11, 0x11,
116 0x11, 0xa1, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x1111, 0x1111, 0x1111, 0x3fa1, 0x0, 0x0,
117---Type <return> to continue, or q <return> to quit---
118 0x0, 0x0}, v4_int32 = {0x11111111, 0x3fa11111, 0x0, 0x0}, v2_int64 = {0x3fa1111111111111, 0x0},
119 uint128 = 0x00000000000000003fa1111111111111}
120xmm3 {v4_float = {0x0, 0x2, 0x0, 0x0}, v2_double = {0x1e, 0x8000000000000000}, v16_int8 = {0x0, 0x0, 0x0,
121 0x0, 0x0, 0x0, 0x3e, 0x40, 0x0, 0x0, 0x0, 0x0, 0xff, 0xff, 0xff, 0xff}, v8_int16 = {0x0, 0x0, 0x0, 0x403e, 0x0,
122 0x0, 0xffff, 0xffff}, v4_int32 = {0x0, 0x403e0000, 0x0, 0xffffffff}, v2_int64 = {0x403e000000000000,
123 0xffffffff00000000}, uint128 = 0xffffffff00000000403e000000000000}
124xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>},
125 v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
126 uint128 = 0x00000000000000000000000000000000}
127xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x97, 0x0, 0x97, 0x0, 0x97, 0x0,
128 0x97, 0x0, 0x97, 0x0, 0x97, 0x0, 0x97, 0x0, 0x97, 0x0}, v8_int16 = {0x97, 0x97, 0x97, 0x97, 0x97, 0x97, 0x97,
129 0x97}, v4_int32 = {0x970097, 0x970097, 0x970097, 0x970097}, v2_int64 = {0x97009700970097, 0x97009700970097},
130 uint128 = 0x00970097009700970097009700970097}
131xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x6d, 0x0, 0x6d, 0x0, 0x6d, 0x0,
132 0x6d, 0x0, 0x6d, 0x0, 0x6d, 0x0, 0x6d, 0x0, 0x6d, 0x0}, v8_int16 = {0x6d, 0x6d, 0x6d, 0x6d, 0x6d, 0x6d, 0x6d,
133 0x6d}, v4_int32 = {0x6d006d, 0x6d006d, 0x6d006d, 0x6d006d}, v2_int64 = {0x6d006d006d006d, 0x6d006d006d006d},
134 uint128 = 0x006d006d006d006d006d006d006d006d}
135xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>},
136 v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
137 uint128 = 0x00000000000000000000000000000000}
138xmm8 {v4_float = {0x0, 0xd0, 0x0, 0x0}, v2_double = {0x4380663abb8000, 0x0}, v16_int8 = {0x0, 0xe0, 0xae,
139 0x8e, 0x19, 0xe0, 0x50, 0x43, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xe000, 0x8eae, 0xe019, 0x4350,
140 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x8eaee000, 0x4350e019, 0x0, 0x0}, v2_int64 = {0x4350e0198eaee000, 0x0},
141 uint128 = 0x00000000000000004350e0198eaee000}
142xmm9 {v4_float = {0x0, 0xc, 0x0, 0x0}, v2_double = {0x3ecba8, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0xd4,
143---Type <return> to continue, or q <return> to quit---
144 0x65, 0x4f, 0x41, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x65d4, 0x414f, 0x0, 0x0, 0x0,
145 0x0}, v4_int32 = {0x0, 0x414f65d4, 0x0, 0x0}, v2_int64 = {0x414f65d400000000, 0x0},
146 uint128 = 0x0000000000000000414f65d400000000}
147xmm10 {v4_float = {0x0, 0x4b, 0x0, 0x0}, v2_double = {0x5ffffffffff, 0x0}, v16_int8 = {0x2c, 0xfd, 0xff, 0xff,
148 0xff, 0xff, 0x97, 0x42, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xfd2c, 0xffff, 0xffff, 0x4297, 0x0,
149 0x0, 0x0, 0x0}, v4_int32 = {0xfffffd2c, 0x4297ffff, 0x0, 0x0}, v2_int64 = {0x4297fffffffffd2c, 0x0},
150 uint128 = 0x00000000000000004297fffffffffd2c}
151xmm11 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xf6, 0xb7, 0x36, 0x89, 0x86,
152 0x2a, 0x6a, 0xbe, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xb7f6, 0x8936, 0x2a86, 0xbe6a, 0x0, 0x0,
153 0x0, 0x0}, v4_int32 = {0x8936b7f6, 0xbe6a2a86, 0x0, 0x0}, v2_int64 = {0xbe6a2a868936b7f6, 0x0},
154 uint128 = 0x0000000000000000be6a2a868936b7f6}
155xmm12 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
156 0xe0, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3fe0, 0x0, 0x0, 0x0, 0x0},
157 v4_int32 = {0x0, 0x3fe00000, 0x0, 0x0}, v2_int64 = {0x3fe0000000000000, 0x0},
158 uint128 = 0x00000000000000003fe0000000000000}
159xmm13 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x15, 0x6e, 0xbd, 0xec, 0x79,
160 0x3b, 0xf0, 0x3e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x6e15, 0xecbd, 0x3b79, 0x3ef0, 0x0, 0x0,
161 0x0, 0x0}, v4_int32 = {0xecbd6e15, 0x3ef03b79, 0x0, 0x0}, v2_int64 = {0x3ef03b79ecbd6e15, 0x0},
162 uint128 = 0x00000000000000003ef03b79ecbd6e15}
163xmm14 {v4_float = {0x0, 0xc, 0x0, 0xc}, v2_double = {0x3ecba8, 0x3ecba8}, v16_int8 = {0x0, 0x0, 0x0, 0x0,
164 0xd4, 0x65, 0x4f, 0x41, 0x0, 0x0, 0x0, 0x0, 0xd4, 0x65, 0x4f, 0x41}, v8_int16 = {0x0, 0x0, 0x65d4, 0x414f, 0x0,
165 0x0, 0x65d4, 0x414f}, v4_int32 = {0x0, 0x414f65d4, 0x0, 0x414f65d4}, v2_int64 = {0x414f65d400000000,
166 0x414f65d400000000}, uint128 = 0x414f65d400000000414f65d400000000}
167xmm15 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xa0, 0x83, 0x47, 0x3, 0x1d, 0x3c,
168 0x8a, 0xb5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x83a0, 0x347, 0x3c1d, 0xb58a, 0x0, 0x0, 0x0,
169---Type <return> to continue, or q <return> to quit---
170 0x0}, v4_int32 = {0x34783a0, 0xb58a3c1d, 0x0, 0x0}, v2_int64 = {0xb58a3c1d034783a0, 0x0},
171 uint128 = 0x0000000000000000b58a3c1d034783a0}
172mxcsr 0x9fe0 [ PE DAZ IM DM ZM OM UM PM FZ ]
173(gdb) q
174A debugging session is active.
175
176 Inferior 1 [process 27945] will be killed.
177
178Quit anyway? (y or n) y