tip-of-tree clang asserts in msan build |
|
Issue descriptionFor example, from https://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_msan_rel_ng/builds/802: FAILED: obj/third_party/webrtc/modules/audio_coding/isac_fix_c/pitch_estimator_c.o /b/c/goma_client/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/third_party/webrtc/modules/audio_coding/isac_fix_c/pitch_estimator_c.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DMEMORY_TOOL_REPLACES_ALLOCATOR -DMEMORY_SANITIZER_INITIAL_SIZE -DMEMORY_SANITIZER -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DCR_CLANG_REVISION=\"313138-1\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBRTC_ENABLE_PROTOBUF=1 -DWEBRTC_RESTRICT_LOGGING -DHAVE_SCTP -DENABLE_EXTERNAL_AUTH -DHAVE_WEBRTC_VIDEO -DHAVE_WEBRTC_VOICE -DLOGGING_INSIDE_WEBRTC -DUSE_WEBRTC_DEV_BRANCH -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DFEATURE_ENABLE_VOICEMAIL -DGTEST_RELATIVE_PATH -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -I../.. -Igen -I../../third_party/webrtc_overrides -I../../third_party -I../../third_party -I../../third_party/webrtc/modules/audio_coding/codecs/isac/fix/include -I../../build/linux/debian_jessie_amd64-sysroot/usr/include/glib-2.0 -I../../build/linux/debian_jessie_amd64-sysroot/usr/lib/x86_64-linux-gnu/glib-2.0/include -I../../third_party/webrtc/common_audio/resampler/include -I../../third_party/webrtc/common_audio/signal_processing/include -I../../third_party/webrtc/common_audio/vad/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -B../../third_party/binutils/Linux_x64/Release/bin -pthread -fcolor-diagnostics -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=1 -fdebug-prefix-map=/b/c/b/linux_chromium_msan_rel_ng/src=. -m64 -march=x86-64 -Wall -Werror -Wextra -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 -Wno-enum-compare-switch -Wno-tautological-unsigned-zero-compare -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g1 -gline-tables-only -gcolumn-info -fno-omit-frame-pointer -fsanitize=memory -fsanitize-memory-track-origins=2 -fsanitize-blacklist=../../tools/msan/blacklist.txt -fvisibility=hidden -Xclang -load -Xclang ../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-auto-raw-pointer -Xclang -plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -std=gnu11 --sysroot=../../build/linux/debian_jessie_amd64-sysroot -c ../../third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_estimator_c.c -o obj/third_party/webrtc/modules/audio_coding/isac_fix_c/pitch_estimator_c.o clang: /b/build/slave/linux_upload_clang/build/src/third_party/llvm/include/llvm/ADT/ilist_iterator.h:140: llvm::ilist_iterator::reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed. #0 0x0000000001d951f4 (/b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/bin/clang+0x1d951f4) #1 0x0000000001d95556 (/b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/bin/clang+0x1d95556) #2 0x00007ff63cb48330 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x10330) #3 0x00007ff63b737c37 gsignal /build/eglibc-SvCtMH/eglibc-2.19/signal/../nptl/sysdeps/unix/sysv/linux/raise.c:56:0 #4 0x00007ff63b73b028 abort /build/eglibc-SvCtMH/eglibc-2.19/stdlib/abort.c:91:0 #5 0x00007ff63b730bf6 __assert_fail_base /build/eglibc-SvCtMH/eglibc-2.19/assert/assert.c:92:0 #6 0x00007ff63b730ca2 (/lib/x86_64-linux-gnu/libc.so.6+0x2fca2) #7 0x0000000001645682 llvm::MachineTraceMetrics::Ensemble::updateDepths(llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, llvm::SparseSet<llvm::LiveRegUnit, llvm::identity<unsigned int>, unsigned char>&) (/b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/bin/clang+0x1645682) #8 0x0000000001587f96 (/b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/bin/clang+0x1587f96) #9 0x00000000015b4ca8 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/bin/clang+0x15b4ca8) #10 0x00000000018d7c9f llvm::FPPassManager::runOnFunction(llvm::Function&) (/b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/bin/clang+0x18d7c9f) #11 0x00000000018d7f63 llvm::FPPassManager::runOnModule(llvm::Module&) (/b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/bin/clang+0x18d7f63) #12 0x00000000018d8446 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/bin/clang+0x18d8446) #13 0x0000000001f3206f 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> >) (/b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/bin/clang+0x1f3206f) #14 0x00000000026befe4 (/b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/bin/clang+0x26befe4) #15 0x000000000237d33c clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) (/b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/bin/clang+0x237d33c) #16 0x0000000002bb0176 clang::ParseAST(clang::Sema&, bool, bool) (/b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/bin/clang+0x2bb0176) #17 0x0000000002354610 clang::FrontendAction::Execute() (/b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/bin/clang+0x2354610) #18 0x0000000002301da1 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/bin/clang+0x2301da1) #19 0x00000000023e9d2a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/bin/clang+0x23e9d2a) #20 0x0000000000863d79 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/bin/clang+0x863d79) #21 0x00000000008617a6 main (/b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/bin/clang+0x8617a6) #22 0x00007ff63b722f45 __libc_start_main /build/eglibc-SvCtMH/eglibc-2.19/csu/libc-start.c:321:0 #23 0x000000000085e729 _start (/b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/bin/clang+0x85e729) Stack dump: 0. Program arguments: /b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/bin/clang -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name pitch_estimator_c.c -mrelocation-model pic -pic-level 2 -mthread-model posix -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=line-tables-only -dwarf-version=4 -debugger-tuning=gdb -momit-leaf-frame-pointer -ffunction-sections -fdata-sections -coverage-notes-file /b/c/b/linux_chromium_msan_rel_ng/src/out/Release/obj/third_party/webrtc/modules/audio_coding/isac_fix_c/pitch_estimator_c.gcno -resource-dir /b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/lib/clang/6.0.0 -dependency-file obj/third_party/webrtc/modules/audio_coding/isac_fix_c/pitch_estimator_c.o.d -MT obj/third_party/webrtc/modules/audio_coding/isac_fix_c/pitch_estimator_c.o -D V8_DEPRECATION_WARNINGS -D USE_UDEV -D USE_AURA=1 -D USE_PANGO=1 -D USE_CAIRO=1 -D USE_GLIB=1 -D USE_NSS_CERTS=1 -D USE_X11=1 -D NO_TCMALLOC -D MEMORY_TOOL_REPLACES_ALLOCATOR -D MEMORY_SANITIZER_INITIAL_SIZE -D MEMORY_SANITIZER -D FULL_SAFE_BROWSING -D SAFE_BROWSING_CSD -D SAFE_BROWSING_DB_LOCAL -D CHROMIUM_BUILD -D FIELDTRIAL_TESTING_ENABLED -D CR_CLANG_REVISION="313138-1" -D _FILE_OFFSET_BITS=64 -D _LARGEFILE_SOURCE -D _LARGEFILE64_SOURCE -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D NDEBUG -D NVALGRIND -D DYNAMIC_ANNOTATIONS_ENABLED=0 -D WEBRTC_ENABLE_PROTOBUF=1 -D WEBRTC_RESTRICT_LOGGING -D HAVE_SCTP -D ENABLE_EXTERNAL_AUTH -D HAVE_WEBRTC_VIDEO -D HAVE_WEBRTC_VOICE -D LOGGING_INSIDE_WEBRTC -D USE_WEBRTC_DEV_BRANCH -D WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -D FEATURE_ENABLE_VOICEMAIL -D GTEST_RELATIVE_PATH -D WEBRTC_CHROMIUM_BUILD -D WEBRTC_POSIX -D WEBRTC_LINUX -D GLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -D GLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -I ../.. -I gen -I ../../third_party/webrtc_overrides -I ../../third_party -I ../../third_party -I ../../third_party/webrtc/modules/audio_coding/codecs/isac/fix/include -I ../../build/linux/debian_jessie_amd64-sysroot/usr/include/glib-2.0 -I ../../build/linux/debian_jessie_amd64-sysroot/usr/lib/x86_64-linux-gnu/glib-2.0/include -I ../../third_party/webrtc/common_audio/resampler/include -I ../../third_party/webrtc/common_audio/signal_processing/include -I ../../third_party/webrtc/common_audio/vad/include -D __DATE__= -D __TIME__= -D __TIMESTAMP__= -isysroot ../../build/linux/debian_jessie_amd64-sysroot -internal-isystem ../../build/linux/debian_jessie_amd64-sysroot/usr/local/include -internal-isystem /b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/lib/clang/6.0.0/include -internal-externc-isystem ../../build/linux/debian_jessie_amd64-sysroot/usr/include/x86_64-linux-gnu -internal-externc-isystem ../../build/linux/debian_jessie_amd64-sysroot/include -internal-externc-isystem ../../build/linux/debian_jessie_amd64-sysroot/usr/include -O2 -Wno-builtin-macro-redefined -Wall -Werror -Wextra -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 -Wno-enum-compare-switch -Wno-tautological-unsigned-zero-compare -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -std=gnu11 -fdebug-compilation-dir /b/c/b/linux_chromium_msan_rel_ng/src/out/Release -fdebug-prefix-map=/b/c/b/linux_chromium_msan_rel_ng/src=. -ferror-limit 19 -fmessage-length 0 -fvisibility hidden -fsanitize=memory -fsanitize-blacklist=/b/c/b/linux_chromium_msan_rel_ng/src/third_party/llvm-build/Release+Asserts/lib/clang/6.0.0/msan_blacklist.txt -fsanitize-blacklist=../../tools/msan/blacklist.txt -fdepfile-entry=../../tools/msan/blacklist.txt -fsanitize-memory-track-origins=2 -fno-assume-sane-operator-new -pthread -stack-protector 1 -stack-protector-buffer-size 4 -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -mllvm -instcombine-lower-dbg-declare=1 -load ../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -add-plugin find-bad-constructs -plugin-arg-find-bad-constructs check-auto-raw-pointer -plugin-arg-find-bad-constructs check-ipc -o obj/third_party/webrtc/modules/audio_coding/isac_fix_c/pitch_estimator_c.o -x c ../../third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_estimator_c.c 1. <eof> parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module '../../third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_estimator_c.c'. 4. Running pass 'Machine InstCombiner' on function '@WebRtcIsacfix_PCorr2Q32' 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 6.0.0 (trunk 313138) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /b/c/b/linux_chromium_msan_rel_ng/src/out/Release/../../third_party/llvm-build/Release+Asserts/bin clang: note: diagnostic msg: PLEASE submit a bu
,
Sep 13 2017
,
Sep 13 2017
|
|
►
Sign in to add a comment |
|
Comment 1 by h...@chromium.org
, Sep 13 201710.9 KB
10.9 KB View Download
431 KB
431 KB View Download