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 632659 - [mpegstream] fails to load
[mpegstream] fails to load
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
git master
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-10-20 09:22 UTC by Philippe Normand
Modified: 2010-10-20 09:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[mpegparse] renamed max_scr_gap to max-scr-gap (1.14 KB, patch)
2010-10-20 09:41 UTC, Philippe Normand
none Details | Review

Description Philippe Normand 2010-10-20 09:22:28 UTC
Since commit 91f9b986a120d0f63aa8f8f2f0534aabb11a0b86 the plugin scanner fails on the mpegstream plugin:


(gst-plugin-scanner:26196): GLib-GObject-CRITICAL **: g_param_spec_internal: assertion `!(flags & G_PARAM_STATIC_NAME) || is_canonical (name)' failed

ERROR: Caught a segmentation fault while loading plugin file:
/home/phil/gst/jhbuild/install/lib64/gstreamer-0.10/libgstmpegstream.so


(gdb) bt
  • #0 g_logv
    at gmessages.c line 563
  • #1 g_log
    at gmessages.c line 577
  • #2 g_param_spec_internal
    at gparam.c line 423
  • #3 g_param_spec_int
    at gparamspecs.c line 1739
  • #4 gst_mpeg_parse_class_init
    at gstmpegparse.c line 169
  • #5 gst_mpeg_parse_class_init_trampoline
    at gstmpegparse.c line 82
  • #6 type_class_init_Wm
    at gtype.c line 2214
  • #7 g_type_class_ref
    at gtype.c line 2913
  • #8 gst_element_register
    at gstelementfactory.c line 252
  • #9 plugin_init
    at gstmpegstream.c line 37
  • #10 gst_plugin_register_func
    at gstplugin.c line 556
  • #11 gst_plugin_load_file
    at gstplugin.c line 841
  • #12 gst_registry_scan_plugin_file
    at gstregistry.c line 1062
  • #13 gst_registry_scan_path_level
    at gstregistry.c line 1210
  • #14 gst_registry_scan_path_internal
    at gstregistry.c line 1229
  • #15 scan_and_update_registry
    at gstregistry.c line 1496
  • #16 ensure_current_registry
    at gstregistry.c line 1596
  • #17 gst_update_registry
    at gstregistry.c line 1678
  • #18 init_post
    at gst.c line 790
  • #19 g_option_context_parse
    at goption.c line 1952
  • #20 main
    at gst-inspect.c line 1579

Comment 1 Philippe Normand 2010-10-20 09:36:42 UTC
The segfault happens because "max_scr_gap" is not canonical (cf is_canonical() in gparam.c) :)

Can we rename the property to max-scr-gap?
Comment 2 Tim-Philipp Müller 2010-10-20 09:40:32 UTC
This was fixed yesterday:

commit 26cd4ee3a0a3071c198d2ce4cd98f91aff01aa84
Author: Stefan Kost <ensonic@users.sf.net>
Date:   Tue Oct 19 12:20:40 2010 +0300

    various: canonicalize property names


http://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/diff/gst/mpegstream/gstmpegparse.c?id=26cd4ee3a0a3071c198d2ce4cd98f91aff01aa84
Comment 3 Philippe Normand 2010-10-20 09:41:26 UTC
Created attachment 172819 [details] [review]
[mpegparse] renamed max_scr_gap to max-scr-gap