[gstreamer-bugs] [Bug 590056] New: [collectpads] race resulting in double flush-stop being outputted

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jul 28 12:39:41 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=590056

  GStreamer | gstreamer (core) | Ver: git
           Summary: [collectpads] race resulting in double flush-stop being
                    outputted
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: bilboed at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


This is the analysis of the adder unit-test failing in gst-plugins-bad.

Running suite(s): adder
83%: Checks: 6, Failures: 1, Errors: 0
gstconsistencychecker.c:66:F:general:test_live_seeking:0: Received a FLUSH_STOP
without a FLUSH_START


The problem is due to a race in gstcollectpads when using _set_flushing() and
the internal _get_flushing() function *WITHOUT* making sure that the list of
GstCollectData is actually 'in-sync' (meaning you have the latest available
version).

This is fixed by calling _check_pads() in _get_flushing/_set_flushing to ensure
we have the *real* current state.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=590056.




More information about the Gstreamer-bugs mailing list