llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `lld-x86_64-ubuntu-fast` running on `as-builder-4` while building `clang,llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/33/builds/13013 <details> <summary>Here is the relevant piece of the build log for the reference</summary> ``` Step 6 (test-build-unified-tree-check-all) failure: test (failure) ******************** TEST 'LLVM :: LTO/Resolution/X86/unified-lto-check.ll' FAILED ******************** Exit Code: 139 Command Output (stderr): -- RUN: at line 7: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/opt -thinlto-bc -thinlto-split-lto-unit -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp1 /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/LTO/Resolution/X86/unified-lto-check.ll + /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/opt -thinlto-bc -thinlto-split-lto-unit -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp1 /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/LTO/Resolution/X86/unified-lto-check.ll RUN: at line 8: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-bcanalyzer -dump /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp1 | /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/LTO/Resolution/X86/unified-lto-check.ll --check-prefix=NOUNIFIEDLTO + /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-bcanalyzer -dump /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp1 + /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/LTO/Resolution/X86/unified-lto-check.ll --check-prefix=NOUNIFIEDLTO RUN: at line 9: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-dis -o - /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp1 | /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/LTO/Resolution/X86/unified-lto-check.ll --check-prefix=NOUNIFIEDLTOFLAG + /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-dis -o - /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp1 + /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/LTO/Resolution/X86/unified-lto-check.ll --check-prefix=NOUNIFIEDLTOFLAG RUN: at line 10: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/opt -thinlto-bc -thinlto-split-lto-unit -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp2 /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/LTO/Resolution/X86/unified-lto-check.ll + /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/opt -thinlto-bc -thinlto-split-lto-unit -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp2 /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/LTO/Resolution/X86/unified-lto-check.ll RUN: at line 11: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-bcanalyzer -dump /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp2 | /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/LTO/Resolution/X86/unified-lto-check.ll --check-prefix=NOUNIFIEDLTO + /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-bcanalyzer -dump /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp2 + /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/LTO/Resolution/X86/unified-lto-check.ll --check-prefix=NOUNIFIEDLTO RUN: at line 12: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-dis -o - /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp2 | /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/LTO/Resolution/X86/unified-lto-check.ll --check-prefix=NOUNIFIEDLTOFLAG + /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-dis -o - /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp2 + /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/LTO/Resolution/X86/unified-lto-check.ll --check-prefix=NOUNIFIEDLTOFLAG RUN: at line 13: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-lto2 run -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp3 /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp1 /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp2 + /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-lto2 run -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp3 /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp1 /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp2 PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. #0 0x000055ef93c555e0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-lto2+0x39835e0) #1 0x000055ef93c529df llvm::sys::RunSignalHandlers() (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-lto2+0x39809df) #2 0x000055ef93c52b2a SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0 #3 0x00007f156f36a520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520) #4 0x000055ef93befd0b llvm::NamedRegionTimer::getNamedTimerGroup(llvm::StringRef, llvm::StringRef) (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-lto2+0x391dd0b) #5 0x000055ef937a7e77 llvm::TimePassesHandler::TimePassesHandler() (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-lto2+0x34d5e77) #6 0x000055ef93b13045 llvm::StandardInstrumentations::StandardInstrumentations(llvm::LLVMContext&, bool, bool, llvm::PrintPassOptions) (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-lto2+0x3841045) #7 0x000055ef938495a3 runNewPMPasses(llvm::lto::Config const&, llvm::Module&, llvm::TargetMachine*, unsigned int, bool, llvm::ModuleSummaryIndex*, llvm::ModuleSummaryIndex const*) LTOBackend.cpp:0:0 #8 0x000055ef9384bcd2 llvm::lto::opt(llvm::lto::Config const&, llvm::TargetMachine*, unsigned int, llvm::Module&, bool, llvm::ModuleSummaryIndex*, llvm::ModuleSummaryIndex const*, std::vector<unsigned char, std::allocator<unsigned char>> const&) (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-lto2+0x3579cd2) #9 0x000055ef9384d34e llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::vector<unsigned char, std::allocator<unsigned char>> const&)::'lambda'(llvm::Module&, llvm::TargetMachine*, std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile>>)::operator()(llvm::Module&, llvm::TargetMachine*, std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile>>) const LTOBackend.cpp:0:0 #10 0x000055ef9384e1d0 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, bool, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::vector<unsigned char, std::allocator<unsigned char>> const&) (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-lto2+0x357c1d0) #11 0x000055ef9382d7d1 (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>)::operator()(std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) const LTO.cpp:0:0 #12 0x000055ef9383c38e (anonymous namespace)::InProcessThinBackend::runThinLTOBackendThread(std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::FileCache, unsigned int, llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) LTO.cpp:0:0 #13 0x000055ef9382b5c8 std::_Function_handler<void (), std::_Bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::FunctionImporter::ImportMapTy const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const&, std::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>&) (llvm::BitcodeModule, std::reference_wrapper<llvm::ModuleSummaryIndex>, std::reference_wrapper<llvm::FunctionImporter::ImportMapTy const>, std::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void>> const>, std::reference_wrapper<std::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, llvm::GlobalValue::LinkageTypes>>> const>, std::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const>, std::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>>)>>::_M_invoke(std::_Any_data const&) LTO.cpp:0:0 #14 0x000055ef9381e2c2 std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> (), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<std::function<void ()>>>, void>>::_M_invoke(std::_Any_data const&) (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-lto2+0x354c2c2) #15 0x000055ef9381f36d std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*) (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-lto2+0x354d36d) #16 0x00007f156f3c1ee8 (/lib/x86_64-linux-gnu/libc.so.6+0x99ee8) #17 0x000055ef9381f2b7 std::__future_base::_Deferred_state<std::thread::_Invoker<std::tuple<std::function<void ()>>>, void>::_M_complete_async() (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-lto2+0x354d2b7) #18 0x000055ef93823ba7 std::_Function_handler<void (), std::shared_future<void> llvm::ThreadPoolInterface::asyncImpl<void>(std::function<void ()>, llvm::ThreadPoolTaskGroup*)::'lambda'()>::_M_invoke(std::_Any_data const&) (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-lto2+0x3551ba7) #19 0x000055ef93be4c27 llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-lto2+0x3912c27) #20 0x000055ef93be59ee void* llvm::thread::ThreadProxy<std::tuple<llvm::StdThreadPool::grow(int)::'lambda'()>>(void*) ThreadPool.cpp:0:0 #21 0x00007f156f3bcac3 (/lib/x86_64-linux-gnu/libc.so.6+0x94ac3) #22 0x00007f156f44e850 (/lib/x86_64-linux-gnu/libc.so.6+0x126850) /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.script: line 24: 1970866 Segmentation fault (core dumped) /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llvm-lto2 run -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp3 /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp1 /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/LTO/Resolution/X86/Output/unified-lto-check.ll.tmp2 -- ... ``` </details> https://github.com/llvm/llvm-project/pull/130375 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits