<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [bisected] Anvil accesses uninitialized memory while compiling shaders"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104226#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [bisected] Anvil accesses uninitialized memory while compiling shaders"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104226">bug 104226</a>
              from <span class="vcard"><a class="email" href="mailto:joseph.kucia@gmail.com" title="Józef Kucia <joseph.kucia@gmail.com>"> <span class="fn">Józef Kucia</span></a>
</span></b>
        <pre>(In reply to Francisco Jerez from <a href="show_bug.cgi?id=104226#c10">comment #10</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=136240" name="attach_136240" title="0001-intel-fs-bank_conflicts-Use-posix_memalign-instead-o.patch">attachment 136240</a> <a href="attachment.cgi?id=136240&action=edit" title="0001-intel-fs-bank_conflicts-Use-posix_memalign-instead-o.patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=104226&attachment=136240'>[review]</a> [review]
> 0001-intel-fs-bank_conflicts-Use-posix_memalign-instead-o.patch

> I think I would prefer to address the problem at the allocation point as in
> the attached patch.  Can you confirm whether the attachment fixes the crash
> for you since I'm unable to reproduce it?</span >
The patch fixes the crash. I'm not sure if it's the best solution though, e.g.
_mesa_align_malloc() might be preferred instead of posix_memalign().

(In reply to Francisco Jerez from <a href="show_bug.cgi?id=104226#c9">comment #9</a>)
<span class="quote">> What platform are you running this on?</span >
Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz GenuineIntel GNU/Linux

gcc (Gentoo 5.4.0-r3 p1.4, pie-0.6.5) 5.4.0</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>