[gst-devel] httpsrc with bad URL: while(1) { malloc(); };

Michael Rothwell rothwell at holly-springs.nc.us
Sat Jul 13 12:51:01 CEST 2002


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



Any suggestions?

-- 
Michael Rothwell
e: rothwell at holly-springs.nc.us
k: http://www.flyingbuttmonkeys.com/rothwell-public-key.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20020713/73fa8e7f/attachment.pgp>


More information about the gstreamer-devel mailing list