After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 776069 - gstglsinkbin GLib-GObject-CRITICAL g_param_spec_boxed assetion
gstglsinkbin GLib-GObject-CRITICAL g_param_spec_boxed assetion
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
1.10.x
Other Windows
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-12-14 00:51 UTC by dashesy
Modified: 2017-12-25 22:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Debugging log (1.78 KB, text/plain)
2016-12-14 00:51 UTC, dashesy
Details

Description dashesy 2016-12-14 00:51:43 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));
Comment 1 dashesy 2016-12-14 01:31:11 UTC
Looking at locals `GST_TYPE_SAMPLE` it seems to be 0, so it is never initialized.

Everything is compiled with Visual Studio (including GLib)
Comment 2 dashesy 2016-12-14 01:43:31 UTC
On more look `_priv_gst_sample_initialize` is called, but gst_sample_get_type() is returning zero.
Comment 3 dashesy 2016-12-14 02:22:42 UTC
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.
Comment 4 Sebastian Dröge (slomo) 2016-12-14 08:07:57 UTC
How did you compile GStreamer exactly?
Comment 5 dashesy 2016-12-14 17:27:27 UTC
Using Cerbero (with meson to build against Visual Studio backend). It seems most plugins work fine.
Comment 6 Matthew Waters (ystreet00) 2017-07-14 14:22:10 UTC
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.
Comment 7 Tim-Philipp Müller 2017-12-25 22:43:17 UTC
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!