X Window System Error: BadAccess (attempt to access private resource denied
benjamin.fabricius at lawo.de
Tue Jun 13 01:35:46 PDT 2006
Am Montag, den 12.06.2006, 07:48 -0700 schrieb Alan Coopersmith:
> Benjamin Fabricius wrote:
> > Am Freitag, den 09.06.2006, 07:55 -0700 schrieb Alan Coopersmith:
> >> Benjamin Fabricius wrote:
> >>> (Details: serial 114 error_code 10 request_code 144 minor_code
> >> Since the request code is > 128, it's coming from an extension.
> >> extension numbers are dynamically assigned and depend on which set
> >> extensions are built into, loaded into, or turned on in your X
> >> the only way to find what extension number that maps to is to run
> >> "xdpyinfo -queryExt" in the session where you get that error and
> >> which extension reports an opcode matching the shown request_code.
> >> You can then look to minor opcode 1 in that extension to see what
> > cases
> >> will cause it to return an error of BadAccess.
> > Hi Alan,
> > Thanks for that hint..
> > xdpyinfo gives me
> > ben at barney:~> xdpyinfo -queryExt | grep 144
> > MIT-SHM (opcode: 144, base event: 94, base error: 166)
> > i then did a
> > ben at barney:~> xdpyinfo -ext MIT-SHM
> > dont see anything resembling a minor code here or am i missing it?
> Sorry - I meant look in that extension's protocol spec or headers for
> minor opcode - those don't change at runtime, unlike the major
> So in /usr/include/X11/extensions/XShm.h you'ld see the list of minor
> #define X_ShmQueryVersion 0
> #define X_ShmAttach 1
> #define X_ShmDetach 2
> #define X_ShmPutImage 3
> #define X_ShmGetImage 4
> #define X_ShmCreatePixmap 5
> which means your error is from trying to attach to a shared memory
Great, at least now I know what causes this error. I am using a
steineberg vst plugin loader (FreeST) to load windows dlls (instrument
or effect plugins). For this to work i need wine. Now wine has its own x
client i assume. If it is trying to attach to a shared memory pixmap
what can i change in my x server in order to make this work? Again I
apologize for not having profound enough knowledge to solve this on my
own. The whole X server business is pretty confusing if it comes down to
such errors for me.
Thanks for your time and help,
More information about the xorg