Ticket #255: gdb.log

File gdb.log, 6.5 KB (added by zimbatm, 8 years ago)

Details from GDB

Line 
1gdb ./ffmpeg_g                                                                                                                           ffmpeg
2GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:52:12 UTC 2011)
3Copyright 2004 Free Software Foundation, Inc.
4GDB is free software, covered by the GNU General Public License, and you are
5welcome to change it and/or distribute copies of it under certain conditions.
6Type "show copying" to see the conditions.
7There is absolutely no warranty for GDB.  Type "show warranty" for details.
8This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ..... done
9
10warning: .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
12warning: 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
14warning: .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
16warning: 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
18warning: .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
20warning: 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
22warning: .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
24warning: 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
26warning: .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
28warning: 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
31warning: .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
33warning: 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
35warning: .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
37warning: 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
39warning: .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
41warning: 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
45Breakpoint 1 at 0x4189374bb83779
46(gdb) run -i 'kites.mp4'
47Starting program: /Users/zimbatm/code/panda/ffmpeg-head/src/ffmpeg/ffmpeg_g -i 'kites.mp4'
48Reading symbols for shared libraries .++++.............................................................................................. done
49ffmpeg 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
59ffmpeg_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
62Breakpoint 1, 0x00007fff83b3e779 in malloc_error_break ()
63(gdb) p
64The history is empty.
65(gdb) l
664466        { "fpre", HAS_ARG | OPT_EXPERT, {(void*)opt_preset}, "set options from indicated preset file", "filename" },
674467        /* data codec support */
684468        { "dcodec", HAS_ARG | OPT_DATA, {(void*)opt_codec}, "force data codec ('copy' to copy stream)", "codec" },
694469   
704470        { "default", HAS_ARG | OPT_AUDIO | OPT_VIDEO | OPT_EXPERT, {(void*)opt_default}, "generic catch all option", "" },
714471        { NULL, },
724472    };
734473   
744474    int main(int argc, char **argv)
754475    {
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