[Bug 725809] ghostpad: rare crash because of missing reference count on its target pad
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Mar 6 11:25:09 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=725809
GStreamer | gstreamer (core) | git
Sebastian Dröge (slomo) <slomo> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|HEAD |1.3.1
--- Comment #4 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-03-06 19:47:46 UTC ---
A test would of course still be good
commit 5973f8c2cafc40e1d3d00f6b00e39a2886db9655
Author: George Kiagiadakis <george.kiagiadakis at collabora.com>
Date: Thu Mar 6 13:01:40 2014 +0200
ghostpad: use gst_pad_get_peer to acquire a reference to the target pad
This ensures that the lock of the internal pad is held while referencing
it's peer (= the target pad), which ensures that the peer is not
going to be unlinked/destroyed in the meantime.
https://bugzilla.gnome.org/show_bug.cgi?id=725809
commit 4fc671e801c64d8ea329bf2a29485240db3f0bc3
Author: George Kiagiadakis <george.kiagiadakis at collabora.com>
Date: Thu Mar 6 12:40:23 2014 +0200
ghostpad: hold a reference to the target pad while unlinking it
https://bugzilla.gnome.org/show_bug.cgi?id=725809
--
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