XFixesFetchRegion() crashes app

Kai-Uwe Behrmann ku.b at gmx.de
Tue Jun 23 02:29:27 PDT 2009


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.

A minimal example application source code is attached.


kind regards
Kai-Uwe Behrmann
-- 
developing for colour management 
www.behrmann.name + www.oyranos.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_XFixes.c
Type: text/x-c++src
Size: 1237 bytes
Desc: 
URL: <http://lists.x.org/archives/xorg/attachments/20090623/862c35e9/attachment.c>


More information about the xorg mailing list