[Pkg-alsa-devel] Bug#438118: alsa-utils: aplay non-blocking mode isn't working

Anders Boström anders at netinsight.net
Wed Aug 15 13:31:03 UTC 2007


Package: alsa-utils
Version: 1.0.14-1
Severity: normal

If I use the non-blocking mode of aplay (-N, --nonblock), I never get
any sound with linux 2.6.22 . This has worked before, and aplay
without non-blocking is working with 2.6.22 .

strace aplay -N :

...
open("/usr/lib/alsa-lib/libasound_module_rate_speexrate.so", O_RDONLY) = -1 ENOENT (No such file or directory)
ioctl(4, 0xc2604110, 0x7fffa2d9f5b0)    = 0
ioctl(4, 0xc2604110, 0x7fffa2d9f5b0)    = 0
ioctl(4, 0xc2604110, 0x7fffa2d9f4f0)    = 0
ioctl(4, 0xc2604110, 0x7fffa2d9f4f0)    = 0
ioctl(4, 0xc2604110, 0x7fffa2d9f4c0)    = 0
ioctl(4, 0xc2604110, 0x7fffa2d9f4b0)    = 0
ioctl(4, 0xc2604111, 0x7fffa2d9f4b0)    = 0
ioctl(4, 0xc0884113, 0x7fffa2d9f400)    = 0
ioctl(4, 0x80184132, 0x7fffa2d9f360)    = 0
mmap(NULL, 49152, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) = 0x2b5e07ed8000
ioctl(4, 0xc0884113, 0x624e88)          = 0
ioctl(4, 0x4140, 0)                     = 0
ioctl(4, 0xc0884113, 0x624e88)          = 0
read(3, "\377eO\333\337\370\344}\335_\377\330^l\356\361`j\336_l"..., 1001) = 1001
read(3, "n{u^\342zl~e~_[\365_y\362_\363\350\337n[\347nmi`\367y\344"..., 604) = 604
ioctl(4, 0x4144, 0x2b5e07ed7000)        = -1 EAGAIN (Resource temporarily unavailable)
close(3)                                = 0
ioctl(4, 0x4143, 0x3)                   = 0
munmap(0x2b5e07ed8000, 49152)           = 0
ioctl(4, 0x4112, 0)                     = 0
close(4)                                = 0
munmap(0x2b5e07ed6000, 4096)            = 0
munmap(0x2b5e07ed7000, 4096)            = 0
exit_group(0)                           = ?
Process 6080 detached

I'm not sure this is aplay's fault, it might be a kernel or alsa-lib
issue, so feel free to reassign.

/ Anders

-- System Information:
Debian Release: lenny/sid
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'testing'), (500, 'stable'), (51, 'testing-proposed-updates'), (50, 'unstable'), (40, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22.2
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to sv_SE.UTF8)
Shell: /bin/sh linked to /bin/bash

Versions of packages alsa-utils depends on:
ii  dialog                    1.1-20070604-1 Displays user-friendly dialog boxe
ii  libasound2                1.0.14a-2      ALSA library
ii  libc6                     2.6-2          GNU C Library: Shared libraries
ii  libncurses5               5.6+20070716-1 Shared libraries for terminal hand
ii  linux-sound-base          1.0.14-1       base package for ALSA and OSS soun
ii  lsb-base                  3.1-24         Linux Standard Base 3.1 init scrip
ii  module-init-tools         3.3-pre11-4    tools for managing Linux kernel mo
ii  pciutils                  1:2.2.4~pre4-1 Linux PCI Utilities
ii  python                    2.4.4-6        An interactive high-level object-o
ii  whiptail                  0.52.2-10      Displays user-friendly dialog boxe

Versions of packages alsa-utils recommends:
ii  alsa-base                     1.0.14-1   ALSA driver configuration files

-- no debconf information




More information about the Pkg-alsa-devel mailing list