[Mesa-dev] [Bug 96835] "gallium: Force blend color to 16-byte alignment" crash with "-march=native -O3" causes some 32bit games to crash
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jul 8 09:13:36 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=96835
Nicolai Hähnle <nhaehnle at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
QA Contact|dri-devel at lists.freedesktop |mesa-dev at lists.freedesktop.
|.org |org
Component|Drivers/Gallium/radeonsi |Mesa core
Assignee|dri-devel at lists.freedesktop |mesa-dev at lists.freedesktop.
|.org |org
--- Comment #8 from Nicolai Hähnle <nhaehnle at gmail.com> ---
(The Gallium HUD crash is "benign": you enabled more graphs than there are
pre-defined colors. Annoying, but unrelated to the problem at hand.)
My understanding is that malloc should return pointers with the largest
alignment requirement possible for the size that it allocates. Although,
perhaps that's less than 16 bytes on 32 bits?
Actually, I think that's it: the backtrace shows ctx=0x569cbfc8, i.e. ctx is
only 8-byte aligned even though it contains a pipe_blend_color structure.
Moving to Mesa core since it's not really radeonsi-specific.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160708/f8ba82f7/attachment-0001.html>
More information about the mesa-dev
mailing list