Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 699978

Summary: =www-client/chromium-79.0.3945.16 - ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.1.9/work/alsa-lib-1.1.9/src/pcm/pcm_ladspa.c:1509:(snd_pcm_ladspa_add_plugin) Unable to find or load plugin '(null)' ID 1098, path '/usr/lib64/ladspa:/usr/lib32/ladspa'
Product: Gentoo Linux Reporter: Techwolf <techwolf.lupindo>
Component: Current packagesAssignee: Chromium Project <chromium>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=699776
https://github.com/gentoo/gentoo/pull/13737
Whiteboard:
Package list:
Runtime testing required: ---

Description Techwolf 2019-11-13 07:10:34 UTC
Running chromium as normal I get the following console feedback:

ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.1.9/work/alsa-lib-1.1.9/src/pcm/pcm_ladspa.c:1509:(snd_pcm_ladspa_add_plugin) Unable to find or load plugin '(null)' ID 1098, path '/usr/lib64/ladspa:/usr/lib32/ladspa'
[28627:28627:1113/012931.364553:ERROR:alsa_util.cc(204)] PcmOpen: default,No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.1.9/work/alsa-lib-1.1.9/src/pcm/pcm_ladspa.c:1509:(snd_pcm_ladspa_add_plugin) Unable to find or load plugin '(null)' ID 1098, path '/usr/lib64/ladspa:/usr/lib32/ladspa'
[28627:28627:1113/012931.365508:ERROR:alsa_util.cc(204)] PcmOpen: plug:default,No such file or directory

The result is no audio on video playback/streaming.

Running "chromium --no-sandbox" resolves the problem, but is not ideal.

Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2019-11-13 15:23:19 UTC

*** This bug has been marked as a duplicate of bug 699776 ***
Comment 2 Techwolf 2019-11-13 16:09:10 UTC
Not a dupe. Pulseaudio not on system. This is a different error that has nothing to do with pulseaudio. That bug and patch only deals with pulseaudio.
Comment 3 Stephan Hartmann (RETIRED) gentoo-dev 2019-11-13 16:59:27 UTC
(In reply to Techwolf from comment #2)
> Not a dupe. Pulseaudio not on system. This is a different error that has
> nothing to do with pulseaudio. That bug and patch only deals with pulseaudio.

It is a duplicate, only the summary in the other bug is a bit misleading.

Chromium-79 has an audio sandbox that allows only access to some files/pathes on the system (AFAICS hardcoded in chromium sources). By accident this sandbox is always enabled and there is no switch to disable it (except disabling sandboxing completely). Therefore Gentoo's PulseAudio (uses /var/run and not /run) and many other plugins are blocked.
Comment 4 Larry the Git Cow gentoo-dev 2019-11-22 20:09:14 UTC
The bug has been closed via the following commit(s):

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

commit 63e5fbd254535ca8902ae4456b733f782e8cde73
Author:     Stephan Hartmann <stha09@googlemail.com>
AuthorDate: 2019-11-20 20:24:39 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2019-11-22 20:08:50 +0000

    www-client/chromium: dev channel bump to 80.0.3970.5
    
    Closes: https://bugs.gentoo.org/699776
    Closes: https://bugs.gentoo.org/699978
    Package-Manager: Portage-2.3.76, Repoman-2.3.16
    Signed-off-by: Stephan Hartmann <stha09@googlemail.com>
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 www-client/chromium/Manifest                       |  2 +-
 ...0.3962.2.ebuild => chromium-80.0.3970.5.ebuild} |  4 +++
 .../chromium/files/chromium-80-gcc-blink.patch     | 27 +++++++++++++++++++
 .../chromium/files/chromium-80-gcc-quiche.patch    | 30 ++++++++++++++++++++++
 .../chromium/files/chromium-80-include.patch       | 13 ++++++++++
 5 files changed, 75 insertions(+), 1 deletion(-)