pulseaudio crashed with SIGABRT in pa_alsa_ucm_add_profile_set() from module_alsa_card_LTX_pa__init()

Bug #1870833 reported by Kevin
44
This bug affects 6 people
Affects Status Importance Assigned to Milestone
PulseAudio
Fix Released
Unknown
pulseaudio (Ubuntu)
Fix Released
High
Unassigned

Bug Description

https://errors.ubuntu.com/problem/468f63163a916557999ec0a7aac3459fa638a2d1

---

gigabyte X370 Gaming 5 main board, Ryzen 1600 16gb ram.

I get a black screen on boot of clean install of the Beta 20.04. realised however it has booted, hitting enter then Password then Enter and desktop loads..

Get error concerning Pulse audio crashing.

ProblemType: Crash
DistroRelease: Ubuntu 20.04
Package: pulseaudio 1:13.99.1-1ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
Uname: Linux 5.4.0-21-generic x86_64
ApportVersion: 2.20.11-0ubuntu22
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC1', '/dev/snd/hwC1D1', '/dev/snd/hwC1D0', '/dev/snd/pcmC1D4c', '/dev/snd/pcmC1D4p', '/dev/snd/pcmC1D2c', '/dev/snd/pcmC1D1p', '/dev/snd/pcmC1D0c', '/dev/snd/pcmC1D0p', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D11p', '/dev/snd/pcmC0D10p', '/dev/snd/pcmC0D9p', '/dev/snd/pcmC0D8p', '/dev/snd/pcmC0D7p', '/dev/snd/pcmC0D3p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CrashCounter: 1
Date: Sat Apr 4 20:13:21 2020
ExecutablePath: /usr/bin/pulseaudio
InstallationDate: Installed on 2020-04-04 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
ProcCmdline: /usr/bin/pulseaudio --daemonize=no
ProcEnviron:
 LANG=en_GB.UTF-8
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=<set>
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
Signal: 6
SourcePackage: pulseaudio
StacktraceTop:
 pa_alsa_ucm_add_profile_set () from /usr/lib/pulse-13.99.1/modules/libalsa-util.so
 module_alsa_card_LTX_pa__init () from /usr/lib/pulse-13.99.1/modules/module-alsa-card.so
 pa_module_load () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-13.99.so
 ?? () from /usr/lib/pulse-13.99.1/modules/module-udev-detect.so
 ?? () from /usr/lib/pulse-13.99.1/modules/module-udev-detect.so
Title: pulseaudio crashed with SIGABRT in pa_alsa_ucm_add_profile_set()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
dmi.bios.date: 08/01/2019
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F42b
dmi.board.asset.tag: Default string
dmi.board.name: AX370-Gaming 5
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: Default string
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF42b:bd08/01/2019:svnGigabyteTechnologyCo.,Ltd.:pnAX370-Gaming5:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnAX370-Gaming5:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:
dmi.product.family: Default string
dmi.product.name: AX370-Gaming 5
dmi.product.sku: Default string
dmi.product.version: Default string
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
separator:

