<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 --- - [regression] Torchlight segfault at start with Mesa 9.0/git"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=55951">55951</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>[regression] Torchlight segfault at start with Mesa 9.0/git
          </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>sa@whiz.se
          </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=68521" name="attach_68521" title="backtrace">attachment 68521</a> <a href="attachment.cgi?id=68521&action=edit" title="backtrace">[details]</a></span>
backtrace

The latest build of the game Torchlight segfaults on start with Mesa 9.0 or git
master. The crash happens in  BlitNtoNCopyAlpha () in SDL2, but only if the
game is set to launch full-screen.

Bisecting finds this commit:

0671400dcc72553b5f9719639e86069a1734dbe5 is the first bad commit
commit 0671400dcc72553b5f9719639e86069a1734dbe5
Author: Marek Olšák <<a href="mailto:maraeo@gmail.com">maraeo@gmail.com</a>>
Date:   Mon Jan 30 08:54:01 2012 +0100

    r600g: remove more dead code

:040000 040000 58df98411f4a2cf7dc210e8f1cd62007e6c1e498
9cb5194b10e5ff5dd0d1e0eb5da6cd834528beab M    src

I tried reverting this on master but it seems dependent on other changes, so it
doesn't build. OTOH, the commit immediately prior to this one,
74027a9ba250f07a77ee40e105c50c27e4fc3bc0 is working so it's probably the right
one.

I'm not sure if this is a driver problem or a bug in SDL, considering that
earlier builds of the game worked fine with Mesa 9.0.


System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- GPU: REDWOOD
-- Model: XFX Radeon HD 5670 1GB
-- Display connector: DVI
-- xf86-video-ati: 6.14.4
-- xserver: 1.12.4
-- mesa: 8.0.2
-- drm: 2.4.39
-- kernel: 3.5.2</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>