| 1 | root@video2:~/tmp/ffmpeg# gdb ffmpeg_g
|
|---|
| 2 | GNU gdb (GDB) 7.3-debian
|
|---|
| 3 | Copyright (C) 2011 Free Software Foundation, Inc.
|
|---|
| 4 | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
|
|---|
| 5 | This is free software: you are free to change and redistribute it.
|
|---|
| 6 | There is NO WARRANTY, to the extent permitted by law. Type "show copying"
|
|---|
| 7 | and "show warranty" for details.
|
|---|
| 8 | This GDB was configured as "x86_64-linux-gnu".
|
|---|
| 9 | For bug reporting instructions, please see:
|
|---|
| 10 | <http://www.gnu.org/software/gdb/bugs/>...
|
|---|
| 11 | Reading 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
|
|---|
| 13 | Starting 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]
|
|---|
| 15 | ffmpeg 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
|
|---|
| 26 | Input #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
|
|---|
| 30 | Input #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
|
|---|
| 37 | Output #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
|
|---|
| 40 | Stream mapping:
|
|---|
| 41 | Stream #0.0 -> #0.0
|
|---|
| 42 | Program received signal SIGSEGV, Segmentation fault.
|
|---|
| 43 | transcode_init (nb_input_files=<optimized out>, input_files=<optimized out>,
|
|---|
| 44 | nb_output_files=<optimized out>, output_files=<optimized out>) at ffmpeg.c:2373
|
|---|
| 45 | 2373 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
|
|---|
| 53 | Dump 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
|
|---|
| 74 | End of assembler dump.
|
|---|
| 75 | (gdb) info all-registers
|
|---|
| 76 | rax 0x0 0
|
|---|
| 77 | rbx 0x6434d0 6567120
|
|---|
| 78 | rcx 0x7ffff58743e0 140737312670688
|
|---|
| 79 | rdx 0x638270 6521456
|
|---|
| 80 | rsi 0x7ffff5fe3500 140737320465664
|
|---|
| 81 | rdi 0xffffffff 4294967295
|
|---|
| 82 | rbp 0x0 0x0
|
|---|
| 83 | rsp 0x7fffffffc430 0x7fffffffc430
|
|---|
| 84 | r8 0x7ffff5fe35c3 140737320465859
|
|---|
| 85 | r9 0x7ffff7fe3700 140737354020608
|
|---|
| 86 | r10 0xfffffffffffffff0 -16
|
|---|
| 87 | r11 0x246 582
|
|---|
| 88 | r12 0x0 0
|
|---|
| 89 | r13 0x1 1
|
|---|
| 90 | r14 0x621300 6427392
|
|---|
| 91 | r15 0x7ffff70dd640 140737338267200
|
|---|
| 92 | rip 0x40d42b 0x40d42b <transcode+5483>
|
|---|
| 93 | eflags 0x10287 [ CF PF SF IF RF ]
|
|---|
| 94 | cs 0x33 51
|
|---|
| 95 | ss 0x2b 43
|
|---|
| 96 | ds 0x0 0
|
|---|
| 97 | es 0x0 0
|
|---|
| 98 | fs 0x0 0
|
|---|
| 99 | ---Type <return> to continue, or q <return> to quit---
|
|---|
| 100 | gs 0x0 0
|
|---|
| 101 | st0 0 (raw 0x00000000000000000000)
|
|---|
| 102 | st1 0 (raw 0x00000000000000000000)
|
|---|
| 103 | st2 0 (raw 0x00000000000000000000)
|
|---|
| 104 | st3 0 (raw 0x00000000000000000000)
|
|---|
| 105 | st4 0 (raw 0x00000000000000000000)
|
|---|
| 106 | st5 0 (raw 0x00000000000000000000)
|
|---|
| 107 | st6 0 (raw 0x00000000000000000000)
|
|---|
| 108 | st7 0 (raw 0x00000000000000000000)
|
|---|
| 109 | fctrl 0x37f 895
|
|---|
| 110 | fstat 0x0 0
|
|---|
| 111 | ftag 0xffff 65535
|
|---|
| 112 | fiseg 0x0 0
|
|---|
| 113 | fioff 0x0 0
|
|---|
| 114 | foseg 0x0 0
|
|---|
| 115 | fooff 0x0 0
|
|---|
| 116 | fop 0x0 0
|
|---|
| 117 | xmm0 {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}
|
|---|
| 122 | xmm1 {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}
|
|---|
| 126 | xmm2 {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}
|
|---|
| 129 | xmm3 {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}
|
|---|
| 132 | xmm4 {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}
|
|---|
| 137 | xmm5 {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}
|
|---|
| 141 | xmm6 {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}
|
|---|
| 145 | xmm7 {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}
|
|---|
| 150 | xmm8 {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}
|
|---|
| 153 | xmm9 {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}
|
|---|
| 157 | xmm10 {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}
|
|---|
| 160 | xmm11 {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}
|
|---|
| 164 | xmm12 {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}
|
|---|
| 168 | xmm13 {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}
|
|---|
| 173 | xmm14 {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}
|
|---|
| 177 | xmm15 {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}
|
|---|
| 180 | mxcsr 0x1fb2 [ DE UE PE IM DM ZM OM UM PM ]
|
|---|