Bug#496935: libxtrap6: xtrap fails libxcb assertion
> Package: libxtrap6
> Version: 2:1.0.0-5
> Severity: important
> Some programmes that I have developped around the Xtrap extension abort
> when installing libxcb. This is due to xtrap failing the following xcb
> Note that libxcb is necessary for Iceweasel 3 through Cairo. (ouch)
> $ xtrapstats
> Display: :0.0
> Stats Command (Zero, Quit, [Show])? Show
> xtrapstats: ../../src/xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int)
> ((xcb_req) - (dpy->request)) >= 0)' failed.
Do you have a good reason to think that the bug is in xtrap/xcb and not
in your code? xcb brings more assertions so it catches more bugs in the
caller, so it's not clear where the bug comes from.
More important, as you will see in [1,2], xtrap is being removed
upstream, so you might want to rethink your application anyway.