[Bug 680619] New: mpegaudioparse leaks memory

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jul 25 16:47:08 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=680619
  GStreamer | gst-plugins-good | 0.10.36

           Summary: mpegaudioparse leaks memory
    Classification: Platform
           Product: GStreamer
           Version: 0.10.36
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: dv at pseudoterminal.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=219662)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=219662)
Massif output

I generated 1 hour test mp3 files with a 440 sine, at 32,64, and 128kbps. Using
valgrind massif, I can see a steady increase in memory consumption. The
gst-launch line is:

  valgrind --tool=massif --massif-out-file=memleak-128kbps.massif
gst-launch-0.10 filesrc location=sine-128kbps-48khz-stereo-1hour.mp3 !
mpegaudioparse ! fakesink

The line for creating the test files is:

  gst-launch-0.10 audiotestsrc samplesperbuffer=48000 num-buffers=3600
wave=sine ! \
    "audio/x-raw-int, rate=(int)48000, channels=(int)2" ! lame bitrate=128 ! \
    filesink location=sine-128kbps-48khz-stereo-1hour.mp3

Using ms_print to visualize the results, I see a linear increase from initially
1.95 MB to 4.11 MB.
The massif and ms_print outputs are attached.

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