GNOME Bugzilla – Bug 773441
decodebin3: GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed
Last modified: 2016-10-31 14:35:52 UTC
Created attachment 338368 [details] [review] [Patch] Do not attempt to gst_mini_object_unref NULL value When an attempt is made to use decodebin3, the following assertion failure occurs: (gst-launch-1.0:18278): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed Program received signal SIGTRAP, Trace/breakpoint trap.
+ Trace 236770
Thread 1886385248 (LWP 18291)
commit 98ea3e464766afea268d587f02bf0c3d6f8a5a9a Author: Graham Leggett <minfrin@sharp.fm> Date: Mon Oct 24 19:13:22 2016 +0000 decodebin3: Fix assertion failure when unreffing NULL stream caps GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed https://bugzilla.gnome.org/show_bug.cgi?id=773441
Out of curiosity, if you have a stream dump you can attach with which to reproduce this, that would be nice, since I''m not sure if this is something that should happen in the first place (no caps).
It's explicitly allowed by the GstStream API though
Alas no stream dump - I stumbled across it in the debugger and then jumped on it. I did notice a number of places in the code where gst_caps_unref() was being called on the assumption that caps was not NULL, but I figured lets fix the one where we know it's a problem first.