[Bug 647055] New: liveadder has a memory leak
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Apr 7 09:00:54 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=647055
GStreamer | gst-plugins-bad | 0.10.21
Summary: liveadder has a memory leak
Classification: Platform
Product: GStreamer
Version: 0.10.21
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: ejvanderlinden at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=185434)
--> (https://bugzilla.gnome.org/attachment.cgi?id=185434)
valgrind output.
Nature of the bug:
When I check the memory usage of the gst-launch command as described below
(using top), I see the memory usage increases from 1.2% to 8% when streaming
one mp3.
The memory "leaks" only when the data stream is active and when the liveadder
plugin is in the pipeline.
In the end (after streaming several mp3's) the process is killed by the OS.
This is the command that causes the memory leak:
gst-launch-0.10 -v udpsrc port=5000
caps="application/x-rtp,media=(string)audio, clock-rate=(int)44100,
channels=(int)2, payload=(int)96" ! gstrtpbin ! rtpL16depay !
audioconvert ! audioresample ! liveadder ! alsasink
To stream audio to this pipeline, use the following gst-launch command (which
does not have any problems)
gst-launch -v filesrc location=DownUnder.mp3 ! mad ! audioconvert !
audio/x-raw-int,channels=2,rate=44100 ! rtpL16pay ! udpsink host=localhost
port=5000
My system configuration:
UBUNTU 10.04 LTS
Initial bug found with the following packages installed via the Ubuntu package
manager:
gstreamer 0.10.28
base 0.10.28
good 0.10.21
bad 0.10.18
ugly 0.10.14
Bug reproduced with latest packages downloaded from
http://gstreamer.freedesktop.org/src/
These are compiled by me.
gstreamer 0.10.32
base 0.10.32
good 0.10.28
bad 0.10.21
ugly 0.10.17
The command that caused problems is "valgrinded" using the gstreamer
suppression file found at:
http://cgit.freedesktop.org/gstreamer/common/plain/gst.supp
See attachement for valgrind output.
--
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