Author
anonymous
almost 9 years ago
Language
Compiler
Options
Author
anonymous
almost 9 years ago
$ #0 0x0000000001abbc34 PrintStackTraceSignalHandler(void*) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x1abbc34)
#1 0x0000000001abbf06 SignalHandler(int) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x1abbf06)
#2 0x00007ffba45f8390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
#3 0x00000000031a5cba clang::FormatASTNodeDiagnosticArgument(clang::DiagnosticsEngine::ArgumentKind, long, llvm::StringRef, llvm::StringRef, llvm::ArrayRef<std::pair<clang::DiagnosticsEngine::ArgumentKind, long> >, llvm::SmallVectorImpl<char>&, void*, llvm::ArrayRef<long>) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x31a5cba)
#4 0x0000000001bd2c58 clang::Diagnostic::FormatDiagnostic(char const*, char const*, llvm::SmallVectorImpl<char>&) const (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x1bd2c58)
#5 0x0000000001fd548b clang::TextDiagnosticPrinter::HandleDiagnostic(clang::DiagnosticsEngine::Level, clang::Diagnostic const&) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x1fd548b)
#6 0x0000000001bd84df clang::DiagnosticIDs::ProcessDiag(clang::DiagnosticsEngine&) const (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x1bd84df)
#7 0x0000000001bd25a3 clang::DiagnosticsEngine::EmitCurrentDiagnostic(bool) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x1bd25a3)
#8 0x00000000029302ae clang::Sema::EmitCurrentDiagnostic(unsigned int) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x29302ae)
#9 0x0000000002c6bc35 clang::Sema::BuildLambdaExpr(clang::SourceLocation, clang::SourceLocation, clang::sema::LambdaScopeInfo*) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x2c6bc35)
#10 0x0000000002c6b631 clang::Sema::ActOnLambdaExpr(clang::SourceLocation, clang::Stmt*, clang::Scope*) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x2c6b631)
#11 0x0000000002756a65 clang::Parser::ParseLambdaExpressionAfterIntroducer(clang::LambdaIntroducer&) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x2756a65)
#12 0x000000000275471b clang::Parser::ParseLambdaExpression() (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x275471b)
#13 0x0000000002745054 clang::Parser::ParseCastExpression(bool, bool, bool&, clang::Parser::TypeCastState, bool) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x2745054)
#14 0x0000000002740b2f clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x2740b2f)
#15 0x000000000271caa8 clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x271caa8)
#16 0x000000000271ab2c clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, unsigned int, clang::SourceLocation*, clang::Parser::ForRangeInit*) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x271ab2c)
#17 0x00000000027165fa clang::Parser::ParseSimpleDeclaration(unsigned int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&, bool, clang::Parser::ForRangeInit*) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x27165fa)
#18 0x000000000271617d clang::Parser::ParseDeclaration(unsigned int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x271617d)
#19 0x0000000002786222 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::AllowedConstructsKind, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x2786222)
#20 0x0000000002785e3b clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::AllowedConstructsKind, clang::SourceLocation*) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x2785e3b)
#21 0x000000000278cd9a clang::Parser::ParseCompoundStatementBody(bool) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x278cd9a)
#22 0x000000000278d6e6 clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x278d6e6)
#23 0x000000000270492e clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x270492e)
#24 0x000000000271aa27 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, unsigned int, clang::SourceLocation*, clang::Parser::ForRangeInit*) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x271aa27)
#25 0x0000000002703883 clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec&, clang::AccessSpecifier) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x2703883)
#26 0x00000000027031e9 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*, clang::AccessSpecifier) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x27031e9)
#27 0x000000000270271d clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x270271d)
#28 0x0000000002701327 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x2701327)
#29 0x00000000026fd6e7 clang::ParseAST(clang::Sema&, bool, bool) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x26fd6e7)
#30 0x0000000001f980df clang::FrontendAction::Execute() (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x1f980df)
#31 0x0000000001f59878 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x1f59878)
#32 0x0000000002020d5e clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x2020d5e)
#33 0x000000000084bcdd cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x84bcdd)
#34 0x000000000084ac18 main (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x84ac18)
#35 0x00007ffba3367830 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x20830)
#36 0x0000000000847b79 _start (/opt/wandbox/clang-5.0.0/bin/clang-5.0+0x847b79)
Stack dump:
0. Program arguments: /opt/wandbox/clang-5.0.0/bin/clang-5.0 -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name prog.cc -mrelocation-model static -mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu sandybridge -momit-leaf-frame-pointer -dwarf-column-info -debugger-tuning=gdb -nostdinc++ -resource-dir /opt/wandbox/clang-5.0.0/lib/clang/5.0.0 -I /opt/wandbox/clang-5.0.0/include/c++/v1 -I /opt/wandbox/boost-sml/include -I /opt/wandbox/boost-di/include -I /opt/wandbox/range-v3/include -I /opt/wandbox/nlohmann-json/src -I /opt/wandbox/cmcstl2/include -I /opt/wandbox/boost-1.65.1/clang-5.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/wandbox/clang-5.0.0/lib/clang/5.0.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -O1 -Wall -Wextra -Wno-unused-parameter -std=gnu++1z -fdeprecated-macro -fdebug-compilation-dir /home/jail -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -fansi-escape-codes -o /tmp/prog-d62e30.o -x c++ prog.cc
1. prog.cc:18:43: current parser token ';'
2. prog.cc:6:1: parsing function body 'main'
3. prog.cc:6:1: in compound statement ('{}')
4. prog.cc:13:42: lambda expression parsing
clang-5.0: error: unable to execute command: Segmentation fault
clang-5.0: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 5.0.0 (tags/RELEASE_500/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/wandbox/clang-5.0.0/bin
clang-5.0: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang-5.0: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-5.0: note: diagnostic msg: /tmp/prog-ea8655.cpp
clang-5.0: note: diagnostic msg: /tmp/prog-ea8655.sh
clang-5.0: note: diagnostic msg:
********************
Exit Code:
254