[Bug 93681] GLSL compilation can be very slow

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 3 07:20:05 UTC 2019


--- Comment #17 from Eero Tamminen <eero.t.tamminen at intel.com> ---
It's clear off-by-one access past the end of array:

==14419== Invalid read of size 4
==14419==    at 0x6454A39: fs_reg_alloc::set_spill_costs()
==14419==    by 0x6454B26: fs_reg_alloc::choose_spill_reg()
==14419==    by 0x64556FD: fs_reg_alloc::assign_regs(bool, bool)

==14419==  Address 0x83bdcb4 is 0 bytes after a block of size 10,244 alloc'd
==14419==    at 0x483880B: malloc (vg_replace_malloc.c:309)
==14419==    by 0x5CAF04C: ralloc_size (ralloc.c:119)
==14419==    by 0x5CAF3C1: ralloc_array_size (ralloc.c:221)
==14419==    by 0x64317A9: fs_visitor::calculate_live_intervals()

You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20190603/12278941/attachment-0001.html>

More information about the intel-3d-bugs mailing list