Hi, I am seeing this bug with Totem (3.8.2-4+b1) and Snappy (1.0, from
source, not in archive currently) in Sid (gstreamer 1.2.3-1).
For me it occurs in most, but not all, h264+mkv files. My h264+MP4
files are not affected, nor are any non-h264 files as far as I can
tell. Non-gst players (mplayer, vlc) have no issue with these files.
The error is either
** (snappy:20884): CRITICAL **: gst_video_codec_frame_unref: assertion
'frame-ref_count 0' failed
or else (it varies from run to run):
** (snappy:20914): CRITICAL **: gst_video_codec_frame_ref: assertion
'frame != NULL' failed
Attaching GDB run and backtrace from snappy. Let me know if I need to
do things differently.
Thanks,
Kelly Clowers
krc@ken:~$ gdb --args snappy
NFS/media/video/tv/BBC.Life.2009.BluRay.1080p.DTS.x264-CHD/BBC.Life.E06.2009.BluRay.1080p.DTS.x264-CHD.mkv
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/local/bin/snappy...done.
(gdb) run
Starting program: /usr/local/bin/snappy
NFS/media/video/tv/BBC.Life.2009.BluRay.1080p.DTS.x264-CHD/BBC.Life.E06.2009.BluRay.1080p.DTS.x264-CHD.mkv
warning: no loadable sections found in added symbol-file system-supplied DSO at
0x77ffa000
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.
Adding file:
NFS/media/video/tv/BBC.Life.2009.BluRay.1080p.DTS.x264-CHD/BBC.Life.E06.2009.BluRay.1080p.DTS.x264-CHD.mkv
[New Thread 0x7fffe90df700 (LWP 18405)]
[New Thread 0x7fffe3fff700 (LWP 18406)]
[New Thread 0x7fffe33ac700 (LWP 18407)]
[New Thread 0x7fffe2bab700 (LWP 18408)]
[New Thread 0x7fffe1f5e700 (LWP 18409)]
Stream with high frequencies VQ coding
[New Thread 0x7fffcbfff700 (LWP 18410)]
[New Thread 0x7fffcb7fe700 (LWP 18411)]
[New Thread 0x7fffcaffd700 (LWP 18412)]
[New Thread 0x7fffca7fc700 (LWP 18413)]
[New Thread 0x7fffc9ffb700 (LWP 18414)]
[New Thread 0x7fffc97fa700 (LWP 18415)]
[Thread 0x7fffcbfff700 (LWP 18410) exited]
[Thread 0x7fffcb7fe700 (LWP 18411) exited]
[Thread 0x7fffcaffd700 (LWP 18412) exited]
[Thread 0x7fffca7fc700 (LWP 18413) exited]
Loading:
file:///home/krc/NFS/media/video/tv/BBC.Life.2009.BluRay.1080p.DTS.x264-CHD/BBC.Life.E06.2009.BluRay.1080p.DTS.x264-CHD.mkv
Loading ui!
[New Thread 0x7fffca7fc700 (LWP 18416)]
** (snappy:18401): WARNING **: Problem inhibiting the screensaver:
GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name
org.gnome.SessionManager does not exist
[New Thread 0x7fffcaffd700 (LWP 18417)]
[Thread 0x7fffcaffd700 (LWP 18417) exited]
[New Thread 0x7fffcaffd700 (LWP 18418)]
[Thread 0x7fffcaffd700 (LWP 18418) exited]
[New Thread 0x7fffcaffd700 (LWP 18419)]
[New Thread 0x7fffcb7fe700 (LWP 18420)]
[New Thread 0x7fffcbfff700 (LWP 18421)]
[New Thread 0x7fffb1fda700 (LWP 18422)]
[New Thread 0x7fffb17d9700 (LWP 18423)]
Stream with high frequencies VQ coding
[New Thread 0x7fffa7df6700 (LWP 18424)]
** (snappy:18401): CRITICAL **: gst_video_codec_frame_ref: assertion 'frame !=
NULL' failed
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe1f5e700 (LWP 18409)]
0x77260066 in gst_mini_object_replace (olddata=olddata@entry=0x40,
newdata=0x0) at gstminiobject.c:497
497 gstminiobject.c: No such file or directory.
(gdb) backtrace
#0 0x77260066 in gst_mini_object_replace (olddata=olddata@entry=0x40,
newdata=0x0) at gstminiobject.c:497
#1 0x7fffe0ef6a20 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=0x7fffcc012180,
data=optimized out, data@entry=0x7fffce7f3aa0 , size=optimized out,
frame=frame@entry=0x7fffbc0b57f0, ret=ret@entry=0x7fffe1f5d35c) at
gstavviddec.c:1229
#3 0x7fffe0ef7698 in gst_ffmpegviddec_frame
(ffmpegdec=ffmpegdec@entry=0x7fffcc012180, data=data@entry=0x7fffce7f3aa0 ,
size=size@entry=46194,
got_data=got_data@entry=0x7fffe1f5d358, frame=frame@entry=0x7fffbc0b57f0,
ret=ret@entry=0x7fffe1f5d35c) at gstavviddec.c:1371
#4 0x7fffe0ef7d2c in gst_ffmpegviddec_handle_frame
(decoder=0x7fffcc012180, frame=0x7fffbc0b57f0) at gstavviddec.c:1491
#5 0x7798e989 in gst_video_decoder_decode_frame
(decoder=decoder@entry=0x7fffcc012180, frame=0x7fffbc0b57f0) at
gstvideodecoder.c:2832
#6 0x7798eced in gst_video_decoder_chain_forward
(decoder=decoder@entry=0x7fffcc012180, buf=buf@entry=0x7fffcd284c50,
at_eos=at_eos@entry=0)
at