After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 766053 - uridownloader: should take ownership of its source element
uridownloader: should take ownership of its source element
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other Linux
: Normal normal
: 1.9.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-05-06 09:23 UTC by Carlos Garcia Campos
Modified: 2016-05-06 13:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
uridownloader: Take the ownership of the src element (5.71 KB, patch)
2016-05-06 09:24 UTC, Carlos Garcia Campos
committed Details | Review

Description Carlos Garcia Campos 2016-05-06 09:23:15 UTC
The URI downloader is creating the source element with gst_element_factory_make() that returns a floating reference that nobody is consuming. This is causing problems in WebKit, where the smart pointers used to take references of the source elment get confused and end up consuming the floating reference and then releasing the element, which usually crashes because the URI downloader still tries to use its src element. See https://bugs.webkit.org/show_bug.cgi?id=144040.
Comment 1 Carlos Garcia Campos 2016-05-06 09:24:17 UTC
Created attachment 327379 [details] [review]
uridownloader: Take the ownership of the src element
Comment 2 Víctor Manuel Jáquez Leal 2016-05-06 13:31:16 UTC
Attachment 327379 [details] pushed as 4293533 - uridownloader: Take the ownership of the src element