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 98012 - gnomevfssrc leaks memory
gnomevfssrc leaks memory
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other other
: Normal normal
: 0.4.0
Assigned To: Colin Walters
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-11-08 12:22 UTC by Joshua N Pritikin
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joshua N Pritikin 2002-11-08 12:22:51 UTC
This script doesn't leak memory:

  ./gst-launch --gst-scheduler=basicomega -Xoffset filesrc location=$1 !
mpegdemux sync=false name=foo video_%02d! { queue ! mpeg2dec ! { queue !
colorspace ! xvideosink } } foo.audio_%02d!{ queue ! mad ! { queue !
osssink } }

However, when i try to play the same MPEG1 film via libgstplay (gst-player
or my own player linked against libgstplay) then i leak memory at about 1M
per 10 seconds.
Comment 1 Steve Baker 2002-11-14 02:59:41 UTC
I have observed the leak, then it stopped leaking for no apparent reason.

Could you please supply a url to an mpeg which displays this?
Comment 2 Joshua N Pritikin 2002-11-24 05:43:13 UTC
i tested with filesrc instead of gnomevfssrc and the leak disappeared.
 Maybe i am running old versions?

debian linux 2.4.19 i386
libgnomevfs2-common 2.0.2-7
libgnomevfs2-0 2.0.4-1
libgnomevfs2-dev 2.0.4-1

Easy to reproduce:

gst-launch filesrc location=/local/aleader/original/nausicaa1.mpg !
mpegdemux
gst-launch gnomevfssrc location=/local/aleader/original/nausicaa1.mpg
! mpegdemux

If these two commands have the same memory profile then close this bug
as FIXED.
Comment 3 Christian Fredrik Kalager Schaller 2003-02-24 10:34:24 UTC
Walters, I saw that some gnome-vfs memleaks issues where fixed inside
gnome-vfs recently, could it be that those memleaks fixed there are
the ones we have been seeing here?
Comment 4 Colin Walters 2003-04-11 06:50:38 UTC
Yeah, I believe this bug is fixed.