<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 --- - [radeonsi] LLVM runs out of registers during register allocation in Painkiller Hell & Damnation"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=73320">73320</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>[radeonsi] LLVM runs out of registers during register allocation in Painkiller Hell & Damnation
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

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

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

        <tr>
          <th>Reporter</th>
          <td>freedesktop.org@inequation.org
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </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/radeonsi
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>(this is possibly a duplicate of <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Painkiller: Hell and Damnation segfaults intermittently on radeonsi"
   href="show_bug.cgi?id=72228">bug #72228</a>)

First of all, this report is based on a user's report - I do not have the
software/hardware combo to reproduce. I can, however, provide Steam keys for
the game to Mesa developers for free if it is needed, just shoot me an email.

A user of Painkiller Hell & Damnation has reported crashes when using radeonsi
from Mesa 10.1.0-devel (git-5a51c1b saucy-oibaf-ppa). LLVM aborts with the
following message:

LLVM ERROR: ran out of registers during register allocation

Relevant part of the backtrace:

#7  0xb7a20791 in __run_exit_handlers (status=status@entry=1, listp=0xb7b9d3e4
<__exit_funcs>, run_list_atexit=run_list_atexit@entry=true)
    at exit.c:77
#8  0xb7a2081d in __GI_exit (status=1) at exit.c:99
#9  0xb5d28ee3 in llvm::report_fatal_error(llvm::Twine const&, bool) () from
/usr/lib/i386-linux-gnu/libLLVM-3.4.so.1
#10 0xb5d28fdb in llvm::report_fatal_error(char const*, bool) () from
/usr/lib/i386-linux-gnu/libLLVM-3.4.so.1
#11 0xb54cf6de in llvm::RegAllocBase::allocatePhysRegs() () from
/usr/lib/i386-linux-gnu/libLLVM-3.4.so.1
#12 0xb54dec28 in ?? () from /usr/lib/i386-linux-gnu/libLLVM-3.4.so.1
#13 0xb545781e in llvm::MachineFunctionPass::runOnFunction(llvm::Function&) ()
from /usr/lib/i386-linux-gnu/libLLVM-3.4.so.1
#14 0xb5638974 in llvm::FPPassManager::runOnFunction(llvm::Function&) () from
/usr/lib/i386-linux-gnu/libLLVM-3.4.so.1
#15 0xb5638a28 in llvm::FPPassManager::runOnModule(llvm::Module&) () from
/usr/lib/i386-linux-gnu/libLLVM-3.4.so.1
#16 0xb563b195 in llvm::legacy::PassManagerImpl::run(llvm::Module&) () from
/usr/lib/i386-linux-gnu/libLLVM-3.4.so.1
#17 0xb563b336 in llvm::legacy::PassManager::run(llvm::Module&) () from
/usr/lib/i386-linux-gnu/libLLVM-3.4.so.1
#18 0xb5da1bb9 in ?? () from /usr/lib/i386-linux-gnu/libLLVM-3.4.so.1
#19 0xb5da1f30 in LLVMTargetMachineEmitToMemoryBuffer () from
/usr/lib/i386-linux-gnu/libLLVM-3.4.so.1
#20 0xb6b92b17 in ?? () from /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
#21 0xb6b80f30 in ?? () from /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
#22 0xb6b81a9e in ?? () from /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
#23 0xb6b8a382 in ?? () from /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
#24 0xb6b8a4e3 in ?? () from /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
#25 0xb698f60e in ?? () from /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
#26 0xb6990966 in ?? () from /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
#27 0xb6956443 in ?? () from /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
#28 0xb695339e in ?? () from /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
#29 0xb6968230 in ?? () from /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
#30 0xb6937891 in ?? () from /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
#31 0xb6938e4c in ?? () from /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
#32 0xb6939254 in ?? () from /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
#33 0xb693934f in ?? () from /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
#34 0x08b65086 in FMeshDrawingPolicy::DrawMesh(FMeshBatch const&, int) const ()

Anything I can do to improve the diagnostics?</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>