I too am experiencing this problem after upgrading to Ubuntu 8.04--all
libdmx client applications die, including Chromium, Blockbuster, and my
own programs.

One workaround for this problem is to use the /usr/lib/libX11.so.6
library from Ubuntu 6.06 or 7.10, because this problem only seems to
affect that library in 8.04 and 8.10:

olaw...@powerwall0:~/dev/api/xdmx/old_libs$ ln -fs 8.10/lib/libX11.so.6 . && 
./test
DMX: 10 screens
test: ../../src/xcb_io.c:462: _XRead: Assertion `dpy->xcb->reply_consumed + 
size <= dpy->xcb->reply_length' failed.
Aborted

olaw...@powerwall0:~/dev/api/xdmx/old_libs$ ln -fs 8.04/lib/libX11.so.6 . && 
./test
DMX: 10 screens
test: ../../src/xcb_io.c:453: _XRead: Assertion `dpy->xcb->reply_consumed + 
size <= dpy->xcb->reply_length' failed.
Aborted

olaw...@powerwall0:~/dev/api/xdmx/old_libs$ ln -fs 7.10/lib/libX11.so.6 . && 
./test
DMX: 10 screens
DMX screen 0: 
        display: powerwall0:0 (logical 0)
        screen: 1680x2100 at 0,0
        root: 1680x2100 at 0,0  (global 0,0)
DMX screen 1: 
     ... and so on, working perfectly fine ...

Here's how I fetched the working Ubuntu 7.10 /usr/lib/libX11.so.6
library for i386:

wget 
http://mirrors.kernel.org/ubuntu/pool/main/libx/libx11/libx11-6_1.1.1-1ubuntu4_i386.deb
ar x libx11-6_1.1.1-1ubuntu4_i386.deb
tar xzvf data.tar.gz 
ln -s usr/lib/libX11.so.6 .

The same working 7.10 library for other platforms can be downloaded here:
   http://packages.ubuntu.com/gutsy/libx11-6

-- 
DMXGetScreenAttributes() causes error:  _XRead: Assertion 
`dpy->xcb->reply_consumed + size <= dpy->xcb->reply_length' failed.
https://bugs.launchpad.net/bugs/281430
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to