| 1 | gdb ./ffmpeg_g ffmpeg |
|---|
| 2 | GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:52:12 UTC 2011) |
|---|
| 3 | Copyright 2004 Free Software Foundation, Inc. |
|---|
| 4 | GDB is free software, covered by the GNU General Public License, and you are |
|---|
| 5 | welcome to change it and/or distribute copies of it under certain conditions. |
|---|
| 6 | Type "show copying" to see the conditions. |
|---|
| 7 | There is absolutely no warranty for GDB. Type "show warranty" for details. |
|---|
| 8 | This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ..... done |
|---|
| 9 | |
|---|
| 10 | warning: .o file "/Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/libavfilter/libavfilter.a(vf_blackframe.o)" more recent than executable timestamp in "/Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/ffmpeg_g" |
|---|
| 11 | |
|---|
| 12 | warning: Could not open OSO file /Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/libavfilter/libavfilter.a(vf_blackframe.o) to scan for pubtypes for objfile /Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/ffmpeg_g |
|---|
| 13 | |
|---|
| 14 | warning: .o file "/Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/libavfilter/libavfilter.a(vf_cropdetect.o)" more recent than executable timestamp in "/Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/ffmpeg_g" |
|---|
| 15 | |
|---|
| 16 | warning: Could not open OSO file /Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/libavfilter/libavfilter.a(vf_cropdetect.o) to scan for pubtypes for objfile /Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/ffmpeg_g |
|---|
| 17 | |
|---|
| 18 | warning: .o file "/Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/libavfilter/libavfilter.a(vf_gradfun.o)" more recent than executable timestamp in "/Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/ffmpeg_g" |
|---|
| 19 | |
|---|
| 20 | warning: Could not open OSO file /Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/libavfilter/libavfilter.a(vf_gradfun.o) to scan for pubtypes for objfile /Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/ffmpeg_g |
|---|
| 21 | |
|---|
| 22 | warning: .o file "/Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/libavfilter/libavfilter.a(vf_hqdn3d.o)" more recent than executable timestamp in "/Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/ffmpeg_g" |
|---|
| 23 | |
|---|
| 24 | warning: Could not open OSO file /Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/libavfilter/libavfilter.a(vf_hqdn3d.o) to scan for pubtypes for objfile /Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/ffmpeg_g |
|---|
| 25 | |
|---|
| 26 | warning: .o file "/Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/libavfilter/libavfilter.a(vf_unsharp.o)" more recent than executable timestamp in "/Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/ffmpeg_g" |
|---|
| 27 | |
|---|
| 28 | warning: Could not open OSO file /Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/libavfilter/libavfilter.a(vf_unsharp.o) to scan for pubtypes for objfile /Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/ffmpeg_g |
|---|
| 29 | |
|---|
| 30 | |
|---|
| 31 | warning: .o file "/Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/libavcodec/libavcodec.a(mlpdsp.o)" more recent than executable timestamp in "/Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/ffmpeg_g" |
|---|
| 32 | |
|---|
| 33 | warning: Could not open OSO file /Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/libavcodec/libavcodec.a(mlpdsp.o) to scan for pubtypes for objfile /Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/ffmpeg_g |
|---|
| 34 | |
|---|
| 35 | warning: .o file "/Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/libswscale/libswscale.a(rgb2rgb.o)" more recent than executable timestamp in "/Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/ffmpeg_g" |
|---|
| 36 | |
|---|
| 37 | warning: Could not open OSO file /Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/libswscale/libswscale.a(rgb2rgb.o) to scan for pubtypes for objfile /Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/ffmpeg_g |
|---|
| 38 | |
|---|
| 39 | warning: .o file "/Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/libavutil/libavutil.a(cpu.o)" more recent than executable timestamp in "/Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/ffmpeg_g" |
|---|
| 40 | |
|---|
| 41 | warning: Could not open OSO file /Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/libavutil/libavutil.a(cpu.o) to scan for pubtypes for objfile /Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/ffmpeg_g |
|---|
| 42 | |
|---|
| 43 | (gdb) |
|---|
| 44 | (gdb) break malloc_error_break |
|---|
| 45 | Breakpoint 1 at 0x4189374bb83779 |
|---|
| 46 | (gdb) run -i 'kites.mp4' |
|---|
| 47 | Starting program: /Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/ffmpeg_g -i 'kites.mp4' |
|---|
| 48 | Reading symbols for shared libraries .++++.............................................................................................. done |
|---|
| 49 | ffmpeg version git-N-30430-ga52f598, Copyright (c) 2000-2011 the FFmpeg developers |
|---|
| 50 | built on May 31 2011 19:13:43 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3) |
|---|
| 51 | configuration: --prefix=/Users/zimbatm/code/panda/ffmpeg-head/runtime --enable-static --disable-shared --enable-postproc --enable-nonfree --enable-libx264 --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libxvid --enable-libvorbis --enable-libgsm --enable-avfilter --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --disable-ffplay --disable-ffserver --disable-ffprobe --disable-network --disable-devices --disable-doc --extra-cflags=--static --extra-ldflags= --bindir=/Users/zimbatm/code/panda/ffmpeg-head/dist/bin --incdir=/Users/zimbatm/code/panda/ffmpeg-head/dist/include --libdir=/Users/zimbatm/code/panda/ffmpeg-head/dist/lib --prefix=/usr/local |
|---|
| 52 | libavutil 51. 3. 0 / 51. 3. 0 |
|---|
| 53 | libavcodec 53. 6. 1 / 53. 6. 1 |
|---|
| 54 | libavformat 53. 2. 0 / 53. 2. 0 |
|---|
| 55 | libavdevice 53. 1. 0 / 53. 1. 0 |
|---|
| 56 | libavfilter 2. 11. 0 / 2. 11. 0 |
|---|
| 57 | libswscale 0. 14. 0 / 0. 14. 0 |
|---|
| 58 | libpostproc 51. 2. 0 / 51. 2. 0 |
|---|
| 59 | ffmpeg_g(92546) malloc: *** error for object 0x101612138: incorrect checksum for freed object - object was probably modified after being freed. |
|---|
| 60 | *** set a breakpoint in malloc_error_break to debug |
|---|
| 61 | |
|---|
| 62 | Breakpoint 1, 0x00007fff83b3e779 in malloc_error_break () |
|---|
| 63 | (gdb) p |
|---|
| 64 | The history is empty. |
|---|
| 65 | (gdb) l |
|---|
| 66 | 4466 { "fpre", HAS_ARG | OPT_EXPERT, {(void*)opt_preset}, "set options from indicated preset file", "filename" }, |
|---|
| 67 | 4467 /* data codec support */ |
|---|
| 68 | 4468 { "dcodec", HAS_ARG | OPT_DATA, {(void*)opt_codec}, "force data codec ('copy' to copy stream)", "codec" }, |
|---|
| 69 | 4469 |
|---|
| 70 | 4470 { "default", HAS_ARG | OPT_AUDIO | OPT_VIDEO | OPT_EXPERT, {(void*)opt_default}, "generic catch all option", "" }, |
|---|
| 71 | 4471 { NULL, }, |
|---|
| 72 | 4472 }; |
|---|
| 73 | 4473 |
|---|
| 74 | 4474 int main(int argc, char **argv) |
|---|
| 75 | 4475 { |
|---|
| 76 | (gdb) bt |
|---|
| 77 | #0 0x00007fff83b3e779 in malloc_error_break () |
|---|
| 78 | #1 0x00007fff83b3f8d0 in szone_error () |
|---|
| 79 | #2 0x00007fff83a6bbe6 in tiny_free_list_remove_ptr () |
|---|
| 80 | #3 0x00007fff83a6b24b in szone_free () |
|---|
| 81 | #4 0x00007fff83a9c550 in szone_memalign () |
|---|
| 82 | #5 0x00007fff83aa36eb in malloc_zone_memalign () |
|---|
| 83 | #6 0x00007fff83b3e900 in posix_memalign () |
|---|
| 84 | #7 0x0000000100575d9b in av_mallocz (size=96) at libavutil/mem.c:89 |
|---|