DeviceIntRec changes cause segfaults

Daniel Stone daniel at fooishbar.org
Thu Nov 16 02:22:21 PST 2006


On Thu, Nov 16, 2006 at 08:45:57PM +1030, Peter Hutterer wrote:
> On 16/11/2006, at 20:05 , Daniel Stone wrote:
> >I'd guess that you're still loading modules from the old path, maybe?
> >Check Xorg.0.log.
> 
> Got it!
> 
> The field I added was always between #ifdef MPX
> The MPX defines were added  to configure.ac and dix-config.h.in, but  
> not to xorg-server.h.in.
> The keyboard driver uses the latter header file and didn't have MPX  
> defined. So inside X it had the isMPDev field but the driver didn't  
> see it.

Urgh!  Varying DeviceIntRec sizes isn't nice.  I'd suggest you put it
there unconditionally, and always set it to false ifndef MPX.

Cheers,
Daniel



More information about the xorg mailing list