I rebuilt/installed mesa earlier this evening and not long after, my system hung.
Upon reboot, the GDM login screen was corrupted and attempts to login caused gnome-shell to crash almost immediately after.
Hardware: AMD Ryzen R7 1700, Radeon HD 7850 1GB
Software: Ubuntu 17.04 64-bit with LLVM/Mesa from trunk/git.
A bisect run shows this as the culprit:
8ec4975cd83365c791a1852a6515ed5d4ade2daf is the first bad commit
Author: Dave Airlie <firstname.lastname@example.org>
Date: Tue Jun 13 05:33:19 2017 +1000
st_glsl_to_tgsi: don't try and pass 32-bit values to get_deref_offsets
Just use a temporary 16-bit index.
This fixes coverity issue, pointed to me by Ilia.
Reviewed-by: Samuel Pitoiset <email@example.com>
Signed-off-by: Dave Airlie <firstname.lastname@example.org>
:040000 040000 38cec44b25ea12b442370353240f77182c4fd5d6 ae9afe7163541fd192331025f1d8becf9e8942b0 M src
There's no general gallium component to report this under, but I'm assuming that it affects other drivers as well.
Thanks for the report, fixed in Git:
Author: Samuel Pitoiset <email@example.com>
Date: Tue Jun 13 10:03:52 2017 +0200
st_glsl_to_tgsi: init index to 0 before get_deref_offsets()
I can verify that this is fixed for me.