[cairo] [PATCH] xlib/shm: Sync the XShmAttach before removing the ShmSegment id
Thomas Klausner
wiz at NetBSD.org
Fri Oct 19 06:48:15 PDT 2012
On Fri, Oct 19, 2012 at 12:11:59PM +0100, Chris Wilson wrote:
> Thomas, can you please test the configure magic on your NetBSD box?
Sure!
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking whether shmctl IPC_RMID allowes subsequent attaches... no
I've also tried remotely (i.e. I don't see the result firefox
displays), and it seems the error is now gone. From the same session:
> echo $DISPLAY
:0
> firefox
###!!! ABORT: X_ShmAttach: BadAccess (attempt to access private resource denied); 11 requests ago: file /scratch/devel/xulrunner/work/mozilla-release/toolkit/xre/nsX11ErrorHandler.cpp, line 157
###!!! ABORT: X_ShmAttach: BadAccess (attempt to access private resource denied); 11 requests ago: file /scratch/devel/xulrunner/work/mozilla-release/toolkit/xre/nsX11ErrorHandler.cpp, line 157
zsh: segmentation fault (core dumped) firefox
> rm xulrunner.core
(replace cairo with version with your fix)
> firefox
(nothing, which seems good)
I'll test locally in the night, but it looks good so far!
Thanks!
Thomas
More information about the cairo
mailing list