[gstreamer-bugs] [Bug 547352] race condition with GstPadBufferAllocFunction

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Aug 18 09:24:31 PDT 2008


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

  GStreamer | gstreamer (core) | Ver: HEAD CVS

Yves Lefebvre changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED




------- Comment #4 from Yves Lefebvre  2008-08-18 16:24 UTC -------
I put my modif for basetransform with the sleep and some printf to show the
potential race condition. With the pipeline and doing ctrl-c, you should be
able to see that sometime, the change state is occuring while the buffer alloc
function is also running.

With the patch, things look correct.

About the patch : I am not sure it will synchronize anything new, since the
patch do a stream lock on the next element pad (from the current chain function
of an upstream element). So, I think this is the same thread anyway that do the
buffer alloc and the chain itself.


-- 
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=547352.




More information about the Gstreamer-bugs mailing list