[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 13:04:44 PDT 2015


Looks like [1] solves the problem. For both git master and 1.11.

Is a new release of xcb-proto expected soon?


[1] http://lists.freedesktop.org/archives/xcb/2015-June/010385.html

2015-06-16 1:45 GMT+06:00 Alexander Mezin <mezin.alexander at gmail.com>:
> 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
>
>


More information about the Xcb mailing list