<html>
<head>
<base href="https://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 --- - Segfault in opt-3.7 when running "Combine redundant instructions" pass"
href="https://llvm.org/bugs/show_bug.cgi?id=25119">25119</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Segfault in opt-3.7 when running "Combine redundant instructions" pass
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>3.7
</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>erikd@mega-nerd.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=15040" name="attach_15040" title="File that causes the segfault">attachment 15040</a> <a href="attachment.cgi?id=15040&action=edit" title="File that causes the segfault">[details]</a></span>
File that causes the segfault
Attached file run with:
/usr/bin/opt-3.7 rts/HeapStackCheck.ll -o /dev/null -O2
segfaults as follows:
$ /usr/bin/opt-3.7 rts/HeapStackCheck.ll -o /dev/null -O2
0 libLLVM-3.7.so.1 0x00007fed8d11735d
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 45
1 libLLVM-3.7.so.1 0x00007fed8d116961
2 libpthread.so.0 0x00007fed8b9d78d0
3 libLLVM-3.7.so.1 0x00007fed8d272110
llvm::MDNode::getMostGenericTBAA(llvm::MDNode*, llvm::MDNode*) + 352
4 libLLVM-3.7.so.1 0x00007fed8d4dc748
llvm::combineMetadata(llvm::Instruction*, llvm::Instruction const*,
llvm::ArrayRef<unsigned int>) + 488
5 libLLVM-3.7.so.1 0x00007fed8c7b4d2a
6 libLLVM-3.7.so.1 0x00007fed8c808762
7 libLLVM-3.7.so.1 0x00007fed8c809aa3
8 libLLVM-3.7.so.1 0x00007fed8c80a01c
9 libLLVM-3.7.so.1 0x00007fed8c402c37
llvm::FPPassManager::runOnFunction(llvm::Function&) + 471
10 libLLVM-3.7.so.1 0x00007fed8c402e8b
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
11 libLLVM-3.7.so.1 0x00007fed8c4028c4
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 756
12 opt-3.7 0x000000000041b643 main + 7411
13 libc.so.6 0x00007fed8a53cb45 __libc_start_main + 245
14 opt-3.7 0x000000000041b834
Stack dump:
0. Program arguments: /usr/bin/opt-3.7 rts/HeapStackCheck.ll -o /dev/null
-O2
1. Running pass 'Function Pass Manager' on module 'rts/HeapStackCheck.ll'.
2. Running pass 'Combine redundant instructions' on function
'@"stg_gc_noregs$def"'
Segmentation fault
The binary is from the `llvm-3.7` package in Debian testing.</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>