<html>
<head>
<base href="http://llvm.org/bugs/" />
</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 --- - r600: segfault with nine d3d9 state tracker when compiled with clang"
href="http://llvm.org/bugs/show_bug.cgi?id=21097">21097</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>r600: segfault with nine d3d9 state tracker when compiled with clang
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>haagch+llvm@frickel.club
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=13100" name="attach_13100" title="full backtrace from debug build">attachment 13100</a> <a href="attachment.cgi?id=13100&action=edit" title="full backtrace from debug build">[details]</a></span>
full backtrace from debug build
So... I'm using a PITCAIRN HD 7970M and tried this d3d9 state tracker:
<a href="https://wiki.ixit.cz/d3d9">https://wiki.ixit.cz/d3d9</a> with the dri3 branches.
llvm is from a recent trunk build (218578) and so is clang.
When llvm is compiled with clang rendering something with d3d9 causes a
segfault in llvm.
When llvm is compiled with gcc 4.9.1 it works and does not segfault.
Interestingly there are different crashes with a release build and with a debug
build of llvm.
With a release build:
#0 0x7a0df883 in unsigned int
llvm::DFSPass<llvm::GraphTraits<llvm::BasicBlock*>
<span class="quote">>(llvm::DominatorTreeBase<llvm::GraphTraits<llvm::BasicBlock*>::NodeType>&,</span >
llvm::GraphTraits<llvm::BasicBlock*>::NodeType*, unsigned int) () from
/usr/lib32/libLLVM-3.6svn.so
#1 0x00002228 in ?? ()
#2 0x7cedd998 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
With a debug build: see attachment.
I do not know if this is a problem in clang or llvm. I'll just leave this here
in case someone knows what's going on.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>