[Bug 761448] New: gst_uri_from_string segmentation fault

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Feb 2 10:22:06 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=761448

            Bug ID: 761448
           Summary: gst_uri_from_string segmentation fault
    Classification: Platform
           Product: GStreamer
           Version: 1.6.1
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: adrien.clerc at gls-france.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

I have this really simple program:

#include <gst/gst.h>
int main( int argc, char** argv )
{
    const gchar * string_uri =
"http://admin:admin@127.0.0.1/media/info?test=1";
    GstUri * parsed_uri = gst_uri_from_string(string_uri);
    return 0;
}


It segfault, apparently with the following stack:

(gdb) bt full
#0  0x00007ffff7b20ee6 in gst_mini_object_init (mini_object=0x620020, flags=0,
type=6412096, copy_func=0x7ffff7b5a690 <_gst_uri_copy>, dispose_func=0x0,
free_func=0x7ffff7b5a5f0 <_gst_uri_free>) at gstminiobject.c:133
#1  0x00007ffff7b5a5e6 in _gst_uri_new () at gsturi.c:1019
        uri = 0x620020
#2  0x00007ffff7b5a806 in gst_uri_from_string (uri=0x400c28
"http://admin:admin@127.0.0.1/media/info?test=1") at gsturi.c:1535
        orig_uri = 0x400c28 "http://admin:admin@127.0.0.1/media/info?test=1"
        uri_obj = <optimized out>
        __PRETTY_FUNCTION__ = "gst_uri_from_string"
#3  0x0000000000400af5 in main(int, char**) (argc=1, argv=0x7fffffffda18) at
main.cpp:25
        string_uri = 0x400c28 "http://admin:admin@127.0.0.1/media/info?test=1"
        parsed_uri = 0x7fffffffda10

I wasn't able to test with 1.6.3, but I didn't see any commit that improved the
situation. Did I missed something?

-- 
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