[llvm-bugs] [Bug 34074] New: Regression(310052:310081): clang crashes compiling chrome for mac/asan

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 4 13:29:41 PDT 2017


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

            Bug ID: 34074
           Summary: Regression(310052:310081): clang crashes compiling
                    chrome for mac/asan
           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

It crashes while building a file from LLVM actually, so this might show up on
bootstrap bots too:

[1/1] CXX
obj/third_party/swiftshader/third_party/LLVM/swiftshader_llvm/ScheduleDAGFast.o
FAILED:
obj/third_party/swiftshader/third_party/LLVM/swiftshader_llvm/ScheduleDAGFast.o 
export DEVELOPER_DIR=/Users/thakis/src/chrome/src/build/mac_files/Xcode.app; 
../../../../llvm-build/bin/clang++ -MMD -MF
obj/third_party/swiftshader/third_party/LLVM/swiftshader_llvm/ScheduleDAGFast.o.d
-DV8_DEPRECATION_WARNINGS -DNO_TCMALLOC -DMEMORY_TOOL_REPLACES_ALLOCATOR
-DMEMORY_SANITIZER_INITIAL_SIZE -DADDRESS_SANITIZER -DDISABLE_NACL
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DCR_CLANG_REVISION=\"307486-1\"
-DCR_XCODE_VERSION=0832 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE=0 -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
-I../../third_party/swiftshader/third_party/LLVM/lib/Target/X86
-I../../third_party/swiftshader/third_party/LLVM/include-osx
-I../../third_party/swiftshader/third_party/LLVM/include -I../.. -Igen
-fno-strict-aliasing -fstack-protector -Wno-builtin-macro-redefined -D__DATE__=
-D__TIME__= -D__TIMESTAMP__= -fcolor-diagnostics -arch x86_64 -Wall -Werror
-Wextra -Wpartial-availability -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 -fno-omit-frame-pointer -gdwarf-2
-fno-standalone-debug -isysroot
../../build/mac_files/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
-mmacosx-version-min=10.9.0 -gline-tables-only -gcolumn-info
-fno-omit-frame-pointer -fsanitize=address
-fno-sanitize-address-use-after-scope -mllvm -asan-globals=0
-fsanitize-blacklist=../../tools/memory/asan/blacklist.txt -fvisibility=hidden
-Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -msse2
-Wno-header-hygiene -Wno-null-dereference -Wno-unused-private-field
-Wno-unused-local-typedef -Wno-attributes -Wno-deprecated-declarations
-Wno-enum-compare -Wno-unused-function -Wno-unused-result -Wno-unused-variable
-std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fvisibility-inlines-hidden
-c
../../third_party/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
-o
obj/third_party/swiftshader/third_party/LLVM/swiftshader_llvm/ScheduleDAGFast.o
Stack dump:
0.      Program arguments: /Users/thakis/src/llvm-build/bin/clang-3.8 -cc1
-triple x86_64-apple-macosx10.9.0 -Wdeprecated-objc-isa-usage
-Werror=deprecated-objc-isa-usage -emit-obj -disable-free -main-file-name
ScheduleDAGFast.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix
-mdisable-fp-elim -relaxed-aliasing -masm-verbose -munwind-tables
-faligned-alloc-unavailable -target-cpu core2 -target-feature +sse2
-target-linker-version 278.4 -dwarf-column-info
-debug-info-kind=line-tables-only -dwarf-version=2 -debugger-tuning=lldb
-coverage-notes-file
/Users/thakis/src/chrome/src/out/gnasan/obj/third_party/swiftshader/third_party/LLVM/swiftshader_llvm/ScheduleDAGFast.gcno
-resource-dir /Users/thakis/src/llvm-build/lib/clang/6.0.0 -dependency-file
obj/third_party/swiftshader/third_party/LLVM/swiftshader_llvm/ScheduleDAGFast.o.d
-MT
obj/third_party/swiftshader/third_party/LLVM/swiftshader_llvm/ScheduleDAGFast.o
-isysroot
../../build/mac_files/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
-D V8_DEPRECATION_WARNINGS -D NO_TCMALLOC -D MEMORY_TOOL_REPLACES_ALLOCATOR -D
MEMORY_SANITIZER_INITIAL_SIZE -D ADDRESS_SANITIZER -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="307486-1" -D
CR_XCODE_VERSION=0832 -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D
__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE=0 -D NDEBUG -D NVALGRIND -D
DYNAMIC_ANNOTATIONS_ENABLED=0 -D __STDC_CONSTANT_MACROS -D __STDC_LIMIT_MACROS
-I ../../third_party/swiftshader/third_party/LLVM/lib/Target/X86 -I
../../third_party/swiftshader/third_party/LLVM/include-osx -I
../../third_party/swiftshader/third_party/LLVM/include -I ../.. -I gen -D
__DATE__= -D __TIME__= -D __TIMESTAMP__= -stdlib=libc++ -O2
-Wno-builtin-macro-redefined -Wall -Werror -Wextra -Wpartial-availability
-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 -Wno-header-hygiene
-Wno-null-dereference -Wno-unused-private-field -Wno-unused-local-typedef
-Wno-attributes -Wno-deprecated-declarations -Wno-enum-compare
-Wno-unused-function -Wno-unused-result -Wno-unused-variable -std=c++11
-fdeprecated-macro -fdebug-compilation-dir
/Users/thakis/src/chrome/src/out/gnasan -ferror-limit 19 -fmessage-length 0
-fvisibility hidden -fvisibility-inlines-hidden -fsanitize=address
-fsanitize-blacklist=../../tools/memory/asan/blacklist.txt
-fdepfile-entry=../../tools/memory/asan/blacklist.txt
-fsanitize-address-globals-dead-stripping -fno-assume-sane-operator-new
-stack-protector 1 -fblocks -fno-rtti -fobjc-runtime=macosx-10.9.0
-fencode-extended-block-signature -fmax-type-align=16 -fdiagnostics-show-option
-fcolor-diagnostics -vectorize-loops -vectorize-slp -mllvm -asan-globals=0 -o
obj/third_party/swiftshader/third_party/LLVM/swiftshader_llvm/ScheduleDAGFast.o
-x c++
../../third_party/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp 
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'CallGraph Pass Manager' on module
'../../third_party/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp'.
4.      Running pass 'Dead Store Elimination' on function
'@_ZN12_GLOBAL__N_115ScheduleDAGFast20ListScheduleBottomUpEv'
clang-3.8: error: unable to execute command: Segmentation fault: 11
clang-3.8: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 6.0.0 (trunk 310081)
Target: x86_64-apple-darwin16.6.0
Thread model: posix
InstalledDir:
/Users/thakis/src/chrome/src/out/gnasan/../../../../llvm-build/bin
clang-3.8: 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-3.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-3.8: note: diagnostic msg:
/var/folders/8l/9f5fzjf51blfh76hsyzp3fvm001mqv/T/ScheduleDAGFast-7c24bc.cpp
clang-3.8: note: diagnostic msg:
/var/folders/8l/9f5fzjf51blfh76hsyzp3fvm001mqv/T/ScheduleDAGFast-7c24bc.sh
clang-3.8: note: diagnostic msg: Crash backtrace is located in
clang-3.8: note: diagnostic msg:
/Users/thakis/Library/Logs/DiagnosticReports/clang-3.8_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
clang-3.8: note: diagnostic msg: (choose the .crash file that corresponds to
your crash)
clang-3.8: note: diagnostic msg: 

********************
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/20170804/4ddafa56/attachment.html>


More information about the llvm-bugs mailing list