Summary: | sys-kernel/gentoo-sources-2.6.31-r5 (alsa-lib 1.0.21a): using aplay with a bluetooth headset causes a memory leak | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Geoff Lywood <glywood> |
Component: | Current packages | Assignee: | Gentoo ALSA team <alsa-bugs> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | jesse, mikopp |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Geoff Lywood
2009-11-16 08:01:16 UTC
Oops. There is a major typo in the description. Step 8 should be: 8. Now try playing back a clip that's not recorded at 8000 Hz: $ aplay -D btplug /usr/share/sounds/alsa/Front_Center.wav (Again, this leaks kernel memory in excess of 10 MB per second. No sound.) Note that it is "btplug" that is broken, not "btheadset" as originally reported. (Attempting this with "btheadset results in distorted sound due to mismatched sample rates, but at least it doesn't leak memory.) Wow, this caused a panic which ate all my RAM and swap, and soon the kernel panicked. I have an even simpler setup of .asoundrc: pcm.bluetoothraw { type bluetooth device 00:23:7F:20:2F:53 profile "auto" } pcm.bluetooth { type plug slave { pcm bluetoothraw } } Same error filling syslog/dmesg. I'm even running bluez-4.59 (latest upstream), and tuxonice-sources-2.6.31. This should be fixed in commit a256766c10c of upstream alsa-lib git. just tested this with alsa 1.0.23 and bluez 4.0.75 I have the same problem, same error message, same simple .asoundrc What do you need to further investigate this Could you confirm whether alsa-lib 1.0.25 fixes this please? (In reply to comment #6) > Could you confirm whether alsa-lib 1.0.25 fixes this please? |