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

Bug 304629

Summary: media-libs/alsa-libs leaks FDs
Product: Gentoo Linux Reporter: James Brown <Roguelazer>
Component: Current packagesAssignee: Gentoo ALSA team <alsa-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.launchpad.net/ubuntu/+source/alsa-lib/+bug/451893
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch from LaunchPad

Description James Brown 2010-02-11 20:59:43 UTC
alsa-lib has a bug (fixed in the latest HEAD, apparently) which causes it to leak FDs sometimes. This leads to PulseAudio (and possibly other apps?) hanging. The Ubuntu folks at the referenced URL debugged it and backported the patch from HEAD. Their patch applies cleanly against our 1.0.22 ebuild and seems to fix the problem. Any chance we could push their patch into portage?

Reproducible: Always
Comment 1 James Brown 2010-02-11 21:00:29 UTC
Created attachment 219279 [details, diff]
Patch from LaunchPad

Attaching patch from Ubuntu folks
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2010-02-12 16:10:04 UTC
+*alsa-lib-1.0.22-r1 (12 Feb 2010)
+
+  12 Feb 2010; <chainsaw@gentoo.org> +alsa-lib-1.0.22-r1.ebuild,
+  +files/alsa-lib-1.0.22-fd-leak.patch:
+  Apply patch from Daniel T Chen (Ubuntu) to avoid a file-descriptor leak.
+  It can be triggered by PulseAudio. With thanks to James Brown for
+  identifying the required patch. Closes bug #304629.