<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 - Guns of Icarus Online segfaults on startup since AMDGPU: Partially fix control flow at -O0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98028">98028</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Guns of Icarus Online segfaults on startup since AMDGPU: Partially fix control flow at -O0
          </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>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/radeonsi
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>daniel@constexpr.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=126970" name="attach_126970" title="Short Guns of Icarus Online startup trace (truncated by segfault)">attachment 126970</a> <a href="attachment.cgi?id=126970&action=edit" title="Short Guns of Icarus Online startup trace (truncated by segfault)">[details]</a></span>
Short Guns of Icarus Online startup trace (truncated by segfault)

Guns of Icarus Online segfaults (or sometimes hangs) on startup with current
Mesa and LLVM. I have bisected the segfault to LLVM r282667.

The backtraces for the segfaults vary. Some of the segfaults are inside malloc
/ free, indicating possible memory corruption.

I have attached an apitrace recorded using a bad LLVM revision. While the game
consistently segfaults (or hangs), replaying the trace does not result in a
segfault every time.

Here is also a longer trace of the full startup sequence recorded using a good
LLVM revision:
 <a href="http://constexpr.org/tmp/GoIO-radeonsi.2.trace.xz">http://constexpr.org/tmp/GoIO-radeonsi.2.trace.xz</a> (82 MiB)

GPU: R9 380X
Kernel: 4.7.5-gentoo
Mesa: git-024c207
LLVM: r283076</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>