<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - iris: Gallium nine crashes on iris_resource.c assertion"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=111162">111162</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>iris: Gallium nine crashes on iris_resource.c assertion
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/Iris
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>matias.nicolas.zc@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The dx9_2d_demo_game demo from <a href="http://www.codesampler.com">http://www.codesampler.com</a> crashes (with wine)
starting from commit e8139286

Testing with 28a808a1 i get this message

izuca/Descargas/dx9_2d_demo_game/dx9_2d_demo_game.exe:
../src/gallium/drivers/iris/iris_resource.c:859: iris_resource_get_handle:
Assertion `aux_state == ISL_AUX_STATE_RESOLVED || aux_state ==
ISL_AUX_STATE_PASS_THROUGH' failed.

Reverting commit e8139286 makes it work again

I get the following backtrace from winedbg:

Unhandled exception: assertion failed in 32-bit code (0xf7faa112).
Backtrace:
=>0 0xf7faa112 length_mismatch+0xffffffff() in ld-linux.so.2 (0x0034f27c)
  1 0xf7c0e796 int_mallinfo+0xffffffff() in libc.so.6 (0x0034f27c)
  2 0xf7bf837b int_mallinfo+0xffffffff() in libc.so.6 (0xf7d83ce0)
  3 0xf7bf827b int_mallinfo+0xffffffff() in libc.so.6 (0xf7d83ce0)
  4 0xf7c0657f int_mallinfo+0xffffffff() in libc.so.6 (0x0034f5d8)
  5 0x7cc03f87 in d3dadapter9.so.1 (+0x74ff86) (0x0034f5d8)
  6 0x7c6374df D3DAdapter9GetProc+0x1459ee() in d3dadapter9.so.1 (0x0034f5d8)
  7 0x7c63a9e2 D3DAdapter9GetProc+0x148ef1() in d3dadapter9.so.1 (0x7c112860)
  8 0x7c63c2f6 D3DAdapter9GetProc+0x14a805() in d3dadapter9.so.1 (0x7b9657fc)
  9 0x7c63c3eb D3DAdapter9GetProc+0x14a8fa() in d3dadapter9.so.1 (0x00010060)
  10 0x7c5b6255 D3DAdapter9GetProc+0xc4764() in d3dadapter9.so.1 (0x7d67bdf0)
  11 0x7c5b6fc8 D3DAdapter9GetProc+0xc54d7() in d3dadapter9.so.1 (0x00000000)
  12 0x7c5a1cd6 D3DAdapter9GetProc+0xb01e5() in d3dadapter9.so.1 (0x0034fb38)
  13 0x7e4e1521 d3dadapter9_CheckDeviceFormat+0x1e90() in d3d9 (0x0034fbc8)
  14 0x004010be EntryPoint+0xffffffff() in dx9_2d_demo_game (0x0034ff20)
  15 0x7b481459 call_process_entry+0x18() in kernel32 (0x0034ff48)
  16 0x7b4843d3 TerminateProcess+0x1c2() in kernel32 (0x0034ffd8)
  17 0x7b48146a call_process_entry+0x29() in kernel32 (0x0034ffec)
0xf7faa112 length_mismatch+0xffffffff in ld-linux.so.2: ret</pre>
        </div>
      </p>


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

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