Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302126 - net-p2p/deluge-1.1.9 Locks sound device /dev/dsp - patch to remove sound notification
Summary: net-p2p/deluge-1.1.9 Locks sound device /dev/dsp - patch to remove sound noti...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-25 02:05 UTC by Brian Gifford
Modified: 2010-10-02 15:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch that removes references to sound in the gtk user interface (deluge-1.1.9-remove-sound.patch,6.17 KB, patch)
2010-01-25 02:06 UTC, Brian Gifford
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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?