[llvm-bugs] [Bug 34073] New: Regression(310047:310059): clang crashes compiling chrome/ios

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 4 13:17:08 PDT 2017


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

            Bug ID: 34073
           Summary: Regression(310047:310059): clang crashes compiling
                    chrome/ios
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Transformation Utilities
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org

[2465/19241] CXX obj/skia/skia/SkColorMatrixFilterRowMajor255.o
FAILED: obj/skia/skia/SkColorMatrixFilterRowMajor255.o 
export
DEVELOPER_DIR=/b/build/slave/ClangToTiOS/build/src/build/ios_files/Xcode.app; 
../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF
obj/skia/skia/SkColorMatrixFilterRowMajor255.o.d -DV8_DEPRECATION_WARNINGS
-DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED
-DCR_CLANG_REVISION=\"310059\" -DCR_XCODE_VERSION=0821 -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -DNS_BLOCK_ASSERTIONS=1
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY
-DSK_HAS_WEBP_LIBRARY -DSK_SUPPORT_GPU=0
-DSK_FREETYPE_MINIMUM_RUNTIME_VERSION=\(\(\(FREETYPE_MAJOR\)\ \*\ 0x01000000\)\
\|\ \(\(FREETYPE_MINOR\)\ \*\ 0x00010000\)\ \|\ \(\(FREETYPE_PATCH\)\ \*\
0x00000100\)\) -DSK_ARM_HAS_NEON -DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -I../..
-Igen -I../../skia/config -I../../skia/ext -I../../third_party/skia/include/c
-I../../third_party/skia/include/config -I../../third_party/skia/include/core
-I../../third_party/skia/include/effects
-I../../third_party/skia/include/encode -I../../third_party/skia/include/gpu
-I../../third_party/skia/include/images -I../../third_party/skia/include/lazy
-I../../third_party/skia/include/pathops -I../../third_party/skia/include/pdf
-I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports
-I../../third_party/skia/include/utils
-I../../third_party/skia/third_party/vulkan
-I../../third_party/skia/include/private
-I../../third_party/skia/include/client/android
-I../../third_party/skia/src/codec -I../../third_party/skia/src/core
-I../../third_party/skia/src/image -I../../third_party/skia/src/images
-I../../third_party/skia/src/opts -I../../third_party/skia/src/pdf
-I../../third_party/skia/src/ports -I../../third_party/skia/src/shaders
-I../../third_party/skia/src/shaders/gradients
-I../../third_party/skia/src/sfnt -I../../third_party/skia/src/utils
-I../../third_party/skia/src/lazy -I../../third_party/skia/include/utils/mac
-I../../third_party/skia/src/effects/gradients -I../../third_party/libwebp/src
-I../../third_party/freetype/include -I../../third_party/freetype/src/include
-I../../third_party/libpng -I../../third_party/zlib -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -fcolor-diagnostics -arch armv7
-fno-omit-frame-pointer -gdwarf-2 -isysroot
/b/build/slave/ClangToTiOS/build/src/build/ios_files/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk
-stdlib=libc++ -miphoneos-version-min=9.0 -fvisibility=hidden -Xclang -load
-Xclang
../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib
-Xclang -add-plugin -Xclang find-bad-constructs -Xclang
-plugin-arg-find-bad-constructs -Xclang check-auto-raw-pointer -Werror -Wall
-Wno-unused-variable -Wundeclared-selector -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 -O2 -std=c++14 -fno-rtti -fno-exceptions
-fvisibility-inlines-hidden -c
../../third_party/skia/src/core/SkColorMatrixFilterRowMajor255.cpp -o
obj/skia/skia/SkColorMatrixFilterRowMajor255.o
Assertion failed: (llvm::all_of(Mask, [&](int M) { return M < (NElts * 2); })
&& "Index out of range"), function getVectorShuffle, file
/b/build/slave/ClangToTiOS/build/src/third_party/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp,
line 1474.
0  clang-6.0                0x0000000107fbeee8
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 40
1  clang-6.0                0x0000000107fbf5e6
llvm::sys::PrintStackTraceOnErrorSignal(llvm::StringRef, bool) + 838
2  libsystem_platform.dylib 0x00007fff9d7bfbba _sigtramp + 26
3  libsystem_platform.dylib 0x00007fff594e83f0 _sigtramp + 3151136848
4  libsystem_c.dylib        0x00007fff9d646420 abort + 129
5  libsystem_c.dylib        0x00007fff9d60d893 basename_r + 0
6  clang-6.0                0x00000001089b16bd
llvm::SelectionDAG::getVectorShuffle(llvm::EVT, llvm::SDLoc const&,
llvm::SDValue, llvm::SDValue, llvm::ArrayRef<int>) + 3069
7  clang-6.0                0x000000010884c8ac
llvm::SelectionDAG::Combine(llvm::CombineLevel, llvm::AAResults*,
llvm::CodeGenOpt::Level) + 342924
8  clang-6.0                0x00000001087ff7d8
llvm::SelectionDAG::Combine(llvm::CombineLevel, llvm::AAResults*,
llvm::CodeGenOpt::Level) + 27320
9  clang-6.0                0x00000001087fab0e
llvm::SelectionDAG::Combine(llvm::CombineLevel, llvm::AAResults*,
llvm::CodeGenOpt::Level) + 7662
10 clang-6.0                0x00000001087f968a
llvm::SelectionDAG::Combine(llvm::CombineLevel, llvm::AAResults*,
llvm::CodeGenOpt::Level) + 2410
11 clang-6.0                0x00000001089e9487
llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 1639
12 clang-6.0                0x00000001089e7ea2
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 9058
13 clang-6.0                0x00000001089e492e
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 2174
14 clang-6.0                0x0000000106aebd34
llvm::createARMISelDag(llvm::ARMBaseTargetMachine&, llvm::CodeGenOpt::Level) +
180
15 clang-6.0                0x0000000107704014
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 180
16 clang-6.0                0x00000001079d8ac3
llvm::FPPassManager::runOnFunction(llvm::Function&) + 547
17 clang-6.0                0x00000001079d8d23
llvm::FPPassManager::runOnModule(llvm::Module&) + 51
18 clang-6.0                0x00000001079d926e
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 958
19 clang-6.0                0x00000001081e72a3
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions
const&, clang::CodeGenOptions const&, clang::TargetOptions const&,
clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*,
clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream,
std::__1::default_delete<llvm::raw_pwrite_stream> >) + 15507
20 clang-6.0                0x0000000108438263
clang::EmitObjAction::EmitObjAction(llvm::LLVMContext*) + 2115
21 clang-6.0                0x000000010870072c
clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) + 44
22 clang-6.0                0x0000000108e7d3c5 clang::ParseAST(clang::Sema&,
bool, bool) + 469
23 clang-6.0                0x00000001086bd29c clang::FrontendAction::Execute()
+ 76
24 clang-6.0                0x0000000108677491
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 1233
25 clang-6.0                0x0000000108723b8a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 4970
26 clang-6.0                0x0000000106717067 cc1_main(llvm::ArrayRef<char
const*>, char const*, void*) + 1399
27 clang-6.0                0x0000000106715713 main + 11939
28 libdyld.dylib            0x00007fff9d5b2255 start + 1
29 libdyld.dylib            0x00000000000000d9 start + 1654972037
Stack dump:
0.      Program arguments:
/b/build/slave/ClangToTiOS/build/src/third_party/llvm-build/Release+Asserts/bin/clang-6.0
-cc1 -triple thumbv7-apple-ios9.0.0 -emit-obj -disable-free -main-file-name
SkColorMatrixFilterRowMajor255.cpp -mrelocation-model pic -pic-level 2
-mthread-model posix -mdisable-fp-elim -relaxed-aliasing -masm-verbose
-faligned-alloc-unavailable -target-cpu generic -target-feature +soft-float-abi
-target-abi apcs-gnu -mfloat-abi soft -target-linker-version 274.1
-dwarf-column-info -debug-info-kind=standalone -dwarf-version=2
-debugger-tuning=lldb -coverage-notes-file
/b/build/slave/ClangToTiOS/build/src/out/Release-iphoneos/obj/skia/skia/SkColorMatrixFilterRowMajor255.gcno
-resource-dir
/b/build/slave/ClangToTiOS/build/src/third_party/llvm-build/Release+Asserts/lib/clang/6.0.0
-dependency-file obj/skia/skia/SkColorMatrixFilterRowMajor255.o.d -MT
obj/skia/skia/SkColorMatrixFilterRowMajor255.o -isysroot
/b/build/slave/ClangToTiOS/build/src/build/ios_files/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk
-D V8_DEPRECATION_WARNINGS -D NO_TCMALLOC -D DISABLE_NACL -D CHROMIUM_BUILD -D
FIELDTRIAL_TESTING_ENABLED -D CR_CLANG_REVISION="310059" -D
CR_XCODE_VERSION=0821 -D NDEBUG -D NVALGRIND -D DYNAMIC_ANNOTATIONS_ENABLED=0
-D NS_BLOCK_ASSERTIONS=1 -D SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -D
SK_HAS_PNG_LIBRARY -D SK_HAS_WEBP_LIBRARY -D SK_SUPPORT_GPU=0 -D
SK_FREETYPE_MINIMUM_RUNTIME_VERSION=(((FREETYPE_MAJOR) * 0x01000000) |
((FREETYPE_MINOR) * 0x00010000) | ((FREETYPE_PATCH) * 0x00000100)) -D
SK_ARM_HAS_NEON -D SK_DEFAULT_FONT_CACHE_LIMIT=20971520 -I ../.. -I gen -I
../../skia/config -I ../../skia/ext -I ../../third_party/skia/include/c -I
../../third_party/skia/include/config -I ../../third_party/skia/include/core -I
../../third_party/skia/include/effects -I ../../third_party/skia/include/encode
-I ../../third_party/skia/include/gpu -I ../../third_party/skia/include/images
-I ../../third_party/skia/include/lazy -I
../../third_party/skia/include/pathops -I ../../third_party/skia/include/pdf -I
../../third_party/skia/include/pipe -I ../../third_party/skia/include/ports -I
../../third_party/skia/include/utils -I
../../third_party/skia/third_party/vulkan -I
../../third_party/skia/include/private -I
../../third_party/skia/include/client/android -I
../../third_party/skia/src/codec -I ../../third_party/skia/src/core -I
../../third_party/skia/src/image -I ../../third_party/skia/src/images -I
../../third_party/skia/src/opts -I ../../third_party/skia/src/pdf -I
../../third_party/skia/src/ports -I ../../third_party/skia/src/shaders -I
../../third_party/skia/src/shaders/gradients -I ../../third_party/skia/src/sfnt
-I ../../third_party/skia/src/utils -I ../../third_party/skia/src/lazy -I
../../third_party/skia/include/utils/mac -I
../../third_party/skia/src/effects/gradients -I ../../third_party/libwebp/src
-I ../../third_party/freetype/include -I ../../third_party/freetype/src/include
-I ../../third_party/libpng -I ../../third_party/zlib -D __DATE__= -D __TIME__=
-D __TIMESTAMP__= -stdlib=libc++ -O2 -Wno-builtin-macro-redefined -Werror -Wall
-Wno-unused-variable -Wundeclared-selector -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 -std=c++14 -fdeprecated-macro
-fdebug-compilation-dir
/b/build/slave/ClangToTiOS/build/src/out/Release-iphoneos -ferror-limit 19
-fmessage-length 0 -fvisibility hidden -fvisibility-inlines-hidden
-stack-protector 1 -stack-protector-buffer-size 4
-fallow-half-arguments-and-returns -fblocks -fno-rtti -fobjc-runtime=ios-9.0.0
-fencode-extended-block-signature -fsjlj-exceptions -fmax-type-align=16
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp
-load
../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib
-add-plugin find-bad-constructs -plugin-arg-find-bad-constructs
check-auto-raw-pointer -o obj/skia/skia/SkColorMatrixFilterRowMajor255.o -x c++
../../third_party/skia/src/core/SkColorMatrixFilterRowMajor255.cpp 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module
'../../third_party/skia/src/core/SkColorMatrixFilterRowMajor255.cpp'.
4.      Running pass 'ARM Instruction Selection' on function
'@_ZNK30SkColorMatrixFilterRowMajor25512makeComposedE5sk_spI13SkColorFilterE'
clang-6.0: error: unable to execute command: Abort trap: 6
clang-6.0: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 6.0.0 (trunk 310059)
Target: arm-apple-darwin16.3.0
Thread model: posix
InstalledDir:
/b/build/slave/ClangToTiOS/build/src/out/Release-iphoneos/../../third_party/llvm-build/Release+Asserts/bin
clang-6.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-6.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-6.0: note: diagnostic msg:
/var/folders/p4/py6nlvcx4fs5s3fg51_pzqmc0000gm/T/SkColorMatrixFilterRowMajor255-58cec4.cpp
clang-6.0: note: diagnostic msg:
/var/folders/p4/py6nlvcx4fs5s3fg51_pzqmc0000gm/T/SkColorMatrixFilterRowMajor255-58cec4.sh
clang-6.0: note: diagnostic msg: Crash backtrace is located in
clang-6.0: note: diagnostic msg:
/Users/chrome-bot/Library/Logs/DiagnosticReports/clang-6.0_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
clang-6.0: note: diagnostic msg: (choose the .crash file that corresponds to
your crash)
clang-6.0: note: diagnostic msg: 
********************

-- 
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/20170804/ccbcf239/attachment-0001.html>


More information about the llvm-bugs mailing list