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 347559 - libistximagesrc.so segfaults (crash when using --gst-plugin-path)
libistximagesrc.so segfaults (crash when using --gst-plugin-path)
Status: RESOLVED DUPLICATE of bug 343057
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.9
Other Linux
: Normal minor
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-14 21:53 UTC by Marius Gedminas
Modified: 2006-08-21 14:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Marius Gedminas 2006-07-14 21:53:11 UTC
I downloaded istanbul-0.2.0.tar.bz2, unpacked it, ran ./configure && make && sudo make install.  If I try to run it, I get an complaint about istximagesrc being missing.  If I try to find the plugin with gst-inspect by specifying the location of the .so file, I get a segfault.

It is not necessary to 'make install' to reproduce this:

  1. extract sources
  2. ./configure && make
  3. gst-inspect-0.10 --gst-plugin-path=.

ERROR: Caught a segmentation fault while loading plugin file:
./gst/.libs/libistximagesrc.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap and debug.

  4. gdb gst-inspect-0.10
  5. (gdb) run --gst-disable-segtrap --gst-plugin-path=.

Full traceback (without debugging symbols for libgstreamer-0.10.so):

Starting program: /usr/bin/gst-inspect-0.10 --gst-disable-segtrap --gst-plugin-path=.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1212688704 (LWP 4996)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 4996)

  • #0 gst_value_deserialize
    from /usr/lib/libgstreamer-0.10.so.0
  • #1 gst_structure_to_string
    from /usr/lib/libgstreamer-0.10.so.0
  • #2 gst_structure_to_string
    from /usr/lib/libgstreamer-0.10.so.0
  • #3 gst_structure_from_string
    from /usr/lib/libgstreamer-0.10.so.0
  • #4 gst_caps_save_thyself
    from /usr/lib/libgstreamer-0.10.so.0
  • #5 gst_static_caps_get
    from /usr/lib/libgstreamer-0.10.so.0
  • #6 gst_static_pad_template_get
    from /usr/lib/libgstreamer-0.10.so.0
  • #7 gst_istximage_src_base_init
    at gstximagesrc.c line 827
  • #8 g_type_class_ref
    from /usr/lib/libgobject-2.0.so.0
  • #9 gst_element_register
    from /usr/lib/libgstreamer-0.10.so.0
  • #10 plugin_init
    at gstximagesrc.c line 1028
  • #11 _gst_plugin_initialize
    from /usr/lib/libgstreamer-0.10.so.0
  • #12 gst_plugin_load_file
    from /usr/lib/libgstreamer-0.10.so.0
  • #13 gst_registry_lookup
    from /usr/lib/libgstreamer-0.10.so.0
  • #14 gst_registry_lookup
    from /usr/lib/libgstreamer-0.10.so.0
  • #15 gst_registry_lookup
    from /usr/lib/libgstreamer-0.10.so.0
  • #16 gst_registry_scan_path
  • #17 gst_init
    from /usr/lib/libgstreamer-0.10.so.0
  • #18 gst_init
    from /usr/lib/libgstreamer-0.10.so.0
  • #19 gst_init
    from /usr/lib/libgstreamer-0.10.so.0
  • #20 g_option_group_new
    from /usr/lib/libglib-2.0.so.0
  • #21 g_option_group_new
    from /usr/lib/libglib-2.0.so.0
  • #22 g_option_context_parse
    from /usr/lib/libglib-2.0.so.0
  • #23 main

This is on Ubuntu 6.06 (Dapper Drake).
Comment 1 Zaheer Abbas Merali 2006-07-15 07:04:27 UTC
Hi Marius, you mentioned on my blog, just setting the GST_PLUGIN_PATH correctly made it work, is this correct?
Comment 2 Marius Gedminas 2006-07-15 10:42:39 UTC
Yes.

Actually, if I try 'GST_PLUGIN_PATH=. gst-inspect-0.10 istximagesrc', I do not get a segfault, but 'gst-inspect-0.10 --gst-plugin-path=. istximagesrc' does segfault.

Strange.
Comment 3 Zaheer Abbas Merali 2006-07-21 18:05:59 UTC
I don't think this is a bug at lease not in istanbul
Comment 4 Tim-Philipp Müller 2006-07-23 09:28:50 UTC
Zaheer, can you reproduce this on your system? If so, could you post a stack trace with debugging symbols by any chance?

Comment 5 Zaheer Abbas Merali 2006-07-23 09:53:06 UTC
No I cannot, unfortunately.
Comment 6 Tim-Philipp Müller 2006-08-21 07:59:31 UTC
Marius, when you say 'this is on Ubuntu Dapper 6.06' - what is the GStreamer core version actually being used? The one that ships with dapper (=0.10.6)?

I am fairly sure this is a duplicate of bug #343057 (crashes when using the --gst-plugin-path command line option).

If you're using a core version >= 0.10.7 and still get this issue, please re-open this bug.


*** This bug has been marked as a duplicate of 343057 ***
Comment 7 Marius Gedminas 2006-08-21 14:14:40 UTC
If by "core" you mean the version of libgstreamer0.10-0, then it is 0.10.6-0ubuntu2.  The version of gstreamer0.10-tools, which contains the gst-inspect-0.10 binary, is the same.
Comment 8 Tim-Philipp Müller 2006-08-21 14:47:31 UTC
> If by "core" you mean the version of libgstreamer0.10-0, then it is
> 0.10.6-0ubuntu2.  The version of gstreamer0.10-tools, which contains the
> gst-inspect-0.10 binary, is the same.

Yes, that's what I meant. The bug has been fixed in version 0.10.7.