[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#496935: libxtrap6: xtrap fails libxcb assertion



sayan@crans.org wrote:
> 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
> assertion.
>
> 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.
> Aborted
>   

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.

Brice

[1] http://marc.info/?l=freedesktop-xorg&m=121440233020302&w=2
[2]
http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commit;h=cbc20d92de92aad5ca240310a9156ccf97c24a01



Reply to: