[Bug 677436] New: Crash in simple GstRtpSession clean up.
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Jun 4 23:48:56 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=677436
GStreamer | gst-plugins-good | 0.11.x
Summary: Crash in simple GstRtpSession clean up.
Classification: Platform
Product: GStreamer
Version: 0.11.x
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: pabuhler at cisco.com
QAContact: gstreamer-bugs at lists.freedesktop.org
CC: itollefs at cisco.com
GNOME version: ---
The following code crashes, it did not in 0.10:
===================================================
GstElement * element;
GstPad * pad;
element = gst_element_factory_make ("rtpsession", NULL);
pad = gst_element_get_request_pad (element, "recv_rtcp_sink");
gst_object_unref (pad);
gst_object_unref (element);
====================================================
It seams that the automatic removal of pads in the gst_element_dispose
functions is removing the sometimes pad "recv_rtp_src" before the requested pad
is released, this leaves a dangling reference to recv_rtp_src inside of
GstRtpSession. If the request pad is explicitly released in the the test then
it does not crash. Not total sure on the expected behavior here.
--
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