Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 302126

Summary: net-p2p/deluge-1.1.9 Locks sound device /dev/dsp - patch to remove sound notification
Product: Gentoo Linux Reporter: Brian Gifford <brian.d.gifford>
Component: Current packagesAssignee: Gentoo net-p2p team <net-p2p>
Status: RESOLVED TEST-REQUEST    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch that removes references to sound in the gtk user interface

Description Brian Gifford 2010-01-25 02:05:25 UTC
I have not tracked down the steps leading to the problem. Did some research, and tracked the problem to deluge. Seems that the sound notification routines that it pulls from pygame, or how it uses it locks the sound device. Can be resolved by stopping/killing deluge. I do not even have the notification active. Made patch that removes the routine, and also removes the option in the preferences tab. Just commented out the code, not deleted. Compiles fine, runs fine, now.

Reproducible: Sometimes

Steps to Reproduce:
1. Run deluge gtk gui
2. Let run for (at present) unknown amount of time (Seems to be over 1 hour)
3. Run other application that need sound
4. No sound

Actual Results:  
No applications can use the device. Mplayer, Firefox, mpg123, games. Deluge needs to be quitted/stopped/killed to release the device.


Attaching patch I made that removes(comments out) 99% of references to the sound notification, including the UI reference for the preferences. Left the actual initial definition as a stub.
Comment 1 Brian Gifford 2010-01-25 02:06:49 UTC
Created attachment 217348 [details, diff]
Patch that removes references to sound in the gtk user interface
Comment 2 Brian Gifford 2010-01-25 13:24:06 UTC
Still exists. Patch did not work. Must be a different section. Will continue to dig. Only thing I have to provoke this bug so far is time. Will go through the logs a bit more, and see what else I can pull.
Comment 3 Stanislav Ochotnicky (RETIRED) gentoo-dev 2010-06-30 20:33:46 UTC
Is this still a problem with never versions of deluge? 1.1.9 is not in the tree anymore, so I guess you are using at least 1.2.0. Can you still reproduce?