[Xcb] xcb_io.c:378: _XAllocID: Assertion `ret != inval_id' failed

Julien Cristau jcristau at debian.org
Thu Oct 8 07:14:22 PDT 2009

On Wed, Oct  7, 2009 at 19:39:35 -0700, Jamey Sharp wrote:

> I wish we could print a warning when this condition fails, but I don't
> think it'll work portably. I'd be tempted to make it an assert, even,
> except I learned my lesson from the last time we shipped an assertion in
> libX11 to catch buggy callers. :-/
asserts shouldn't be used to catch buggy callers, IMO, at most they
should be used to catch bugs in the library itself (especially for
something as central as libX11).
But, speaking of asserts, any chance you could have a look at bug#23192?


More information about the Xcb mailing list