Crash of mixer appler after recent update of ports - known issue
?
Joe Marcus Clarke
marcus at FreeBSD.org
Thu May 17 15:59:51 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Khairil Yusof wrote:
> On Thu, 2007-05-17 at 01:59 -0400, Joe Marcus Clarke wrote:
>
> <snipped>
>
>> A ktrace of the offending process would help determine why this is the
>> case. It looks like a simple permissions issue.
>
> [kaeru at wolverine ~]$ ktrace -d pulseaudio
> shm.c: shm_open() failed: Permission denied
> core.c: failed to allocate shared memory pool. Falling back to a normal
> memory pool.
This patch should fix it. I believe the reason this works on Linux is
that shm segments are not file-backed.
Joe
- --
Joe Marcus Clarke
FreeBSD GNOME Team :: gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGTHwAb2iPiv4Uz4cRAlmHAKCL6CUWxj9nAc5LtP2LwIEsW/3jXwCeJ/hN
UzsuGlyi6lMO799WSyOEEu4=
=mKxI
-----END PGP SIGNATURE-----
-------------- next part --------------
--- src/pulsecore/shm.c.orig Thu May 17 11:57:56 2007
+++ src/pulsecore/shm.c Thu May 17 11:58:10 2007
@@ -50,7 +50,7 @@
#define MAX_SHM_SIZE (1024*1024*20)
static char *segment_name(char *fn, size_t l, unsigned id) {
- snprintf(fn, l, "/pulse-shm-%u", id);
+ snprintf(fn, l, "/tmp/pulse-shm-%u", id);
return fn;
}
More information about the freebsd-gnome
mailing list