[Bug 665731] Adding and removing layers to a timeline gets random crashes

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 6 04:22:59 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=665731
  GStreamer | gst-editing-services | 0.10.x

Thibault Saunier <thibault.saunier> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |thibault.saunier at collabora.
                   |                            |com
         Resolution|                            |FIXED

--- Comment #4 from Thibault Saunier <thibault.saunier at collabora.com> 2012-01-06 12:22:55 UTC ---
commit e288a6f4604323518fae42591122228342d2c3da
Author: Robert Swain <robert.swain at gmail.com>
Date:   Fri Jan 6 09:16:09 2012 -0300

    timeline: simplify code to remove an object from the pendingobjects list

    g_list_remove_all () can be used as a simplification as the private data to
ges
    timeline object are 1:1.

commit fc97c16e7e43cd2362175106e72541113b5e4a81
Author: Robert Swain <robert.swain at gmail.com>
Date:   Wed Jan 4 17:24:16 2012 +0100

    GESTimeline: Lock object discovery list

    TimelineFileSource objects are asynchronously discovered with discoverer
    with such objects being added to a pendingobjects list. If one were to
    remove a layer before an object in said layer had been discovered, a
    segfault could occur.

    As such, management of the list has been made more robust with the
    addition of a mutex and removal of the object from the pendingobjects
    list upon layer removal.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gstreamer-bugs mailing list