ALSA bug

General support for problems installing or using Deluge
Post Reply
Tefkros

ALSA bug

Post by Tefkros »

Hello,

I have no clue why this is happening however, when Deluge is running ALSA (Advanced Linux Sound Architecture) crashes. honestly i can't understand how a BitTorrent client is in any way related to a bunch of drivers for sound card. When i run a test on alsa, it says that some application is using the drivers at the moment and when i close Deluge, sound works again.

Linux dist.: Ubuntu
Deluge v.: 0.9.03

thanks.
matiit

Re: ALSA bug

Post by matiit »

I can confirm it.
Alsa crashes afrer few hours.
Archlinux, deluge version: 1.1.9, alsa version: 1.0.20
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: ALSA bug

Post by johnnyg »

do you have deluge set to play a sounds when a torrent finishes?
that's the only time afaik that deluge uses sound.
whitethorn

Re: ALSA bug

Post by whitethorn »

I'm using gentoo, with deluge version 1.1.9. I know I have it set to not play sounds, and it also blocks my alsa every couple hours. When I then use lsof |grep snd it shows up deluge and deluged and doesn't finish. I then close deluge and sound works again.
gyph

Re: ALSA bug

Post by gyph »

I have the same problem as this. After some digging I found that the only supposed sound is the notification, which I have never had active. I then went and edited my code and patched it to remove all references to the sound notification. Link to the patch I made so you can check what I did http://www.gyph.net/deluge-1.1.9-remove-sound.patch . I commented out all aspects of the sound notification, and left the sound function as a stub. This didn't solve the problem.
Gentoo
Deluge 1.1.9 default install no edits to configuration. Running GTK UI
After at least one hour running deluge locks the sound device /dev/dsp. By closing / killing deluge sound is restored.
Running: fuser -muv /dev/dsp shows both deluged and deluge.
This happens with and without the patch I made. So it is not related to the sound notification that I can tell.
whitethorn

Re: ALSA bug

Post by whitethorn »

I upgraded to deluge 1.2.0 Bug is still there.
Post Reply