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 791407 - pad: _start_task() will leak the user data if the task is in paused state
pad: _start_task() will leak the user data if the task is in paused state
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
1.13.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-12-08 19:56 UTC by Nicolas Dufresne (ndufresne)
Modified: 2018-11-03 12:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nicolas Dufresne (ndufresne) 2017-12-08 19:56:19 UTC
The pad does not mimic one to one the GstTask API. So basically gst_pad_start_stask() is a combination of task_new() and task_start(). When the task has been paused, this function behaves like task_start() ignoring the callback, user data and destroy notify. This is kind of bug prone, as code may expect these to be updated.

But the main problem is that the userdata will be leaked since the GDestroyNotify is not called.
Comment 1 GStreamer system administrator 2018-11-03 12:43:34 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/261.