-
Notifications
You must be signed in to change notification settings - Fork 8.3k
ThreadSanitizer: data race (STID: 2981-3c7d) #94775
Copy link
Copy link
Closed
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzerssanitizertestingSpecial issue with list of bugs found by CISpecial issue with list of bugs found by CI
Description
Important: This issue was automatically generated and is used by CI for matching failures. DO NOT modify the body content. DO NOT remove labels.
Test name: ThreadSanitizer: data race (STID: 2981-3c7d)
CI report: Stateless tests (amd_tsan, sequential, 1/2)
Failing test history: cidb
Test output:
Error:
WARNING: ThreadSanitizer: data race (pid=1133)
Write of size 8 at 0x72080090f790 by thread T614:
---
Stack trace:
#0 operator delete(void*, unsigned long) /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/contrib/llvm-project/compiler-rt/lib/tsan/rtl/tsan_new_delete.cpp:150:3 (clickhouse+0x9dacb88) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#1 void std::__1::__libcpp_deallocate[abi:ne210105]<std::__1::__list_node<std::__1::shared_ptr<DB::IFileCachePriority::Entry>, void*>>(std::__1::__type_identity<std::__1::__list_node<std::__1::shared_ptr<DB::IFileCachePriority::Entry>, void*>>::type*, std::__1::__element_count, unsigned long) ci/tmp/build/./contrib/llvm-project/libcxx/include/__new/allocate.h:63:10 (clickhouse+0x20fa650a) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#2 std::__1::allocator<std::__1::__list_node<std::__1::shared_ptr<DB::IFileCachePriority::Entry>, void*>>::deallocate[abi:ne210105](std::__1::__list_node<std::__1::shared_ptr<DB::IFileCachePriority::Entry>, void*>*, unsigned long) ci/tmp/build/./contrib/llvm-project/libcxx/include/__memory/allocator.h:120:7 (clickhouse+0x20fa650a)
#3 std::__1::allocator_traits<std::__1::allocator<std::__1::__list_node<std::__1::shared_ptr<DB::IFileCachePriority::Entry>, void*>>>::deallocate[abi:ne210105](std::__1::allocator<std::__1::__list_node<std::__1::shared_ptr<DB::IFileCachePriority::Entry>, void*>>&, std::__1::__list_node<std::__1::shared_ptr<DB::IFileCachePriority::Entry>, void*>*, unsigned long) ci/tmp/build/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:289:9 (clickhouse+0x20fa650a)
#4 std::__1::__list_imp<std::__1::shared_ptr<DB::IFileCachePriority::Entry>, std::__1::allocator<std::__1::shared_ptr<DB::IFileCachePriority::Entry>>>::__delete_node[abi:ne210105](std::__1::__list_node<std::__1::shared_ptr<DB::IFileCachePriority::Entry>, void*>*) ci/tmp/build/./contrib/llvm-project/libcxx/include/list:592:5 (clickhouse+0x20fa650a)
#5 std::__1::list<std::__1::shared_ptr<DB::IFileCachePriority::Entry>, std::__1::allocator<std::__1::shared_ptr<DB::IFileCachePriority::Entry>>>::erase(std::__1::__list_const_iterator<std::__1::shared_ptr<DB::IFileCachePriority::Entry>, void*>) ci/tmp/build/./contrib/llvm-project/libcxx/include/list:1425:9 (clickhouse+0x20fa650a)
#6 DB::LRUFileCachePriority::remove(std::__1::__list_iterator<std::__1::shared_ptr<DB::IFileCachePriority::Entry>, void*>, std::__1::unique_lock<DB::SharedMutex> const&) ci/tmp/build/./src/Interpreters/Cache/LRUFileCachePriority.cpp:162:18 (clickhouse+0x20fa650a)
#7 DB::LRUFileCachePriority::LRUIterator::remove(std::__1::unique_lock<DB::SharedMutex> const&) ci/tmp/build/./src/Interpreters/Cache/LRUFileCachePriority.cpp:594:21 (clickhouse+0x20faa50a) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#8 DB::IFileCachePriority::removeEntries(std::__1::vector<DB::IFileCachePriority::InvalidatedEntryInfo, std::__1::allocator<DB::IFileCachePriority::InvalidatedEntryInfo>> const&, std::__1::unique_lock<DB::SharedMutex> const&) ci/tmp/build/./src/Interpreters/Cache/IFileCachePriority.cpp:86:17 (clickhouse+0x20fa3968) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#9 DB::FileCache::doTryReserve(DB::FileSegment&, unsigned long, DB::FileCacheReserveStat&, DB::FileCacheUserInfo const&, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&) ci/tmp/build/./src/Interpreters/Cache/FileCache.cpp:1165:13 (clickhouse+0x20f413cd) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#10 DB::FileCache::tryReserve(DB::FileSegment&, unsigned long, DB::FileCacheReserveStat&, DB::FileCacheUserInfo const&, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&) ci/tmp/build/./src/Interpreters/Cache/FileCache.cpp:1027:12 (clickhouse+0x20f40b93) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#11 DB::FileSegment::reserve(unsigned long, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&, DB::FileCacheReserveStat*) ci/tmp/build/./src/Interpreters/Cache/FileSegment.cpp:585:28 (clickhouse+0x20f97e92) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#12 DB::FileSegmentRangeWriter::write(char*, unsigned long, unsigned long, DB::FileSegmentKind) ci/tmp/build/./src/Disks/IO/CachedOnDiskWriteBufferFromFile.cpp:145:39 (clickhouse+0x1f2d5df6) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#13 DB::CachedOnDiskWriteBufferFromFile::cacheData(char*, unsigned long, bool) ci/tmp/build/./src/Disks/IO/CachedOnDiskWriteBufferFromFile.cpp:396:28 (clickhouse+0x1f2db578) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#14 DB::CachedOnDiskWriteBufferFromFile::nextImpl() ci/tmp/build/./src/Disks/IO/CachedOnDiskWriteBufferFromFile.cpp:352:5 (clickhouse+0x1f2db09b) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#15 DB::WriteBuffer::next() ci/tmp/build/./src/IO/WriteBuffer.h:54:13 (clickhouse+0x9de2f9f) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#16 DB::WriteBufferFromFileDecorator::nextImpl() ci/tmp/build/./src/IO/WriteBufferFromFileDecorator.cpp:82:11 (clickhouse+0x1dc87452) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#17 DB::WriteBuffer::next() ci/tmp/build/./src/IO/WriteBuffer.h:54:13 (clickhouse+0x9de2f9f) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#18 DB::HashingWriteBuffer::nextImpl() ci/tmp/build/./src/IO/HashingWriteBuffer.h:63:13 (clickhouse+0x25f6717b) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#19 DB::WriteBuffer::next() ci/tmp/build/./src/IO/WriteBuffer.h:54:13 (clickhouse+0x9de2f9f) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#20 DB::WriteBuffer::nextIfAtEnd() ci/tmp/build/./src/IO/WriteBuffer.h:87:13 (clickhouse+0x1679d3ae) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#21 DB::WriteBuffer::write(char const*, unsigned long) ci/tmp/build/./src/IO/WriteBuffer.cpp:53:9 (clickhouse+0x1679d3ae)
#22 DB::CompressedWriteBuffer::nextImpl() ci/tmp/build/./src/Compression/CompressedWriteBuffer.cpp:60:13 (clickhouse+0x283e3f4d) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#23 DB::WriteBuffer::next() ci/tmp/build/./src/IO/WriteBuffer.h:54:13 (clickhouse+0x9de2f9f) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#24 DB::HashingWriteBuffer::nextImpl() ci/tmp/build/./src/IO/HashingWriteBuffer.h:63:13 (clickhouse+0x25f6717b) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#25 DB::WriteBuffer::next() ci/tmp/build/./src/IO/WriteBuffer.h:54:13 (clickhouse+0x9de2f9f) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#26 DB::MergeTreeDataPartWriterWide::getCurrentMarksForColumn(DB::NameAndTypePair const&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const ci/tmp/build/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:423:39 (clickhouse+0x26295f98) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#27 std::__1::__invoke_result_impl<void, DB::MergeTreeDataPartWriterWide::getCurrentMarksForColumn(DB::NameAndTypePair const&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>::type std::__1::__invoke[abi:ne210105]<DB::MergeTreeDataPartWriterWide::getCurrentMarksForColumn(DB::NameAndTypePair const&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterWide::getCurrentMarksForColumn(DB::NameAndTypePair const&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) ci/tmp/build/./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:87:27 (clickhouse+0x26295f98)
#28 void std::__1::__invoke_void_return_wrapper<void, true>::__call[abi:ne210105]<DB::MergeTreeDataPartWriterWide::getCurrentMarksForColumn(DB::NameAndTypePair const&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterWide::getCurrentMarksForColumn(DB::NameAndTypePair const&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) ci/tmp/build/./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:342:5 (clickhouse+0x26295f98)
#29 void std::__1::__invoke_r[abi:ne210105]<void, DB::MergeTreeDataPartWriterWide::getCurrentMarksForColumn(DB::NameAndTypePair const&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterWide::getCurrentMarksForColumn(DB::NameAndTypePair const&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) ci/tmp/build/./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:348:10 (clickhouse+0x26295f98)
#30 void std::__1::__function::__policy_func<void (DB::ISerialization::SubstreamPath const&)>::__call_func[abi:ne210105]<DB::MergeTreeDataPartWriterWide::getCurrentMarksForColumn(DB::NameAndTypePair const&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>&)::$_0>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) ci/tmp/build/./contrib/llvm-project/libcxx/include/__functional/function.h:450:12 (clickhouse+0x26295f98)
#31 std::__1::__function::__policy_func<void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:ne210105](DB::ISerialization::SubstreamPath const&) const ci/tmp/build/./contrib/llvm-project/libcxx/include/__functional/function.h:508:12 (clickhouse+0x1ec8beef) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#32 std::__1::function<void (DB::ISerialization::SubstreamPath const&)>::operator()(DB::ISerialization::SubstreamPath const&) const ci/tmp/build/./contrib/llvm-project/libcxx/include/__functional/function.h:772:10 (clickhouse+0x1ec8beef)
#33 DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function<void (DB::ISerialization::SubstreamPath const&)> const&, DB::ISerialization::SubstreamData const&) const ci/tmp/build/./src/DataTypes/Serializations/ISerialization.cpp:174:5 (clickhouse+0x1ec8beef)
#34 DB::MergeTreeDataPartWriterWide::getCurrentMarksForColumn(DB::NameAndTypePair const&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>&) ci/tmp/build/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:436:20 (clickhouse+0x2628f090) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#35 DB::MergeTreeDataPartWriterWide::writeColumn(DB::NameAndTypePair const&, DB::IColumn const&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>&, std::__1::vector<DB::Granule, std::__1::allocator<DB::Granule>> const&) ci/tmp/build/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:531:44 (clickhouse+0x2628d12d) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#36 DB::MergeTreeDataPartWriterWide::write(DB::Block const&, DB::PODArray<unsigned long, 4096ul, Allocator<false, false>, 63ul, 64ul> const*) ci/tmp/build/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:355:13 (clickhouse+0x2628a6e5) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#37 DB::MergedColumnOnlyOutputStream::write(DB::Block const&) ci/tmp/build/./src/Storages/MergeTree/MergedColumnOnlyOutputStream.cpp:79:13 (clickhouse+0x265b5348) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#38 DB::MergeTask::VerticalMergeStage::executeVerticalMergeForOneColumn() const ci/tmp/build/./src/Storages/MergeTree/MergeTask.cpp:1423:25 (clickhouse+0x26098bc1) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#39 DB::MergeTask::VerticalMergeStage::executeVerticalMergeForAllColumns() const ci/tmp/build/./src/Storages/MergeTree/MergeTask.cpp:1859:17 (clickhouse+0x2609f462) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#40 DB::MergeTask::VerticalMergeStage::execute() ci/tmp/build/./src/Storages/MergeTree/MergeTask.cpp:1638:16 (clickhouse+0x2609cd53) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#41 DB::MergeTask::execute() ci/tmp/build/./src/Storages/MergeTree/MergeTask.cpp:1882:24 (clickhouse+0x2609c152) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#42 DB::MergePlainMergeTreeTask::executeStep() ci/tmp/build/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:59:33 (clickhouse+0x26075efa) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#43 DB::TaskRuntimeData::executeStep() const ci/tmp/build/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.h:74:22 (clickhouse+0x260e77e8) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#44 DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::routine(std::__1::shared_ptr<DB::TaskRuntimeData>) ci/tmp/build/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:360:36 (clickhouse+0x260edf99) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#45 DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::threadFunction() ci/tmp/build/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:425:13 (clickhouse+0x260f0883) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#46 DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(DB::ThreadName, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, std::__1::basic_string_view<char, std::__1::char_traits<char>>)::'lambda'()::operator()() const ci/tmp/build/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:83:47 (clickhouse+0x260f4161) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#47 std::__1::__invoke_result_impl<void, DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(DB::ThreadName, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, std::__1::basic_string_view<char, std::__1::char_traits<char>>)::'lambda'()&>::type std::__1::__invoke[abi:ne210105]<DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(DB::ThreadName, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, std::__1::basic_string_view<char, std::__1::char_traits<char>>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(DB::ThreadName, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, std::__1::basic_string_view<char, std::__1::char_traits<char>>)::'lambda'()&) ci/tmp/build/./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:87:27 (clickhouse+0x260f4161)
#48 void std::__1::__invoke_void_return_wrapper<void, true>::__call[abi:ne210105]<DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(DB::ThreadName, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, std::__1::basic_string_view<char, std::__1::char_traits<char>>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(DB::ThreadName, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, std::__1::basic_string_view<char, std::__1::char_traits<char>>)::'lambda'()&) ci/tmp/build/./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:342:5 (clickhouse+0x260f4161)
#49 void std::__1::__invoke_r[abi:ne210105]<void, DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(DB::ThreadName, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, std::__1::basic_string_view<char, std::__1::char_traits<char>>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(DB::ThreadName, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, std::__1::basic_string_view<char, std::__1::char_traits<char>>)::'lambda'()&) ci/tmp/build/./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:348:10 (clickhouse+0x260f4161)
#50 void std::__1::__function::__policy_func<void ()>::__call_func[abi:ne210105]<DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(DB::ThreadName, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, StrongTypedef<unsigned long, ProfileEvents::EventTag>, std::__1::basic_string_view<char, std::__1::char_traits<char>>)::'lambda'()>(std::__1::__function::__policy_storage const*) ci/tmp/build/./contrib/llvm-project/libcxx/include/__functional/function.h:450:12 (clickhouse+0x260f4161)
#51 std::__1::__function::__policy_func<void ()>::operator()[abi:ne210105]() const ci/tmp/build/./contrib/llvm-project/libcxx/include/__functional/function.h:508:12 (clickhouse+0x167fe6a4) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#52 std::__1::function<void ()>::operator()() const ci/tmp/build/./contrib/llvm-project/libcxx/include/__functional/function.h:772:10 (clickhouse+0x167fe6a4)
#53 ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::worker() ci/tmp/build/./src/Common/ThreadPool.cpp:801:17 (clickhouse+0x167fe6a4)
#54 std::__1::__invoke_result_impl<void, void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*&)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*&>::type std::__1::__invoke[abi:ne210105]<void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*&)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*&>(void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*&)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*&) ci/tmp/build/./contrib/llvm-project/libcxx/include/__type_traits/invoke.h (clickhouse+0x16807bc4) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#55 decltype(auto) std::__1::__apply_tuple_impl[abi:ne210105]<void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*&)(), std::__1::tuple<ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*>&, 0ul>(void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*&)(), std::__1::tuple<ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*>&, std::__1::__tuple_indices<0ul>) ci/tmp/build/./contrib/llvm-project/libcxx/include/tuple:1380:5 (clickhouse+0x16807bc4)
#56 decltype(auto) std::__1::apply[abi:ne210105]<void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*&)(), std::__1::tuple<ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*>&>(void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*&)(), std::__1::tuple<ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*>&) ci/tmp/build/./contrib/llvm-project/libcxx/include/tuple:1384:5 (clickhouse+0x16807bc4)
#57 ThreadFromGlobalPoolImpl<false, true>::ThreadFromGlobalPoolImpl<void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*>(void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*&&)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*&&)::'lambda'()::operator()() ci/tmp/build/./src/Common/ThreadPool.h:312:13 (clickhouse+0x16807bc4)
#58 std::__1::__invoke_result_impl<void, ThreadFromGlobalPoolImpl<false, true>::ThreadFromGlobalPoolImpl<void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*>(void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*&&)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*&&)::'lambda'()&>::type std::__1::__invoke[abi:ne210105]<ThreadFromGlobalPoolImpl<false, true>::ThreadFromGlobalPoolImpl<void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*>(void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*&&)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl<false, true>::ThreadFromGlobalPoolImpl<void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*>(void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*&&)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*&&)::'lambda'()&) ci/tmp/build/./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:87:27 (clickhouse+0x16807ae1) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#59 void std::__1::__invoke_void_return_wrapper<void, true>::__call[abi:ne210105]<ThreadFromGlobalPoolImpl<false, true>::ThreadFromGlobalPoolImpl<void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*>(void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*&&)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl<false, true>::ThreadFromGlobalPoolImpl<void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*>(void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*&&)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*&&)::'lambda'()&) ci/tmp/build/./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:342:5 (clickhouse+0x16807ae1)
#60 void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*std::__1::__invoke_r[abi:ne210105]<void, ThreadFromGlobalPoolImpl<false, true>::ThreadFromGlobalPoolImpl<void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*>(void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*&&)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*&&)::'lambda'()&>(ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*&&))() ci/tmp/build/./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:348:10 (clickhouse+0x16807ae1)
#61 void std::__1::__function::__policy_func<void ()>::__call_func[abi:ne210105]<ThreadFromGlobalPoolImpl<false, true>::ThreadFromGlobalPoolImpl<void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*>(void (ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool::*&&)(), ThreadPoolImpl<ThreadFromGlobalPoolImpl<false, true>>::ThreadFromThreadPool*&&)::'lambda'()>(std::__1::__function::__policy_storage const*) ci/tmp/build/./contrib/llvm-project/libcxx/include/__functional/function.h:450:12 (clickhouse+0x16807ae1)
#62 std::__1::__function::__policy_func<void ()>::operator()[abi:ne210105]() const ci/tmp/build/./contrib/llvm-project/libcxx/include/__functional/function.h:508:12 (clickhouse+0x167fa5b0) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#63 std::__1::function<void ()>::operator()() const ci/tmp/build/./contrib/llvm-project/libcxx/include/__functional/function.h:772:10 (clickhouse+0x167fa5b0)
#64 ThreadPoolImpl<std::__1::thread>::ThreadFromThreadPool::worker() ci/tmp/build/./src/Common/ThreadPool.cpp:811:17 (clickhouse+0x167fa5b0)
#65 std::__1::__invoke_result_impl<void, void (ThreadPoolImpl<std::__1::thread>::ThreadFromThreadPool::*)(), ThreadPoolImpl<std::__1::thread>::ThreadFromThreadPool*>::type std::__1::__invoke[abi:ne210105]<void (ThreadPoolImpl<std::__1::thread>::ThreadFromThreadPool::*)(), ThreadPoolImpl<std::__1::thread>::ThreadFromThreadPool*>(void (ThreadPoolImpl<std::__1::thread>::ThreadFromThreadPool::*&&)(), ThreadPoolImpl<std::__1::thread>::ThreadFromThreadPool*&&) ci/tmp/build/./contrib/llvm-project/libcxx/include/__type_traits/invoke.h (clickhouse+0x1680469b) (BuildId: 2f0ea2d92322fc64e0fbd44c9e538172292008e6)
#66 void std::__1::__thread_execute[abi:ne210105]<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, void (ThreadPoolImpl<std::__1::thread>::ThreadFromThreadPool::*)(), ThreadPoolImpl<std::__1::thread>::ThreadFromThreadPool*, 2ul>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, void (ThreadPoolImpl<std::__1::thread>::ThreadFromThreadPool::*)(), ThreadPoolImpl<std::__1::thread>::ThreadFromThreadPool*>&, std::__1::__tuple_indices<2ul>) ci/tmp/build/./contrib/llvm-project/libcxx/include/__thread/thread.h:159:3 (clickhouse+0x1680469b)
#67 void* std::__1::__thread_proxy[abi:ne210105]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, void (ThreadPoolImpl<std::__1::thread>::ThreadFromThreadPool::*)(), ThreadPoolImpl<std::__1::thread>::ThreadFromThreadPool*>>(void*) ci/tmp/build/./contrib/llvm-project/libcxx/include/__thread/thread.h:168:3 (clickhouse+0x1680469b)
Cc @kssenii
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzerssanitizertestingSpecial issue with list of bugs found by CISpecial issue with list of bugs found by CI