Bug#496935: libxtrap6: xtrap fails libxcb assertion

2008-09-02 Thread Li-Thiao-Té Sébastien

Brice Goglin wrote:

[EMAIL PROTECTED] 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-xorgm=121440233020302w=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.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#496935: libxtrap6: xtrap fails libxcb assertion

2008-09-01 Thread Brice Goglin
[EMAIL PROTECTED] 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-xorgm=121440233020302w=2
[2]
http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commit;h=cbc20d92de92aad5ca240310a9156ccf97c24a01



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#496935: libxtrap6: xtrap fails libxcb assertion

2008-08-28 Thread sayan
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

Sloppy locking (from the changelog to libxcb 1.1-1.1) does not solve the
problem.

$ dpkg -l | grep libxcb
ii  libxcb-render-util0   0.2.1+git1-1   utility
libraries for X C Binding -- render-util
ii  libxcb-render01.1-1.1X C
Binding, render extension
ii  libxcb-shape0 1.1-1.1X C
Binding, shape extension
ii  libxcb-shm0   1.1-1.1X C
Binding, shm extension
ii  libxcb-xlib0  1.1-1.1X C
Binding, Xlib/XCB interface library
ii  libxcb-xlib0-dev  1.1-1.1X C
Binding, Xlib/XCB interface library, development files
ii  libxcb-xv01.1-1.1X C
Binding, xv extension
ii  libxcb1   1.1-1.1X C
Binding
ii  libxcb1-dev   1.1-1.1X C
Binding, development files

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25.1 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libxtrap6 depends on:
ii  libc6 2.7-13 GNU C Library: Shared libraries
ii  libice6   2:1.0.4-1  X11 Inter-Client Exchange
library
ii  libsm62:1.0.3-2  X11 Session Management library
ii  libx11-6  2:1.1.4-2  X11 client-side library
ii  libxext6  2:1.0.4-1  X11 miscellaneous extension
librar
ii  libxt61:1.0.5-3  X11 toolkit intrinsics library

libxtrap6 recommends no packages.

libxtrap6 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]