xlib/libxi crash
Rami Ylimäki
ext-rami.ylimaki at nokia.com
Wed May 12 01:02:10 PDT 2010
ext Daniel Stone wrote:
> On Wed, May 12, 2010 at 11:59:57AM +1000, Peter Hutterer wrote:
>
>> Have a look at
>> commit c34f76f475bc632490122e67b5a82575d69d5569
>> Pull down extra bytes when reading a GenericEvent (non-xcb).
>>
>> in libX11, I strongly suspect that this is the root issue here. libXi
>> probably just uncovers this as XI2 is the only extension using long events
>> so far.
>>
>
> It's wildly incomplete, though:
> http://people.freedesktop.org/~daniels/libx11-1.1.5-prexcb-genericevents.diff
> is a better approximation of what's needed; works with 1.1.5 at least.
> (Nevermind the version number in the directory name, long story.)
>
> Cheers,
> Daniel
>
Thanks, it's indeed a problem in Xlib. I already tested the patch from
Daniel but was still getting segmentation faults and sequence lost
errors when testing with "xinput test-xi2" for example. However, the
patch from Daniel certainly helps me to avoid the original crashes that
I had. Unfortunately I haven't currently had time to investigate the
remaining problems further.
-- Rami
More information about the xorg-devel
mailing list