Bug#611367: If user is in audio-group, pulseaudio crashes in multi soundcard setup
Daniel Gasser
gasser at websource.ch
Fri Jan 28 13:38:12 UTC 2011
Package: pulseaudio
Version: 0.9.21-3+b1
Severity: important
Tags: patch
In my setup, i'm using the built in intel hda soundcard. Attached to the usb port,
i've got a midi interface (Midisprot 2x2).
If the current user is member of the audio group, pulseaudio crashes always
after ten minutes of playing sound with any application. The application looses it's
connection to pulseaudio and i don't hear any sound until i restart that application.
My /var/log/sylog contains the following error message:
pulseaudio[6370]: module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" name="usb-0763_1002-00-M2x2" card_name="alsa_card.usb-0763_1002-00-M2x2" tsched=yes ignore_dB=no card_properties="module-udev-detect.discovered=1""): initialization failed.
With the same logging time, /var/log/messages says:
pulseaudio[6370]: pid.c: Stale PID file, overwriting.
The next line in syslog is then:
pulseaudio[6376]: pid.c: Daemon already running.
Soluten (callin it the "patch" ;-):
The solution to the problem was to delete my current user from the audio group.
This stops pulseaudio from trying to load the "module-alsa-card" every ten minutes.
-- System Information:
Debian Release: 6.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.33.7.2-rt30-1-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages pulseaudio depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii consolekit 0.4.1-4 framework for defining and trackin
ii libasound2 1.0.23-2.1 shared library for ALSA applicatio
ii libc6 2.11.2-9 Embedded GNU C Library: Shared lib
ii libcap2 1:2.19-3 support for getting/setting POSIX.
ii libdbus-1-3 1.2.24-4 simple interprocess messaging syst
ii libgdbm3 1.8.3-9 GNU dbm database routines (runtime
ii libice6 2:1.0.6-2 X11 Inter-Client Exchange library
ii libltdl7 2.2.6b-2 A system independent dlopen wrappe
ii libpulse0 0.9.21-3+b1 PulseAudio client libraries
ii libsamplerate0 0.1.7-3 Audio sample rate conversion libra
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libsndfile1 1.0.21-3 Library for reading/writing audio
ii libspeexdsp1 1.2~rc1-1 The Speex extended runtime library
ii libudev0 164-3 libudev shared library
ii libx11-6 2:1.3.3-4 X11 client-side library
ii libxtst6 2:1.1.0-3 X11 Testing -- Record extension li
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii udev 164-3 /dev/ and hotplug management daemo
Versions of packages pulseaudio recommends:
ii gstreamer0.10-pulseaudio 0.10.24-1 GStreamer plugin for PulseAudio
ii libasound2-plugins 1.0.23-1+b1 ALSA library additional plugins
ii pulseaudio-esound-compat 0.9.21-3+b1 PulseAudio ESD compatibility layer
ii pulseaudio-module-x11 0.9.21-3+b1 X11 module for PulseAudio sound se
Versions of packages pulseaudio suggests:
ii paman 0.9.4-1 PulseAudio Manager
ii paprefs 0.9.9-2 PulseAudio Preferences
ii pavucontrol 0.9.9-1 PulseAudio Volume Control
ii pavumeter 0.9.3-1 PulseAudio Volume Meter
ii pulseaudio-utils 0.9.21-3+b1 Command line tools for the PulseAu
-- no debconf information
More information about the pkg-pulseaudio-devel
mailing list