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 748588 - glvideomixer: segfaulting when inspecting
glvideomixer: segfaulting when inspecting
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-04-28 14:26 UTC by Guillaume Desmottes
Modified: 2015-04-28 16:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Guillaume Desmottes 2015-04-28 14:26:07 UTC
$ gst-inspect-1.0 glvideomixer

ERROR: Caught a segmentation fault while loading plugin file:
/home/cassidy/dev/gst/master/gst-plugins-bad/ext/gl/.libs/libgstopengl.so


This regression has been introduced by this commit (thanks git bisect!)

commit 0b7f65bbc345030c0f2866656ba372893f4843a9
Author: Matthew Waters <matthew@centricular.com>
Date:   Tue Apr 28 20:11:07 2015 +1000

    glupload: provide the sink template caps that could be used
    
    https://bugzilla.gnome.org/show_bug.cgi?id=746399


  • #0 gst_static_caps_get
    at gstcaps.c line 415
  • #1 gst_gl_upload_get_input_template_caps
    at gstglupload.c line 820
  • #2 gst_gl_sink_bin_class_intern_init
    at gstglsinkbin.c line 117
  • #3 gst_gl_sink_bin_class_intern_init
    at gstglsinkbin.c line 63
  • #4 g_type_class_ref
    at gtype.c line 2217
  • #5 g_type_class_ref
    at gtype.c line 2932
  • #6 g_type_class_ref
    at gtype.c line 2924
  • #7 gst_element_register
    at gstelementfactory.c line 243
  • #8 plugin_init
    at gstopengl.c line 114
  • #9 gst_plugin_register_func
    at gstplugin.c line 524
  • #10 gst_plugin_load_file
    at gstplugin.c line 819
  • #11 gst_registry_scan_plugin_file
    at gstregistry.c line 1180
  • #12 gst_registry_scan_path_level
    at gstregistry.c line 1345
  • #13 gst_registry_scan_path_level
    at gstregistry.c line 1256
  • #14 gst_registry_scan_path_level
    at gstregistry.c line 1256
  • #15 gst_registry_scan_path_internal
    at gstregistry.c line 1364
  • #16 gst_update_registry
    at gstregistry.c line 1607
  • #17 gst_update_registry
    at gstregistry.c line 1751
  • #18 gst_update_registry
    at gstregistry.c line 1827
  • #19 init_post
    at gst.c line 705
  • #20 g_option_context_parse
    at goption.c line 2087
  • #21 main
    at gst-inspect.c line 1500

Comment 1 Jan Schmidt 2015-04-28 16:51:23 UTC
Ta, I'd noticed the same. Pushing a fix shortly
Comment 2 Jan Schmidt 2015-04-28 16:53:30 UTC
commit 1de2e2bc391e8e6d6917ebdd3be2f6507a8fccdd
Author: Jan Schmidt <jan@centricular.com>
Date:   Wed Apr 29 02:20:09 2015 +1000

    glupload: Make upload method static caps non-const.
    
    Retrieving a GstStaticCaps does a one time internal
    initialisation and caches it - they can't be stored as
    const structures.