[pulseaudio-discuss] shm_open() error on FreeBSD

Svein Halvor Halvorsen pulse at svein.halvorsen.cc
Sun May 13 04:08:55 PDT 2007

When using pulse as an ordinary user on FreeBSD, I get an shm_open() error:

$ ogg123 file.ogg
shm.c: shm_open() failed: Permission denied
Assertion failed: (pool), function pa_pstream_new, file 
pulsecore/pstream.c, line 221.
Abort trap: 6 (core dumped)

However, when running as root, I get no such problems:

# ogg123 file.ogg

Audio Device:   PulseAudio Output

Playing: file.ogg
[snipped output]

This goes whether or not I run pulseaudio in system-mode or not. And 
regardless of the --disable-shm option on pulseaudio (the daemon). Also, 
  I get the same behaviour on paplay, so this has got nothing to do with 
the libao abstracion in ogg123.

Does anyone know how I could fix this? It says permission denied, so 
presumably there's some access control mechanism that I could alter?

	Best regards,
	Svein Halvor

More information about the pulseaudio-discuss mailing list