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 752055 - identity: invalid read when unscheduling a gst_clock_id_wait
identity: invalid read when unscheduling a gst_clock_id_wait
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal critical
: 1.5.90
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2015-07-07 09:58 UTC by Håvard Graff (hgr)
Modified: 2015-08-16 13:37 UTC
See Also:
GNOME target: ---
GNOME version: ---

Patch with tests and fix (9.90 KB, patch)
2015-07-07 09:58 UTC, Håvard Graff (hgr)
committed Details | Review

Description Håvard Graff (hgr) 2015-07-07 09:58:39 UTC
Created attachment 306987 [details] [review]
Patch with tests and fix

Found while writing GstHarness tests for GstIdentity.
Comment 1 Sebastian Dröge (slomo) 2015-07-07 10:05:48 UTC
commit ee63702d619c92185a33d67e66351f8777998c81
Author: Havard Graff <>
Date:   Tue Jul 7 11:53:07 2015 +0200

    identity: refactor and add tests using GstHarness
    Writing a test for unscheduling the gst_clock_id_wait inside the
    identity element, found an invalid read, caused by removing the clock-id
    when calling _unschedule instead of letting the code calling _wait remove
    the clock-id after being unscheduled.
Comment 2 Tim-Philipp Müller 2015-07-07 11:44:55 UTC
That commit message should have read 'identity: invalid read when ...' as well by the way.