GNOME Bugzilla – Bug 776069
gstglsinkbin GLib-GObject-CRITICAL g_param_spec_boxed assetion
Last modified: 2017-12-25 22:43:17 UTC
Created attachment 341926 [details] Debugging log Here is the logs: GLib-GObject-CRITICAL **: g_param_spec_boxed: assertion 'G_TYPE_IS_BOXED (boxed_type)' failed GLib-GObject-CRITICAL **: g_object_class_install_property: assertion 'G_IS_PARAM_SPEC (pspec)' failed GLib-GObject-WARNING **: ../gobject/gsignal.c:1674: parameter 2 of type '<invalid>' for signal "GstGLImageSinkBin::client_draw" is not a value type GLib-GObject-WARNING **: ../gobject/gsignal.c:1674: parameter 2 of type '<invalid>' for signal "GstGLImageSink::client_draw" is not a value type GLib-GObject-CRITICAL **: g_param_spec_boxed: assertion 'G_TYPE_IS_BOXED (boxed_type)' failed GLib-GObject-CRITICAL **: g_object_class_install_property: assertion 'G_IS_PARAM_SPEC (pspec)' failed After exporting: export G_DEBUG=fatal_warnings Here is the fist line that causes the error (gstglsinkbin.c): g_object_class_install_property (gobject_class, PROP_LAST_SAMPLE, g_param_spec_boxed ("last-sample", "Last Sample", "The last sample received in the sink", GST_TYPE_SAMPLE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
Looking at locals `GST_TYPE_SAMPLE` it seems to be 0, so it is never initialized. Everything is compiled with Visual Studio (including GLib)
On more look `_priv_gst_sample_initialize` is called, but gst_sample_get_type() is returning zero.
Also, stepping through I can see `g_boxed_type_register_static` is called for `GstSample` (and it is non-zero) so I do not know why that one returns zero.
How did you compile GStreamer exactly?
Using Cerbero (with meson to build against Visual Studio backend). It seems most plugins work fine.
Does this still occur? There have been a few fixes in the last 6 months in the meson build files relating to exported symbols on windows.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment. Thanks!