[Pkg-alsa-devel] Bug#638369: alsa-utils: Seems to do strange things to stdin after upgrade to 1.0.24
Marc-Jano Knopp
pub_br_debian.org at marc-jano.de
Thu Aug 18 21:13:40 UTC 2011
Package: alsa-utils
Version: 1.0.24.2-1
Severity: normal
In alsa-utils 1.0.23-5+b1, the following works:
(Instead of /dev/null, you can also pick a WAV file)
------- snip -------
$ aplay -q /dev/null; read -p "Enter number: "
aplay: playback:2372: read error
Enter number: ^C (I hit Ctrl-C here)
$
------- snip -------
As of alsa-utils 1.0.24.2-1, this does not work anymore:
------- snip -------
$ aplay -q /dev/null; read -p "Enter number: "
aplay: playback:2455: read error
Enter number: bash: read: read error: 0: Resource temporarily unavailable
$ echo $?
1
$
------- snip -------
aplay seems to do something strange with stdin.
There are also other programs that seem to behave in the same way, see
bug #638072 about "vzctl". Maybe that could be an indication that the
actual culprit is libreadline (currently installed: libreadline6 6.2-2
and bash 4.1-3) -- I can reproduce the behavior of alsa-utils 1.0.23
and 1.0.24 without changing libreadline, but maybe the newer
alsa-utils just triggers a libreadline bug.
The file
/usr/share/doc/alsa-utils/changelog.gz
for 1.0.24 lists this:
aplay/arecord: Added hardware pause support (press SPACE or Enter)
Maybe this introduced the described problem.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (50, 'unstable'), (25, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Versions of packages alsa-utils depends on:
ii dialog 1.1-20110707-1 Displays user-friendly dialog boxe
ii libasound2 1.0.24.1-2 shared library for ALSA applicatio
ii libc6 2.13-10 Embedded GNU C Library: Shared lib
ii libncursesw5 5.9-1 shared libraries for terminal hand
ii linux-sound-base 1.0.23+dfsg-4 base package for ALSA and OSS soun
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
ii module-init-tools 3.16-1 tools for managing Linux kernel mo
ii udev 172-1 /dev/ and hotplug management daemo
ii whiptail 0.52.11-2.1 Displays user-friendly dialog boxe
Versions of packages alsa-utils recommends:
ii alsa-base 1.0.23+dfsg-4 ALSA driver configuration files
ii pciutils 1:3.1.7-12 Linux PCI Utilities
alsa-utils suggests no packages.
-- no debconf information
More information about the Pkg-alsa-devel
mailing list