dean@dean:~$ gdb totem
GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1)
Copyright (C) 2013 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/totem...Reading symbols from /usr/lib/debug/usr/bin/totem...done.
done.
(gdb) start
Temporary breakpoint 1 at 0x26e0: file totem.c, line 236.
Starting program: /usr/bin/totem 
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Temporary breakpoint 1, main (argc=1, argv=0x7fffffffe338) at totem.c:236
236	totem.c: No such file or directory.
(gdb) c
Continuing.
[New Thread 0x7fffe8221700 (LWP 1282)]
[New Thread 0x7fffe7a20700 (LWP 1283)]
[New Thread 0x7fffd24bb700 (LWP 1284)]
[New Thread 0x7fffc5a31700 (LWP 1285)]
[New Thread 0x7fffbc2d5700 (LWP 1287)]
[New Thread 0x7fffbbad4700 (LWP 1288)]
[New Thread 0x7fffbac6c700 (LWP 1289)]
[New Thread 0x7fffba46b700 (LWP 1290)]
[New Thread 0x7fffb981e700 (LWP 1291)]
[New Thread 0x7fffad5e8700 (LWP 1292)]
[New Thread 0x7fffacde7700 (LWP 1293)]
[New Thread 0x7fff9ffff700 (LWP 1294)]
[New Thread 0x7fff9f7fe700 (LWP 1295)]
[New Thread 0x7fff9ede2700 (LWP 1296)]
[New Thread 0x7fff9dfc0700 (LWP 1297)]
[New Thread 0x7fff9d7bf700 (LWP 1298)]
[Thread 0x7fff9d7bf700 (LWP 1298) exited]

** (totem:1278): CRITICAL **: gst_video_codec_frame_ref: assertion 'frame != NULL' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffba46b700 (LWP 1290)]
0x00007ffff6b6c066 in gst_mini_object_replace (olddata=olddata@entry=0x40, newdata=0x0) at gstminiobject.c:497
497	gstminiobject.c: No such file or directory.
(gdb) bt
#0  0x00007ffff6b6c066 in gst_mini_object_replace (olddata=olddata@entry=0x40, newdata=0x0) at gstminiobject.c:497
#1  0x00007fffb87cea20 in gst_buffer_replace (nbuf=<optimized out>, obuf=0x40) at /usr/include/gstreamer-1.0/gst/gstbuffer.h:475
#2  gst_ffmpegviddec_video_frame (ffmpegdec=ffmpegdec@entry=0x7fffa403a380, data=<optimized out>, data@entry=0x7fffa538a060 "", 
    size=<optimized out>, frame=frame@entry=0x7fffa41bc410, ret=ret@entry=0x7fffba46a2dc) at gstavviddec.c:1229
#3  0x00007fffb87cf698 in gst_ffmpegviddec_frame (ffmpegdec=ffmpegdec@entry=0x7fffa403a380, data=data@entry=0x7fffa538a060 "", 
    size=size@entry=23831, got_data=got_data@entry=0x7fffba46a2d8, frame=frame@entry=0x7fffa41bc410, ret=ret@entry=0x7fffba46a2dc)
    at gstavviddec.c:1371
#4  0x00007fffb87cfd2c in gst_ffmpegviddec_handle_frame (decoder=0x7fffa403a380, frame=0x7fffa41bc410) at gstavviddec.c:1491
#5  0x00007ffff729c989 in gst_video_decoder_decode_frame (decoder=decoder@entry=0x7fffa403a380, frame=0x7fffa41bc410) at gstvideodecoder.c:2832
#6  0x00007ffff729cced in gst_video_decoder_chain_forward (decoder=decoder@entry=0x7fffa403a380, buf=buf@entry=0x7fffa41bcb80, at_eos=at_eos@entry=0)
    at gstvideodecoder.c:1757
#7  0x00007ffff729eeed in gst_video_decoder_chain (pad=<optimized out>, parent=0x7fffa403a380, buf=0x7fffa41bcb80) at gstvideodecoder.c:2037
#8  0x00007ffff6b6fb88 in gst_pad_chain_data_unchecked (data=0x7fffa41bcb80, type=4112, pad=0x7fffa005fb40) at gstpad.c:3760
#9  gst_pad_push_data (pad=0x55555744fb40, type=type@entry=4112, data=<optimized out>) at gstpad.c:3990
#10 0x00007ffff6b76816 in gst_pad_push (pad=<optimized out>, buffer=<optimized out>) at gstpad.c:4093
#11 0x00007ffff6e451d9 in gst_base_transform_chain (pad=<optimized out>, parent=0x55555729edb0, buffer=<optimized out>) at gstbasetransform.c:2237
#12 0x00007ffff6b6fb88 in gst_pad_chain_data_unchecked (data=0x7fffa41bcb80, type=4112, pad=0x55555744f910) at gstpad.c:3760
#13 gst_pad_push_data (pad=0x55555744f6e0, type=type@entry=4112, data=<optimized out>, data@entry=0x7fffa41bcb80) at gstpad.c:3990
#14 0x00007ffff6b76816 in gst_pad_push (pad=<optimized out>, buffer=buffer@entry=0x7fffa41bcb80) at gstpad.c:4093
#15 0x00007ffff6e27a49 in gst_base_parse_push_frame (parse=parse@entry=0x7fffa001c080, frame=frame@entry=0x7fffba46a930) at gstbaseparse.c:2299
#16 0x00007ffff6e28450 in gst_base_parse_chain (pad=<optimized out>, parent=0x7fffa001c080, buffer=0x7fffa41bcb80) at gstbaseparse.c:2805
#17 0x00007ffff6b6fb88 in gst_pad_chain_data_unchecked (data=0x7fffa41bcb80, type=4112, pad=0x55555744f4b0) at gstpad.c:3760
#18 gst_pad_push_data (pad=0x55555744f280, type=type@entry=4112, data=<optimized out>, data@entry=0x7fffa41bcb80) at gstpad.c:3990
#19 0x00007ffff6b76816 in gst_pad_push (pad=<optimized out>, buffer=buffer@entry=0x7fffa41bcb80) at gstpad.c:4093
#20 0x00007fffd24d9873 in gst_single_queue_push_one (object=0x7fffa41bcb80, sq=0x7fffa0018e60, mq=0x5555574c3970) at gstmultiqueue.c:1089
#21 gst_multi_queue_loop (pad=<optimized out>) at gstmultiqueue.c:1338
#22 0x00007ffff6b9d2b9 in gst_task_func (task=0x555557629a70) at gsttask.c:316
#23 0x00007ffff124389c in g_thread_pool_thread_proxy (data=<optimized out>) at /tmp/buildd/glib2.0-2.40.0/./glib/gthreadpool.c:307
#24 0x00007ffff1242f15 in g_thread_proxy (data=0x7fffa0013d90) at /tmp/buildd/glib2.0-2.40.0/./glib/gthread.c:764
#25 0x00007ffff0fc0062 in start_thread (arg=0x7fffba46b700) at pthread_create.c:312
#26 0x00007ffff0cf4a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) 

