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 712769 - GLib-GObject-WARNINGs
GLib-GObject-WARNINGs
Status: RESOLVED FIXED
Product: snappy
Classification: Other
Component: engine
git
Other Linux
: High critical
: ---
Assigned To: Snappy maintainer(s)
Snappy maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-11-20 21:15 UTC by Antonio Trande
Modified: 2013-11-24 17:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Antonio Trande 2013-11-20 21:15:13 UTC
These errors appear by executing snappy:

 (snappy:27349): GLib-GObject-WARNING **: specified class size for type `ClutterGstVideoSink' is smaller than the parent type's `GstBaseSink' class size
(snappy:27349): GLib-GObject-WARNING **: cannot register existing type `GstObject'
(snappy:27349): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
(snappy:27349): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed
(snappy:27349): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
(snappy:27349): GLib-GObject-WARNING **: interface type `GstImplementsInterface' or prerequisite type `<invalid>' invalid
(snappy:27349): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(snappy:27349): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(snappy:27349): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
(snappy:27349): GStreamer-CRITICAL **: gst_element_register: assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed

This type of warnings are caused by conflict between gstreamer-old and gstreamer1 when they are installed together (http://gstreamer.freedesktop.org/data/doc/gstreamer/head/faq/html/chapter-troubleshooting.html#idp55001184) so I tested snappy by using 'clutter-gst2' instead of 'clutter-gst', since 'clutter-gst' needs gstreamer-old in Fedora.

With 'clutter-gst2' those warnings disappearand snappy works.

Could there be other problems if I choose clutter-gst2 to compile snappy ?

Thanks.
Comment 1 Luis de Bethencourt 2013-11-20 22:07:34 UTC
Not sure. Let me check and let you know. I will check in a few hours.

Thanks.
Comment 2 Luis de Bethencourt 2013-11-21 00:31:15 UTC
I just did a small update in the code upstream and it all works fine with clutter-gst2. It needs this version of clutter-gst2, and won't work with the previous one.
Let me know if you see any compilation warnings.
Comment 3 Antonio Trande 2013-11-21 15:05:29 UTC
(In reply to comment #2)
> I just did a small update in the code upstream and it all works fine with
> clutter-gst2. It needs this version of clutter-gst2, and won't work with the
> previous one.
> Let me know if you see any compilation warnings.

Here you can see the RPM building log: http://www.fpaste.org/55725/

Thank you.
Comment 4 Luis de Bethencourt 2013-11-21 15:50:09 UTC
Antonio,

Have a minute to talk in IRC? I am bit confused by all the warnings in the RPM building log, and by the color coding (a lot of Red).

You can find me in freenode: luisbg @ #gstreamer

Thanks
Comment 5 Antonio Trande 2013-11-21 18:22:35 UTC
'snappy-player' package has been validated in Fedora.
It will be an official package in few days.

Best regards.
Comment 6 Luis de Bethencourt 2013-11-21 19:00:09 UTC
\o/ Nice!
Comment 7 Luis de Bethencourt 2013-11-24 17:34:29 UTC
Antonio,

Congrats, you are featured in phoronix :)
http://www.phoronix.com/scan.php?page=news_item&px=MTUyNDg
Comment 8 Antonio Trande 2013-11-24 17:43:45 UTC
(In reply to comment #7)
> Antonio,
> 
> Congrats, you are featured in phoronix :)
> http://www.phoronix.com/scan.php?page=news_item&px=MTUyNDg

Woow! :)

As snappy developer, the credit is yours mainly