[gstreamer-bugs] [Bug 519584] gst_element_implements_interface() segfaults with 'filesrc' element

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Feb 29 10:43:05 PST 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=519584

  GStreamer | gstreamer (core) | Ver: HEAD CVS

Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|t.i.m at zen.co.uk             |gstreamer-
                   |                            |bugs at lists.sourceforge.net
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.18




------- Comment #2 from Tim-Philipp Müller  2008-02-29 18:43 UTC -------
It's not really the way gst_element_implements_interface() is meant to be used:
it's only supposed to be used on elements which implement the
GstImplementsInterface interface (yes, this is all horribly ugly).

Should not crash  of course, fixed in CVS now:

2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>

        * gst/gstinterface.c: (gst_element_implements_interface):
          Don't crash if the element supports the interface queried, but does
          not implement GstImplementsInterface. Fixes #519584.

        * tests/check/Makefile.am:
        * tests/check/gst/.cvsignore:
        * tests/check/gst/gstinterface.c:
          Add unit test for the above.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=519584.




More information about the Gstreamer-bugs mailing list