This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 1460517 - pulseaudio errors when starting gtk app with enabled canberra-gtk-module
pulseaudio errors when starting gtk app with enabled canberra-gtk-module
Status: NEW
Product: Fedora
Classification: Fedora
Component: pulseaudio (Show other bugs)
25
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: Lennart Poettering
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-11 15:01 EDT by Peter Backes
Modified: 2017-06-11 15:01 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Peter Backes 2017-06-11 15:01:04 EDT
Description of problem:
When I start xarchiver while canberra-gtk-module is enabled, I get pulseaudio errors in the journal. No such errors when canberra-gtk-module is disabled.

Version-Release number of selected component (if applicable):
pulseaudio-10.0-2.fc25.i686

How reproducible:
always

Steps to Reproduce:
1. sudo dnf install libcanberra-gtk2-0.30-11.fc24.i686 xarchiver-0.5.4-3.fc24.i686
2. echo gtk-modules=canberra-gtk-module >> ~/.gtkrc-2.0
3. xarchiver

Actual results:
The following errors show up in journal:

Jun 11 20:48:35 localhost pulseaudio[1185]: [pulseaudio] shm.c: mmap() failed: Cannot allocate memory
Jun 11 20:48:35 localhost pulseaudio[1185]: [pulseaudio] pstream.c: Failed to create permanent mapping for memfd region with ID = 460474063
Jun 11 20:48:35 localhost pulseaudio[1185]: [pulseaudio] protocol-native.c: Failed to register memfd mempool. Reason: could not attach memfd SHM ID to pipe
Jun 11 20:48:35 localhost pulseaudio[1185]: [pulseaudio] shm.c: mmap() failed: Cannot allocate memory
Jun 11 20:48:35 localhost pulseaudio[1185]: [pulseaudio] protocol-native.c: Disabling srbchannel, reason: Failed to allocate shared writable memory pool.
Jun 11 20:48:35 localhost pulseaudio[1185]: [pulseaudio] shm.c: mmap() failed: Cannot allocate memory
Jun 11 20:48:35 localhost pulseaudio[1185]: [pulseaudio] pstream.c: Failed to create permanent mapping for memfd region with ID = 2058202185

Expected results:
no errors

Additional info:
The same thing actually happens with gvim, which uses gtk3 (sudo dnf install libcanberra-gtk3-0.30-11.fc24.i686 vim-X11-8.0.617-1.fc25.i686; test -f ~/.config/gtk-3.0/settings.ini || echo '[Settings]' > ~/.config/gtk-3.0/settings.ini; echo 'gtk-modules=canberra-gtk-module' >> ~/.config/gtk-3.0/settings.ini; gvim)

Note You need to log in before you can comment on or make changes to this bug.