PulseAudio Assertion 'section' in pa_alsa_element_get() when laptop in docking station
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pulseaudio (Ubuntu) |
Expired
|
High
|
Unassigned |
Bug Description
https:/
---
PulseAudio 1:13.99.
Laptop: Lenovo ThinkPad X1 Carbon 7th
Soundcards:
0 [sofhdadsp ]: sof-hda-dsp - sof-hda-dsp
1 [Audio ]: USB-Audio - ThinkPad Dock USB Audio
When the laptop is not docked, everything works fine. Sound is played using the laptop internal speakers. When the laptop is in the docking station, the sound in KDE is not working (no sound devices are shown). Pulseaudio is crashing with an Assertion.
D: [pulseaudio] alsa-mixer.c: Profile output:
D: [pulseaudio] conf-parser.c: Parsing configuration file '/usr/share/
D: [pulseaudio] conf-parser.c: Parsing configuration file '/usr/share/
E: [pulseaudio] alsa-mixer.c: Assertion 'section' failed at modules/
Prime suspect for the change is an "Embedded Controller Update" by fwupdmgr, which was installed a while ago, and applied during last reboot. This cannot be downgraded (Lenovo does not support that).
More details from "pulseaudio -vvvv", docked:
I: [pulseaudio] module.c: Loaded "module-
D: [pulseaudio] database-tdb.c: Opened TDB database '/home/
I: [pulseaudio] module-
I: [pulseaudio] module.c: Loaded "module-
I: [pulseaudio] module.c: Loaded "module-
I: [pulseaudio] module.c: Loaded "module-
D: [pulseaudio] module.c: Checking for existence of '/usr/lib/
I: [pulseaudio] module.c: Loaded "module-
D: [pulseaudio] module.c: Checking for existence of '/usr/lib/
D: [pulseaudio] module-
D: [pulseaudio] module-
D: [pulseaudio] module-
D: [pulseaudio] dbus-util.c: Successfully connected to D-Bus session bus 0dd0d23e5ac302e
D: [pulseaudio] reserve-wrap.c: Successfully acquired reservation lock on device 'Audio1'
I: [pulseaudio] (alsa-lib)main.c: error: failed to import hw:1 use case configuration -2
I: [pulseaudio] (alsa-lib)main.c: error: failed to import ThinkPad Dock USB Audio use case configuration -2
I: [pulseaudio] alsa-ucm.c: UCM not available for card ThinkPad Dock USB Audio
D: [pulseaudio] conf-parser.c: Parsing configuration file '/usr/share/
D: [pulseaudio] alsa-mixer.c: Looking at profile input:analog-stereo
D: [pulseaudio] alsa-mixer.c: Checking for recording on Analog Stereo (analog-stereo)
D: [pulseaudio] alsa-util.c: Trying front:1 with SND_PCM_
Not docked:
I: [pulseaudio] module.c: Loaded "module-
D: [pulseaudio] database-tdb.c: Opened TDB database '/home/
I: [pulseaudio] module-
I: [pulseaudio] module.c: Loaded "module-
I: [pulseaudio] module.c: Loaded "module-
I: [pulseaudio] module.c: Loaded "module-
D: [pulseaudio] module.c: Checking for existence of '/usr/lib/
I: [pulseaudio] module.c: Loaded "module-
D: [pulseaudio] module.c: Checking for existence of '/usr/lib/
D: [pulseaudio] module-
D: [pulseaudio] module-
D: [pulseaudio] module-
D: [pulseaudio] dbus-util.c: Successfully connected to D-Bus session bus 0dd0d23e5ac302e
D: [pulseaudio] reserve-wrap.c: Successfully acquired reservation lock on device 'Audio0'
I: [pulseaudio] alsa-ucm.c: UCM available for card hw:0
I: [pulseaudio] alsa-ucm.c: Set UCM verb to HiFi
D: [pulseaudio] alsa-ucm.c: Got PlaybackPCM for device HDMI3: hw:sofhdadsp,5
D: [pulseaudio] alsa-ucm.c: Got PlaybackCTL for device HDMI3: hw:sofhdadsp
D: [pulseaudio] alsa-ucm.c: Got PlaybackPriority for device HDMI3: 700
D: [pulseaudio] alsa-ucm.c: Got CaptureCTL for device HDMI3: hw:sofhdadsp
D: [pulseaudio] alsa-ucm.c: Got JackControl for device HDMI3: HDMI/DP,pcm=5 Jack
I: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' for device HDMI3, assuming stereo.
D: [pulseaudio] alsa-ucm.c: No _conflictingdevs for device HDMI3
D: [pulseaudio] alsa-ucm.c: No _supporteddevs for device HDMI3
Checked the backup a couple days back, there are no differences in /etc/alsa, /etc/pulse, or /usr/share/alsa and /usr/share/
When I remove all config from the following files:
* /usr/share/
* /usr/share/
* /usr/share/
* /usr/share/
* /usr/share/
* /usr/share/
then Pulseaudio is starting without error, but missing large parts of the audio configuration.
Thanks for the bug report. Before we notify the PulseAudio developers of this bug we will need to find out what the caller of the failing function is. To do that please try following these instructions:
https:/ /wiki.ubuntu. com/Bugs/ Responses# Missing_ a_crash_ report_ or_having_ a_.crash_ attachment