<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 --- - segfault in AddressSanitizer"
href="http://llvm.org/bugs/show_bug.cgi?id=16737">16737</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>segfault in AddressSanitizer
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</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>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Miscellaneous Instrumentation passes
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>flld0@greynode.net
</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=10952" name="attach_10952" title="IR to feed to "opt -asan" to cause it to segfault">attachment 10952</a> <a href="attachment.cgi?id=10952&action=edit" title="IR to feed to "opt -asan" to cause it to segfault">[details]</a></span>
IR to feed to "opt -asan" to cause it to segfault
The attached IR causes a "opt -asan" to segfault on at least 64-bit MacOS X and
Linux.
0 libLLVM-3.4svn.dylib 0x00000001088ab2ae llvm::sys::PrintStackTrace(__sFILE*)
+ 46
1 libLLVM-3.4svn.dylib 0x00000001088ab5bb PrintStackTraceSignalHandler(void*)
+ 27
2 libLLVM-3.4svn.dylib 0x00000001088ab8c9 SignalHandler(int) + 297
3 libsystem_c.dylib 0x00007fff9749994a _sigtramp + 26
4 libsystem_c.dylib 0x00007fff587068f8 _sigtramp + 3240546248
5 libLLVM-3.4svn.dylib 0x00000001089bd45a
llvm::StringMap<llvm::StringMap<llvm::Regex*, llvm::MallocAllocator>,
llvm::MallocAllocator>::find(llvm::StringRef) const + 74
6 libLLVM-3.4svn.dylib 0x00000001089bc9c5
llvm::SpecialCaseList::inSectionCategory(llvm::StringRef, llvm::StringRef,
llvm::StringRef) const + 85
7 libLLVM-3.4svn.dylib 0x00000001089bc958
llvm::SpecialCaseList::isIn(llvm::Module const&, llvm::StringRef) const + 136
8 libLLVM-3.4svn.dylib 0x00000001089bc843
llvm::SpecialCaseList::isIn(llvm::Function const&, llvm::StringRef) const + 83
9 libLLVM-3.4svn.dylib 0x00000001080f8513 (anonymous
namespace)::AddressSanitizer::runOnFunction(llvm::Function&) + 99
10 libLLVM-3.4svn.dylib 0x0000000107f648ff
llvm::FPPassManager::runOnFunction(llvm::Function&) + 431
11 libLLVM-3.4svn.dylib 0x0000000107f64be8
llvm::FPPassManager::runOnModule(llvm::Module&) + 104
12 libLLVM-3.4svn.dylib 0x0000000107f64fea
llvm::MPPassManager::runOnModule(llvm::Module&) + 634
13 libLLVM-3.4svn.dylib 0x0000000107f6580e
llvm::PassManagerImpl::run(llvm::Module&) + 302
14 libLLVM-3.4svn.dylib 0x0000000107f65ab1
llvm::PassManager::run(llvm::Module&) + 33
15 opt 0x00000001075084e5 main + 6645
16 libdyld.dylib 0x00007fff91ebb7e1 start + 0
17 libdyld.dylib 0x0000000000000003 start + 1846822946
Stack dump:
0. Program arguments: out/llvm-3.4svn/install/bin/opt -asan foo.ll
1. Running pass 'Function Pass Manager' on module 'foo.ll'.
2. Running pass 'AddressSanitizerFunctionPass' on function '@foo'
Segmentation fault: 11</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>