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

Bug#496935: libxtrap6: xtrap fails libxcb assertion



Brice Goglin wrote:
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.

Yes. xtrapstats belongs to the Xtrap sample clients bundled in the Debian package. Otherwise, my "code" is just sending strings to xtrapin through the shell.

More important, as you will see in [1,2], xtrap is being removed
upstream, so you might want to rethink your application anyway.

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

I find this unfortunate, as I began using Xtrap a few months ago unknowingly. I chose Xtrap over Xtest because the later seemed far less documented and harder to use.

I guess I will just freeze my system in the mean time.



Reply to: