Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727838 - media-libs/alsa-lib-1.2.3 together with media-sound/alsa-utils-1.2.3 totally breaks alsa and pulseaudio
Summary: media-libs/alsa-lib-1.2.3 together with media-sound/alsa-utils-1.2.3 totally ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 727872 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-06-10 13:10 UTC by Andreas
Modified: 2020-06-21 16:27 UTC (History)
16 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Difference between alsa-lib 1.2.3 and 1.2.3.1 (alsa-1.2.3.1.patch,17.92 KB, patch)
2020-06-19 19:19 UTC, Adrien Dessemond
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas 2020-06-10 13:10:16 UTC
Hi Guys 
Todays update to the above packages totally broke sound.

aplay -L
aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
hdmi:CARD=HDMI,DEV=0
    HDA Intel HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA Intel HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA Intel HDMI, HDMI 2
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
    HDA Intel HDMI, HDMI 3
    HDMI Audio Output
usbstream:CARD=HDMI
    HDA Intel HDMI
    USB Stream Output
default:CARD=PCH
    HDA Intel PCH, ALC668 Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, ALC668 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC668 Analog
    Front output / input
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC668 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC668 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC668 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC668 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC668 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC668 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output
front:CARD=NVidia
    Front output / input
surround21:CARD=NVidia
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=NVidia
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
usbstream:CARD=NVidia
    HDA NVidia
    USB Stream Output

BUT

speaker-test -c 2

speaker-test 1.2.3

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib /var/tmp/portage/portage/media-libs/alsa-lib-1.2.3/work/alsa-lib-1.2.3/src/pcm/pcm_dmix.c:1090:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory

Pulseaudio complains that can not connect to server.
Restarting it :

start-pulseaudio-x11
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
Comment 1 Andreas 2020-06-10 13:11:50 UTC
However downgrading to

 media-libs/alsa-lib-1.2.2-r1
 media-sound/alsa-utils-1.2.2:0.9

totally solves the problem.
Comment 2 Guillaume Castagnino 2020-06-10 13:32:46 UTC
Simple test case with this version:
# alsactl store
double free or corruption (fasttop)
Aborted



#  emerge --info alsa-lib alsa-utils
Portage 2.3.100 (python 3.8.3-final-0, default/linux/amd64/17.1/desktop, gcc-10.1.0, glibc-2.31-r5, 5.7.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.7.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-8650U_CPU_@_1.90GHz-with-glibc2.2.5
KiB Mem:    16267236 total,   8828972 free
KiB Swap:   17658176 total,  17658176 free
Timestamp of repository gentoo: Wed, 10 Jun 2020 11:35:15 +0000
Head commit of repository gentoo: 7087ca4c23fa5cc7fba777247b258a4682f2ee96

Head commit of repository jorgicio: 32d0eec73912fb00dc4e128392556a4da9010caa

Head commit of repository telred: 3be8adc4c47cff995847d258c3758f9b1a165d6f

Timestamp of repository xwing: Wed, 10 Jun 2020 11:00:08 +0000
sh bash 5.0_p17
ld GNU ld (Gentoo 2.34 p4) 2.34.0
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18::gentoo, 3.8.3::gentoo, 3.9.0_beta3::gentoo
dev-util/cmake:           3.17.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.2::gentoo
sys-devel/binutils:       2.34-r1::gentoo
sys-devel/gcc:            10.1.0::gentoo
sys-devel/gcc-config:     2.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    sync-git-clone-extra-opts: -b master

jorgicio
    location: /var/db/repos/jorgicio
    sync-type: git
    sync-uri: https://github.com/jorgicio/jorgicio-gentoo.git
    masters: gentoo
    priority: 50

local
    location: /var/db/repos/local
    masters: gentoo
    priority: 50

telred
    location: /var/db/repos/telred
    sync-type: git
    sync-uri: https://github.com/telred/telred-overlay.git
    masters: gentoo
    priority: 50

xwing
    location: /var/db/repos/xwing
    sync-type: rsync
    sync-uri: rsync://gentoo.xwing.info/xwing-overlay
    masters: gentoo
    priority: 50
    sync-rsync-extra-opts: -4

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -mtune=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -mtune=native -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildsyspkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common"
LINGUAS="fr"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-4"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi aio alsa amd64 bash-completion branding bzip2 cairo caps cdda cdr cli colord crypt cups dbus dri dts dvb dvd dvdr elogind emboss encode exif flac fontconfig fpm gif gold gpm gtk gtkstyle iconv icu idn inotify introspection iproute2 ipv6 ithreads jpeg kde kdrive lcms libnotify libtirpc live llvm lz4 mad matroska minizip mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp openssl pam pango pcre pdf png policykit postproc pulseaudio qt5 rdesktop readline sasl seccomp spell split-usr ssl ssse3 startup-notification svg system-bootstrap tcpd theora threads tiff truetype udev udisks unicode upower usb v4l vaapi vim-syntax vnc vorbis vulkan webp x264 xattr xcb xfce xml xpresent xv xvid zip zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev wacom synaptics" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="intel i965 iris" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

=================================================================
                        Package Settings
=================================================================

media-libs/alsa-lib-1.2.3::gentoo was built with the following:
USE="thread-safety -alisp -debug -doc -python" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_8 -python2_7 -python3_6 -python3_7"


media-sound/alsa-utils-1.2.3::gentoo was built with the following:
USE="libsamplerate ncurses nls -bat -doc (-selinux)" ABI_X86="(64)"
Comment 3 Andreas 2020-06-10 13:41:05 UTC
Mine also 
Portage 2.3.100 (python 3.7.7-final-0, default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.31-r5, 5.7.1 x86_64)
=================================================================
System uname: Linux-5.7.1-x86_64-Intel-R-_Core-TM-_i7-4710HQ_CPU_@_2.50GHz-with-gentoo-2.7
KiB Mem:    16279416 total,  12039580 free
KiB Swap:   16773116 total,  16773116 free
Timestamp of repository gentoo: Wed, 10 Jun 2020 13:00:01 +0000
Head commit of repository gentoo: 1f340d19ba6f8ca49cf78274f9556c4e922eefd7
sh bash 5.0_p17
ld GNU ld (Gentoo 2.34 p4) 2.34.0
app-shells/bash:          5.0_p17::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo, 3.9.0_beta1::gentoo
dev-util/cmake:           3.17.3::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2::gentoo
sys-devel/binutils:       2.34-r1::gentoo
sys-devel/gcc:            8.4.0::gentoo, 9.3.0::gentoo
sys-devel/gcc-config:     2.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo

flatpak-overlay
    location: /var/lib/layman/flatpak-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=haswell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=haswell -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --quiet-build=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=haswell -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=haswell -O2 -pipe"
GENTOO_MIRRORS="http://ftp.ntua.gr/pub/linux/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp/portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dlz dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gpm gtk iconv icu ipv6 jpeg lcms ldap libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp openssl pam pango pcre pdf png policykit ppds pulseaudio readline sdl seccomp spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis wxwidgets x264 xattr xcb xfce xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965 nouveau nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

 media-libs/alsa-lib-1.2.3::gentoo [1.2.2-r1::gentoo] USE="thread-safety -alisp -debug -doc -python" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_7 -python2_7 -python3_6 -python3_8" 1,014 KiB
[ebuild     U  ] media-sound/alsa-utils-1.2.3:0.9::gentoo [1.2.2:0.9::gentoo] USE="libsamplerate ncurses nls -bat -doc (-selinux)" 1,248 KiB
Comment 4 Adrien Dessemond 2020-06-10 18:06:57 UTC
Likewise here, pulseaudio segfaults and I also have this:

# alsactl store
Home directory not accessible: Permission denied
double free or corruption (fasttop)

A downgrade to media-libs/alsa-lib-1.2.2-r1 solved the issue.
Comment 5 James 2020-06-10 19:46:03 UTC
*** Bug 727872 has been marked as a duplicate of this bug. ***
Comment 6 Ionen Wolkens gentoo-dev 2020-06-10 23:19:51 UTC
Seems it's affecting other distributions as well:
https://www.linuxquestions.org/questions/slackware-14/pulse-won%27t-start-after-june-9-update-current-4175676829/

I'd suggest just masking 1.2.3 for now.
Comment 7 Ionen Wolkens gentoo-dev 2020-06-11 00:02:33 UTC
There was this commit shortly after 1.2.3 was released:
https://github.com/alsa-project/alsa-lib/commit/6eb78d41a1688b14b458af4a57e7bcd92120c9fe
Comment 8 Martin Regner 2020-06-11 08:13:36 UTC
Tried the commit, from the previous comment, as a patch but that doesn't fix the issue.
Comment 9 Larry the Git Cow gentoo-dev 2020-06-11 11:56:11 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6c1b1cdb28ceebcc7b45520b251cf74fad4a4dc

commit d6c1b1cdb28ceebcc7b45520b251cf74fad4a4dc
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-06-11 11:39:19 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-06-11 11:39:19 +0000

    package.mask: Masked broken alsa release (1.2.3)
    
    Bug: https://bugs.gentoo.org/727838
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 profiles/package.mask | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 10 Andrew Udvare 2020-06-11 19:10:36 UTC
 $ coredumpctl -1 dump
           PID: 138382 (pulseaudio)
           UID: 1000 (tatsh)
           GID: 1000 (tatsh)
        Signal: 11 (SEGV)
     Timestamp: Thu 2020-06-11 14:57:42 EDT (12min ago)
  Command Line: pulseaudio -v
    Executable: /usr/bin/pulseaudio
 Control Group: /user.slice/user-1000.slice/session-1.scope
          Unit: session-1.scope
         Slice: user-1000.slice
       Session: 1
     Owner UID: 1000 (tatsh)
       Boot ID: aff8a3e26f724d4bbc1f3308e06d444f
    Machine ID: 401285489dc6e4011c508d600000fbc9
      Hostname: limelight
       Storage: /var/lib/systemd/coredump/core.pulseaudio.1000.aff8a3e26f724d4bbc1f3308e06d444f.138382.1591901862000000000000.lz4
       Message: Process 138382 (pulseaudio) of user 1000 dumped core.

                Stack trace of thread 138382:
                #0  0x00007f1acfbccb7a malloc_consolidate (libc.so.6 + 0x82b7a)
                #1  0x00007f1acfbcea84 _int_malloc (libc.so.6 + 0x84a84)
                #2  0x00007f1acfbd0599 __GI___libc_malloc (libc.so.6 + 0x86599)
                #3  0x00007f1acfbba4ec __GI__IO_file_doallocate (libc.so.6 + 0x704ec)
                #4  0x00007f1acfbc8d90 __GI__IO_doallocbuf (libc.so.6 + 0x7ed90)
                #5  0x00007f1acfbc7cec _IO_new_file_underflow (libc.so.6 + 0x7dcec)
                #6  0x00007f1acfbc8e42 __GI__IO_default_uflow (libc.so.6 + 0x7ee42)
                #7  0x00007f1acfbc32f8 _IO_getc (libc.so.6 + 0x792f8)
                #8  0x00007f1acac6f915 get_char (libasound.so.2 + 0x30915)
                #9  0x00007f1acac6fefd get_char (libasound.so.2 + 0x30efd)
                #10 0x00007f1acac71fa8 get_nonwhite (libasound.so.2 + 0x32fa8)
                #11 0x00007f1acac725c2 _snd_config_load_with_include (libasound.so.2 + 0x335c2)
                #12 0x00007f1acac757ae snd_config_update_r (libasound.so.2 + 0x367ae)
                #13 0x00007f1acac75d5a snd_config_update_ref (libasound.so.2 + 0x36d5a)
                #14 0x00007f1acac7f01c snd_ctl_open (libasound.so.2 + 0x4001c)
                #15 0x00007f1acacdd430 uc_mgr_open_ctl (libasound.so.2 + 0x9e430)
                #16 0x00007f1acacde7ab get_card_info (libasound.so.2 + 0x9f7ab)
                #17 0x00007f1acace1fe9 uc_mgr_import_master_config (libasound.so.2 + 0xa2fe9)
                #18 0x00007f1acace67e0 import_master_config (libasound.so.2 + 0xa77e0)
                #19 0x00007f1acad82822 pa_alsa_ucm_query_profiles (libalsa-util.so + 0x18822)
                #20 0x00007f1acae30c07 module_alsa_card_LTX_pa__init (module-alsa-card.so + 0x4c07)
                #21 0x00007f1acffa3eb9 pa_module_load (libpulsecore-13.0.so + 0x2feb9)
                #22 0x00007f1acae3905b verify_access (module-udev-detect.so + 0x305b)
                #23 0x00007f1acae3a0ab process_path (module-udev-detect.so + 0x40ab)
                #24 0x00007f1acffa3eb9 pa_module_load (libpulsecore-13.0.so + 0x2feb9)
                #25 0x00007f1acff9036c pa_cli_command_load (libpulsecore-13.0.so + 0x1c36c)
                #26 0x00007f1acff98299 pa_cli_command_execute_line_stateful (libpulsecore-13.0.so + 0x24299)
                #27 0x00007f1acff98a41 pa_cli_command_execute_file_stream (libpulsecore-13.0.so + 0x24a41)
                #28 0x000055cbe45a7589 main (pulseaudio + 0x7589)
                #29 0x00007f1acfb6dcaa __libc_start_main (libc.so.6 + 0x23caa)
                #30 0x000055cbe45a82fa _start (pulseaudio + 0x82fa)
Comment 11 Ionen Wolkens gentoo-dev 2020-06-19 17:52:43 UTC
alsa-lib-1.2.3.1 was released yesterday (not in tree yet), I don't know if it fixed this issue but anyone affected may want try it
Comment 12 Adrien Dessemond 2020-06-19 19:19:15 UTC
Created attachment 645272 [details, diff]
Difference between alsa-lib 1.2.3 and 1.2.3.1
Comment 13 Adrien Dessemond 2020-06-19 19:49:29 UTC
alsa-lib => 1.2.3.1 is functional for me at this point. No more pulseaudio segfaults, I see non-muted sound icons in Plasma.
Comment 14 Larry the Git Cow gentoo-dev 2020-06-20 11:34:43 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4440d1130a2c784100ce011e1200c8d9a4243310

commit 4440d1130a2c784100ce011e1200c8d9a4243310
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-06-20 11:34:04 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-06-20 11:34:04 +0000

    package.mask: Removed alsa mask
    
    Bug: https://bugs.gentoo.org/727838
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 profiles/package.mask | 7 -------
 1 file changed, 7 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7625f6943a6af4b5852d1227396cf56460e4086f

commit 7625f6943a6af4b5852d1227396cf56460e4086f
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-06-20 11:33:29 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-06-20 11:33:29 +0000

    media-libs/alsa-lib: Bump to version 1.2.3.1. Removed old
    
    Bug: https://bugs.gentoo.org/727838
    Package-Manager: Portage-2.3.101, Repoman-2.3.22
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 media-libs/alsa-lib/Manifest                                           | 2 +-
 media-libs/alsa-lib/{alsa-lib-1.2.3.ebuild => alsa-lib-1.2.3.1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
Comment 15 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-06-20 11:35:28 UTC
Please report back if this issue is gone with =media-libs/alsa-lib-1.2.3.1
Comment 16 James 2020-06-20 19:17:25 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #15)
> Please report back if this issue is gone with =media-libs/alsa-lib-1.2.3.1

It's working great for me with 1.2.3.1.
Comment 17 Frank Goubert 2020-06-21 13:57:53 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #15)
> Please report back if this issue is gone with =media-libs/alsa-lib-1.2.3.1

=media-libs/alsa-lib-1.2.3.1 fixed it for me.
Comment 18 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-06-21 16:27:51 UTC
Thanks for your feedback.