You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code generation
clang-5.0: error: unable to execute command: Segmentation fault (core dumped)
clang-5.0: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 5.0.0 (trunk 302519) (llvm/trunk 302518)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/bsalomon/src/llvm/out/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/Sk4fLinearGradient-6cb692.cpp
clang-5.0: note: diagnostic msg: /tmp/Sk4fLinearGradient-6cb692.sh
clang-5.0: note: diagnostic msg:
The text was updated successfully, but these errors were encountered:
Extended Description
I sync'ed to ToT today and built clang. I get a crash when building the Skia library.
#0 0x000000000191e4a4 PrintStackTraceSignalHandler(void*) (/home/bsalomon/src/llvm/out/bin/clang-5.0+0x191e4a4)
#1 0x000000000191e776 SignalHandler(int) (/home/bsalomon/src/llvm/out/bin/clang-5.0+0x191e776)
#2 0x00007f1b5caee670 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11670)
#3 0x0000000001e94aee llvm::DwarfUnit::addString(llvm::DIE&, llvm::dwarf::Attribute, llvm::StringRef) (/home/bsalomon/src/llvm/out/bin/clang-5.0+0x1e94aee)
#4 0x0000000001ec524c llvm::DwarfCompileUnit::applyVariableAttributes(llvm::DbgVariable const&, llvm::DIE&) (/home/bsalomon/src/llvm/out/bin/clang-5.0+0x1ec524c)
#5 0x0000000001e82f58 llvm::DwarfDebug::finishVariableDefinitions() (/home/bsalomon/src/llvm/out/bin/clang-5.0+0x1e82f58)
#6 0x0000000001e83150 llvm::DwarfDebug::finalizeModuleInfo() (/home/bsalomon/src/llvm/out/bin/clang-5.0+0x1e83150)
#7 0x0000000001e83448 llvm::DwarfDebug::endModule() (/home/bsalomon/src/llvm/out/bin/clang-5.0+0x1e83448)
#8 0x0000000001e736ed llvm::AsmPrinter::doFinalization(llvm::Module&) (/home/bsalomon/src/llvm/out/bin/clang-5.0+0x1e736ed)
#9 0x0000000001570473 llvm::FPPassManager::doFinalization(llvm::Module&) (/home/bsalomon/src/llvm/out/bin/clang-5.0+0x1570473)
#10 0x000000000157085b llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/bsalomon/src/llvm/out/bin/clang-5.0+0x157085b)
#11 0x0000000001a6b0a2 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_deletellvm::raw_pwrite_stream >) (/home/bsalomon/src/llvm/out/bin/clang-5.0+0x1a6b0a2)
#12 0x0000000002098d53 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/home/bsalomon/src/llvm/out/bin/clang-5.0+0x2098d53)
#13 0x000000000247b406 clang::ParseAST(clang::Sema&, bool, bool) (/home/bsalomon/src/llvm/out/bin/clang-5.0+0x247b406)
#14 0x0000000001dd336f clang::FrontendAction::Execute() (/home/bsalomon/src/llvm/out/bin/clang-5.0+0x1dd336f)
#15 0x0000000001d86d38 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/bsalomon/src/llvm/out/bin/clang-5.0+0x1d86d38)
#16 0x0000000001e4bb31 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/bsalomon/src/llvm/out/bin/clang-5.0+0x1e4bb31)
#17 0x0000000000838bd6 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/home/bsalomon/src/llvm/out/bin/clang-5.0+0x838bd6)
#18 0x00000000008370f8 main (/home/bsalomon/src/llvm/out/bin/clang-5.0+0x8370f8)
#19 0x00007f1b5b63d3f1 __libc_start_main /build/glibc-cxyGtm/glibc-2.24/csu/../csu/libc-start.c:325:0
#20 0x00000000008345fa _start (/home/bsalomon/src/llvm/out/bin/clang-5.0+0x8345fa)
Stack dump:
0. Program arguments: /home/bsalomon/src/llvm/out/bin/clang-5.0 -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name Sk4fLinearGradient.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -momit-leaf-frame-pointer -dwarf-column-info -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -ffunction-sections -fdata-sections -coverage-notes-file /home/bsalomon/src/skia/out/Release/obj/src/effects/gradients/effects.Sk4fLinearGradient.gcno -resource-dir /home/bsalomon/src/llvm/out/lib/clang/5.0.0 -D NDEBUG -D SK_SAMPLES_FOR_X -D SK_GAMMA_APPLY_TO_A8 -D SK_ENABLE_DISCRETE_GPU -D SKIA_IMPLEMENTATION=1 -I ../../include/android -I ../../include/c -I ../../include/codec -I ../../include/config -I ../../include/core -I ../../include/effects -I ../../include/gpu -I ../../include/gpu/gl -I ../../include/pathops -I ../../include/ports -I ../../include/svg -I ../../include/utils -I ../../include/utils/mac -I ../../third_party/vulkan -I ../../include/private -I ../../src/c -I ../../src/codec -I ../../src/core -I ../../src/effects -I ../../src/effects/gradients -I ../../src/fonts -I ../../src/image -I ../../src/images -I ../../src/lazy -I ../../src/opts -I ../../src/pathops -I ../../src/pdf -I ../../src/ports -I ../../src/sfnt -I ../../src/sksl -I ../../src/utils -I ../../src/utils/win -I ../../src/xml -I ../../third_party/etc1 -I ../../third_party/gif -I ../../src/gpu -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/x86_64-linux-gnu/c++/6.3.0 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/x86_64-linux-gnu/c++/6.3.0 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/backward -internal-isystem /usr/local/include -internal-isystem /home/bsalomon/src/llvm/out/lib/clang/5.0.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -O3 -Werror -Wall -Wextra -Winit-self -Wpointer-arith -Wsign-compare -Wvla -Wno-deprecated-declarations -Wno-maybe-uninitialized -Weverything -Wno-unknown-warning-option -Wno-cast-align -Wno-conditional-uninitialized -Wno-conversion -Wno-disabled-macro-expansion -Wno-documentation -Wno-documentation-unknown-command -Wno-double-promotion -Wno-exit-time-destructors -Wno-float-conversion -Wno-float-equal -Wno-format-nonliteral -Wno-global-constructors -Wno-gnu-zero-variadic-macro-arguments -Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-pedantic -Wno-reserved-id-macro -Wno-shadow -Wno-shift-sign-overflow -Wno-sign-conversion -Wno-signed-enum-bitfield -Wno-switch-enum -Wno-undef -Wno-unreachable-code -Wno-unreachable-code-break -Wno-unreachable-code-return -Wno-unused-macros -Wno-unused-member-function -Wno-covered-switch-default -Wno-deprecated -Wno-implicit-fallthrough -Wno-missing-noreturn -Wno-old-style-cast -Wno-padded -Wno-unused-parameter -Wno-error -Wnon-virtual-dtor -Wno-abstract-vbase-init -Wno-weak-vtables -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-undefined-func-template -std=c++11 -fdebug-compilation-dir /home/bsalomon/src/skia/out/Release -ferror-limit 19 -fmessage-length 0 -fno-rtti -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o obj/src/effects/gradients/effects.Sk4fLinearGradient.o -x c++ ../../src/effects/gradients/Sk4fLinearGradient.cpp
clang-5.0: error: unable to execute command: Segmentation fault (core dumped)
clang-5.0: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 5.0.0 (trunk 302519) (llvm/trunk 302518)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/bsalomon/src/llvm/out/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/Sk4fLinearGradient-6cb692.cpp
clang-5.0: note: diagnostic msg: /tmp/Sk4fLinearGradient-6cb692.sh
clang-5.0: note: diagnostic msg:
The text was updated successfully, but these errors were encountered: