Deluge blocking audio device on Xubuntu??
Posted: Fri Mar 07, 2008 1:13 am
I had a very strange thing happen to me just now. I was watching streaming flash video on the net and paused the file for a moment. I accidentally reloaded the page and waited for the file to buffer. Then all of a sudden my sound wouldn't work anymore. I started XMMS and it told me the sound device was busy and Firefox would not give out audio either. Video ran just fine. I did a "lsof | grep pcm" to see what was accessing the soundcard. And there I found:
deluge 8998 <user> 47u CHR 116,8 14130 /dev/snd/pcmC0D0p
Deluge somehow took over the firefox sound process. FireFox produces a similar signature when it accesses the sound device when I play flash video.
firefox-b 12994 <user> 63u CHR 116,8 14130 /dev/snd/pcmC0D0p
Unfortunately I can't yet reproduce the bug at will but I know that it has happened to me at least 3 times, only today I was curious enough to look what was blocking the soundcard. I usually restarted the Xserver so far. I don't really know how to produce more Shell output or debugging info to see what really happens. But this problem is bugging me for a while now and I ultimately had to write it in. I definitely had one of these occasions with 0.5.8.4 and now with 0.5.8.5. I like Deluge a lot because it's small and simple yet powerful. I just wondered how it could happen that this type of application blocks the soundcard.
deluge 8998 <user> 47u CHR 116,8 14130 /dev/snd/pcmC0D0p
Deluge somehow took over the firefox sound process. FireFox produces a similar signature when it accesses the sound device when I play flash video.
firefox-b 12994 <user> 63u CHR 116,8 14130 /dev/snd/pcmC0D0p
Unfortunately I can't yet reproduce the bug at will but I know that it has happened to me at least 3 times, only today I was curious enough to look what was blocking the soundcard. I usually restarted the Xserver so far. I don't really know how to produce more Shell output or debugging info to see what really happens. But this problem is bugging me for a while now and I ultimately had to write it in. I definitely had one of these occasions with 0.5.8.4 and now with 0.5.8.5. I like Deluge a lot because it's small and simple yet powerful. I just wondered how it could happen that this type of application blocks the soundcard.