[LLVMbugs] [Bug 13534] New: Segfault in clang::Sema::DeduceAutoType
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Aug 6 08:57:55 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13534
Bug #: 13534
Summary: Segfault in clang::Sema::DeduceAutoType
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: gearoid.p.murphy at gmail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
0 libLLVM-3.0.so.1 0x00007fddb33dbfcf
1 libLLVM-3.0.so.1 0x00007fddb33dc591
2 libpthread.so.0 0x00007fddb2365cb0
3 clang 0x0000000000a1ea60
clang::Sema::DeduceAutoType(clang::TypeSourceInfo*, clang::Expr*,
clang::TypeSourceInfo*&) + 48
4 clang 0x000000000089d2bd
clang::Sema::AddInitializerToDecl(clang::Decl*, clang::Expr*, bool, bool) +
1533
5 clang 0x00000000007f14ee
clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&,
clang::Parser::ParsedTemplateInfo const&) + 1790
6 clang 0x00000000007f4c9a
clang::Parser::ParseDeclGroup(clang::Parser::ParsingDeclSpec&, unsigned int,
bool, clang::SourceLocation*, clang::Parser::ForRangeInit*) + 1210
7 clang 0x00000000007f9764
clang::Parser::ParseSimpleDeclaration(clang::ASTOwningVector<clang::Stmt*,
32u>&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, bool,
clang::Parser::ForRangeInit*) + 740
8 clang 0x00000000007f9933
clang::Parser::ParseDeclaration(clang::ASTOwningVector<clang::Stmt*, 32u>&,
unsigned int, clang::SourceLocation&,
clang::Parser::ParsedAttributesWithRange&) + 163
9 clang 0x00000000007cf54c
clang::Parser::ParseStatementOrDeclaration(clang::ASTOwningVector<clang::Stmt*,
32u>&, bool) + 364
10 clang 0x00000000007cca11
clang::Parser::ParseCompoundStatementBody(bool) + 417
11 clang 0x00000000007cd6fa
clang::Parser::ParseFunctionStatementBody(clang::Decl*,
clang::Parser::ParseScope&) + 138
12 clang 0x00000000007e708c
clang::Parser::ParseFunctionDefinition(clang::Parser::ParsingDeclarator&,
clang::Parser::ParsedTemplateInfo const&) + 1116
13 clang 0x00000000007f4a42
clang::Parser::ParseDeclGroup(clang::Parser::ParsingDeclSpec&, unsigned int,
bool, clang::SourceLocation*, clang::Parser::ForRangeInit*) + 610
14 clang 0x00000000007e2c75
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsingDeclSpec&,
clang::AccessSpecifier) + 149
15 clang 0x00000000007e32e6
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&,
clang::AccessSpecifier) + 678
16 clang 0x00000000007e4ead
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::Parser::ParsingDeclSpec*) + 2685
17 clang 0x00000000007e5417
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 167
18 clang 0x00000000007bcbfd clang::ParseAST(clang::Sema&, bool) +
269
19 clang 0x00000000006a6253 clang::CodeGenAction::ExecuteAction() +
51
20 clang 0x00000000005adc7f
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 319
21 clang 0x000000000059653a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1114
22 clang 0x000000000058e1c4 cc1_main(char const**, char const**,
char const*, void*) + 820
23 clang 0x000000000058cb3c main + 620
24 libc.so.6 0x00007fddb1aa476d __libc_start_main + 237
25 clang 0x000000000058dd39
Stack dump:
0. Program arguments: /usr/bin/clang -cc1 -triple x86_64-pc-linux-gnu
-emit-obj -disable-free -disable-llvm-verifier -main-file-name
DirectedEdgeUI.cpp -mrelocation-model static -mdisable-fp-elim -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version
2.22 -momit-leaf-frame-pointer -coverage-file
/home/gmurphy/Programming/Vision/DirectedEdge/artifacts/DirectedEdge/cppObj/release/DirectedEdgeUI.obj
-resource-dir /usr/bin/../lib/clang/3.0 -I /home/gmurphy/Programming/Utils -I
/home/gmurphy/Programming/Robotics/Phoenix -I
/home/gmurphy/Programming/Vision/DirectedEdge -I /usr/local/cuda/include -I
/usr/include -I /home/gmurphy/Programming/Vision/FFmpeg -I
/home/gmurphy/Programming/Vision/SymbolicVision -I /home/gmurphy/Programming -I
/home/gmurphy/Programming/Robotics/Phoenix/Tiger/Tools -I
/home/gmurphy/Programming/Vision/FigureGround -I /usr/include/qt4/QtGui -I
/usr/include/qt4 -I /home/gmurphy/Programming/CUDA -I
/home/gmurphy/Builds/CudaSDK/C/common/inc -fmodule-cache-path
/var/tmp/clang-module-cache -internal-isystem /usr/include/c++/4.6
-internal-isystem /usr/include/c++/4.6/x86_64-linux-gnu -internal-isystem
/usr/include/c++/4.6/backward -internal-isystem /usr/local/include
-internal-isystem /usr/bin/../lib/clang/3.0/include -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem /usr/include -O3
-std=c++0x -fdeprecated-macro -ferror-limit 19 -fmessage-length 155
-fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o
/home/gmurphy/Programming/Vision/DirectedEdge/artifacts/DirectedEdge/cppObj/release/DirectedEdgeUI.obj
-x c++ DirectedEdgeUI.cpp
1. DirectedEdgeUI.cpp:290:6: current parser token ';'
2. DirectedEdgeUI.cpp:246:1: parsing function body 'renderFrame'
3. DirectedEdgeUI.cpp:246:1: in compound statement ('{}')
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal 2 (use -v to see
invocation)
clang: note: diagnostic msg: Please submit a bug report to
http://llvm.org/bugs/ and include command line arguments and all diagnostic
information.
clang: note: diagnostic msg: Preprocessed source(s) are located at:
clang: note: diagnostic msg: /tmp/DirectedEdgeUI-AeGaID.ii
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list