$ gdb gst-launch
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gst-launch...Reading symbols from /usr/lib/debug/usr/bin/gst-launch...done.
done.
(gdb) r filesrc location=Resident.Evil.mkv ! matroskademux ! ffdec_h264 ! fakesink
Starting program: /usr/bin/gst-launch filesrc location=Resident.Evil.mkv ! matroskademux ! ffdec_h264 ! fakesink
process 2692 is executing new program: /usr/bin/gst-launch-0.10
[Thread debugging using libthread_db enabled]
Setting pipeline to PAUSED ...
[New Thread 0x7ffff1faa700 (LWP 2695)]
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff1faa700 (LWP 2695)]
0x00007ffff6c6ba75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
	in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0  0x00007ffff6c6ba75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff6c6f5c0 in *__GI_abort () at abort.c:92
#2  0x00007ffff3679878 in ff_find_unused_picture (s=<value optimized out>, shared=<value optimized out>)
    at /build/buildd/ffmpeg-0.5.1/libavcodec/mpegvideo.c:807
#3  0x00007ffff367a7c0 in MPV_frame_start (s=0x7ffff7f9f010, avctx=0x8037c0) at /build/buildd/ffmpeg-0.5.1/libavcodec/mpegvideo.c:868
#4  0x00007ffff37b47d5 in frame_start (h=0xa84) at /build/buildd/ffmpeg-0.5.1/libavcodec/h264.c:2227
#5  0x00007ffff37bdc96 in decode_slice_header (h=0x7ffff7f9f010, h0=<value optimized out>)
    at /build/buildd/ffmpeg-0.5.1/libavcodec/h264.c:3856
#6  0x00007ffff37e1182 in decode_nal_units (h=0x7ffff7f9f010, buf=<value optimized out>, buf_size=<value optimized out>)
    at /build/buildd/ffmpeg-0.5.1/libavcodec/h264.c:7504
#7  0x00007ffff37e1a2b in decode_frame (avctx=0x8037c0, data=<value optimized out>, data_size=0x7ffff1fa964c, 
    buf=0xffffffffffffffff <Address 0xffffffffffffffff out of bounds>, buf_size=13561)
    at /build/buildd/ffmpeg-0.5.1/libavcodec/h264.c:7705
#8  0x00007ffff3632598 in avcodec_decode_video (avctx=0x8037c0, picture=0x803380, got_picture_ptr=0x7ffff1fa964c, 
    buf=0xffffffffffffffff <Address 0xffffffffffffffff out of bounds>, buf_size=-328033360)
    at /build/buildd/ffmpeg-0.5.1/libavcodec/utils.c:542
#9  0x00007ffff42b41ed in gst_ffmpegdec_video_frame (ffmpegdec=0x801120, data=0x7fffee6d1b20 "", size=<value optimized out>, 
    in_timestamp=<value optimized out>, in_duration=<value optimized out>, in_offset=<value optimized out>, outbuf=0x7ffff1fa9770, 
    ret=0x7ffff1fa9894) at gstffmpegdec.c:1710
#10 0x00007ffff42b6581 in gst_ffmpegdec_frame (ffmpegdec=0x801120, data=0x7fffee6d1b20 "", size=13561, 
    got_data=<value optimized out>, in_timestamp=<value optimized out>, in_duration=<value optimized out>, in_offset=-1, 
    ret=0x7ffff1fa9894) at gstffmpegdec.c:2187
#11 0x00007ffff42b8502 in gst_ffmpegdec_chain (pad=<value optimized out>, inbuf=0x81bc30) at gstffmpegdec.c:2601
#12 0x00007ffff7b5da4d in gst_pad_chain_data_unchecked (pad=0x7c03b0, is_buffer=1, data=0x81bc30) at gstpad.c:4122
#13 0x00007ffff7b5e33e in gst_pad_push_data (pad=0x7c0cb0, is_buffer=1, data=0x81bc30) at gstpad.c:4351
#14 0x00007ffff4f5094b in gst_matroska_demux_parse_blockgroup_or_simpleblock (demux=0x7c6000, cluster_time=<value optimized out>, 
    cluster_offset=<value optimized out>, is_simpleblock=<value optimized out>) at matroska-demux.c:4518
#15 0x00007ffff4f55a2f in gst_matroska_demux_parse_cluster (pad=<value optimized out>) at matroska-demux.c:4611
#16 gst_matroska_demux_loop_stream_parse_id (pad=<value optimized out>) at matroska-demux.c:5069
#17 gst_matroska_demux_loop_stream (pad=<value optimized out>) at matroska-demux.c:5125
#18 gst_matroska_demux_loop (pad=<value optimized out>) at matroska-demux.c:5165
#19 0x00007ffff7b864e3 in gst_task_func (task=0x808010) at gsttask.c:238
#20 0x00007ffff7241a5f in g_thread_pool_thread_proxy (data=<value optimized out>)
---Type <return> to continue, or q <return> to quit---
    at /build/buildd/glib2.0-2.24.1/glib/gthreadpool.c:315
#21 0x00007ffff723fb84 in g_thread_create_proxy (data=0x7bc570) at /build/buildd/glib2.0-2.24.1/glib/gthread.c:1893
#22 0x00007ffff6fc19ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#23 0x00007ffff6d1e70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#24 0x0000000000000000 in ?? ()
(gdb) generate-core-file
Saved corefile core.2692
(gdb) k
Kill the program being debugged? (y or n) y
(gdb) q
