On Thu, 2017-08-03 at 18:26 +0000, Subrata Dasgupta wrote:
> Hi All,
> 
> I have a 32 bit C++ X application running on Linux. Recently
> frequently I am getting strange XIOError event , below is the stack
> trace. It seems while we get that error application is doing nothing.
> And when I have checked the values within XErrorEvent structure every
> time they are same. Below is data within XErrorEvent structure.
> 
> XErrorEvent.type = 604801882 
> XErrorEvent.resourceid = 3255051332
> XErrorEvent.serial = 2422603788
> XErrorEvent.error_code = 84
> XErrorEvent.request_code = 131 
> XErrorEvent.minor_code = 4

This error can't be real, in the sense that it's almost certainly not
something the server actually sent. 'resourceid' in hex there is
0xC2042444, which isn't a legal value for the client application to
ever see (three most significant bits ought to be zero, and aren't).

But more importantly...

> #11 0xf73..... in _XIOError () from /lib/libX11.so.6
> #12 0xf73..... in _XEventsQueued () from /lib/libX11.so.6
> #13 0xf73..... in XEventsQueued () from /lib/libX11.so.6
> #14 0xf74..... in _XtWaitForSomething () from /lib/libXt.so.6
> #15 0xf74..... in XtAppProcessEvent () from /lib/libXt.so.6

An I/O error indicates that the connection has _closed_, not that a
protocol error happened. What are you doing to provoke the server into
closing your connection?

- ajax
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Reply via email to