Re: [PATCH] xlib/shm: Sync the XShmAttach before removing the ShmSegment id

Thomas Klausner <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
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
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.