[Bug 738291] New: memleak after gst_event_new_caps()

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Oct 10 04:49:20 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=738291
  GStreamer | gstreamer (core) | 1.4.3

           Summary: memleak after gst_event_new_caps()
    Classification: Platform
           Product: GStreamer
           Version: 1.4.3
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: ao2 at ao2.it
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=288211)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=288211)
memleak after gst_event_new_caps()

Hi,

running the following pipeline under valgrind I get some "definitely lost"
blocks:

wget -nc http://www.midishrine.com/midipp/nes/Super_Mario_Bros/smb1-1up.mid

gst-launch-1.0 filesrc location=smb1-1up.mid ! midiparse ! fluiddec ! fakesink

Full log attached, it contains the exact valgrind command line.

My current guess is that a new event is created in gst_event_new_caps() but
there is some missing call to gst_event_unref() somewhere, maybe in
gstreamer/gst/gstpad.c in the push_buffer_* functions?

I don't know the GStreamer internals well enough to figure it out myself, I'd
appreciate if someone more familiar with the code could take a look.

Thanks,
   Antonio

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