https://llvm.org/bugs/show_bug.cgi?id=25939
Bug ID: 25939 Summary: Regression(256332:256344): Assertion `use_empty() && "Uses remain when a value is destroyed!"' failed while building chrome Product: libraries Version: trunk Hardware: PC OS: All Status: NEW Severity: normal Priority: P Component: Transformation Utilities Assignee: unassignedb...@nondot.org Reporter: nicolaswe...@gmx.de CC: llvm-bugs@lists.llvm.org Classification: Unclassified All our clang tot bots are red with FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/third_party/libvpx_new/source/libvpx/vp8/common/libvpx_new.vp8_loopfilter.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=256344 -DCOMPONENT_BUILD -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../../third_party/libvpx_new/source/config/linux/x64 -I../../third_party/libvpx_new/source/config -I../../third_party/libvpx_new/source/libvpx -I../../third_party/libvpx_new/source/libvpx/vp8/common -I../../third_party/libvpx_new/source/libvpx/vp8/decoder -I../../third_party/libvpx_new/source/libvpx/vp8/encoder -Igen/third_party/libvpx_new -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-reserved-user-defined-literal -fcolor-diagnostics -g -B/b/build/slave/ClangToTLinux/build/src/third_party/binutils/Linux_x64/Release/bin -Wno-conversion -Wno-parentheses-equality -Wno-unused-function -Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-bitfield-width -Wno-unused-variable -Wno-format -Wno-unused-result -m64 -march=x86-64 --sysroot=/b/build/slave/ClangToTLinux/build/src/build/linux/debian_wheezy_amd64-sysroot -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -c ../../third_party/libvpx_new/source/libvpx/vp8/common/vp8_loopfilter.c -o obj/third_party/libvpx_new/source/libvpx/vp8/common/libvpx_new.vp8_loopfilter.o While deleting: i8 % Use still stuck around after Def is destroyed: call void @llvm.memset.p0i8.i64(i8* %scevgep, i8 <badref>, i64 64, i32 16, i1 false), !dbg !766 clang-3.8: /b/build/slave/ClangToTLinux/build/src/third_party/llvm/lib/IR/Value.cpp:82: virtual llvm::Value::~Value(): Assertion `use_empty() && "Uses remain when a value is destroyed!"' failed. 0 clang-3.8 0x000000000194ae35 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37 1 clang-3.8 0x0000000001948bc6 llvm::sys::RunSignalHandlers() + 54 2 clang-3.8 0x0000000001948df1 3 libc.so.6 0x00007f3935904150 4 libc.so.6 0x00007f39359040d5 gsignal + 53 5 libc.so.6 0x00007f393590783b abort + 379 6 libc.so.6 0x00007f39358fcd9e 7 libc.so.6 0x00007f39358fce42 8 clang-3.8 0x000000000161ba8f 9 clang-3.8 0x00000000015c8cd7 10 clang-3.8 0x00000000014ce3fc llvm::BasicBlock::~BasicBlock() + 140 11 clang-3.8 0x00000000014ce5b9 llvm::BasicBlock::~BasicBlock() + 9 12 clang-3.8 0x00000000014ccc12 llvm::BasicBlock::eraseFromParent() + 114 13 clang-3.8 0x000000000181c079 14 clang-3.8 0x000000000211b8d7 llvm::LPPassManager::runOnFunction(llvm::Function&) + 1607 15 clang-3.8 0x00000000015f25e3 llvm::FPPassManager::runOnFunction(llvm::Function&) + 643 16 clang-3.8 0x00000000020fe910 17 clang-3.8 0x00000000015f2caf llvm::legacy::PassManagerImpl::run(llvm::Module&) + 751 18 clang-3.8 0x0000000001a78d59 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_pwrite_stream*, std::unique_ptr<llvm::FunctionInfoIndex, std::default_delete<llvm::FunctionInfoIndex> >) + 2185 19 clang-3.8 0x0000000002019603 20 clang-3.8 0x00000000023bfb2b clang::ParseAST(clang::Sema&, bool, bool) + 571 21 clang-3.8 0x000000000201981b clang::CodeGenAction::ExecuteAction() + 59 22 clang-3.8 0x0000000001d608c6 clang::FrontendAction::Execute() + 534 23 clang-3.8 0x0000000001d3d02e clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 318 24 clang-3.8 0x0000000001df0a5a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2090 25 clang-3.8 0x0000000000770748 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 2392 26 clang-3.8 0x000000000072f244 main + 6148 27 libc.so.6 0x00007f39358ef76d __libc_start_main + 237 28 clang-3.8 0x000000000076c7a5 Stack dump: 0. Program arguments: /b/build/slave/ClangToTLinux/build/src/third_party/llvm-build/Release+Asserts/bin/clang-3.8 -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name vp8_loopfilter.c -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -momit-leaf-frame-pointer -dwarf-column-info -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -ffunction-sections -fdata-sections -coverage-file /b/build/slave/ClangToTLinux/build/src/out/Release/obj/third_party/libvpx_new/source/libvpx/vp8/common/libvpx_new.vp8_loopfilter.o -resource-dir /b/build/slave/ClangToTLinux/build/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0 -dependency-file obj/third_party/libvpx_new/source/libvpx/vp8/common/libvpx_new.vp8_loopfilter.o.d -MT obj/third_party/libvpx_new/source/libvpx/vp8/common/libvpx_new.vp8_loopfilter.o -D V8_DEPRECATION_WARNINGS -D CLD_VERSION=2 -D _FILE_OFFSET_BITS=64 -D CHROMIUM_BUILD -D CR_CLANG_REVISION=256344 -D COMPONENT_BUILD -D UI_COMPOSITOR_IMAGE_TRANSPORT -D USE_AURA=1 -D USE_ASH=1 -D USE_PANGO=1 -D USE_CAIRO=1 -D USE_DEFAULT_RENDER_THEME=1 -D USE_LIBJPEG_TURBO=1 -D USE_X11=1 -D USE_CLIPBOARD_AURAX11=1 -D ENABLE_ONE_CLICK_SIGNIN -D ENABLE_WEBRTC=1 -D ENABLE_MEDIA_ROUTER=1 -D ENABLE_PEPPER_CDMS -D ENABLE_CONFIGURATION_POLICY -D ENABLE_NOTIFICATIONS -D ENABLE_HIDPI=1 -D ENABLE_TOPCHROME_MD=1 -D USE_UDEV -D DONT_EMBED_BUILD_METADATA -D FIELDTRIAL_TESTING_ENABLED -D ENABLE_TASK_MANAGER=1 -D ENABLE_EXTENSIONS=1 -D ENABLE_PDF=1 -D ENABLE_PLUGINS=1 -D ENABLE_SESSION_SERVICE=1 -D ENABLE_THEMES=1 -D ENABLE_AUTOFILL_DIALOG=1 -D ENABLE_BACKGROUND=1 -D ENABLE_PRINTING=1 -D ENABLE_BASIC_PRINTING=1 -D ENABLE_PRINT_PREVIEW=1 -D ENABLE_SPELLCHECK=1 -D ENABLE_CAPTIVE_PORTAL_DETECTION=1 -D ENABLE_APP_LIST=1 -D ENABLE_SETTINGS_APP=1 -D ENABLE_SUPERVISED_USERS=1 -D ENABLE_MDNS=1 -D ENABLE_SERVICE_DISCOVERY=1 -D V8_USE_EXTERNAL_STARTUP_DATA -D FULL_SAFE_BROWSING -D SAFE_BROWSING_CSD -D SAFE_BROWSING_DB_LOCAL -D USE_LIBPCI=1 -D USE_OPENSSL=1 -D USE_GLIB=1 -D USE_NSS_CERTS=1 -D NDEBUG -D NVALGRIND -D DYNAMIC_ANNOTATIONS_ENABLED=0 -I gen -I ../../third_party/libvpx_new/source/config/linux/x64 -I ../../third_party/libvpx_new/source/config -I ../../third_party/libvpx_new/source/libvpx -I ../../third_party/libvpx_new/source/libvpx/vp8/common -I ../../third_party/libvpx_new/source/libvpx/vp8/decoder -I ../../third_party/libvpx_new/source/libvpx/vp8/encoder -I gen/third_party/libvpx_new -isysroot /b/build/slave/ClangToTLinux/build/src/build/linux/debian_wheezy_amd64-sysroot -internal-isystem /b/build/slave/ClangToTLinux/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/local/include -internal-isystem /b/build/slave/ClangToTLinux/build/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include -internal-externc-isystem /b/build/slave/ClangToTLinux/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/include/x86_64-linux-gnu -internal-externc-isystem /b/build/slave/ClangToTLinux/build/src/build/linux/debian_wheezy_amd64-sysroot/include -internal-externc-isystem /b/build/slave/ClangToTLinux/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/include -O2 -Wno-unused-parameter -Wno-missing-field-initializers -Wno-reserved-user-defined-literal -Wno-conversion -Wno-parentheses-equality -Wno-unused-function -Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-bitfield-width -Wno-unused-variable -Wno-format -Wno-unused-result -fdebug-compilation-dir /b/build/slave/ClangToTLinux/build/src/out/Release -ferror-limit 19 -fmessage-length 0 -fvisibility hidden -pthread -stack-protector 1 -stack-protector-buffer-size 4 -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o obj/third_party/libvpx_new/source/libvpx/vp8/common/libvpx_new.vp8_loopfilter.o -x c ../../third_party/libvpx_new/source/libvpx/vp8/common/vp8_loopfilter.c 1. <eof> parser at end of file 2. Per-module optimization passes 3. Running pass 'CallGraph Pass Manager' on module '../../third_party/libvpx_new/source/libvpx/vp8/common/vp8_loopfilter.c'. 4. Running pass 'Loop Pass Manager' on function '@vp8_loop_filter_init' 5. Running pass 'Delete dead loops' on basic block '%for.body' clang-3.8: error: unable to execute command: Aborted (core dumped) clang-3.8: error: clang frontend command failed due to signal (use -v to see invocation) clang version 3.8.0 (trunk 256344) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /b/build/slave/ClangToTLinux/build/src/out/Release/../../third_party/llvm-build/Release+Asserts/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: ******************** -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs