[llvm-bugs] [Bug 33241] New: compiling chromium Segmentation fault

via llvm-bugs llvm-bugs at lists.llvm.org
Tue May 30 20:05:16 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33241

            Bug ID: 33241
           Summary: compiling chromium Segmentation fault
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: tofues at protonmail.com
                CC: llvm-bugs at lists.llvm.org

[user at SA src]$ ninja -C out/my_build chrome
ninja: Entering directory `out/my_build'
[17688/28773] CXX obj/v8/v8_base/wasm-compiler.o
FAILED: obj/v8/v8_base/wasm-compiler.o 
../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF
obj/v8/v8_base/wasm-compiler.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV
-DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1
-DUSE_X11=1 -DDISABLE_NACL -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD
-DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED
-DCR_CLANG_REVISION=\"303910-1\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-DCOMPONENT_BUILD -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1
-DWTF_USE_DYNAMIC_ANNOTATIONS=1 -D_GLIBCXX_DEBUG=1 -DBUILDING_V8_SHARED
-DENABLE_DISASSEMBLER -DOBJECT_PRINT -DVERIFY_HEAP -DV8_TRACE_MAPS
-DV8_ENABLE_CHECKS -DV8_INTL_SUPPORT -DENABLE_HANDLE_ZAPPING -DV8_USE_SNAPSHOT
-DV8_USE_EXTERNAL_STARTUP_DATA -DV8_TARGET_ARCH_X64 -DDEBUG
-DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t
-DUSING_V8_BASE_SHARED -I../.. -Igen -I../../v8
-I../../third_party/icu/source/common -I../../third_party/icu/source/i18n
-I../../v8/include -fno-strict-aliasing --param=ssp-buffer-size=4
-fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__=
-D__TIMESTAMP__= -funwind-tables -fPIC -pipe
-B../../third_party/binutils/Linux_x64/Release/bin -fcolor-diagnostics -m64
-march=x86-64 -pthread -Wall -Werror -Wextra -Wno-missing-field-initializers
-Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default
-Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override
-Wno-undefined-var-template -Wno-nonportable-include-path
-Wno-address-of-packed-member -Wno-unused-lambda-capture
-Wno-user-defined-warnings -fno-omit-frame-pointer -g0
--sysroot=../../build/linux/debian_jessie_amd64-sysroot -fvisibility=hidden
-Xclang -load -Xclang
../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so
-Xclang -add-plugin -Xclang find-bad-constructs -Xclang
-plugin-arg-find-bad-constructs -Xclang check-auto-raw-pointer -Xclang
-plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene
-Wstring-conversion -Wtautological-overlap-compare -Wsign-compare
-Winconsistent-missing-override -Wshorten-64-to-32 -O3 -fno-ident
-fdata-sections -ffunction-sections -Wno-undefined-bool-conversion
-Wno-tautological-undefined-compare -std=gnu++11 -fno-rtti -fno-exceptions
-fvisibility-inlines-hidden -c ../../v8/src/compiler/wasm-compiler.cc -o
obj/v8/v8_base/wasm-compiler.o
#0 0x0000000001d11124
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x1d11124)
#1 0x0000000001d11446
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x1d11446)
#2 0x00007ffb4e5c3c30 __restore_rt (/lib64/libpthread.so.0+0x10c30)
#3 0x00000000018c2b94 llvm::Use::getUser() const
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x18c2b94)
#4 0x00000000014c3e78 llvm::isKnownNonNullAt(llvm::Value const*,
llvm::Instruction const*, llvm::DominatorTree const*)
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x14c3e78)
#5 0x00000000019bda15
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x19bda15)
#6 0x00000000019b2643
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x19b2643)
#7 0x000000000198f14b
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x198f14b)
#8 0x0000000001990fed
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x1990fed)
#9 0x00000000019915fc
llvm::InstructionCombiningPass::runOnFunction(llvm::Function&)
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x19915fc)
#10 0x000000000188adbf llvm::FPPassManager::runOnFunction(llvm::Function&)
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x188adbf)
#11 0x0000000002728526
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x2728526)
#12 0x000000000188b515 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x188b515)
#13 0x0000000001e9daeb 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_delete<llvm::raw_pwrite_stream> >)
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x1e9daeb)
#14 0x00000000025b36b7
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x25b36b7)
#15 0x00000000022a5a0c
clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&)
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x22a5a0c)
#16 0x0000000002a19856 clang::ParseAST(clang::Sema&, bool, bool)
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x2a19856)
#17 0x0000000002281708 clang::FrontendAction::Execute()
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x2281708)
#18 0x0000000002233881
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x2233881)
#19 0x0000000002306135
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x2306135)
#20 0x000000000083c344 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*)
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x83c344)
#21 0x0000000000839edf main
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x839edf)
#22 0x00007ffb4d1a2731 __libc_start_main (/lib64/libc.so.6+0x20731)
#23 0x0000000000837369 _start
(/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang+0x837369)
Stack dump:
0.      Program arguments:
/home/user/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang -cc1
-triple x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name
wasm-compiler.cc -mrelocation-model pic -pic-level 2 -mthread-model posix
-mdisable-fp-elim -relaxed-aliasing -fmath-errno -masm-verbose
-mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64
-momit-leaf-frame-pointer -dwarf-column-info -debugger-tuning=gdb
-ffunction-sections -fdata-sections -coverage-notes-file
/home/user/chromium/src/out/my_build/obj/v8/v8_base/wasm-compiler.gcno
-resource-dir
/home/user/chromium/src/third_party/llvm-build/Release+Asserts/lib/clang/5.0.0
-dependency-file obj/v8/v8_base/wasm-compiler.o.d -MT
obj/v8/v8_base/wasm-compiler.o -D V8_DEPRECATION_WARNINGS -D USE_UDEV -D
USE_AURA=1 -D USE_PANGO=1 -D USE_CAIRO=1 -D USE_GLIB=1 -D USE_NSS_CERTS=1 -D
USE_X11=1 -D DISABLE_NACL -D FULL_SAFE_BROWSING -D SAFE_BROWSING_CSD -D
SAFE_BROWSING_DB_LOCAL -D CHROMIUM_BUILD -D FIELDTRIAL_TESTING_ENABLED -D
CR_CLANG_REVISION="303910-1" -D _FILE_OFFSET_BITS=64 -D _LARGEFILE_SOURCE -D
_LARGEFILE64_SOURCE -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D
COMPONENT_BUILD -D _DEBUG -D DYNAMIC_ANNOTATIONS_ENABLED=1 -D
WTF_USE_DYNAMIC_ANNOTATIONS=1 -D _GLIBCXX_DEBUG=1 -D BUILDING_V8_SHARED -D
ENABLE_DISASSEMBLER -D OBJECT_PRINT -D VERIFY_HEAP -D V8_TRACE_MAPS -D
V8_ENABLE_CHECKS -D V8_INTL_SUPPORT -D ENABLE_HANDLE_ZAPPING -D V8_USE_SNAPSHOT
-D V8_USE_EXTERNAL_STARTUP_DATA -D V8_TARGET_ARCH_X64 -D DEBUG -D
U_USING_ICU_NAMESPACE=0 -D U_ENABLE_DYLOAD=0 -D
ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -D UCHAR_TYPE=uint16_t -D
USING_V8_BASE_SHARED -I ../.. -I gen -I ../../v8 -I
../../third_party/icu/source/common -I ../../third_party/icu/source/i18n -I
../../v8/include -D __DATE__= -D __TIME__= -D __TIMESTAMP__= -isysroot
../../build/linux/debian_jessie_amd64-sysroot -internal-isystem
../../build/linux/debian_jessie_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8
-internal-isystem
../../build/linux/debian_jessie_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/x86_64-linux-gnu/c++/4.8
-internal-isystem
../../build/linux/debian_jessie_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/x86_64-linux-gnu/c++/4.8
-internal-isystem
../../build/linux/debian_jessie_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/backward
-internal-isystem
../../build/linux/debian_jessie_amd64-sysroot/usr/local/include
-internal-isystem
/home/user/chromium/src/third_party/llvm-build/Release+Asserts/lib/clang/5.0.0/include
-internal-externc-isystem
../../build/linux/debian_jessie_amd64-sysroot/usr/include/x86_64-linux-gnu
-internal-externc-isystem ../../build/linux/debian_jessie_amd64-sysroot/include
-internal-externc-isystem
../../build/linux/debian_jessie_amd64-sysroot/usr/include -O3
-Wno-builtin-macro-redefined -Wall -Werror -Wextra
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing
-Wno-covered-switch-default -Wno-unneeded-internal-declaration
-Wno-inconsistent-missing-override -Wno-undefined-var-template
-Wno-nonportable-include-path -Wno-address-of-packed-member
-Wno-unused-lambda-capture -Wno-user-defined-warnings -Wheader-hygiene
-Wstring-conversion -Wtautological-overlap-compare -Wsign-compare
-Winconsistent-missing-override -Wshorten-64-to-32
-Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=gnu++11
-fdeprecated-macro -fdebug-compilation-dir /home/user/chromium/src/out/my_build
-ferror-limit 19 -fmessage-length 0 -fvisibility hidden
-fvisibility-inlines-hidden -pthread -stack-protector 1
-stack-protector-buffer-size 4 -fno-rtti -fobjc-runtime=gcc
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp
-load ../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so
-add-plugin find-bad-constructs -plugin-arg-find-bad-constructs
check-auto-raw-pointer -plugin-arg-find-bad-constructs check-ipc -o
obj/v8/v8_base/wasm-compiler.o -x c++ ../../v8/src/compiler/wasm-compiler.cc 
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'CallGraph Pass Manager' on module
'../../v8/src/compiler/wasm-compiler.cc'.
4.      Running pass 'Combine redundant instructions' on function
'@_ZN2v88internal8compiler16WasmGraphBuilder17BuildI32AsmjsRemSEPNS1_4NodeES4_'
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 5.0.0 (trunk 303910)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir:
/home/user/chromium/src/out/my_build/../../third_party/llvm-build/Release+Asserts/bin
clang: 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: note: diagnostic msg: 
********************

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

********************
[17693/28773] CXX obj/v8/v8_base/hydrogen-environment-liveness.o
ninja: build stopped: subcommand failed.

-- 
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/20170531/6889c517/attachment-0001.html>


More information about the llvm-bugs mailing list