[Wayland-bugs] [Bug 59001] [Wayland] queue-test test failed on ppc64
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Feb 4 03:12:35 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=59001
--- Comment #11 from Philip Withnall <bugzilla at tecnocode.co.uk> ---
Most likely this:
http://lists.freedesktop.org/archives/wayland-devel/2013-February/007275.html.
Copied for posterity:
Around line 740 of connection.c, demarshalling an object:
id = (uint32_t **) extra;
extra += sizeof *id;
closure->args[i] = id;
*id = p;
On 64-bit MIPS, the assignment to *id gets turned into a
store-double-word instruction (since pointer 'p' is 64 bits wide), which
must be to a 8-byte-aligned address. It's possible for 'extra' to not be
8-byte aligned, and hence for the store to not be aligned.
In the particular case I'm hitting, 'extra' is not 8-byte-aligned
because the message size is 12, but it also looks like alignment could
be changed in other ways; e.g. during handling a 'h'-type argument near
the bottom of the function, where 'extra' is incremented by the size of
an int.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20130204/b14a13da/attachment.html>
More information about the Wayland-bugs
mailing list