<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [Wayland] queue-test test failed on ppc64"
href="https://bugs.freedesktop.org/show_bug.cgi?id=59001#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [Wayland] queue-test test failed on ppc64"
href="https://bugs.freedesktop.org/show_bug.cgi?id=59001">bug 59001</a>
from <span class="vcard"><a class="email" href="mailto:bugzilla@tecnocode.co.uk" title="Philip Withnall <bugzilla@tecnocode.co.uk>"> <span class="fn">Philip Withnall</span></a>
</span></b>
<pre>Most likely this:
<a href="http://lists.freedesktop.org/archives/wayland-devel/2013-February/007275.html">http://lists.freedesktop.org/archives/wayland-devel/2013-February/007275.html</a>.
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>