2011/3/6 Chris Bagwell <ch...@cnpbagwell.com>:
> Did you see in this weeks git that a VCOPY bugfix was submitted that
> stops crashes on xorg 1.7 servers?  It so happens that 0.10.8 is also
> last release without VCOPY bug.

If found the likely reason for the vcopy bug:
When the "test" directory of xf86-input-wacom is built, wcmCommon.c is
built with "-DDISABLE_STATIC". This triggers
#ifdef DISABLE_STATIC
#define static
#endif
in xf86Wacom.h and completely removes the "static" keyword. Due to
some unknown reason, this compile of wcmCommon.c ends up in the final
wacom_drv.so.

In the VCOPY function the v array ist defined as "static int[]", but
the DISABLE_STATIC just makes this a stack-local "int[]". Commit
9d227cd0bd985e7dcb7923974361145ba1d78713 makes a workaround by means
of moving this to a global variable, which does not suffer in the same
way from DISABLE_STATIC.

br,
Eduard

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to