xlib/libxi crash

Rami Ylimäki ext-rami.ylimaki at nokia.com
Fri May 14 01:39:33 PDT 2010


ext Peter Hutterer wrote:
> On Wed, May 12, 2010 at 11:02:10AM +0300, Rami Ylimäki wrote:
>   
>> 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.
>>     
>
> can you open a bug for this please. I don't think I'll find the time to
> investigate this either right now (non-xcb is somewhat of a limited use-case
> for me) but having at least a bug number to point others too would be good.
>
> Cheers,
>   Peter
>   

Here it is: https://bugs.freedesktop.org/show_bug.cgi?id=28099.

-- Rami



More information about the xorg-devel mailing list