Skip to content

Engine coverage builds fails on Mac. #27144

@chinmaygarde

Description

@chinmaygarde

Host debug unoptimized builds are failing on the Mac with the following compiler crash and backtrace while attempting to compile compilation_trace.cc

Crash:

[36/204] CXX obj/third_party/dart/runtime/vm/libdart_vm_nosnapshot_with_precompiler.compilation_trace.o
FAILED: obj/third_party/dart/runtime/vm/libdart_vm_nosnapshot_with_precompiler.compilation_trace.o 
/Users/chinmaygarde/goma/gomacc ../../buildtools/mac-x64/clang/bin/clang++ -MMD -MF obj/third_party/dart/runtime/vm/libdart_vm_nosnapshot_with_precompiler.compilation_trace.o.d -DUSE_OPENSSL=1 -DNO_TCMALLOC -DTOOLCHAIN_VERSION=bac220c15490dcf7b7d8136f75100bbc77e8d217 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -D_DEBUG -DTARGET_ARCH_X64 -DNDEBUG -DTARGET_OS_MACOS -DDART_NO_SNAPSHOT -DDART_PRECOMPILER -I../../third_party/dart/runtime -I../.. -Igen -I../../third_party/dart/runtime/include -isysroot /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12   -fno-strict-aliasing -fstack-protector-all -arch x86_64 -fcolor-diagnostics -Wall -Wextra -Wendif-labels -Werror -Wno-missing-field-initializers -Wno-unused-parameter -Wunguarded-availability -fvisibility=hidden -stdlib=libc++ -Wheader-hygiene -Wstring-conversion -Wthread-safety -O0 -g2 -Werror -Wall -Wextra -Wno-unused-parameter -Wnon-virtual-dtor -Wvla -Wno-conversion-null -Woverloaded-virtual -Wno-comments -g3 -ggdb3 -fno-rtti -fno-exceptions -O3 -fvisibility-inlines-hidden -std=c++14 -fno-rtti -fno-exceptions -fprofile-instr-generate -fcoverage-mapping -c ../../third_party/dart/runtime/vm/compilation_trace.cc -o obj/third_party/dart/runtime/vm/libdart_vm_nosnapshot_with_precompiler.compilation_trace.o
Assertion failed: (SpellingRegion(SM, Region).isInSourceOrder()), function popRegions, file /b/s/w/ir/kitchen-workdir/llvm-project/clang/lib/CodeGen/CoverageMappingGen.cpp, line 592.
clang-8: error: unable to execute command: Abort trap: 6
clang-8: error: clang frontend command failed due to signal (use -v to see invocation)
Fuchsia clang version 8.0.0  (based on LLVM 8.0.0svn)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Users/chinmaygarde/VersionControlled/engine/src/out/host_debug_unopt/../../buildtools/mac-x64/clang/bin
clang-8: 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-8: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-8: note: diagnostic msg: /var/folders/35/zt2fc8vj1js29_gmnvwwrl5w009h5t/T/compilation_trace-7d4e4b.cpp
clang-8: note: diagnostic msg: /var/folders/35/zt2fc8vj1js29_gmnvwwrl5w009h5t/T/compilation_trace-7d4e4b.sh
clang-8: note: diagnostic msg: /var/folders/35/zt2fc8vj1js29_gmnvwwrl5w009h5t/T/compilation_trace-7d4e4b.crash
clang-8: note: diagnostic msg: 

********************

Trace: Attached

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: contributor-productivityTeam-specific productivity, code health, technical debt.engineflutter/engine related. See also e: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions