Bug 112630 - XMMS visualization plugin wrapper doesn't close inherited fds
Summary: XMMS visualization plugin wrapper doesn't close inherited fds
Status: RESOLVED DUPLICATE of bug 103750
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 1.3.1
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-15 02:50 UTC by Kevin Radloff
Modified: 2006-06-11 12:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
proposed fix (344 bytes, patch)
2005-09-15 02:51 UTC, Kevin Radloff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Radloff 2005-09-15 02:50:11 UTC
Version:           1.3.1 (using KDE KDE 3.4.2)
Installed from:    Debian testing/unstable Packages
OS:                Linux

The xmms visualization plugin wrapper doesn't close its inherited fds as it should. This wouldn't be a serious problem in most scenarios, except for the fact that it means the amarok_xmmswrapper2 process keeps the audio device open (which seems to trigger some alsa/dmix bugs where amarok/xine-engine can't reopen the audio device after pausing/changing tracks).
Comment 1 Kevin Radloff 2005-09-15 02:51:24 UTC
Created attachment 12572 [details]
proposed fix
Comment 2 Kevin Radloff 2005-09-17 20:52:45 UTC
Actually, this is a general problem, as scripts are also affected. The solution would seem to be to create KProcess/KProcIO subclasses that override the start() method and close their inherited fds therein.
Comment 3 Alexandre Oliveira 2005-09-17 21:50:48 UTC
Yep, and that's why I'm marking this as a dup of bug #103750.
Let's talk about it there.

*** This bug has been marked as a duplicate of 103750 ***