[Pkg-alsa-devel] Bug#912921: libasound2-plugins: Crashes pulseaudio

Adrian Heine debian at adrianheine.de
Sun Nov 4 22:29:34 GMT 2018


Package: libasound2-plugins
Version: 1.1.7-2
Severity: important

After the upgrade, pulseaudio produces a segmentation fault with my
Focusrite Scarlett Solo USB attached.

Stack trace without debug symbols:

#0  0x0000000000000050 in  ()
#1  0x00007ffff079c535 in snd_pcm_munmap () at /usr/lib/x86_64-linux-gnu/libasound.so.2
#2  0x00007ffff078a75b in snd_pcm_close () at /usr/lib/x86_64-linux-gnu/libasound.so.2
#3  0x00007ffff079cda1 in  () at /usr/lib/x86_64-linux-gnu/libasound.so.2
#4  0x00007ffff078a795 in snd_pcm_close () at /usr/lib/x86_64-linux-gnu/libasound.so.2
#5  0x00007ffff0890ca2 in _snd_pcm_a52_open () at /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_a52.so
#6  0x00007ffff07873c4 in  () at /usr/lib/x86_64-linux-gnu/libasound.so.2
#7  0x00007ffff0787a58 in  () at /usr/lib/x86_64-linux-gnu/libasound.so.2
#8  0x00007ffff078a437 in snd_pcm_open () at /usr/lib/x86_64-linux-gnu/libasound.so.2
#9  0x00007ffff06fb9e3 in pa_alsa_open_by_device_string () at /usr/lib/pulse-12.2/modules/libalsa-util.so
#10 0x00007ffff06fbda2 in pa_alsa_open_by_template () at /usr/lib/pulse-12.2/modules/libalsa-util.so
#11 0x00007ffff0705f25 in  () at /usr/lib/pulse-12.2/modules/libalsa-util.so
#12 0x00007ffff070fc6b in pa_alsa_profile_set_probe () at /usr/lib/pulse-12.2/modules/libalsa-util.so
#13 0x00007ffff0898c06 in module_alsa_card_LTX_pa__init () at /usr/lib/pulse-12.2/modules/module-alsa-card.so
#14 0x00007ffff7e9f366 in pa_module_load () at /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-12.2.so
#15 0x00007ffff08a0dc4 in  () at /usr/lib/pulse-12.2/modules/module-udev-detect.so
#16 0x00007ffff08a1e6b in module_udev_detect_LTX_pa__init () at /usr/lib/pulse-12.2/modules/module-udev-detect.so
#17 0x00007ffff7e9f366 in pa_module_load () at /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-12.2.so
#18 0x00007ffff7e8d3fe in  () at /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-12.2.so
#19 0x00007ffff7e93fee in pa_cli_command_execute_line_stateful () at /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-12.2.so
#20 0x00007ffff7e947a1 in pa_cli_command_execute_file_stream () at /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-12.2.so
#21 0x000055555555b4cc in main ()

Output of `pulseaudio -v` prior to the segmentation fault:

