[Bug 661356] New: [gst-launch playbin2] leaks big chunks of memory

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Oct 10 00:18:15 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=661356
  GStreamer | gstreamer (core) | 0.10.x

           Summary: [gst-launch playbin2] leaks big chunks of memory
    Classification: Platform
           Product: GStreamer
           Version: 0.10.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: hanguytv at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


When playing an 720p http stream with gst-launch using playbin2, I set a gdb's
break point at the end of gst-launch.c, after gst_deinit(), say the
print_alloc_trace () line. Wait until the break point triggered, and examine
the memory usage of the gst-launch using "top" command.

The gst-launch process still consumes about 11MB in RAM in my system. 

The symptom is much more obvious if buffer-size is set to large memory and
buffer-duration is disable, for example:

gst-launch-0.10  playbin2
uri="http://trailers.apple.com/movies/paramount/captainamerica/captainamerica-tlr1_a720p.m4v"
buffer-size=23886080 buffer-duration=0

For the above setting, gst-launch would leak about 60MB in my system.

Though this not a critical issue with gst-launch since the memory is released
anyway after it exits, but would be critical for services that using playbin2
and never exits in embedded systems.

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