[Bug 782379] glimagesink: macOS crash when used with autovideosink

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Jul 16 02:55:24 UTC 2017


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

Matthew Waters (ystreet00) <ystreet00 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ystreet00 at gmail.com
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.12.3

--- Comment #4 from Matthew Waters (ystreet00) <ystreet00 at gmail.com> ---
commit 24e3cbf13bcc91fee3a88f7d7e70308256954fb2
Author: Matthew Waters <matthew at centricular.com>
Date:   Sun Jul 16 01:17:04 2017 +1000

    gl/cocoa: keep refs over async operations

    Avoids dereferencing dead objects

    What happens in the autovideosink case is that context 1 is created and
    destroyed before all the async operations hae executed on the associated
    window.  When the delayed operations execute, they then reference dead
    objects and crash.

    We fix this by keeping refs over all async operations so the object
    cannot be deleted while async operations are in flight.

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

and 1.12 546092597c262d64f76164823aa0ad5585267f1e

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