[Bug 776293] GStreamer-CRITICAL **: gst_stream_collection_get_size: assertion 'collection->priv->streams' failed

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Mar 31 10:36:51 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=776293

Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> ---
commit efbacf1931d2f407e7f1c9f8f7dce994504a1188
Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Fri Mar 31 10:38:15 2017 +0100

    streamcollection: fix racy user-after-free

    The issue happens when the structure is printed by the logging
    subsystem: the object is included in the log, and this will cause the
    full object printout to be done there. However, after dispose, the queue
    was already cleared, so the access to it (to print the object) would
    assert, as the queue was already freed. The patch changes it so that the
    queue is merely empty, and only freed in _finalize.

    https://bugzilla.gnome.org/show_bug.cgi?id=776293

-- 
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