[Bug 664861] New: playbin2: File descriptor leak

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Nov 26 00:22:04 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=664861
  GStreamer | gst-plugins-base | git

           Summary: playbin2: File descriptor leak
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: arun at accosted.net
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


It appears that playbin2 is leaking fds in git master. This happens with
pulseaudiosink but not pulsesink, but as far as I can tell, the actual bug is
not actually in pulsesaudiosink.

This is easy to demonstrate with gst-launch by sending it SIGUSR2 and then
SIGUSR1 to bring the pipeline down to NULL and then playing again. Some
results:

gst-launch playbin2 uri=... audio-sink=pulsesink -- does not leak

gst-launch playbin2 uri=... -- leaks one socket fd (pulseaudiosink is chosen
since it has greater rank than pulsesink)

gst-launch filesrc location=... ! mad ! pulseaudiosink -- does not leak

-- 
Configure bugmail: https://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