[Bug 723554] request for "stats" property of "payX" pipeline element may raise GLib warning
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Feb 3 12:05:41 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=723554
GStreamer | gst-rtsp-server | git
--- Comment #1 from Andrey Utkin <me at andrey-utkin.pp.ua> 2014-02-03 20:05:39 UTC ---
And when G_DEBUG is unset, this may result in crash:
GLib-GObject-WARNING **: g_object_get_valist: object class 'GstIdentity' has no
property named 'stats'
*** glibc detected *** appname: free(): invalid pointer: 0x0000000000ad4a50 ***
The reason is probably there:
GstStructure *stats;
...
g_object_get (priv->payloader, "stats", &stats, NULL);
if (stats == NULL)
goto no_stats;
stats is not initialized to NULL, but checked against it. I guess g_object_set
() does not modify/init it in any way, thus we check uninitialized value
against NULL, which doesn't work.
--
Configure bugmail: https://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