Revision history for this message
Kevin (kevsgaff) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 raise () from /tmp/apport_sandbox_om0t5p40/lib/x86_64-linux-gnu/libc.so.6
 abort () from /tmp/apport_sandbox_om0t5p40/lib/x86_64-linux-gnu/libc.so.6
 pa_alsa_ucm_add_profile_set () from /tmp/apport_sandbox_om0t5p40/usr/lib/pulse-13.99.1/modules/libalsa-util.so
 module_alsa_card_LTX_pa__init () from /tmp/apport_sandbox_om0t5p40/usr/lib/pulse-13.99.1/modules/module-alsa-card.so
 pa_module_load () from /tmp/apport_sandbox_om0t5p40/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-13.99.so

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in pulseaudio (Ubuntu):
importance: Undecided → Medium
summary: - pulseaudio crashed with SIGABRT in pa_alsa_ucm_add_profile_set()
+ pulseaudio crashed with SIGABRT in raise()
tags: removed: need-amd64-retrace
information type: Private → Public
summary: - pulseaudio crashed with SIGABRT in raise()
+ pulseaudio crashed with SIGABRT in pa_alsa_ucm_add_profile_set() from
+ module_alsa_card_LTX_pa__init()
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pulseaudio (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
description: updated
Changed in pulseaudio (Ubuntu):
status: Confirmed → Triaged
importance: Medium → High
Changed in pulseaudio:
status: Unknown → New
Revision history for this message
John Gilmore (gnu-gilmore) wrote :

Besides this Whoopsie catch of pulseaudio crashing, the result is that audio doesn't work at all on the system. Settings -> Sound shows no options for the output or input devices, the "Test" button says to click on a speaker to test it but then shows zero speakers, just the icon of a person, etc.

I am happy to try daily builds or patched versions on this motherboard if someone wants to try to debug it.

(Also, comment #7 says "tracking in (url)" but I as an ordinary user don't seem to have access to that URL. It just shows me a graph of all error reports for all releases. So I can't see if y'all have a workaround that I could try, or want people who get this error to run some diagnostic or anything...)

Revision history for this message
John Gilmore (gnu-gilmore) wrote :

Just for fun I tried to start it manually.

$ pulseaudio --start --log-level=debug --verbose
D: [pulseaudio] conf-parser.c: Parsing configuration file '/etc/pulse/client.conf'
D: [pulseaudio] conf-parser.c: Failed to open configuration file '/etc/pulse/client.conf.d/01-enable-autospawn.conf': No such file or directory
E: [pulseaudio] main.c: Daemon startup failed.

And whoopsie pops up with the same old crash.

Revision history for this message
John Gilmore (gnu-gilmore) wrote :

I forgot to note (and the attachments don't apparently say) that I am also running this on a Gigabyte Aorus GA-AX370-Gaming 5" motherboard. I have an AMD Ryzen 7 2700 Eight-Core Processor,
and 16GB of DRAM. I'll enclose dmesg output so you can see what audio chips the kernel found when booting with this 20.04 beta kernel (Linux version 5.4.0-21-generic).

Also will include syslog version of dmesg output from an Ubuntu 18.04.4 boot in which the sound works fine.

Revision history for this message
John Gilmore (gnu-gilmore) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in pulseaudio (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
John Gilmore (gnu-gilmore) wrote :
Download full text (6.2 KiB)

With the -1ubuntu2 package, I no longer get a crash dump, but the audio is still not working. pulseaudio is aborting. Here is what is in syslog from bootup:

Apr 18 01:13:09 shh dbus-daemon[1218]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.31' (uid=122 pid=1443 comm="/usr/bin/pulseaudio --daemonize=no " label="unconfined")
...
Apr 18 01:13:10 shh pulseaudio[1443]: W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Mic1, assuming stereo duplex.
Apr 18 01:13:10 shh pulseaudio[1443]: W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Mic2, assuming stereo duplex.
Apr 18 01:13:10 shh pulseaudio[1443]: W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Line2, assuming stereo duplex.
Apr 18 01:13:10 shh pulseaudio[1443]: W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Headphones, assuming stereo duplex.
Apr 18 01:13:10 shh pulseaudio[1443]: W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Line1, assuming stereo duplex.
Apr 18 01:13:10 shh pulseaudio[1443]: W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Speaker, assuming stereo duplex.
Apr 18 01:13:10 shh pulseaudio[1443]: E: [pulseaudio] alsa-ucm.c: Assertion 'jack' failed at modules/alsa/alsa-ucm.c:2158, function device_add_hw_mute_jack(). Aborting.
...
Apr 18 01:13:10 shh systemd[1432]: pulseaudio.service: Main process exited, code=dumped, status=6/ABRT
Apr 18 01:13:10 shh systemd[1432]: pulseaudio.service: Failed with result 'core-dump'.
Apr 18 01:13:10 shh systemd[1432]: Failed to start Sound Service.
Apr 18 01:13:10 shh systemd[1432]: Dependency failed for GNOME Sound sample caching handling.
Apr 18 01:13:10 shh systemd[1432]: gsd-sound.target: Job gsd-sound.target/start failed with result 'dependency'.
...
Apr 18 01:13:10 shh systemd[1432]: pulseaudio.service: Scheduled restart job, restart counter is at 1.
...
Apr 18 01:13:10 shh systemd[1432]: Stopped Sound Service.
Apr 18 01:13:10 shh systemd[1432]: Starting Sound Service...
...
Apr 18 01:13:11 shh pulseaudio[1790]: W: [pulseaudio] pid.c: Stale PID file, overwriting.
...
Apr 18 01:13:11 shh pulseaudio[1790]: W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Mic1, assuming stereo duplex.
Apr 18 01:13:11 shh pulseaudio[1790]: W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Mic2, assuming stereo duplex.
Apr 18 01:13:11 shh pulseaudio[1790]: W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Line2, assuming stereo duplex.
Apr 18 01:13:11 shh pulseaudio[1790]: W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Headphones, assuming stereo duplex.
Apr 18 01:13:11 shh pulseaudio[1790]: W: [pulseaudio] alsa-ucm.c: UCM file does not spec...

Read more...

Revision history for this message
John Gilmore (gnu-gilmore) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Comment #13 appears to be a new bug. Please open a new bug for that by running:

  ubuntu-bug pulseaudio

and mentioning:

  Apr 18 01:13:10 shh pulseaudio[1443]: E: [pulseaudio] alsa-ucm.c: Assertion 'jack' failed at modules/alsa/alsa-ucm.c:2158, function device_add_hw_mute_jack(). Aborting.

Revision history for this message
John Gilmore (gnu-gilmore) wrote :

OK, that's bug #1873630.

We don't actually know that this current crasher bug is correctly solved by the above patch, since pulseaudio is not yet working. Perhaps the new bug was there all along, but perhaps it was introduced by this patch being an incomplete fix.

Revision history for this message
John Gilmore (gnu-gilmore) wrote :

I ran the software updater and noticed that it installed a new pulseaudio:

pulseaudio:
  Installed: 1:13.99.1-1ubuntu3
  Candidate: 1:13.99.1-1ubuntu3

After rebooting the system, I'm running this version.

You will be happy to learn that pulseaudio doesn't crash with this version, and it shows sound devices in Settings -> Sound, and the speaker test actually plays (once I picked Line Out rather than the default which was Speaker -- my chassis doesn't have a speaker).

I am even able to play mp3 and flac music in Totem. I think it's fixed! Thank you!

Revision history for this message
Sebastien Bacher (seb128) wrote :

Great, thanks for testing, closing the bug!

Changed in pulseaudio (Ubuntu):
status: Incomplete → Fix Released
Changed in pulseaudio:
status: New → Fix Released
To post a comment you must log in.