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 329006 - amarok/gstreamer thrashes when playing http://www.huzzam.com/demo/menaz-ajde-chaje-2003.mp3
amarok/gstreamer thrashes when playing http://www.huzzam.com/demo/menaz-ajde-...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.11
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-28 20:26 UTC by Jonathan Ryshpan
Modified: 2006-04-01 10:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jonathan Ryshpan 2006-01-28 20:26:31 UTC
Using the gstreamer engine under amarok the following file:
        http://www.huzzam.com/demo/menaz-ajde-chaje-2003.mp3
causes my system to thrash wildly, using all cpu power, and eventually
using up all available virtual memory (4.9 GBytes).  This happens in
xmms, amarok, and madplay and so is probably caused by a bug in
libmad.so.  Mplayer and realplay play the file properly.

The exact version was built on my own machine from:
    gstreamer-plugins-extra-0.8.11-0.gst.1.4.src.rpm
Comment 1 Jan Schmidt 2006-01-28 21:11:03 UTC
I can't reproduce with madplay or xmms (they play the first minute or so fine), and amarok keeps crashing every time I run it today, so I can't test there.

Does gst-launch-0.8 playbin uri=http://www.huzzam.com/demo/menaz-ajde-chaje-2003.mp3 
work for you? 
Comment 2 Jonathan Ryshpan 2006-01-28 23:11:10 UTC
In reply to Jan Schmidt's comments:
(1) Are you running on an x86-64 cpu?  I've noticed that a lot of bugs show up on these systems when the port from iX86 isn't quite correct.  Could we be running different versions?

(2) gst-launch-0.8 playbin \
uri=http://www.huzzam.com/demo/menaz-ajde-chaje-2003.mp3
thrashes badly, just as when I play the file locally.
Comment 3 Jan Schmidt 2006-01-28 23:36:12 UTC
Nope - I'm on plain x86.

It sounds like a libmad problem, as you suggested, and not a gstreamer problem.

Running some debug output might help:

GST_DEBUG=mad:5 gst-launch-0.8 playbin uri=file:///path/to/file.mp3 > log.txt 2>&1 

should produce a bunch of debug lines in log.txt. Run it for a bit and then kill it and we can have a look whether there's any useful information in there.
Comment 4 Andy Wingo 2006-02-07 12:46:04 UTC
Jonathan -- it's likely your problems are due to crappy alsasink in 0.8.11. Can you test with the 0.8.12 prereleases and see if the problem persists?
Comment 5 Jonathan Ryshpan 2006-02-09 05:55:20 UTC
To Jan Schmidt: No luck.
$ GST_DEBUG=mad:5 gst-launch-0.8 playbin \
   uri=file:///$PWD/menaz-ajde-chaje-2003.mp3 >& LOG.txt &
$ kill %1
$ cat LOG.txt
RUNNING pipeline ...
<about 20 sec delay during which the machine thrashed wildly>
$

To Andy Wingo: I expect to rebuild in the next day or so.
Comment 6 Jan Schmidt 2006-03-20 16:01:17 UTC
Jonathon, did you get around to testing this? Does the problem still exist for you?
Comment 7 Jonathan Ryshpan 2006-03-20 21:10:06 UTC
Jan Schmidt: Sorry, I had some kind of trouble rebuilding, don't even remember what at this point.  I am about to download FC5, and will retest and (if necessary) rebuild when I install FC5, probably shortly after April 1st (no kidding!).

jon
Comment 8 Christian Fredrik Kalager Schaller 2006-03-24 17:13:58 UTC
ok, tested with GStreamer 0.10 and gst-launch. Works fine. If this is a 0.8 only problem should this be closed as a wontfix?
Comment 9 Jonathan Ryshpan 2006-03-24 17:52:37 UTC
(In reply to comment #8)
> ok, tested with GStreamer 0.10 and gst-launch. Works fine. If this is a 0.8
> only problem should this be closed as a wontfix?

If you have tested a version built for an x86_64 cpu on this particular file:
    http://www.huzzam.com/demo/menaz-ajde-chaje-2003.mp3
then you should close the bug.  I will repeat the test when I install Fedora Core 5 later this week or early next.
Comment 10 Thomas Vander Stichele 2006-04-01 10:53:50 UTC
I tried this on our FC5 64 bit machine, and it worked fine with 0.10.
Hence closing.

Feel free to reopen if this pops up again.