<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Dota 2 crashes with r600g when starting the tutorial"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=66967">66967</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Dota 2 crashes with r600g when starting the tutorial
          </td>
        </tr>

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>tilman@code-monkey.de
          </td>
        </tr>

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

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

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

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

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=82486" name="attach_82486" title="Log">attachment 82486</a> <a href="attachment.cgi?id=82486&action=edit" title="Log">[details]</a></span>
Log

When trying to start the tutorial in today's version of Dota 2, there's a
segfault in check_begin_texture_render():

Program received signal SIGSEGV, Segmentation fault.
0xf5397c5a in check_begin_texture_render (ctx=0x8bb4000, fb=0x17e90700)
    at ../../src/mesa/main/fbobject.c:1871
1871          if (att->Texture && att->Renderbuffer->TexImage) {
(gdb) p *att
$3 = {Type = 5890, Complete = 0 '\000', Renderbuffer = 0x0, 
  Texture = 0x17e88500, TextureLevel = 0, CubeMapFace = 0, Zoffset = 0, 
  Layered = 0 '\000'}

att->Renderbuffer is dereferenced even though it's null.

I can reproduce this segfault reliably with Mesa git-e4fdf1b on my rv730.

The log I'm attaching shows a bunch of messages like
<span class="quote">>  ##### CMaterialReference::Init got error material for dev\white in tex group Other textures</span >
that might be related.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>