[gstreamer-bugs] [Bug 346097] New: SIGSEGV when using --gst-plugin-load

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jun 28 03:55:09 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=346097
 GStreamer | gstreamer (core) | Ver: 0.10.x

           Summary: SIGSEGV when using --gst-plugin-load
           Product: GStreamer
           Version: 0.10.x
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: pkj at axis.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Steps to reproduce:
1. gst-inspect --load-with-plugin=whatever.so


Stack trace:
The crash is due to prepare_for_load_plugin_func() not using g_strdup() on its
data before adding it to the preload_plugins list.  This then causes
load_plugin_func() to use freed memory, and then freeing this memory a second
time...

While looking at this I also noticed another case of duplicate memory freeing
in split_and_iterate().

I have attached a patch which fixes both of these problems.


Other information:


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list