| 1 | $ gdb ~/src/ffmpeg/ffmpeg_g
|
|---|
| 2 | GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
|
|---|
| 3 | Copyright (C) 2010 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 /home/user/src/ffmpeg/ffmpeg_g...done.
|
|---|
| 12 | (gdb) r -i sany0763.mkv -vf deshake -c:v libx264 -y test.mkv
|
|---|
| 13 | Starting program: /home/user/src/ffmpeg/ffmpeg_g -i sany0763.mkv -vf deshake -c:v libx264 -y test.mkv
|
|---|
| 14 | [Thread debugging using libthread_db enabled]
|
|---|
| 15 | ffmpeg version N-33271-g171a5b5, Copyright (c) 2000-2011 the FFmpeg developers
|
|---|
| 16 | built on Oct 4 2011 12:54:58 with gcc 4.5.2
|
|---|
| 17 | configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-nonfree --enable-libdirac --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-pic --enable-shared
|
|---|
| 18 | libavutil 51. 19. 0 / 51. 19. 0
|
|---|
| 19 | libavcodec 53. 19. 0 / 53. 19. 0
|
|---|
| 20 | libavformat 53. 13. 0 / 53. 13. 0
|
|---|
| 21 | libavdevice 53. 4. 0 / 53. 4. 0
|
|---|
| 22 | libavfilter 2. 43. 6 / 2. 43. 6
|
|---|
| 23 | libswscale 2. 1. 0 / 2. 1. 0
|
|---|
| 24 | libpostproc 51. 2. 0 / 51. 2. 0
|
|---|
| 25 | Input #0, matroska,webm, from 'sany0763.mkv':
|
|---|
| 26 | Duration: 00:00:59.52, start: 0.000000, bitrate: 2254 kb/s
|
|---|
| 27 | Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 1024x576 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 1k tbn, 29.97 tbc (default)
|
|---|
| 28 | [buffer @ 0x6affc0] w:1024 h:576 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
|
|---|
| 29 | [deshake @ 0x6b0760] rx: 16, ry: 16, edge: 3 blocksize: 16 contrast: 125 search: 0
|
|---|
| 30 | [libx264 @ 0x6afa60] using SAR=1/1
|
|---|
| 31 | [libx264 @ 0x6afa60] using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
|
|---|
| 32 | [New Thread 0x7ffff1cc5700 (LWP 27295)]
|
|---|
| 33 | [New Thread 0x7ffff14c4700 (LWP 27296)]
|
|---|
| 34 | [New Thread 0x7ffff0cc3700 (LWP 27297)]
|
|---|
| 35 | [New Thread 0x7ffff04c2700 (LWP 27298)]
|
|---|
| 36 | [New Thread 0x7fffee559700 (LWP 27299)]
|
|---|
| 37 | [libx264 @ 0x6afa60] profile High, level 3.1
|
|---|
| 38 | [libx264 @ 0x6afa60] 264 - core 116 r2074 2641b9e - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=4 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
|
|---|
| 39 | Output #0, matroska, to 'test.mkv':
|
|---|
| 40 | Metadata:
|
|---|
| 41 | encoder : Lavf53.13.0
|
|---|
| 42 | Stream #0:0: Video: h264, yuv420p, 1024x576 [SAR 1:1 DAR 16:9], q=-1--1, 1k tbn, 29.97 tbc (default)
|
|---|
| 43 | Stream mapping:
|
|---|
| 44 | Stream #0.0 -> #0.0 (mpeg4 -> libx264)
|
|---|
| 45 | Press [q] to stop, [?] for help
|
|---|
| 46 | frame= 87 fps= 12 q=29.0 size= 353kB time=00:00:01.33 bitrate=2165.0kbits/s
|
|---|
| 47 | Program received signal SIGSEGV, Segmentation fault.
|
|---|
| 48 | 0x00007ffff799cfd0 in ?? () from /usr/local/lib/libavfilter.so.2
|
|---|
| 49 | (gdb) bt
|
|---|
| 50 | #0 0x00007ffff799cfd0 in ?? () from /usr/local/lib/libavfilter.so.2
|
|---|
| 51 | #1 0x3f7661ddd0ad2460 in ?? ()
|
|---|
| 52 | #2 0x00007fffffffbe00 in ?? ()
|
|---|
| 53 | #3 0x0000000000000400 in ?? ()
|
|---|
| 54 | #4 0x0000000000000240 in ?? ()
|
|---|
| 55 | #5 0x000000000079bf20 in ?? ()
|
|---|
| 56 | #6 0x0000000000000020 in ?? ()
|
|---|
| 57 | #7 0x00007ffff5ba21c0 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
|
|---|
| 58 | #8 0x0000000000000020 in ?? ()
|
|---|
| 59 | #9 0x3dcccccd00000000 in ?? ()
|
|---|
| 60 | #10 0x00000000006b0e40 in ?? ()
|
|---|
| 61 | #11 0x00007ffff7968021 in avfilter_start_frame () from /usr/local/lib/libavfilter.so.2
|
|---|
| 62 | #12 0x00007ffff7968021 in avfilter_start_frame () from /usr/local/lib/libavfilter.so.2
|
|---|
| 63 | #13 0x00007ffff79a8b08 in ?? () from /usr/local/lib/libavfilter.so.2
|
|---|
| 64 | #14 0x00007ffff7967930 in avfilter_request_frame () from /usr/local/lib/libavfilter.so.2
|
|---|
| 65 | #15 0x00007ffff79987a4 in av_buffersink_get_buffer_ref () from /usr/local/lib/libavfilter.so.2
|
|---|
| 66 | #16 0x0000000000408827 in output_packet (ist=<value optimized out>, ist_index=0, ost_table=0x638ac0, nb_ostreams=1,
|
|---|
| 67 | pkt=<value optimized out>) at ffmpeg.c:1849
|
|---|
| 68 | #17 0x000000000040d70a in transcode (output_files=0x6b10e0, nb_output_files=<value optimized out>, input_files=0x6323d0, nb_input_files=1)
|
|---|
| 69 | at ffmpeg.c:2628
|
|---|
| 70 | #18 0x000000000041076e in main (argc=<value optimized out>, argv=<value optimized out>) at ffmpeg.c:4410
|
|---|
| 71 | (gdb) disass $pc-32,$pc+32
|
|---|
| 72 | Dump of assembler code from 0x7ffff799cfb0 to 0x7ffff799cff0:
|
|---|
| 73 | 0x00007ffff799cfb0: enterq $0x560f,$0xcb
|
|---|
| 74 | 0x00007ffff799cfb4: cvtss2sd %xmm1,%xmm1
|
|---|
| 75 | 0x00007ffff799cfb8: movsd %xmm1,0x10(%r12)
|
|---|
| 76 | 0x00007ffff799cfbf: add $0x12688,%rsp
|
|---|
| 77 | 0x00007ffff799cfc6: pop %rbx
|
|---|
| 78 | 0x00007ffff799cfc7: pop %rbp
|
|---|
| 79 | 0x00007ffff799cfc8: pop %r12
|
|---|
| 80 | 0x00007ffff799cfca: pop %r13
|
|---|
| 81 | 0x00007ffff799cfcc: pop %r14
|
|---|
| 82 | 0x00007ffff799cfce: pop %r15
|
|---|
| 83 | => 0x00007ffff799cfd0: retq
|
|---|
| 84 | 0x00007ffff799cfd1: mov 0x1c(%rbx),%eax
|
|---|
| 85 | 0x00007ffff799cfd4: test %eax,%eax
|
|---|
| 86 | 0x00007ffff799cfd6: jne 0x7ffff799d1fb
|
|---|
| 87 | 0x00007ffff799cfdc: mov 0xc(%rbx),%edx
|
|---|
| 88 | 0x00007ffff799cfdf: mov %edx,%ecx
|
|---|
| 89 | 0x00007ffff799cfe1: neg %ecx
|
|---|
| 90 | 0x00007ffff799cfe3: cmp %ecx,%edx
|
|---|
| 91 | 0x00007ffff799cfe5: mov %ecx,0x38(%rsp)
|
|---|
| 92 | 0x00007ffff799cfe9: jl 0x7ffff799d200
|
|---|
| 93 | 0x00007ffff799cfef: mov 0x84(%rsp),%ecx
|
|---|
| 94 | End of assembler dump.
|
|---|
| 95 | (gdb) info all-registers
|
|---|
| 96 | rax 0x20 32
|
|---|
| 97 | rbx 0x3f6d6208a32db200 4570416986087862784
|
|---|
| 98 | rcx 0x2 2
|
|---|
| 99 | rdx 0xffffffe0 4294967264
|
|---|
| 100 | rsi 0x7ffffffe97c0 140737488263104
|
|---|
| 101 | rdi 0x7ffffffe97c8 140737488263112
|
|---|
| 102 | rbp 0x3f6f4c00c7876200 0x3f6f4c00c7876200
|
|---|
| 103 | rsp 0x7fffffffbd88 0x7fffffffbd88
|
|---|
| 104 | r8 0x20 32
|
|---|
| 105 | r9 0xffffffef 4294967279
|
|---|
| 106 | r10 0xffffffff 4294967295
|
|---|
| 107 | r11 0x10 16
|
|---|
| 108 | r12 0x3f70ecef1ba71580 4571414133486327168
|
|---|
| 109 | r13 0x3f7250168661e6a0 4571804629408540320
|
|---|
| 110 | r14 0x3f733f0fc2632340 4572067383629521728
|
|---|
| 111 | r15 0x3f76401d9f1b0d00 4572912967608896768
|
|---|
| 112 | rip 0x7ffff799cfd0 0x7ffff799cfd0
|
|---|
| 113 | eflags 0x10202 [ IF RF ]
|
|---|
| 114 | cs 0x33 51
|
|---|
| 115 | ss 0x2b 43
|
|---|
| 116 | ds 0x0 0
|
|---|
| 117 | es 0x0 0
|
|---|
| 118 | fs 0x0 0
|
|---|
| 119 | gs 0x0 0
|
|---|
| 120 | st0 -nan(0x00000003a) (raw 0xffff000000000000003a)
|
|---|
| 121 | st1 -nan(0x000000065) (raw 0xffff0000000000000065)
|
|---|
| 122 | st2 -nan(0x67006700680067) (raw 0xffff0067006700680067)
|
|---|
| 123 | st3 -nan(0x67006700670067) (raw 0xffff0067006700670067)
|
|---|
| 124 | st4 -nan(0x5f5f61656667696b) (raw 0xffff5f5f61656667696b)
|
|---|
| 125 | st5 -nan(0x5f5f61656566686a) (raw 0xffff5f5f61656566686a)
|
|---|
| 126 | st6 1 (raw 0x3fff8000000000000000)
|
|---|
| 127 | st7 0 (raw 0x00000000000000000000)
|
|---|
| 128 | fctrl 0x37f 895
|
|---|
| 129 | fstat 0x20 32
|
|---|
| 130 | ftag 0xffff 65535
|
|---|
| 131 | fiseg 0x0 0
|
|---|
| 132 | fioff 0x0 0
|
|---|
| 133 | foseg 0x0 0
|
|---|
| 134 | fooff 0x0 0
|
|---|
| 135 | fop 0x0 0
|
|---|
| 136 | xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xcd, 0xcc, 0xcc, 0x3d, 0x0 <repeats 12 times>},
|
|---|
| 137 | v8_int16 = {0xcccd, 0x3dcc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x3dcccccd, 0x0, 0x0, 0x0}, v2_int64 = {0x3dcccccd, 0x0},
|
|---|
| 138 | uint128 = 0x0000000000000000000000003dcccccd}
|
|---|
| 139 | xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
|
|---|
| 140 | 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
|
|---|
| 141 | xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xff, 0xff, 0xff, 0xff, 0x0 <repeats 12 times>},
|
|---|
| 142 | v8_int16 = {0xffff, 0xffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xffffffff, 0x0, 0x0, 0x0}, v2_int64 = {0xffffffff, 0x0},
|
|---|
| 143 | uint128 = 0x000000000000000000000000ffffffff}
|
|---|
| 144 | xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
|
|---|
| 145 | 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
|
|---|
| 146 | xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
|
|---|
| 147 | 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
|
|---|
| 148 | xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
|
|---|
| 149 | 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
|
|---|
| 150 | xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
|
|---|
| 151 | 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
|
|---|
| 152 | xmm7 {v4_float = {0x0, 0x14, 0x0, 0x0}, v2_double = {0x8000001, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0xa0, 0x41, 0x0,
|
|---|
| 153 | 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x200, 0x0, 0x41a0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x2000000, 0x41a00000, 0x0,
|
|---|
| 154 | 0x0}, v2_int64 = {0x41a0000002000000, 0x0}, uint128 = 0x000000000000000041a0000002000000}
|
|---|
| 155 | xmm8 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xc9, 0xdb, 0xee, 0x87, 0xb6, 0x41, 0x30, 0x3c, 0x0,
|
|---|
| 156 | 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xdbc9, 0x87ee, 0x41b6, 0x3c30, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x87eedbc9, 0x3c3041b6,
|
|---|
| 157 | 0x0, 0x0}, v2_int64 = {0x3c3041b687eedbc9, 0x0}, uint128 = 0x00000000000000003c3041b687eedbc9}
|
|---|
| 158 | xmm9 {v4_float = {0xb03cc, 0x1, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xc2, 0x3c, 0x30, 0x49, 0xfe, 0x13, 0xe2, 0x3f,
|
|---|
| 159 | 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x3cc2, 0x4930, 0x13fe, 0x3fe2, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x49303cc2,
|
|---|
| 160 | 0x3fe213fe, 0x0, 0x0}, v2_int64 = {0x3fe213fe49303cc2, 0x0}, uint128 = 0x00000000000000003fe213fe49303cc2}
|
|---|
| 161 | xmm10 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x60, 0xf8, 0xaf, 0xf, 0xe8, 0xd, 0xe2, 0x3f, 0x0, 0x0,
|
|---|
| 162 | 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xf860, 0xfaf, 0xde8, 0x3fe2, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xfaff860, 0x3fe20de8, 0x0,
|
|---|
| 163 | 0x0}, v2_int64 = {0x3fe20de80faff860, 0x0}, uint128 = 0x00000000000000003fe20de80faff860}
|
|---|
| 164 | xmm11 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x4, 0x4c, 0x5a, 0xea, 0x29, 0x77, 0x97, 0xbe, 0x0,
|
|---|
| 165 | 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x4c04, 0xea5a, 0x7729, 0xbe97, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xea5a4c04, 0xbe977729,
|
|---|
| 166 | 0x0, 0x0}, v2_int64 = {0xbe977729ea5a4c04, 0x0}, uint128 = 0x0000000000000000be977729ea5a4c04}
|
|---|
| 167 | xmm12 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x4b, 0x4e, 0x5a, 0xea, 0x29, 0x77, 0x97, 0xbe, 0x0,
|
|---|
| 168 | 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x4e4b, 0xea5a, 0x7729, 0xbe97, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xea5a4e4b, 0xbe977729,
|
|---|
| 169 | 0x0, 0x0}, v2_int64 = {0xbe977729ea5a4e4b, 0x0}, uint128 = 0x0000000000000000be977729ea5a4e4b}
|
|---|
| 170 | xmm13 {v4_float = {0x0, 0x4, 0x0, 0x0}, v2_double = {0x210, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x80, 0x80, 0x40, 0x0, 0x0,
|
|---|
| 171 | 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x8000, 0x4080, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x40808000, 0x0, 0x0},
|
|---|
| 172 | v2_int64 = {0x4080800000000000, 0x0}, uint128 = 0x00000000000000004080800000000000}
|
|---|
| 173 | xmm14 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x80, 0x8f, 0x75, 0x81, 0xca, 0xc8, 0xb3, 0x3b, 0x0,
|
|---|
| 174 | 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x8f80, 0x8175, 0xc8ca, 0x3bb3, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x81758f80, 0x3bb3c8ca,
|
|---|
| 175 | 0x0, 0x0}, v2_int64 = {0x3bb3c8ca81758f80, 0x0}, uint128 = 0x00000000000000003bb3c8ca81758f80}
|
|---|
| 176 | xmm15 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0xf9, 0xaf, 0x69, 0xdc, 0xd9, 0x53, 0xbb, 0x0,
|
|---|
| 177 | 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xf900, 0x69af, 0xd9dc, 0xbb53, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x69aff900, 0xbb53d9dc,
|
|---|
| 178 | 0x0, 0x0}, v2_int64 = {0xbb53d9dc69aff900, 0x0}, uint128 = 0x0000000000000000bb53d9dc69aff900}
|
|---|
| 179 | mxcsr 0x21fb2 [ DE UE PE IM DM ZM OM UM PM #17 ]
|
|---|