[llvm-bugs] [Bug 30974] New: Segmentation fault
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Nov 10 05:58:38 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=30974
Bug ID: 30974
Summary: Segmentation fault
Product: clang
Version: 3.9
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: unassignedclangbugs at nondot.org
Reporter: weiss at wsoptics.de
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 17577
--> https://llvm.org/bugs/attachment.cgi?id=17577&action=edit
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
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161110/6f0efc96/attachment-0001.html>
More information about the llvm-bugs
mailing list