[Bug 758340] New: tests: funnel test is racy

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Nov 19 06:04:09 PST 2015


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

            Bug ID: 758340
           Summary: tests: funnel test is racy
    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: thiagossantos at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Just run the funnel tests forever and it will fail at some point:

Unexpected critical/warning:
gstpad.c:4074:gst_pad_chain_data_unchecked:<funnel0:sink_0> Got data flow
before stream-start event
0%: Checks: 1, Failures: 1, Errors: 0
gstcheck.c:79:F:funnel simple:test_funnel_stress:0: Unexpected
critical/warning: gstpad.c:4074:gst_pad_chain_data_unchecked:<funnel0:sink_0>
Got data flow before stream-start event

The reason is that this test has a few threads doing different stuff. The 2
relevants here are the thread that does state changes and one that is pushing
buffers.

Pushing a buffer has (among others) the following steps:
1) Check sticky events
2) Send any missing sticky events if needed
3) call the chain function of the downstream sink pad

If the state change thread does a change to null and back while the pushing of
a buffer is between 2 and 3, you get the error above.

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