#876012 libcanberra-pulse: No system sound with libcanberra + pulseaudio and gtk+ apps

Package:
libcanberra-pulse
Source:
libcanberra
Description:
PulseAudio backend for libcanberra
Submitter:
Stefan Mueller
Date:
2017-09-17 12:00:05 UTC
Severity:
normal
#876012#5
Date:
2017-09-17 11:56:42 UTC
From:
To:
Dear Maintainer,

some gtk apps (eg. Emacs "window-close", "window-minimized" ... ) have no
system sound with libcanberra and pulseaudio. Other apps works fine without any
problems.

When trying to play sounds there are strange error messages in
/etc/log/user.log
-----
Sep 17 13:07:21 onyx pulseaudio[1861]: [pulseaudio] pstream.c: Ignoring
received block reference with non-registered memfd ID = 2314287233
Sep 17 13:07:21 onyx pulseaudio[1861]: [pulseaudio] pstream.c: Ignoring
received block reference with non-registered memfd ID = 2314287233
Sep 17 13:07:21 onyx pulseaudio[1861]: [pulseaudio] pstream.c: Ignoring
received block reference with non-registered memfd ID = 2314287233
Sep 17 13:07:52 onyx pulseaudio[1861]: [pulseaudio] pstream.c: Ignoring
received block reference with non-registered memfd ID = 2314287233
Sep 17 13:07:52 onyx pulseaudio[1861]: [pulseaudio] pstream.c: Ignoring
received block reference with non-registered memfd ID = 2314287233
Sep 17 13:07:52 onyx pulseaudio[1861]: [pulseaudio] pstream.c: Ignoring
received block reference with non-registered memfd ID = 2314287233


Sep 17 13:28:47 onyx pulseaudio[1861]: [pulseaudio] shm.c: mmap() failed: Nicht
genügend Hauptspeicher verfügbar
Sep 17 13:28:47 onyx pulseaudio[1861]: [pulseaudio] protocol-native.c:
Disabling srbchannel, reason: Failed to allocate shared writable memory p
Sep 17 13:28:47 onyx pulseaudio[1861]: [pulseaudio] shm.c: mmap() failed: Nicht
genügend Hauptspeicher verfügbar
Sep 17 13:28:47 onyx pulseaudio[1861]: [pulseaudio] pstream.c: Failed to create
permanent mapping for memfd region with ID = 1792534231
Sep 17 13:29:21 onyx pulseaudio[1861]: [pulseaudio] shm.c: mmap() failed: Nicht
genügend Hauptspeicher verfügbar
Sep 17 13:29:21 onyx pulseaudio[1861]: [pulseaudio] pstream.c: Failed to create
permanent mapping for memfd region with ID = 1453188473
Sep 17 13:29:21 onyx pulseaudio[1861]: [pulseaudio] protocol-native.c: Failed
to register memfd mempool. Reason: could not attach memfd SHM ID t
Sep 17 13:29:21 onyx pulseaudio[1861]: [pulseaudio] shm.c: mmap() failed: Nicht
genügend Hauptspeicher verfügbar
Sep 17 13:29:21 onyx pulseaudio[1861]: [pulseaudio] protocol-native.c:
Disabling srbchannel, reason: Failed to allocate shared writable memory p
Sep 17 13:29:21 onyx pulseaudio[1861]: [pulseaudio] shm.c: mmap() failed: Nicht
genügend Hauptspeicher verfügbar
Sep 17 13:29:21 onyx pulseaudio[1861]: [pulseaudio] pstream.c: Failed to create
permanent mapping for memfd region with ID = 642093521
-----


There are other bug reports which describe same problem like this:
https://bugzilla.redhat.com/show_bug.cgi?id=1460517