Bug 36986 - Check failure on x86: input.c:1216:dix_valuator_alloc: assertion failed: (((void*)v->axisVal - (void*)v) % sizeof(double) == 0)
Summary: Check failure on x86: input.c:1216:dix_valuator_alloc: assertion failed: (((v...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: Other All
: medium major
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: xserver-1.10
  Show dependency treegraph
 
Reported: 2011-05-08 19:46 UTC by Cyril Brulebois
Modified: 2011-06-17 10:55 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Cyril Brulebois 2011-05-08 19:46:03 UTC
1.10.1 builds fine; 1.10.2rc1 doesn't, but only on *i386 (see: https://buildd.debian.org/status/logs.php?pkg=xorg-server&ver=2%3A1.10.1.901-1).

The addition of a related test in d6328c6bfe49 would explain that, yay for testsuites!

If you need a quick cheatsheet: http://wiki.debian.org/ArchitectureSpecificsMemo

Test failure:
-------------
/dix/input/valuator-alloc: **
ERROR:../../test/input.c:1216:dix_valuator_alloc: assertion failed: (((void*)v->axisVal - (void*)v) % sizeof(double) == 0)
/bin/bash: line 5: 26606 Aborted                 ${dir}$tst
FAIL: input
Comment 1 Cyril Brulebois 2011-05-10 05:18:29 UTC
Looking at the size of the structure, I get 52.

Each member is of size 4, except:
    unsigned short        numAxes;           ---> 2
    ValuatorAccelerationRec     accelScheme; ---> 16

That means a total of 50, with numAxes getting probably aligned, taking 4 instead of 2, leading up to the total of 52.
Comment 2 Peter Hutterer 2011-05-17 23:11:43 UTC
http://patchwork.freedesktop.org/patch/5484/
Comment 3 Jeremy Huddleston Sequoia 2011-06-17 10:55:11 UTC
This test is fixed in 1.10 and master.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.