[Bug 683996] New: [0.11] Tries to look inside a pointer that is no longer held
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Sep 13 17:14:29 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=683996
GStreamer | gstreamer (core) | git
Summary: [0.11] Tries to look inside a pointer that is no
longer held
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: blocker
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: olivier.crete at ocrete.ca
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
This is after the send_event, so the pointer is no longer valid, so can't use
GST_PTR_FORMAT as that will try to follow the pointer, can only use plain %p.
Causes crash in some tests.
diff --git a/gst/gstpad.c b/gst/gstpad.c
index b07fc4b..86f866c 100644
--- a/gst/gstpad.c
+++ b/gst/gstpad.c
@@ -4481,7 +4481,7 @@ gst_pad_push_event_unchecked (GstPad * pad, GstEvent *
event,
/* Note: we gave away ownership of the event at this point but we can still
* print the old pointer */
GST_LOG_OBJECT (pad,
- "sent event %" GST_PTR_FORMAT " to peerpad %"
+ "sent event %p to peerpad %"
GST_PTR_FORMAT ", ret %s", event, peerpad, gst_flow_get_name (ret));
gst_object_unref (peerpad);
--
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