[Bug 750172] New: miniobject double WRITE | EXCLUSIVE lock succeeds despite part-miniobject.txt forbidding it

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun May 31 04:35:40 PDT 2015


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

            Bug ID: 750172
           Summary: miniobject double WRITE | EXCLUSIVE lock succeeds
                    despite part-miniobject.txt forbidding it
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ystreet00 at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

gst_memory_lock (mem, WRITE | EXCLUSIVE);
gst_memory_lock (mem, WRITE | EXCLUSIVE);

Succeeds when the part-miniobject.txt design doc suggests that this should
fail:

"A gst_mini_object_lock() can fail when a WRITE lock is requested and the
exclusive counter is > 1. Indeed a GstMiniObject object with an exclusive
counter > 1 is locked EXCLUSIVELY by at least 2 objects and is therefore not
writable."

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