Ticket #589: gdb.txt

File gdb.txt, 11.8 KB (added by burek, 15 years ago)
Line 
1root@video2:~/tmp/ffmpeg# gdb ffmpeg_g
2GNU gdb (GDB) 7.3-debian
3Copyright (C) 2011 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 /root/tmp/ffmpeg/ffmpeg_g...done.
12(gdb) r -y -f video4linux2 -r 25 -s qvga -i /dev/video0 -f alsa -ac 1 -i hw:0 http://localhost:8090/feed1.ffm
13Starting program: /root/tmp/ffmpeg/ffmpeg_g -y -f video4linux2 -r 25 -s qvga -i /dev/video0 -f alsa -ac 1 -i hw:0 http://localhost:8090/feed1.ffm
14[Thread debugging using libthread_db enabled]
15ffmpeg version N-34028-g02ac6a6, Copyright (c) 2000-2011 the FFmpeg developers
16 built on Oct 25 2011 16:57:53 with gcc 4.6.1
17 configuration: --enable-static --enable-shared --enable-gpl --enable-nonfree --enable-postproc --enable-libx264 --enable-libaacplus --enable-debug
18 libavutil 51. 22. 0 / 51. 22. 0
19 libavcodec 53. 23. 0 / 53. 23. 0
20 libavformat 53. 17. 0 / 53. 17. 0
21 libavdevice 53. 4. 0 / 53. 4. 0
22 libavfilter 2. 45. 0 / 2. 45. 0
23 libswscale 2. 1. 0 / 2. 1. 0
24 libpostproc 51. 2. 0 / 51. 2. 0
25[video4linux2 @ 0x620980] Estimating duration from bitrate, this may be inaccurate
26Input #0, video4linux2, from '/dev/video0':
27 Duration: N/A, start: 2283.275914, bitrate: 30720 kb/s
28 Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 320x240, 30720 kb/s, 25 tbr, 1000k tbn, 25 tbc
29[alsa @ 0x6219c0] Estimating duration from bitrate, this may be inaccurate
30Input #1, alsa, from 'hw:0':
31 Duration: N/A, start: 1319554915.308555, bitrate: N/A
32 Stream #1:0: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
33[buffer @ 0x642ce0] w:320 h:240 pixfmt:yuyv422 tb:1/1000000 sar:0/1 sws_param:
34[buffersink @ 0x62d400] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out'
35[scale @ 0x620240] w:320 h:240 fmt:yuyv422 -> w:320 h:240 fmt:yuv420p flags:0x4
36[mp2 @ 0x641a20] codec type or id mismatches
37Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
38 Stream #0:0: Audio: adpcm_swf, 44100 Hz, 1 channels, s16, 176 kb/s
39 Stream #0:1: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 320x240, q=2-31, 320 kb/s, 1000k tbn, 25 tbc
40Stream mapping:
41 Stream #0.0 -> #0.0
42Program received signal SIGSEGV, Segmentation fault.
43transcode_init (nb_input_files=<optimized out>, input_files=<optimized out>,
44 nb_output_files=<optimized out>, output_files=<optimized out>) at ffmpeg.c:2373
452373 av_log(NULL, AV_LOG_INFO, " [sync #%d.%d]",
46(gdb) bt
47#0 transcode_init (nb_input_files=<optimized out>, input_files=<optimized out>,
48 nb_output_files=<optimized out>, output_files=<optimized out>) at ffmpeg.c:2373
49#1 transcode (output_files=0x621300, nb_output_files=1, input_files=0x638320, nb_input_files=2)
50 at ffmpeg.c:2415
51#2 0x0000000000405453 in main (argc=<optimized out>, argv=0x7fffffffe648) at ffmpeg.c:4473
52(gdb) disass $pc-32,$pc+32
53Dump of assembler code from 0x40d40b to 0x40d44b:
54 0x000000000040d40b <transcode+5451>: lea (%rax),%eax
55 0x000000000040d40d <transcode+5453>: add %ch,%al
56 0x000000000040d40f <transcode+5455>: fnsave -0x1(%rdi)
57 0x000000000040d412 <transcode+5458>: decl 0x63(%rax)
58 0x000000000040d415 <transcode+5461>: push %rbx
59 0x000000000040d416 <transcode+5462>: or %cl,-0x75(%rax)
60 0x000000000040d419 <transcode+5465>: rex.XB and %cl,0x6b(%r8)
61 0x000000000040d41d <transcode+5469>: rclb %cl,0x48(%rax)
62 0x000000000040d420 <transcode+5472>: add 0x20d922(%rip),%edx # 0x61ad48 <input_streams>
63 0x000000000040d426 <transcode+5478>: cmp %rdx,%rax
64 0x000000000040d429 <transcode+5481>: je 0x40d449 <transcode+5513>
65=> 0x000000000040d42b <transcode+5483>: mov 0x8(%rax),%rdx
66 0x000000000040d42f <transcode+5487>: mov (%rax),%ecx
67 0x000000000040d431 <transcode+5489>: mov $0x20,%esi
68 0x000000000040d436 <transcode+5494>: xor %edi,%edi
69 0x000000000040d438 <transcode+5496>: xor %eax,%eax
70 0x000000000040d43a <transcode+5498>: mov (%rdx),%r8d
71 0x000000000040d43d <transcode+5501>: lea 0x8ddc(%rip),%rdx # 0x416220
72 0x000000000040d444 <transcode+5508>: callq 0x404bf0 <av_log@plt>
73 0x000000000040d449 <transcode+5513>: mov 0x10(%rbx),%rax
74End of assembler dump.
75(gdb) info all-registers
76rax 0x0 0
77rbx 0x6434d0 6567120
78rcx 0x7ffff58743e0 140737312670688
79rdx 0x638270 6521456
80rsi 0x7ffff5fe3500 140737320465664
81rdi 0xffffffff 4294967295
82rbp 0x0 0x0
83rsp 0x7fffffffc430 0x7fffffffc430
84r8 0x7ffff5fe35c3 140737320465859
85r9 0x7ffff7fe3700 140737354020608
86r10 0xfffffffffffffff0 -16
87r11 0x246 582
88r12 0x0 0
89r13 0x1 1
90r14 0x621300 6427392
91r15 0x7ffff70dd640 140737338267200
92rip 0x40d42b 0x40d42b <transcode+5483>
93eflags 0x10287 [ CF PF SF IF RF ]
94cs 0x33 51
95ss 0x2b 43
96ds 0x0 0
97es 0x0 0
98fs 0x0 0
99---Type <return> to continue, or q <return> to quit---
100gs 0x0 0
101st0 0 (raw 0x00000000000000000000)
102st1 0 (raw 0x00000000000000000000)
103st2 0 (raw 0x00000000000000000000)
104st3 0 (raw 0x00000000000000000000)
105st4 0 (raw 0x00000000000000000000)
106st5 0 (raw 0x00000000000000000000)
107st6 0 (raw 0x00000000000000000000)
108st7 0 (raw 0x00000000000000000000)
109fctrl 0x37f 895
110fstat 0x0 0
111ftag 0xffff 65535
112fiseg 0x0 0
113fioff 0x0 0
114foseg 0x0 0
115fooff 0x0 0
116fop 0x0 0
117xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000},
118 v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xff, 0xff, 0x0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff},
119 v8_int16 = {0x0, 0x0, 0xff00, 0xffff, 0xff00, 0xffff, 0xffff, 0xffff}, v4_int32 = {0x0, 0xffffff00,
120 0xffffff00, 0xffffffff}, v2_int64 = {0xffffff0000000000, 0xffffffffffffff00},
121 uint128 = 0xffffffffffffff00ffffff0000000000}
122xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {
123---Type <return> to continue, or q <return> to quit---
124 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0,
125 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
126xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {
127 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0,
128 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
129xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {
130 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0,
131 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
132xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x8000000000000000}, v16_int8 = {0x0,
133 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x0, 0x64}, v8_int16 = {
134 0x7300, 0x756f, 0x6372, 0x2065, 0x6f66, 0x6d72, 0x7461, 0x6400}, v4_int32 = {0x756f7300, 0x20656372,
135 0x6d726f66, 0x64007461}, v2_int64 = {0x20656372756f7300, 0x640074616d726f66},
136 uint128 = 0x640074616d726f6620656372756f7300}
137xmm5 {v4_float = {0x3, 0x3, 0x3, 0x3}, v2_double = {0x20, 0x20}, v16_int8 = {
138 0x40 <repeats 16 times>}, v8_int16 = {0x4040, 0x4040, 0x4040, 0x4040, 0x4040, 0x4040, 0x4040, 0x4040},
139 v4_int32 = {0x40404040, 0x40404040, 0x40404040, 0x40404040}, v2_int64 = {0x4040404040404040,
140 0x4040404040404040}, uint128 = 0x40404040404040404040404040404040}
141xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000},
142 v16_int8 = {0x5b <repeats 16 times>}, v8_int16 = {0x5b5b, 0x5b5b, 0x5b5b, 0x5b5b, 0x5b5b, 0x5b5b,
143 0x5b5b, 0x5b5b}, v4_int32 = {0x5b5b5b5b, 0x5b5b5b5b, 0x5b5b5b5b, 0x5b5b5b5b}, v2_int64 = {
144 0x5b5b5b5b5b5b5b5b, 0x5b5b5b5b5b5b5b5b}, uint128 = 0x5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b}
145xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {
146 0x20 <repeats 16 times>}, v8_int16 = {0x2020, 0x2020, 0x2020, 0x2020, 0x2020, 0x2020, 0x2020, 0x2020},
147---Type <return> to continue, or q <return> to quit---
148 v4_int32 = {0x20202020, 0x20202020, 0x20202020, 0x20202020}, v2_int64 = {0x2020202020202020,
149 0x2020202020202020}, uint128 = 0x20202020202020202020202020202020}
150xmm8 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {
151 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0,
152 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
153xmm9 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x0}, v16_int8 = {0x0,
154 0x0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0, 0x0, 0xff, 0xff, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0,
155 0xffff, 0xffff, 0xffff, 0x0, 0xffff, 0x0, 0x0}, v4_int32 = {0xffff0000, 0xffffffff, 0xffff0000, 0x0},
156 v2_int64 = {0xffffffffffff0000, 0xffff0000}, uint128 = 0x00000000ffff0000ffffffffffff0000}
157xmm10 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {
158 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0,
159 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
160xmm11 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x0}, v16_int8 = {0xff,
161 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xffff,
162 0xffff, 0xffff, 0xffff, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xffffffff, 0xffffffff, 0x0, 0x0},
163 v2_int64 = {0xffffffffffffffff, 0x0}, uint128 = 0x0000000000000000ffffffffffffffff}
164xmm12 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x29, 0xf2, 0x88,
165 0x6c, 0xa6, 0x49, 0xde, 0x3e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xf229, 0x6c88,
166 0x49a6, 0x3ede, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x6c88f229, 0x3ede49a6, 0x0, 0x0}, v2_int64 = {
167 0x3ede49a66c88f229, 0x0}, uint128 = 0x00000000000000003ede49a66c88f229}
168xmm13 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xb3, 0x12, 0x58,
169 0x17, 0x64, 0x46, 0xe6, 0x3b, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x12b3, 0x1758,
170 0x4664, 0x3be6, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x175812b3, 0x3be64664, 0x0, 0x0}, v2_int64 = {
171---Type <return> to continue, or q <return> to quit---
172 0x3be64664175812b3, 0x0}, uint128 = 0x00000000000000003be64664175812b3}
173xmm14 {v4_float = {0x0, 0x3, 0x0, 0x0}, v2_double = {0x2d, 0x0}, v16_int8 = {0xc0, 0x9, 0xf2,
174 0x16, 0xb5, 0xdf, 0x46, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x9c0, 0x16f2,
175 0xdfb5, 0x4046, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x16f209c0, 0x4046dfb5, 0x0, 0x0}, v2_int64 = {
176 0x4046dfb516f209c0, 0x0}, uint128 = 0x00000000000000004046dfb516f209c0}
177xmm15 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {
178 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0,
179 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
180mxcsr 0x1fb2 [ DE UE PE IM DM ZM OM UM PM ]