[gstreamer-bugs] [Bug 339574] New: Race condition in multifdsink can lead to spurious duplicate clients
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Mon Apr 24 07:19:19 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=339574
GStreamer | gst-plugins-base | Ver: HEAD CVS
Summary: Race condition in multifdsink can lead to spurious
duplicate clients
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: msmith at fluendo.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
multifdsink has a client-removed signal, which is intended to be used so that
an application can call the get-stats signal, and then close the file
descriptor.
Unfortunately, if you do this, a new file descriptor (for a new client) with
the same value as the old one you just closed, could get added before
multifdsink removes the FD from its data-structures.
Multifdsink would reject this as a duplicate (which it is not).
To fix this, we need to add a new signal that is fired only once multifdsink no
longer has any reference to the FD, to indicate to the application that it's
safe to close (and thus later reuse) that FD.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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