XErrorEvent BadAlloc in client from over-the-back window resize

Sebastian Glita glseba at yahoo.com
Wed Dec 8 07:27:38 PST 2010


Hi,

I have a client (window) which abort() upon BadAlloc sent XError due to resizing 
the window "over its back" -- either above the top or beyond the left.
(xterm, for example, resizes to a very long window in such a case.)

Or BadAlloc sounds like a memory problem, and this might well be, since a 
negative height or width is a very large unsigned value.

How can one tell whether the client should be resize its window to a safe width 
x height, or there is really a memory problem in the server.

Thanks,
S.


      



More information about the xorg mailing list