[gst-devel] [ gstreamer-Bugs-581108 ] 0.4.0 httpsrc: while(1) { malloc(); };
noreply at sourceforge.net
noreply at sourceforge.net
Sat Jul 13 13:52:02 CEST 2002
Bugs item #581108, was opened at 2002-07-13 13:51
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101936&aid=581108&group_id=1936
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: 0.4.0 httpsrc: while(1) { malloc(); };
Initial Comment:
0.4.0 httpsrc seems to eat a lot of memory. When doing this to
test my installation ...
gst-launch httpsrc location=http://kronk/dukes.mp3 ! mad !
osssink
... no sound plays, because the URL is incorrect and that file
doesn't exist. So, gst-launch going into a loop doing the following,
according to strace.
read(3, "", 4096) = 0
brk(0x91cf000) = 0x91cf000
read(3, "", 4096) = 0
brk(0x91d0000) = 0x91d0000
read(3, "", 4096) = 0
brk(0x91d1000) = 0x91d1000
It also grows quite large in size. it consumes a few MB/sec. If I
have the URL right, it seems to work just fine. I would expect
httpsrc to do something other than malloc() in a loop if the URL
isn't valid. gnomevfssrc, for instance, simply aborts:
RUNNING pipeline
ERROR: gnomevfssrc0: opening vfs
file"http://kronk.house/dukes.mp3" (File not found)
pipeline doesn't want to play
Even with the URL right, gst-launch gets selected for
termination by the OOM killer, after it reaches some very large
size. The entire test track played, and then gst-launch got
greedy.
While playing, gst-launch consumes 2460 KB -- no more, no less.
When the track ends, it then rapidly bloats to multi-hundreds of
megabytes. It was 181MB when I killed it a few seconds after the
track ended. The OOM killer probably won't kick in on my PC
(256MB phys, 512MB swap) until gst-launch reaches around
500MB (I currently have 150MB free, 323MB swap free).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101936&aid=581108&group_id=1936
More information about the gstreamer-devel
mailing list