XFixesFetchRegion() crashes app
Eirik Byrkjeflot Anonsen
eirik at opera.com
Tue Jun 23 04:10:00 PDT 2009
Kai-Uwe Behrmann <ku.b at gmx.de> writes:
> My application attaches a XFixes created reactangle to a window.
> Therefore it does a XOpenDisplay() + XFixesCreateRegion() +
> XCloseDisplay() inside one short function and done.
> After the above outlined function resturns a call to XFixesFetchRegion()
> from a outside observer forces the application to quit:
>
> PropertyNotify : _NET_COLOR_REGIONS vvvvv 679x580+642+245 2
> X Error of failed request: 179
> Major opcode of failed request: 155 (XFIXES)
> Minor opcode of failed request: 19 (XFixesFetchRegion)
> Serial number of failed request: 7927
> Current serial number in output stream: 7927
>
> Any idea how to avoid a quit from XFixesFetchRegion()? A error message
> would be enough. A exit in not acceptable to the application.
My memory is rather unclear on this point, but if the default error
handler exits the program, the solution could be to install your own
error handler with XSetErrorHandler()
eirik
More information about the xorg
mailing list