[llvm-bugs] [Bug 30976] New: Regression: Assertion `!isa<Instruction>(StartV) || SE.DT.properlyDominates(cast<Instruction>(StartV)->getParent(), L->getHeader())' failed when building chromium

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 10 08:34:54 PST 2016


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

            Bug ID: 30976
           Summary: Regression: Assertion `!isa<Instruction>(StartV) ||
                    SE.DT.properlyDominates(cast<Instruction>(StartV)->get
                    Parent(), L->getHeader())' failed when building
                    chromium
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Global Analyses
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

FAILED: obj/third_party/freetype2/freetype2/sfnt.o 
../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF
obj/third_party/freetype2/freetype2/sfnt.o.d -DFT_CONFIG_OPTION_SYSTEM_ZLIB
-DFT2_BUILD_LIBRARY -DFT_CONFIG_CONFIG_H=\<ftconfig.h\>
-DFT_CONFIG_MODULES_H=\<ftmodule.h\> -DV8_DEPRECATION_WARNINGS
-DENABLE_NOTIFICATIONS -DENABLE_PLUGINS=1 -DENABLE_PDF=1 -DENABLE_SPELLCHECK=1
-DUSE_UDEV -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1
-DUSE_CAIRO=1 -DUSE_CLIPBOARD_AURAX11=1 -DUSE_DEFAULT_RENDER_THEME=1
-DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DENABLE_WEBRTC=1
-DENABLE_EXTENSIONS=1 -DENABLE_TASK_MANAGER=1 -DENABLE_THEMES=1
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -DFIELDTRIAL_TESTING_ENABLED
-DCR_CLANG_REVISION=286461 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -DCOMPONENT_BUILD -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../.. -Igen
-I../../third_party/freetype2/include -I../../third_party/freetype2/src/include
-I../../third_party/zlib -fno-strict-aliasing --param=ssp-buffer-size=4
-fstack-protector -funwind-tables -fPIC -pipe
-B../../third_party/binutils/Linux_x64/Release/bin -fcolor-diagnostics
-fdebug-prefix-map=/b/c/b/ClangToTLinux/src=. -pthread -m64 -march=x86-64 -O2
-fno-ident -fdata-sections -ffunction-sections -g2
--sysroot=../../build/linux/debian_wheezy_amd64-sysroot -fvisibility=hidden
-Wheader-hygiene -Wstring-conversion -Werror -Wall -Wno-unused-variable
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing
-Wno-covered-switch-default -Wno-deprecated-register
-Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override
-Wno-shift-negative-value -Wno-undefined-var-template
-Wno-nonportable-include-path -Wno-address-of-packed-member  -c
../../third_party/freetype2/src/src/sfnt/sfnt.c -o
obj/third_party/freetype2/freetype2/sfnt.o
clang-4.0:
/b/c/b/ClangToTLinux/src/third_party/llvm/lib/Analysis/ScalarEvolutionExpander.cpp:1201:
llvm::PHINode* llvm::SCEVExpander::getAddRecExprPHILiterally(const
llvm::SCEVAddRecExpr*, const llvm::Loop*, llvm::Type*, llvm::Type*,
llvm::Type*&, bool&): Assertion `!isa<Instruction>(StartV) ||
SE.DT.properlyDominates(cast<Instruction>(StartV)->getParent(),
L->getHeader())' failed.
#0 0x0000000001af0f15 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x1af0f15)
#1 0x0000000001aeef2e llvm::sys::RunSignalHandlers()
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x1aeef2e)
#2 0x0000000001aef092
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x1aef092)
#3 0x00007f4f7bc07cb0 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0xfcb0)
#4 0x00007f4f7a811035 gsignal
/build/eglibc-oqps9y/eglibc-2.15/signal/../nptl/sysdeps/unix/sysv/linux/raise.c:64:0
#5 0x00007f4f7a81479b abort
/build/eglibc-oqps9y/eglibc-2.15/stdlib/abort.c:93:0
#6 0x00007f4f7a809e1e __assert_fail_base
/build/eglibc-oqps9y/eglibc-2.15/assert/assert.c:55:0
#7 0x00007f4f7a809ec2 (/lib/x86_64-linux-gnu/libc.so.6+0x2eec2)
#8 0x0000000001387e25
llvm::SCEVExpander::getAddRecExprPHILiterally(llvm::SCEVAddRecExpr const*,
llvm::Loop const*, llvm::Type*, llvm::Type*, llvm::Type*&, bool&)
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x1387e25)
#9 0x00000000013880dc
llvm::SCEVExpander::expandAddRecExprLiterally(llvm::SCEVAddRecExpr const*)
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x13880dc)
#10 0x00000000013896fd llvm::SCEVExpander::visitAddRecExpr(llvm::SCEVAddRecExpr
const*)
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x13896fd)
#11 0x0000000001384b4c llvm::SCEVExpander::expand(llvm::SCEV const*)
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x1384b4c)
#12 0x0000000001384c46 llvm::SCEVExpander::expandCodeFor(llvm::SCEV const*,
llvm::Type*)
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x1384c46)
#13 0x00000000019dfc5c
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x19dfc5c)
#14 0x00000000019ef8ea
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x19ef8ea)
#15 0x00000000019f016d
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x19f016d)
#16 0x00000000024cb057 llvm::LPPassManager::runOnFunction(llvm::Function&)
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x24cb057)
#17 0x0000000001739863 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x1739863)
#18 0x000000000173990c llvm::FPPassManager::runOnModule(llvm::Module&)
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x173990c)
#19 0x000000000173a13f llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x173a13f)
#20 0x0000000001c6f0ec
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x1c6f0ec)
#21 0x0000000001c70dc4 clang::EmitBackendOutput(clang::DiagnosticsEngine&,
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> >)
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x1c70dc4)
#22 0x00000000022d0f10
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x22d0f10)
#23 0x00000000027866e2 clang::ParseAST(clang::Sema&, bool, bool)
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x27866e2)
#24 0x00000000022cc07b clang::CodeGenAction::ExecuteAction()
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x22cc07b)
#25 0x0000000001fc3656 clang::FrontendAction::Execute()
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x1fc3656)
#26 0x0000000001f9c686
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x1f9c686)
#27 0x000000000205c95a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x205c95a)
#28 0x000000000082c498 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*)
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x82c498)
#29 0x00000000007cf46f main
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x7cf46f)
#30 0x00007f4f7a7fc7ed __libc_start_main
/build/eglibc-oqps9y/eglibc-2.15/csu/libc-start.c:258:0
#31 0x0000000000828411 _start
(/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0+0x828411)
Stack dump:
0.    Program arguments:
/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/clang-4.0
-cc1 -triple x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name
sfnt.c -mrelocation-model pic -pic-level 2 -mthread-model posix
-relaxed-aliasing -fmath-errno -masm-verbose -mconstructor-aliases
-munwind-tables -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
/b/c/b/ClangToTLinux/src/out/Release/obj/third_party/freetype2/freetype2/sfnt.gcno
-resource-dir
/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/4.0.0
-dependency-file obj/third_party/freetype2/freetype2/sfnt.o.d -MT
obj/third_party/freetype2/freetype2/sfnt.o -D FT_CONFIG_OPTION_SYSTEM_ZLIB -D
FT2_BUILD_LIBRARY -D FT_CONFIG_CONFIG_H=<ftconfig.h> -D
FT_CONFIG_MODULES_H=<ftmodule.h> -D V8_DEPRECATION_WARNINGS -D
ENABLE_NOTIFICATIONS -D ENABLE_PLUGINS=1 -D ENABLE_PDF=1 -D ENABLE_SPELLCHECK=1
-D USE_UDEV -D UI_COMPOSITOR_IMAGE_TRANSPORT -D USE_AURA=1 -D USE_PANGO=1 -D
USE_CAIRO=1 -D USE_CLIPBOARD_AURAX11=1 -D USE_DEFAULT_RENDER_THEME=1 -D
USE_GLIB=1 -D USE_NSS_CERTS=1 -D USE_X11=1 -D ENABLE_WEBRTC=1 -D
ENABLE_EXTENSIONS=1 -D ENABLE_TASK_MANAGER=1 -D ENABLE_THEMES=1 -D
FULL_SAFE_BROWSING -D SAFE_BROWSING_CSD -D SAFE_BROWSING_DB_LOCAL -D
CHROMIUM_BUILD -D ENABLE_MEDIA_ROUTER=1 -D FIELDTRIAL_TESTING_ENABLED -D
CR_CLANG_REVISION=286461 -D _FILE_OFFSET_BITS=64 -D _LARGEFILE_SOURCE -D
_LARGEFILE64_SOURCE -D COMPONENT_BUILD -D NDEBUG -D NVALGRIND -D
DYNAMIC_ANNOTATIONS_ENABLED=0 -I ../.. -I gen -I
../../third_party/freetype2/include -I ../../third_party/freetype2/src/include
-I ../../third_party/zlib -isysroot
../../build/linux/debian_wheezy_amd64-sysroot -internal-isystem
../../build/linux/debian_wheezy_amd64-sysroot/usr/local/include
-internal-isystem
/b/c/b/ClangToTLinux/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/4.0.0/include
-internal-externc-isystem
../../build/linux/debian_wheezy_amd64-sysroot/usr/include/x86_64-linux-gnu
-internal-externc-isystem ../../build/linux/debian_wheezy_amd64-sysroot/include
-internal-externc-isystem
../../build/linux/debian_wheezy_amd64-sysroot/usr/include -O2 -Wheader-hygiene
-Wstring-conversion -Werror -Wall -Wno-unused-variable
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing
-Wno-covered-switch-default -Wno-deprecated-register
-Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override
-Wno-shift-negative-value -Wno-undefined-var-template
-Wno-nonportable-include-path -Wno-address-of-packed-member
-fdebug-compilation-dir /b/c/b/ClangToTLinux/src/out/Release
-fdebug-prefix-map=/b/c/b/ClangToTLinux/src=. -ferror-limit 19 -fmessage-length
0 -fvisibility hidden -pthread -stack-protector 1 -stack-protector-buffer-size
4 -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics
-vectorize-loops -vectorize-slp -o obj/third_party/freetype2/freetype2/sfnt.o
-x c ../../third_party/freetype2/src/src/sfnt/sfnt.c 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module
'../../third_party/freetype2/src/src/sfnt/sfnt.c'.
4.    Running pass 'Loop Pass Manager' on function '@tt_cmap4_char_map_binary'
5.    Running pass 'Loop Strength Reduction' on basic block '%for.body'
clang-4.0: error: unable to execute command: Aborted (core dumped)
clang-4.0: error: clang frontend command failed due to signal (use -v to see
invocation)


I don't have a repro locally, but all our 64-bit O2 bots are red (linux mac
android windows), so it's probably fairly easy to trigger.

-- 
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/20161110/d23982c0/attachment-0001.html>


More information about the llvm-bugs mailing list