Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 5 years ago

Language

C++

Compiler

clang 9.0.0

Options
Warnings
Boost 1.71.0
C++17
no pedantic
Raw compiler options
-fopenmp=libomp

Author

anonymous

over 5 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.71.0/clang-9.0.0/include -std=c++17 -fopenmp=libomp
Stack dump:
0.	Program arguments: /opt/wandbox/clang-9.0.0/bin/clang-9 -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name prog.cc -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -nostdinc++ -resource-dir /opt/wandbox/clang-9.0.0/lib/clang/9.0.0 -I /opt/wandbox/clang-9.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/te/include -I /opt/wandbox/boost-1.71.0/clang-9.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/wandbox/clang-9.0.0/lib/clang/9.0.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wall -Wextra -std=c++17 -fdeprecated-macro -fdebug-compilation-dir /home/jail -ferror-limit 19 -fmessage-length 0 -fopenmp -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -fansi-escape-codes -faddrsig -o /tmp/prog-3c456d.o -x c++ prog.cc 
1.	<eof> parser at end of file
2.	Per-file LLVM IR generation
3.	/opt/wandbox/boost-1.71.0/clang-9.0.0/include/boost/beast/http/detail/rfc7230.ipp:80:1: Generating code for declaration 'boost::beast::http::detail::is_token_char'
 #0 0x00000000020d7ab4 PrintStackTraceSignalHandler(void*) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x20d7ab4)
 #1 0x00000000020d59f0 llvm::sys::RunSignalHandlers() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x20d59f0)
 #2 0x00000000020d7eb8 SignalHandler(int) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x20d7eb8)
 #3 0x00007fece8a0b390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
 #4 0x0000000001c04205 llvm::PointerType::get(llvm::Type*, unsigned int) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x1c04205)
 #5 0x00000000009e0d4d llvm::GetElementPtrInst::getGEPReturnType(llvm::Type*, llvm::Value*, llvm::ArrayRef<llvm::Value*>) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x9e0d4d)
 #6 0x00000000009e0c9f llvm::GetElementPtrInst::Create(llvm::Type*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&, llvm::Instruction*) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x9e0c9f)
 #7 0x0000000002495ffd clang::CodeGen::CodeGenFunction::EmitCheckedInBoundsGEP(llvm::Value*, llvm::ArrayRef<llvm::Value*>, bool, bool, clang::SourceLocation, llvm::Twine const&) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x2495ffd)
 #8 0x000000000246e7a6 emitArraySubscriptGEP(clang::CodeGen::CodeGenFunction&, clang::CodeGen::Address, llvm::ArrayRef<llvm::Value*>, clang::QualType, bool, bool, clang::SourceLocation, llvm::Twine const&) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x246e7a6)
 #9 0x000000000246043c clang::CodeGen::CodeGenFunction::EmitArraySubscriptExpr(clang::ArraySubscriptExpr const*, bool) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x246043c)
#10 0x0000000002456901 clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr const*) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x2456901)
#11 0x000000000245ebf8 clang::CodeGen::CodeGenFunction::EmitCheckedLValue(clang::Expr const*, clang::CodeGen::CodeGenFunction::TypeCheckKind) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x245ebf8)
#12 0x000000000249cdc0 clang::StmtVisitorBase<std::add_pointer, (anonymous namespace)::ScalarExprEmitter, llvm::Value*>::Visit(clang::Stmt*) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x249cdc0)
#13 0x00000000024a2bfd (anonymous namespace)::ScalarExprEmitter::VisitCastExpr(clang::CastExpr*) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x24a2bfd)
#14 0x000000000248e2d2 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x248e2d2)
#15 0x00000000022acbc5 clang::CodeGen::CodeGenFunction::EmitReturnStmt(clang::ReturnStmt const&) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22acbc5)
#16 0x00000000022aa06b clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22aa06b)
#17 0x00000000022b318f clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22b318f)
#18 0x00000000022f03d0 clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::Stmt const*) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22f03d0)
#19 0x00000000022f0c91 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22f0c91)
#20 0x0000000002309cc4 clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x2309cc4)
#21 0x0000000002303d76 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x2303d76)
#22 0x00000000022fa442 clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa442)
#23 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#24 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#25 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#26 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#27 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#28 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#29 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#30 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#31 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#32 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#33 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#34 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#35 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#36 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#37 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#38 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#39 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#40 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#41 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#42 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#43 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#44 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#45 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#46 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#47 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#48 0x00000000022fa46a clang::CodeGen::CodeGenModule::EmitDeferred() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22fa46a)
#49 0x00000000022f97e7 clang::CodeGen::CodeGenModule::Release() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x22f97e7)
#50 0x0000000002c46cf5 (anonymous namespace)::CodeGeneratorImpl::HandleTranslationUnit(clang::ASTContext&) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x2c46cf5)
#51 0x0000000002c43d9f clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x2c43d9f)
#52 0x00000000034a9773 clang::ParseAST(clang::Sema&, bool, bool) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x34a9773)
#53 0x00000000026f0578 clang::FrontendAction::Execute() (/opt/wandbox/clang-9.0.0/bin/clang-9+0x26f0578)
#54 0x00000000026aa17f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x26aa17f)
#55 0x00000000027a40a3 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x27a40a3)
#56 0x00000000009496d3 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/opt/wandbox/clang-9.0.0/bin/clang-9+0x9496d3)
#57 0x0000000000947fc0 main (/opt/wandbox/clang-9.0.0/bin/clang-9+0x947fc0)
#58 0x00007fece777a830 __libc_start_main /build/glibc-LK5gWL/glibc-2.23/csu/../csu/libc-start.c:325:0
#59 0x00000000009452d9 _start (/opt/wandbox/clang-9.0.0/bin/clang-9+0x9452d9)
clang-9: error: unable to execute command: Segmentation fault (core dumped)
clang-9: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 9.0.0 (tags/RELEASE_900/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/wandbox/clang-9.0.0/bin
clang-9: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
clang-9: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-9: note: diagnostic msg: /tmp/prog-1ca907.cpp
clang-9: note: diagnostic msg: /tmp/prog-1ca907.sh
clang-9: note: diagnostic msg: 

********************
Exit Code:
254