I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 12.2
I: [pulseaudio] main.c: Page size is 4096 bytes
I: [pulseaudio] main.c: Machine ID is d268b608dbeca21392fe27e5000004d3.
I: [pulseaudio] main.c: Session ID is 2.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/adrian/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-12.2/modules.
I: [pulseaudio] main.c: Running in system mode: no
W: [pulseaudio] pid.c: Stale PID file, overwriting.
I: [pulseaudio] main.c: System supports high resolution timers
I: [pulseaudio] cpu-x86.c: CPU flags: CMOV MMX SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 
I: [pulseaudio] svolume_mmx.c: Initialising MMX optimized volume functions.
I: [pulseaudio] remap_mmx.c: Initialising MMX optimized remappers.
I: [pulseaudio] svolume_sse.c: Initialising SSE2 optimized volume functions.
I: [pulseaudio] remap_sse.c: Initialising SSE2 optimized remappers.
I: [pulseaudio] sconv_sse.c: Initialising SSE2 optimized conversions.
I: [pulseaudio] svolume_orc.c: Initialising ORC optimized volume functions.
I: [pulseaudio] module-device-restore.c: Successfully opened database file '/home/adrian/.config/pulse/d268b608dbeca21392fe27e5000004d3-device-volumes'.
I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0; argument: "").
I: [pulseaudio] module-stream-restore.c: Successfully opened database file '/home/adrian/.config/pulse/d268b608dbeca21392fe27e5000004d3-stream-volumes'.
I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1; argument: "").
I: [pulseaudio] module-card-restore.c: Successfully opened database file '/home/adrian/.config/pulse/d268b608dbeca21392fe27e5000004d3-card-database'.
I: [pulseaudio] module.c: Loaded "module-card-restore" (index: #2; argument: "").
I: [pulseaudio] module.c: Loaded "module-augment-properties" (index: #3; argument: "").
I: [pulseaudio] module.c: Loaded "module-switch-on-port-available" (index: #4; argument: "").
I: [pulseaudio] (alsa-lib)utils.c: could not open configuration file /usr/share/alsa/ucm/Focusrite Scarlett Solo USB at usb-0000:00:1d.0-1.2, high speed/Focusrite Scarlett Solo USB at usb-0000:00:1d.0-1.2, high speed.conf
I: [pulseaudio] (alsa-lib)parser.c: error: could not parse configuration for card Focusrite Scarlett Solo USB at usb-0000:00:1d.0-1.2, high speed
I: [pulseaudio] (alsa-lib)utils.c: could not open configuration file /usr/share/alsa/ucm/Scarlett Solo USB/Scarlett Solo USB.conf
I: [pulseaudio] (alsa-lib)parser.c: error: could not parse configuration for card Scarlett Solo USB
I: [pulseaudio] (alsa-lib)main.c: error: failed to import Scarlett Solo USB use case configuration -2
I: [pulseaudio] alsa-ucm.c: UCM not available for card Scarlett Solo USB
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:hw:1: Invalid argument
I: [pulseaudio] alsa-util.c: Device front:1 doesn't support sample format s16le, changed to s32le.
I: [pulseaudio] (alsa-lib)control.c: Invalid CTL front:1
I: [pulseaudio] alsa-util.c: Unable to attach to mixer front:1: No such file or directory
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:1'
I: [pulseaudio] alsa-util.c: Device iec958:1 doesn't support sample format s16le, changed to s32le.
I: [pulseaudio] (alsa-lib)control.c: Invalid CTL iec958:1
I: [pulseaudio] alsa-util.c: Unable to attach to mixer iec958:1: No such file or directory
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:1'
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:hw:1: Invalid argument
I: [pulseaudio] alsa-util.c: Device front:1 doesn't support sample format s16le, changed to s32le.
I: [pulseaudio] (alsa-lib)control.c: Invalid CTL front:1
I: [pulseaudio] alsa-util.c: Unable to attach to mixer front:1: No such file or directory
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:1'
I: [pulseaudio] alsa-util.c: Device front:1 doesn't support sample format s16le, changed to s32le.
I: [pulseaudio] alsa-util.c: Device iec958:1 doesn't support sample format s16le, changed to s32le.
I: [pulseaudio] (alsa-lib)pcm_hw.c: Invalid PCM state for chmap_get: OPEN
I: [pulseaudio] (alsa-lib)pcm_hw.c: Invalid PCM state for chmap_get: OPEN
I: [pulseaudio] (alsa-lib)pcm_hw.c: Invalid PCM state for chmap_get: OPEN
I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
I: [pulseaudio] (alsa-lib)pcm_hw.c: Invalid PCM state for chmap_get: OPEN
I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:surround21:1: Invalid argument
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:surround40:1: Invalid argument
I: [pulseaudio] (alsa-lib)pcm_hw.c: Invalid PCM state for chmap_get: OPEN
I: [pulseaudio] (alsa-lib)pcm_hw.c: Invalid PCM state for chmap_get: OPEN
I: [pulseaudio] (alsa-lib)pcm_hw.c: Invalid PCM state for chmap_get: OPEN
I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
I: [pulseaudio] (alsa-lib)pcm_hw.c: Invalid PCM state for chmap_get: OPEN
I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:surround41:1: Invalid argument
I: [pulseaudio] (alsa-lib)pcm_hw.c: Invalid PCM state for chmap_get: OPEN
I: [pulseaudio] (alsa-lib)pcm_hw.c: Invalid PCM state for chmap_get: OPEN
I: [pulseaudio] (alsa-lib)pcm_hw.c: Invalid PCM state for chmap_get: OPEN
I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
I: [pulseaudio] (alsa-lib)pcm_hw.c: Invalid PCM state for chmap_get: OPEN
I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:surround50:1: Invalid argument
I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:surround51:1: Invalid argument
I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:surround71:1: Invalid argument
I: [pulseaudio] alsa-util.c: Device iec958:1 doesn't support sample format s16le, changed to s32le.
I: [pulseaudio] (alsa-lib)control.c: Invalid CTL iec958:1
I: [pulseaudio] alsa-util.c: Unable to attach to mixer iec958:1: No such file or directory
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:1'
I: [pulseaudio] alsa-util.c: Device front:1 doesn't support sample format s16le, changed to s32le.
I: [pulseaudio] alsa-util.c: Device iec958:1 doesn't support sample format s16le, changed to s32le.
I: [pulseaudio] (alsa-lib)pcm_a52.c: Cannot get slave hw_params

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the Pkg-alsa-devel mailing list