GNOME Bugzilla – Bug 343109
Crash when redirecting ALSA PCM to FIFO
Last modified: 2006-05-30 09:05:41 UTC
I have setup ALSA on my system to forward PCM data to a fifo on my filesystem. When the fifo fills up, banshee crashes with the following message banshee: pcm_file.c:112: snd_pcm_file_add_frames: Assertion `file->wbuf_used_bytes < file->wbuf_size_bytes' failed. While something is still reading the fifo, then banshee works as expected. I am running banshee on Fedora Core 5 using GStreamer 0.10. I have a .asoundrc setup as follows; pcm.!default { type plug slave.pcm "stdout" } pcm.stdout { type file file "/tmp/airportfifo" slave { pcm "hw:0,0" } } where /tmp/airportfifo has been created with "mknod /tmp/airportfifo p"
Can you please try to reproduce this outside of Banshee (Totem, Rhythmbox, [1])? I will bet this is a GStreamer bug instead. You might try upgrading Banshee to 0.10.10. Also, a backtrace would be very helpful: http://banshee-project.org/Debugging [1] Try also using a pipeline on the command line: gst-launch-0.10 filesrc location="/path/to/song.ogg" ! decodebin ! gconfaudiosink
Hmm, this does look like it is a gstreamer bug as rhythmbox produced the same backtrace. I couldn't get your gst-launch cmd line to doo much, but the following also managed to reproduce the crash. gst-launch-0.10 filesrc location="/path/to/song.ogg" ! oggdemux ! vorbisdec ! audioconvert ! alsasink I guess I'll re-file this in gstreamer.
decodebin is essentially the element that "does decoding" in Banshee and that pipeline should work fine, but as long as you were able to reproduce it outside of Banshee, that makes me happy :)
*** This bug has been marked as a duplicate of 343312 ***