[Xcb] xcb_out.c:271: xcb_send_request_with_fds64: Assertion `(longlen & 3) == 0' failed.

Alexander Mezin mezin.alexander at gmail.com
Mon Jun 15 12:45:38 PDT 2015


Minimal example.

$ gcc test.c -lxcb -lxcb-input -o test
$ ./test
test: xcb_out.c:226: xcb_send_request: Assertion `(longlen & 3) == 0'
failed.
“./test” terminated by signal SIGABRT (Abort)

2015-06-15 23:49 GMT+06:00 Uli Schlachter <psychon at znc.in>:

> Hi,
>
> Am 15.06.2015 um 15:35 schrieb Alexander Mezin:
> > Hi
> >
> > I try to set one 8-bit value for a property using
> > xcb_input_xi_change_property_aux.
> >
> > After calling the function I get:
> > With xcb & xcb-proto from git: xcb_out.c:271:
> xcb_send_request_with_fds64:
> > Assertion `(longlen & 3) == 0' failed
> > With latest released versions: xcb_out.c:226: xcb_send_request: Assertion
> > `(longlen & 3) == 0' failed.
> >
> > Looks like it's an issue in xcb and not my code
>
> do you have some (small) test program that demonstrates this? Looking at
> the
> generated code, this should correctly add the needed padding, so I don't
> know
> what is going on.
>
> Cheers,
> Uli
> --
> Happiness can't be found -- it finds you.
>  - Majic
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20150616/02ba7bc0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-csrc
Size: 553 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20150616/02ba7bc0/attachment.c>


More information about the Xcb mailing list