After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 449459 - [playbin] Memory leak when stopping-starting (race?)
[playbin] Memory leak when stopping-starting (race?)
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-06-20 13:32 UTC by Ulrich von Zadow
Modified: 2013-07-17 08:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Python file that shows the memory leak. (1.99 KB, text/plain)
2007-06-20 13:35 UTC, Ulrich von Zadow
Details

Description Ulrich von Zadow 2007-06-20 13:32:27 UTC
Using pygst, when stopping and starting sounds at a rate of about 100 sounds/second, a memory leak of about 2.5 MB per minute(!) results. I have attached a python file that demonstrates this. Software versions installed were:

gstreamer 0.10.11
gst-plugins-alsa 0.10.11
gst-plugins-base 0.10.11
gst-plugins-good 0.10.14
Comment 1 Ulrich von Zadow 2007-06-20 13:35:09 UTC
Created attachment 90334 [details]
Python file that shows the memory leak.
Comment 2 Edward Hervey 2007-06-20 16:34:13 UTC
I can't manage to reproduce this leak with current head of everything.
Comment 3 Edward Hervey 2007-06-20 16:53:32 UTC
my bad, it does happen !
Comment 4 Edward Hervey 2007-06-23 16:47:03 UTC
already fixed a bunch of leaks in oggdemux, decodebin and wrong use of gst_static_pad_template_get() that were detected through this. All those fixes are currently in cvs.

I wrote a simpler test which does the same thing but only with filesrc ! decodebin  and the leak is now gone.

Therefore I'm suspecting playbin is the culprit.

Will attach newer scripts and massif reports soon.
Comment 5 Ulrich von Zadow 2007-07-24 13:39:24 UTC
(In reply to comment #4)
> Will attach newer scripts and massif reports soon.

Any news on this?
Comment 6 Sebastian Dröge (slomo) 2008-05-06 09:23:24 UTC
Ping?
Comment 7 Edward Hervey 2013-07-17 08:37:49 UTC
No response in over 5 years. Closing. Re-open if the issue is still reproduceable with git gstreamer.