<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 --- - Segmentation fault"
href="https://llvm.org/bugs/show_bug.cgi?id=30974">30974</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Segmentation fault
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.9
</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>C++11
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>weiss@wsoptics.de
</td>
</tr>
<tr>
<th>CC</th>
<td>dgregor@apple.com, 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=17577" name="attach_17577" title="Preprocessed source file to reproduce segmentation fault">attachment 17577</a> <a href="attachment.cgi?id=17577&action=edit" title="Preprocessed source file to reproduce segmentation fault">[details]</a></span>
Preprocessed source file to reproduce segmentation fault
I get the following stack trace on the attached file. Because of
isCopyOrMoveConstructor() appearing in the back trace, I filed it as relating
to the C++11 component.
#0 0x00007f4847258d58 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
/usr/src/debug/sys-devel/llvm-3.9.0-r1/llvm-3.9.0.src/lib/Support/Unix/Signals.inc:402:0
#1 0x00007f4847256a6e llvm::sys::RunSignalHandlers()
/usr/src/debug/sys-devel/llvm-3.9.0-r1/llvm-3.9.0.src/lib/Support/Signals.cpp:45:0
#2 0x00007f4847256d3c SignalHandler
/usr/src/debug/sys-devel/llvm-3.9.0-r1/llvm-3.9.0.src/lib/Support/Unix/Signals.inc:246:0
#3 0x00007f4844fa3380 (/lib64/libc.so.6+0x33380)
#4 0x00007f48417cccd8 clang::QualType::getTypePtr() const
/usr/src/debug/sys-devel/llvm-3.9.0-r1/llvm-3.9.0.src/tools/clang/include/clang/AST/Type.h:5260:0
#5 0x00007f48417cccd8 clang::QualType::operator->() const
/usr/src/debug/sys-devel/llvm-3.9.0-r1/llvm-3.9.0.src/tools/clang/include/clang/AST/Type.h:658:0
#6 0x00007f48417cccd8 clang::FunctionDecl::getNumParams() const
/usr/src/debug/sys-devel/llvm-3.9.0-r1/llvm-3.9.0.src/tools/clang/lib/AST/Decl.cpp:2743:0
#7 0x00007f48417e6455
clang::CXXConstructorDecl::isCopyOrMoveConstructor(unsigned int&) const
/usr/src/debug/sys-devel/llvm-3.9.0-r1/llvm-3.9.0.src/tools/clang/lib/AST/DeclCXX.cpp:1896:0
#8 0x00007f48417e65d9 clang::CXXConstructorDecl::isCopyConstructor(unsigned
int&) const
/usr/src/debug/sys-devel/llvm-3.9.0-r1/llvm-3.9.0.src/tools/clang/lib/AST/DeclCXX.cpp:1873:0
#9 0x00007f484077b2ed EvaluateUnaryTypeTrait
/usr/src/debug/sys-devel/llvm-3.9.0-r1/llvm-3.9.0.src/tools/clang/lib/Sema/SemaExprCXX.cpp:4227:0
#10 0x00007f484077b2ed evaluateTypeTrait
/usr/src/debug/sys-devel/llvm-3.9.0-r1/llvm-3.9.0.src/tools/clang/lib/Sema/SemaExprCXX.cpp:4325:0</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>