New issue
Advanced search Search tips

Issue 898152 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 23
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocking:
issue 894363



Sign in to add a comment

tot clang builds failing with "Could not use a debug instruction to query mi2iMap."

Project Member Reported by h...@chromium.org, Oct 23

Issue description

Probably due to r345009


From here: https://ci.chromium.org/buildbot/chromium.clang/ToTLinux/4181


FAILED: obj/third_party/blink/renderer/platform/wtf/wtf/string_to_number.o 
../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/third_party/blink/renderer/platform/wtf/wtf/string_to_number.o.d -DWTF_IMPLEMENTATION=1 -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DCR_CLANG_REVISION=\"345022\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DCOMPONENT_BUILD -DCR_LIBCXX_REVISION=344254 -DCR_LIBCXXABI_REVISION=344215 -D_LIBCPP_ENABLE_NODISCARD -DCR_SYSROOT_HASH=e7c53f04bd88d29d075bfd1f62b073aeb69cbe09 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWTF_USE_WEBAUDIO_FFMPEG=1 -DSUPPORT_WEBGL2_COMPUTE_CONTEXT=1 -DWTF_USE_DEFAULT_RENDER_THEME=1 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -I../.. -Igen -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -B../../third_party/binutils/Linux_x64/Release/bin -pthread -fcolor-diagnostics -fmerge-all-constants -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -no-canonical-prefixes -fcomplete-member-pointers -m64 -march=x86-64 -Wall -Werror -Wextra -Wimplicit-fallthrough -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-null-pointer-arithmetic -Wno-ignored-pragma-optimize -Wno-defaulted-function-deleted -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wglobal-constructors -g2 -ggnu-pubnames -Wno-shorten-64-to-32 -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/glib-2.0 -isystem../../build/linux/debian_sid_amd64-sysroot/usr/lib/x86_64-linux-gnu/glib-2.0/include -std=c++14 -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include --sysroot=../../build/linux/debian_sid_amd64-sysroot -fvisibility-inlines-hidden -c ../../third_party/blink/renderer/platform/wtf/text/string_to_number.cc -o obj/third_party/blink/renderer/platform/wtf/wtf/string_to_number.o
clang++: /b/c/b/ToTLinux/src/third_party/llvm/include/llvm/CodeGen/SlotIndexes.h:422: llvm::SlotIndex llvm::SlotIndexes::getInstructionIndex(const llvm::MachineInstr&) const: Assertion `!BundleNonDebug.isDebugInstr() && "Could not use a debug instruction to query mi2iMap."' failed.
Stack dump:
0.	Program arguments: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name string_to_number.cc -mrelocation-model pic -pic-level 2 -mthread-model posix -fmerge-all-constants -mdisable-fp-elim -relaxed-aliasing -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -ggnu-pubnames -momit-leaf-frame-pointer -ffunction-sections -fdata-sections -coverage-notes-file /b/c/b/ToTLinux/src/out/Release/obj/third_party/blink/renderer/platform/wtf/wtf/string_to_number.gcno -nostdinc++ -resource-dir ../../third_party/llvm-build/Release+Asserts/lib/clang/8.0.0 -dependency-file obj/third_party/blink/renderer/platform/wtf/wtf/string_to_number.o.d -MT obj/third_party/blink/renderer/platform/wtf/wtf/string_to_number.o -isystem ../../build/linux/debian_sid_amd64-sysroot/usr/include/glib-2.0 -isystem ../../build/linux/debian_sid_amd64-sysroot/usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem ../../buildtools/third_party/libc++/trunk/include -isystem ../../buildtools/third_party/libc++abi/trunk/include -D WTF_IMPLEMENTATION=1 -D V8_DEPRECATION_WARNINGS -D USE_UDEV -D USE_AURA=1 -D USE_GLIB=1 -D USE_NSS_CERTS=1 -D USE_X11=1 -D FULL_SAFE_BROWSING -D SAFE_BROWSING_CSD -D SAFE_BROWSING_DB_LOCAL -D CHROMIUM_BUILD -D FIELDTRIAL_TESTING_ENABLED -D _FILE_OFFSET_BITS=64 -D _LARGEFILE_SOURCE -D _LARGEFILE64_SOURCE -D _GNU_SOURCE -D CR_CLANG_REVISION="345022" -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D COMPONENT_BUILD -D CR_LIBCXX_REVISION=344254 -D CR_LIBCXXABI_REVISION=344215 -D _LIBCPP_ENABLE_NODISCARD -D CR_SYSROOT_HASH=e7c53f04bd88d29d075bfd1f62b073aeb69cbe09 -D NDEBUG -D NVALGRIND -D DYNAMIC_ANNOTATIONS_ENABLED=0 -D WTF_USE_WEBAUDIO_FFMPEG=1 -D SUPPORT_WEBGL2_COMPUTE_CONTEXT=1 -D WTF_USE_DEFAULT_RENDER_THEME=1 -D GLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -D GLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -D U_USING_ICU_NAMESPACE=0 -D U_ENABLE_DYLOAD=0 -D USE_CHROMIUM_ICU=1 -D ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -D UCHAR_TYPE=uint16_t -I ../.. -I gen -I ../../third_party/icu/source/common -I ../../third_party/icu/source/i18n -D __DATE__= -D __TIME__= -D __TIMESTAMP__= -isysroot ../../build/linux/debian_sid_amd64-sysroot -internal-isystem ../../build/linux/debian_sid_amd64-sysroot/usr/local/include -internal-isystem ../../third_party/llvm-build/Release+Asserts/lib/clang/8.0.0/include -internal-externc-isystem ../../build/linux/debian_sid_amd64-sysroot/usr/include/x86_64-linux-gnu -internal-externc-isystem ../../build/linux/debian_sid_amd64-sysroot/include -internal-externc-isystem ../../build/linux/debian_sid_amd64-sysroot/usr/include -O2 -Wno-builtin-macro-redefined -Wall -Werror -Wextra -Wimplicit-fallthrough -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-null-pointer-arithmetic -Wno-ignored-pragma-optimize -Wno-defaulted-function-deleted -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wglobal-constructors -Wno-shorten-64-to-32 -std=c++14 -fdeprecated-macro -fdebug-compilation-dir /b/c/b/ToTLinux/src/out/Release -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 -Qn -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -mllvm -instcombine-lower-dbg-declare=0 -o obj/third_party/blink/renderer/platform/wtf/wtf/string_to_number.o -x c++ ../../third_party/blink/renderer/platform/wtf/text/string_to_number.cc -fcomplete-member-pointers -faddrsig 
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '../../third_party/blink/renderer/platform/wtf/text/string_to_number.cc'.
4.	Running pass 'Greedy Register Allocator' on function '@_ZN3WTFL14ToIntegralTypeIjhLi10EEET_PKT0_mNS_20NumberParsingOptionsEPNS_19NumberParsingResultE'
#0 0x0000000002532fea llvm::sys::PrintStackTrace(llvm::raw_ostream&) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2532fea)
#1 0x0000000002531509 llvm::sys::RunSignalHandlers() (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2531509)
#2 0x0000000002531645 SignalHandler(int) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2531645)
#3 0x00007f14278d4330 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x10330)
#4 0x00007f14268f4c37 gsignal /build/eglibc-ripdx6/eglibc-2.19/signal/../nptl/sysdeps/unix/sysv/linux/raise.c:56:0
#5 0x00007f14268f8028 abort /build/eglibc-ripdx6/eglibc-2.19/stdlib/abort.c:91:0
#6 0x00007f14268edbf6 __assert_fail_base /build/eglibc-ripdx6/eglibc-2.19/assert/assert.c:92:0
#7 0x00007f14268edca2 (/lib/x86_64-linux-gnu/libc.so.6+0x2fca2)
#8 0x0000000000ea1e8f llvm::SlotIndexes::getInstructionIndex(llvm::MachineInstr const&) const (../../third_party/llvm-build/Release+Asserts/bin/clang+++0xea1e8f)
#9 0x0000000001f160a8 (anonymous namespace)::RAGreedy::growRegion((anonymous namespace)::RAGreedy::GlobalSplitCandidate&) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x1f160a8)
#10 0x0000000001f1f1ff (anonymous namespace)::RAGreedy::calculateRegionSplitCost(llvm::LiveInterval&, llvm::AllocationOrder&, llvm::BlockFrequency&, unsigned int&, bool, bool*) (.isra.571) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x1f1f1ff)
#11 0x0000000001f20083 (anonymous namespace)::RAGreedy::tryRegionSplit(llvm::LiveInterval&, llvm::AllocationOrder&, llvm::SmallVectorImpl<unsigned int>&) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x1f20083)
#12 0x0000000001f23a21 (anonymous namespace)::RAGreedy::selectOrSplitImpl(llvm::LiveInterval&, llvm::SmallVectorImpl<unsigned int>&, llvm::SmallSet<unsigned int, 16u, std::less<unsigned int> >&, unsigned int) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x1f23a21)
#13 0x0000000001f249a7 (anonymous namespace)::RAGreedy::selectOrSplit(llvm::LiveInterval&, llvm::SmallVectorImpl<unsigned int>&) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x1f249a7)
#14 0x0000000001f6056e llvm::RegAllocBase::allocatePhysRegs() (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x1f6056e)
#15 0x0000000001f1db7d (anonymous namespace)::RAGreedy::runOnMachineFunction(llvm::MachineFunction&) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x1f1db7d)
#16 0x0000000001cf7e3e llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.88) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x1cf7e3e)
#17 0x000000000204159f llvm::FPPassManager::runOnFunction(llvm::Function&) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x204159f)
#18 0x00000000020417cc llvm::FPPassManager::runOnModule(llvm::Module&) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x20417cc)
#19 0x0000000002041ee3 llvm::legacy::PassManagerImpl::run(llvm::Module&) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2041ee3)
#20 0x00000000026e4496 (anonymous namespace)::EmitAssemblyHelper::EmitAssembly(clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream> >) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x26e4496)
#21 0x00000000026e649b 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> >) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x26e649b)
#22 0x0000000002e9380b clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2e9380b)
#23 0x000000000363690c clang::ParseAST(clang::Sema&, bool, bool) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x363690c)
#24 0x0000000002e92e2f clang::CodeGenAction::ExecuteAction() (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2e92e2f)
#25 0x0000000002b20716 clang::FrontendAction::Execute() (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2b20716)
#26 0x0000000002af54fe clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2af54fe)
#27 0x0000000002bbf872 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2bbf872)
#28 0x0000000000c83728 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0xc83728)
#29 0x0000000000c01716 main (../../third_party/llvm-build/Release+Asserts/bin/clang+++0xc01716)
#30 0x00007f14268dff45 __libc_start_main /build/eglibc-ripdx6/eglibc-2.19/csu/libc-start.c:321:0
#31 0x0000000000c7e0f9 _start (../../third_party/llvm-build/Release+Asserts/bin/clang+++0xc7e0f9)
clang++: error: unable to execute command: Aborted (core dumped)
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 8.0.0 (trunk 345022)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: ../../third_party/llvm-build/Release+Asserts/bin
clang++: 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++: 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/string_to_number-041c3b.cpp
clang++: note: diagnostic msg: /tmp/string_to_number-041c3b.sh
clang++: note: diagnostic msg: 

********************
 
Attaching the repro.
string_to_number-fd85cf.sh
10.0 KB View Download
string_to_number-fd85cf.cpp
5.8 MB View Download
Status: Fixed (was: Untriaged)
Reverted in r345026.

Sign in to add a comment