[Bug 672006] New: [playsink] leaks every instance

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Mar 13 09:52:54 PDT 2012

  GStreamer | gst-plugins-base | git

           Summary: [playsink] leaks every instance
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: mnauw at users.sourceforge.net
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Both playsink and the helper internal convert bin use following fragments

      gst_pad_set_blocked_async_full (opad, FALSE, sinkpad_blocked_cb,
          gst_object_ref (playsink), (GDestroyNotify) gst_object_unref);

The result is a (indirect) circular ref between opad (a pad somewhere internal
in the bin) and the bin (e.g. playsink), so none of this gets cleaned up at
overall pipeline _unref time.

It is also not reported by valgrind, unless one digs into the "still

Not entirely sure why additional refs were taken here in the first place in
such persistent fashion to begin with ...

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