[gstreamer-bugs] [Bug 543101] New: The udpsrc/udpsink/multiudpsink/dynudpsink elements may leak file descriptors

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jul 15 07:07:32 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=543101

  GStreamer | gst-plugins-good | Ver: HEAD CVS
           Summary: The udpsrc/udpsink/multiudpsink/dynudpsink elements may
                    leak file descriptors
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: pkj at axis.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


If one has set the closefd property to TRUE (which it is by default) and
specified a socket via the sockfd property for either of udpsrc, udpsink,
multiudpsink or dynudpsink, the element will leak the file descriptor in case
it is never set to the PAUSED state even though the closefd property indicates
that the element is the owner of the file descriptor. It will also use a closed
file descriptor in case it is set to PAUSED again after having gone from PAUSED
to READY...

The attached patch should fix these problems. I do not think it warrants a
blocker for the pending -good release, so I intend to commit it once -good is
thawed (and I am back from vacation). But if anyone feels like committing it
before then, feel free. ;)


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




More information about the Gstreamer-bugs mailing list