Logging trace to /var/log/clickhouse-server/clickhouse-server.log Logging errors to /var/log/clickhouse-server/clickhouse-server.err.log ==395==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases! ================================================================= ==395==ERROR: LeakSanitizer: detected memory leaks Indirect leak of 4096 byte(s) in 1 object(s) allocated from: #0 0x55684660479d in operator new[](unsigned long) (/usr/bin/clickhouse+0xa77a79d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55687633d9bd in Poco::BufferAllocator::allocate(long) build_docker/./base/poco/Foundation/include/Poco/BufferAllocator.h:38:64 #2 0x55687633d9bd in Poco::BasicBufferedBidirectionalStreamBuf, Poco::BufferAllocator>::BasicBufferedBidirectionalStreamBuf(long, unsigned int) build_docker/./base/poco/Foundation/include/Poco/BufferedBidirectionalStreamBuf.h:59:46 #3 0x55687633d9bd in Poco::FileStreamBuf::FileStreamBuf() build_docker/./base/poco/Foundation/src/FileStream_POSIX.cpp:28:2 #4 0x55687633d9bd in Poco::FileIOS::FileIOS(unsigned int) build_docker/./base/poco/Foundation/src/FileStream.cpp:23:10 #5 0x5568763406b8 in Poco::FileOutputStream::FileOutputStream(std::__1::basic_string, std::__1::allocator> const&, unsigned int) build_docker/./base/poco/Foundation/src/FileStream.cpp:85:2 #6 0x55687635d746 in Poco::LogFileImpl::LogFileImpl(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile_STD.cpp:25:2 #7 0x55687635e471 in Poco::LogFile::LogFile(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile.cpp:24:44 #8 0x556876317e6a in Poco::FileChannel::newLogFile() build_docker/./base/poco/Foundation/src/FileChannel.cpp:498:14 #9 0x556876316cbe in Poco::FileChannel::unsafeOpen() build_docker/./base/poco/Foundation/src/FileChannel.cpp:386:12 #10 0x556876316b93 in Poco::FileChannel::open() build_docker/./base/poco/Foundation/src/FileChannel.cpp:92:2 #11 0x5568591835b9 in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:103:19 #12 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #13 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #14 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #15 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #16 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #17 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #18 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #19 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 4096 byte(s) in 1 object(s) allocated from: #0 0x55684660479d in operator new[](unsigned long) (/usr/bin/clickhouse+0xa77a79d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55687633d9f4 in Poco::BufferAllocator::allocate(long) build_docker/./base/poco/Foundation/include/Poco/BufferAllocator.h:38:64 #2 0x55687633d9f4 in Poco::BasicBufferedBidirectionalStreamBuf, Poco::BufferAllocator>::BasicBufferedBidirectionalStreamBuf(long, unsigned int) build_docker/./base/poco/Foundation/include/Poco/BufferedBidirectionalStreamBuf.h:59:92 #3 0x55687633d9f4 in Poco::FileStreamBuf::FileStreamBuf() build_docker/./base/poco/Foundation/src/FileStream_POSIX.cpp:28:2 #4 0x55687633d9f4 in Poco::FileIOS::FileIOS(unsigned int) build_docker/./base/poco/Foundation/src/FileStream.cpp:23:10 #5 0x5568763406b8 in Poco::FileOutputStream::FileOutputStream(std::__1::basic_string, std::__1::allocator> const&, unsigned int) build_docker/./base/poco/Foundation/src/FileStream.cpp:85:2 #6 0x55687635d746 in Poco::LogFileImpl::LogFileImpl(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile_STD.cpp:25:2 #7 0x55687635e471 in Poco::LogFile::LogFile(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile.cpp:24:44 #8 0x556876317e6a in Poco::FileChannel::newLogFile() build_docker/./base/poco/Foundation/src/FileChannel.cpp:498:14 #9 0x556876316cbe in Poco::FileChannel::unsafeOpen() build_docker/./base/poco/Foundation/src/FileChannel.cpp:386:12 #10 0x556876316b93 in Poco::FileChannel::open() build_docker/./base/poco/Foundation/src/FileChannel.cpp:92:2 #11 0x5568591835b9 in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:103:19 #12 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #13 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #14 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #15 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #16 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #17 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #18 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #19 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 4096 byte(s) in 1 object(s) allocated from: #0 0x55684660479d in operator new[](unsigned long) (/usr/bin/clickhouse+0xa77a79d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55687633d9f4 in Poco::BufferAllocator::allocate(long) build_docker/./base/poco/Foundation/include/Poco/BufferAllocator.h:38:64 #2 0x55687633d9f4 in Poco::BasicBufferedBidirectionalStreamBuf, Poco::BufferAllocator>::BasicBufferedBidirectionalStreamBuf(long, unsigned int) build_docker/./base/poco/Foundation/include/Poco/BufferedBidirectionalStreamBuf.h:59:92 #3 0x55687633d9f4 in Poco::FileStreamBuf::FileStreamBuf() build_docker/./base/poco/Foundation/src/FileStream_POSIX.cpp:28:2 #4 0x55687633d9f4 in Poco::FileIOS::FileIOS(unsigned int) build_docker/./base/poco/Foundation/src/FileStream.cpp:23:10 #5 0x5568763406b8 in Poco::FileOutputStream::FileOutputStream(std::__1::basic_string, std::__1::allocator> const&, unsigned int) build_docker/./base/poco/Foundation/src/FileStream.cpp:85:2 #6 0x55687635d746 in Poco::LogFileImpl::LogFileImpl(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile_STD.cpp:25:2 #7 0x55687635e471 in Poco::LogFile::LogFile(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile.cpp:24:44 #8 0x556876317e6a in Poco::FileChannel::newLogFile() build_docker/./base/poco/Foundation/src/FileChannel.cpp:498:14 #9 0x556876316cbe in Poco::FileChannel::unsafeOpen() build_docker/./base/poco/Foundation/src/FileChannel.cpp:386:12 #10 0x556876316b93 in Poco::FileChannel::open() build_docker/./base/poco/Foundation/src/FileChannel.cpp:92:2 #11 0x556859186acb in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:156:19 #12 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #13 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #14 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #15 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #16 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #17 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #18 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #19 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 4096 byte(s) in 1 object(s) allocated from: #0 0x55684660479d in operator new[](unsigned long) (/usr/bin/clickhouse+0xa77a79d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55687633d9bd in Poco::BufferAllocator::allocate(long) build_docker/./base/poco/Foundation/include/Poco/BufferAllocator.h:38:64 #2 0x55687633d9bd in Poco::BasicBufferedBidirectionalStreamBuf, Poco::BufferAllocator>::BasicBufferedBidirectionalStreamBuf(long, unsigned int) build_docker/./base/poco/Foundation/include/Poco/BufferedBidirectionalStreamBuf.h:59:46 #3 0x55687633d9bd in Poco::FileStreamBuf::FileStreamBuf() build_docker/./base/poco/Foundation/src/FileStream_POSIX.cpp:28:2 #4 0x55687633d9bd in Poco::FileIOS::FileIOS(unsigned int) build_docker/./base/poco/Foundation/src/FileStream.cpp:23:10 #5 0x5568763406b8 in Poco::FileOutputStream::FileOutputStream(std::__1::basic_string, std::__1::allocator> const&, unsigned int) build_docker/./base/poco/Foundation/src/FileStream.cpp:85:2 #6 0x55687635d746 in Poco::LogFileImpl::LogFileImpl(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile_STD.cpp:25:2 #7 0x55687635e471 in Poco::LogFile::LogFile(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile.cpp:24:44 #8 0x556876317e6a in Poco::FileChannel::newLogFile() build_docker/./base/poco/Foundation/src/FileChannel.cpp:498:14 #9 0x556876316cbe in Poco::FileChannel::unsafeOpen() build_docker/./base/poco/Foundation/src/FileChannel.cpp:386:12 #10 0x556876316b93 in Poco::FileChannel::open() build_docker/./base/poco/Foundation/src/FileChannel.cpp:92:2 #11 0x556859186acb in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:156:19 #12 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #13 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #14 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #15 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #16 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #17 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #18 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #19 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 3168 byte(s) in 9 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b1afd63 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b1afd63 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b1afd63 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b1afd63 in std::__1::allocator_traits>>>::allocate[abi:v15000](std::__1::allocator>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x55686b1afd63 in std::__1::__allocation_guard>>>::__allocation_guard[abi:v15000]>(std::__1::allocator, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:53:18 #6 0x55686b1afd63 in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::shared_ptr, void>(std::__1::allocator const&, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:952:48 #7 0x55686b1afd63 in std::__1::shared_ptr std::__1::make_shared[abi:v15000], void>(DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #8 0x55686b1afd63 in DB::FileCache::addFileSegment(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, DB::CachePriorityGuard::Lock const*) build_docker/./src/Interpreters/Cache/FileCache.cpp:762:25 #9 0x55686b1af16d in DB::FileCache::splitRangeIntoFileSegments(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, unsigned long, DB::CreateFileSegmentSettings const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:341:41 #10 0x55686b1b59c1 in DB::FileCache::getOrSet(DB::FileCacheKey const&, unsigned long, unsigned long, unsigned long, DB::CreateFileSegmentSettings const&, unsigned long, DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:640:25 #11 0x556865fc3a57 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #12 0x556865fc43be in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #13 0x556865fe9732 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #14 0x556865b74eb9 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #15 0x556865fad63f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #16 0x556865fae391 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #17 0x55686d8eadf4 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:331:22 #18 0x55686d8eadf4 in decltype(std::declval const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&>()(std::declval())) std::__1::__invoke[abi:v15000] const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #19 0x55686d8eadf4 in void std::__1::__invoke_void_return_wrapper::__call const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #20 0x55686d8eadf4 in std::__1::__function::__default_alloc_func const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #21 0x55686d8eadf4 in void std::__1::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #22 0x55686745757b in std::__1::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #23 0x55686745757b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #24 0x55686745757b in DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function const&, DB::ISerialization::SubstreamData const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:92:5 #25 0x556867457d19 in DB::ISerialization::enumerateStreams(std::__1::function const&, std::__1::shared_ptr const&, COW::immutable_ptr const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:103:5 #26 0x55686d8e4871 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322:20 #27 0x55686d8e3f12 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #28 0x55686d8e51ef in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:134:9 #29 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #30 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #31 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #32 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #33 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #34 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #35 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #36 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #37 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #38 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #39 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #40 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #41 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #42 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #43 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #44 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #45 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #46 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #47 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #48 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #49 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #50 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 #51 0x556858b6e452 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #52 0x556858b6e452 in decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #53 0x556858b6e452 in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 #54 0x556858b6e452 in decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 #55 0x556858b6e452 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 #56 0x556858b5da8c in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #57 0x556858b5da8c in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #58 0x556858b5da8c in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:455:13 Indirect leak of 2024 byte(s) in 11 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b2685c7 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b2685c7 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b2685c7 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b2685c7 in std::__1::allocator_traits>>>::allocate[abi:v15000](std::__1::allocator>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x55686b2685c7 in std::__1::__allocation_guard>>>::__allocation_guard[abi:v15000]>(std::__1::allocator, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:53:18 #6 0x55686b2685c7 in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, DB::FileCacheUserInfo const&, DB::CacheMetadata*, bool&, void>(std::__1::allocator const&, DB::FileCacheKey const&, DB::FileCacheUserInfo const&, DB::CacheMetadata*&&, bool&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:952:48 #7 0x55686b23df29 in std::__1::shared_ptr std::__1::make_shared[abi:v15000](DB::FileCacheKey const&, DB::FileCacheUserInfo const&, DB::CacheMetadata*&&, bool&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #8 0x55686b23df29 in DB::CacheMetadata::getKeyMetadata(DB::FileCacheKey const&, DB::CacheMetadata::KeyNotFoundPolicy, DB::FileCacheUserInfo const&, bool) build_docker/./src/Interpreters/Cache/Metadata.cpp:286:18 #9 0x55686b23c467 in DB::CacheMetadata::lockKeyMetadata(DB::FileCacheKey const&, DB::CacheMetadata::KeyNotFoundPolicy, DB::FileCacheUserInfo const&, bool) build_docker/./src/Interpreters/Cache/Metadata.cpp:230:25 #10 0x55686b1b4c90 in DB::FileCache::getOrSet(DB::FileCacheKey const&, unsigned long, unsigned long, unsigned long, DB::CreateFileSegmentSettings const&, unsigned long, DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:549:32 #11 0x556865fc3a57 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #12 0x556865fc43be in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #13 0x556865fe9732 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #14 0x556865b74eb9 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #15 0x556865fad63f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #16 0x556865fae391 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #17 0x55686d8eadf4 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:331:22 #18 0x55686d8eadf4 in decltype(std::declval const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&>()(std::declval())) std::__1::__invoke[abi:v15000] const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #19 0x55686d8eadf4 in void std::__1::__invoke_void_return_wrapper::__call const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #20 0x55686d8eadf4 in std::__1::__function::__default_alloc_func const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #21 0x55686d8eadf4 in void std::__1::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #22 0x55686745757b in std::__1::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #23 0x55686745757b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #24 0x55686745757b in DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function const&, DB::ISerialization::SubstreamData const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:92:5 #25 0x556867457d19 in DB::ISerialization::enumerateStreams(std::__1::function const&, std::__1::shared_ptr const&, COW::immutable_ptr const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:103:5 #26 0x55686d8e4871 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322:20 #27 0x55686d8e3f12 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #28 0x55686d8e51ef in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:134:9 #29 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #30 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #31 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #32 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #33 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #34 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #35 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #36 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #37 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #38 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #39 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #40 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #41 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #42 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #43 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #44 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #45 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #46 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #47 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #48 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #49 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #50 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 #51 0x556858b6e452 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #52 0x556858b6e452 in decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #53 0x556858b6e452 in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 #54 0x556858b6e452 in decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 #55 0x556858b6e452 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 Indirect leak of 1760 byte(s) in 5 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b259465 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b259465 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b259465 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b259465 in std::__1::allocator_traits>>>::allocate[abi:v15000](std::__1::allocator>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x55686b259465 in std::__1::__allocation_guard>>>::__allocation_guard[abi:v15000]>(std::__1::allocator, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:53:18 #6 0x55686b259465 in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState, DB::CreateFileSegmentSettings, bool, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&, void>(std::__1::allocator const&, DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState&&, DB::CreateFileSegmentSettings&&, bool&&, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:952:48 #7 0x55686b259465 in std::__1::shared_ptr std::__1::make_shared[abi:v15000] const&, std::__1::shared_ptr&, void>(DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState&&, DB::CreateFileSegmentSettings&&, bool&&, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #8 0x55686b259465 in DB::LockedKey::shrinkFileSegmentToDownloadedSize(unsigned long, DB::FileSegmentGuard::Lock const&) build_docker/./src/Interpreters/Cache/Metadata.cpp:1013:30 #9 0x55686b219b79 in DB::FileSegment::complete() build_docker/./src/Interpreters/Cache/FileSegment.cpp:736:33 #10 0x55686b2226ed in DB::FileSegmentsHolder::completeAndPopFrontImpl() build_docker/./src/Interpreters/Cache/FileSegment.cpp:995:13 #11 0x55686b2226ed in DB::FileSegmentsHolder::~FileSegmentsHolder() build_docker/./src/Interpreters/Cache/FileSegment.cpp:990:27 #12 0x556865fd14e1 in std::__1::default_delete::operator()[abi:v15000](DB::FileSegmentsHolder*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #13 0x556865fd14e1 in std::__1::unique_ptr>::reset[abi:v15000](DB::FileSegmentsHolder*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #14 0x556865fd14e1 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #15 0x556865fd14e1 in DB::CachedOnDiskReadBufferFromFile::~CachedOnDiskReadBufferFromFile() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:553:1 #16 0x556865fd1ccd in DB::CachedOnDiskReadBufferFromFile::~CachedOnDiskReadBufferFromFile() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:548:1 #17 0x556865fbd22a in std::__1::__shared_count::__release_shared[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:174:9 #18 0x556865fbd22a in std::__1::__shared_weak_count::__release_shared[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215:27 #19 0x556865fbd22a in std::__1::shared_ptr::~shared_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:702:23 #20 0x556865fbd22a in DB::ReadBufferFromRemoteFSGather::~ReadBufferFromRemoteFSGather() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:287:1 #21 0x556865fbd8ed in DB::ReadBufferFromRemoteFSGather::~ReadBufferFromRemoteFSGather() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:284:1 #22 0x556865fb3469 in std::__1::default_delete::operator()[abi:v15000](DB::ReadBufferFromFileBase*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #23 0x556865fb3469 in std::__1::unique_ptr>::reset[abi:v15000](DB::ReadBufferFromFileBase*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #24 0x556865fb3469 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #25 0x556865fb3469 in DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:370:1 #26 0x556865fb378d in DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:361:1 #27 0x55686d8cf307 in std::__1::default_delete::operator()[abi:v15000](DB::ReadBufferFromFileBase*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #28 0x55686d8cf307 in std::__1::unique_ptr>::reset[abi:v15000](DB::ReadBufferFromFileBase*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #29 0x55686d8cf307 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #30 0x55686d8cf307 in DB::CompressedReadBufferFromFile::~CompressedReadBufferFromFile() build_docker/./src/Compression/CompressedReadBufferFromFile.h:17:7 #31 0x55686d8cf307 in std::__1::default_delete::operator()[abi:v15000](DB::CompressedReadBufferFromFile*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #32 0x55686d8cf307 in std::__1::unique_ptr>::reset[abi:v15000](DB::CompressedReadBufferFromFile*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #33 0x55686d8cf307 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #34 0x55686d8cf307 in DB::MergeTreeReaderStream::~MergeTreeReaderStream() build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.h:35:46 #35 0x55686d8da1ed in DB::MergeTreeReaderStreamSingleColumn::~MergeTreeReaderStreamSingleColumn() build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.h:94:7 #36 0x55686d8eb83a in std::__1::default_delete::operator()[abi:v15000](DB::MergeTreeReaderStream*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #37 0x55686d8eb83a in std::__1::unique_ptr>::reset[abi:v15000](DB::MergeTreeReaderStream*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #38 0x55686d8eb83a in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #39 0x55686d8eb83a in std::__1::pair, std::__1::allocator> const, std::__1::unique_ptr>>::~pair() build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:40:29 #40 0x55686d8eb83a in void std::__1::__destroy_at[abi:v15000], std::__1::allocator> const, std::__1::unique_ptr>>, 0>(std::__1::pair, std::__1::allocator> const, std::__1::unique_ptr>>*) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63:13 #41 0x55686d8eb83a in void std::__1::destroy_at[abi:v15000], std::__1::allocator> const, std::__1::unique_ptr>>, 0>(std::__1::pair, std::__1::allocator> const, std::__1::unique_ptr>>*) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:88:5 #42 0x55686d8eb83a in void std::__1::allocator_traits, std::__1::allocator>, std::__1::unique_ptr>>, void*>>>::destroy[abi:v15000], std::__1::allocator> const, std::__1::unique_ptr>>, void, void>(std::__1::allocator, std::__1::allocator>, std::__1::unique_ptr>>, void*>>&, std::__1::pair, std::__1::allocator> const, std::__1::unique_ptr>>*) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:317:9 #43 0x55686d8eb83a in std::__1::__tree, std::__1::allocator>, std::__1::unique_ptr>>, std::__1::__map_value_compare, std::__1::allocator>, std::__1::__value_type, std::__1::allocator>, std::__1::unique_ptr>>, std::__1::less, std::__1::allocator>>, true>, std::__1::allocator, std::__1::allocator>, std::__1::unique_ptr>>>>::destroy(std::__1::__tree_node, std::__1::allocator>, std::__1::unique_ptr>>, void*>*) build_docker/./contrib/llvm-project/libcxx/include/__tree:1800:9 #44 0x55686d8eb6bc in std::__1::__tree, std::__1::allocator>, std::__1::unique_ptr>>, std::__1::__map_value_compare, std::__1::allocator>, std::__1::__value_type, std::__1::allocator>, std::__1::unique_ptr>>, std::__1::less, std::__1::allocator>>, true>, std::__1::allocator, std::__1::allocator>, std::__1::unique_ptr>>>>::~__tree() build_docker/./contrib/llvm-project/libcxx/include/__tree:1788:3 #45 0x55686d8eb6bc in std::__1::map, std::__1::allocator>, std::__1::unique_ptr>, std::__1::less, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, std::__1::unique_ptr>>>>::~map[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/map:1163:5 #46 0x55686d8eb6bc in DB::MergeTreeReaderWide::~MergeTreeReaderWide() build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.h:14:7 #47 0x55686d8eb74d in DB::MergeTreeReaderWide::~MergeTreeReaderWide() build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.h:14:7 #48 0x55686d9139c9 in std::__1::default_delete::operator()[abi:v15000](DB::IMergeTreeReader*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #49 0x55686d9139c9 in std::__1::unique_ptr>::reset[abi:v15000](DB::IMergeTreeReader*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #50 0x55686d9139c9 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #51 0x55686d9139c9 in DB::MergeTreeReadTask::Readers::~Readers() build_docker/./src/Storages/MergeTree/MergeTreeReadTask.h:90:12 #52 0x55686d9139c9 in DB::MergeTreeReadTask::~MergeTreeReadTask() build_docker/./src/Storages/MergeTree/MergeTreeReadTask.h:76:8 #53 0x55686d90f88c in std::__1::default_delete::operator()[abi:v15000](DB::MergeTreeReadTask*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #54 0x55686d90f88c in std::__1::unique_ptr>::reset[abi:v15000](DB::MergeTreeReadTask*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #55 0x55686d90f88c in std::__1::unique_ptr>::operator=[abi:v15000](std::__1::unique_ptr>&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:225:5 #56 0x55686d90f88c in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:122:22 #57 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #58 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #59 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #60 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #61 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #62 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #63 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #64 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #65 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #66 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #67 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #68 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #69 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #70 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 #71 0x556858b6e452 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #72 0x556858b6e452 in decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #73 0x556858b6e452 in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 #74 0x556858b6e452 in decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 #75 0x556858b6e452 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 #76 0x556858b5da8c in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #77 0x556858b5da8c in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #78 0x556858b5da8c in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:455:13 #79 0x556858b69b4c in void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #80 0x556858b69b4c in decltype(std::declval()()) std::__1::__invoke[abi:v15000]::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #81 0x556858b69b4c in void std::__1::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(std::__1::tuple::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/thread:284:5 #82 0x556858b69b4c in void* std::__1::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>>(void*) build_docker/./contrib/llvm-project/libcxx/include/thread:295:5 #83 0x5568465cf65a in asan_thread_start(void*) crtstuff.c Indirect leak of 1056 byte(s) in 3 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b1afd63 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b1afd63 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b1afd63 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b1afd63 in std::__1::allocator_traits>>>::allocate[abi:v15000](std::__1::allocator>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x55686b1afd63 in std::__1::__allocation_guard>>>::__allocation_guard[abi:v15000]>(std::__1::allocator, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:53:18 #6 0x55686b1afd63 in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::shared_ptr, void>(std::__1::allocator const&, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:952:48 #7 0x55686b1afd63 in std::__1::shared_ptr std::__1::make_shared[abi:v15000], void>(DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #8 0x55686b1afd63 in DB::FileCache::addFileSegment(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, DB::CachePriorityGuard::Lock const*) build_docker/./src/Interpreters/Cache/FileCache.cpp:762:25 #9 0x55686b1b18e2 in DB::FileCache::fillHolesWithEmptyFileSegments(DB::LockedKey&, std::__1::list, std::__1::allocator>>&, DB::FileSegment::Range const&, unsigned long, bool, DB::CreateFileSegmentSettings const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:425:36 #10 0x55686b1b573f in DB::FileCache::getOrSet(DB::FileCacheKey const&, unsigned long, unsigned long, unsigned long, DB::CreateFileSegmentSettings const&, unsigned long, DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:647:9 #11 0x556865fc3a57 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #12 0x556865fc43be in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #13 0x556865fe9732 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #14 0x556865b74eb9 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #15 0x556865fad63f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #16 0x556865fae391 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #17 0x55686d8eadf4 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:331:22 #18 0x55686d8eadf4 in decltype(std::declval const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&>()(std::declval())) std::__1::__invoke[abi:v15000] const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #19 0x55686d8eadf4 in void std::__1::__invoke_void_return_wrapper::__call const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #20 0x55686d8eadf4 in std::__1::__function::__default_alloc_func const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #21 0x55686d8eadf4 in void std::__1::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #22 0x55686745757b in std::__1::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #23 0x55686745757b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #24 0x55686745757b in DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function const&, DB::ISerialization::SubstreamData const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:92:5 #25 0x556867457d19 in DB::ISerialization::enumerateStreams(std::__1::function const&, std::__1::shared_ptr const&, COW::immutable_ptr const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:103:5 #26 0x55686d8e4871 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322:20 #27 0x55686d8e3f12 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #28 0x55686d8e51ef in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:134:9 #29 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #30 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #31 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #32 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #33 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #34 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #35 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #36 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #37 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #38 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #39 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #40 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #41 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #42 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #43 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #44 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #45 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #46 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #47 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #48 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #49 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #50 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 #51 0x556858b6e452 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #52 0x556858b6e452 in decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #53 0x556858b6e452 in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 #54 0x556858b6e452 in decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 #55 0x556858b6e452 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 #56 0x556858b5da8c in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #57 0x556858b5da8c in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #58 0x556858b5da8c in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:455:13 Indirect leak of 1056 byte(s) in 12 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b296dd2 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b296dd2 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b296dd2 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b296dd2 in std::__1::allocator_traits>>>::allocate[abi:v15000](std::__1::allocator>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x55686b296dd2 in std::__1::__allocation_guard>>>::__allocation_guard[abi:v15000]>(std::__1::allocator, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:53:18 #6 0x55686b296dd2 in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::SLRUFileCachePriority*, DB::LRUFileCachePriority::LRUIterator, bool, void>(std::__1::allocator const&, DB::SLRUFileCachePriority*&&, DB::LRUFileCachePriority::LRUIterator&&, bool&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:952:48 #7 0x55686b296dd2 in std::__1::shared_ptr std::__1::make_shared[abi:v15000](DB::SLRUFileCachePriority*&&, DB::LRUFileCachePriority::LRUIterator&&, bool&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #8 0x55686b296dd2 in DB::SLRUFileCachePriority::add(std::__1::shared_ptr, unsigned long, unsigned long, DB::FileCacheUserInfo const&, DB::CachePriorityGuard::Lock const&, bool) build_docker/./src/Interpreters/Cache/SLRUFileCachePriority.cpp:105:16 #9 0x55686b1bb054 in DB::FileCache::tryReserve(DB::FileSegment&, unsigned long, DB::FileCacheReserveStat&, DB::FileCacheUserInfo const&, unsigned long) build_docker/./src/Interpreters/Cache/FileCache.cpp:873:41 #10 0x55686b2154f0 in DB::FileSegment::reserve(unsigned long, unsigned long, DB::FileCacheReserveStat*) build_docker/./src/Interpreters/Cache/FileSegment.cpp:552:28 #11 0x556865fd3209 in DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:640:54 #12 0x556865fdc0e1 in DB::CachedOnDiskReadBufferFromFile::nextImplStep() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:918:9 #13 0x556865fda52e in DB::CachedOnDiskReadBufferFromFile::nextImpl() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:795:16 #14 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #15 0x556865fbab0e in DB::ReadBufferFromRemoteFSGather::readImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:209:32 #16 0x556865fba9aa in DB::ReadBufferFromRemoteFSGather::nextImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:181:9 #17 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #18 0x556865b77833 in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request, bool) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:147:25 #19 0x556865b7abc4 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0::operator()() const build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:110:46 #20 0x556865b7abc4 in std::__1::function (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()::operator()() build_docker/./src/Common/threadPoolCallbackRunner.h:42:20 #21 0x556865b7abc4 in decltype(std::declval()()) std::__1::__invoke[abi:v15000] (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()&>(DB::IAsynchronousReader::Result&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #22 0x556865b7abc4 in std::__1::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::__1::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1694:12 #23 0x556865b71977 in std::__1::__packaged_task_function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/future:1876:12 #24 0x556865b71977 in std::__1::packaged_task::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1953:24 #25 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #26 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #27 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 #28 0x556858b6e452 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #29 0x556858b6e452 in decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #30 0x556858b6e452 in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 #31 0x556858b6e452 in decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 #32 0x556858b6e452 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 #33 0x556858b5da8c in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #34 0x556858b5da8c in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #35 0x556858b5da8c in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:455:13 #36 0x556858b69b4c in void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #37 0x556858b69b4c in decltype(std::declval()()) std::__1::__invoke[abi:v15000]::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #38 0x556858b69b4c in void std::__1::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(std::__1::tuple::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/thread:284:5 #39 0x556858b69b4c in void* std::__1::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>>(void*) build_docker/./contrib/llvm-project/libcxx/include/thread:295:5 #40 0x5568465cf65a in asan_thread_start(void*) crtstuff.c Indirect leak of 1056 byte(s) in 3 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b1afd63 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b1afd63 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b1afd63 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b1afd63 in std::__1::allocator_traits>>>::allocate[abi:v15000](std::__1::allocator>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x55686b1afd63 in std::__1::__allocation_guard>>>::__allocation_guard[abi:v15000]>(std::__1::allocator, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:53:18 #6 0x55686b1afd63 in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::shared_ptr, void>(std::__1::allocator const&, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:952:48 #7 0x55686b1afd63 in std::__1::shared_ptr std::__1::make_shared[abi:v15000], void>(DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #8 0x55686b1afd63 in DB::FileCache::addFileSegment(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, DB::CachePriorityGuard::Lock const*) build_docker/./src/Interpreters/Cache/FileCache.cpp:762:25 #9 0x55686b1b2306 in DB::FileCache::fillHolesWithEmptyFileSegments(DB::LockedKey&, std::__1::list, std::__1::allocator>>&, DB::FileSegment::Range const&, unsigned long, bool, DB::CreateFileSegmentSettings const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:480:36 #10 0x55686b1b573f in DB::FileCache::getOrSet(DB::FileCacheKey const&, unsigned long, unsigned long, unsigned long, DB::CreateFileSegmentSettings const&, unsigned long, DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:647:9 #11 0x556865fc3a57 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #12 0x556865fc43be in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #13 0x556865fe9732 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #14 0x556865b74eb9 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #15 0x556865fad63f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #16 0x556865fae391 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #17 0x55686d8eadf4 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:331:22 #18 0x55686d8eadf4 in decltype(std::declval const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&>()(std::declval())) std::__1::__invoke[abi:v15000] const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #19 0x55686d8eadf4 in void std::__1::__invoke_void_return_wrapper::__call const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #20 0x55686d8eadf4 in std::__1::__function::__default_alloc_func const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #21 0x55686d8eadf4 in void std::__1::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #22 0x55686745757b in std::__1::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #23 0x55686745757b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #24 0x55686745757b in DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function const&, DB::ISerialization::SubstreamData const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:92:5 #25 0x556867457d19 in DB::ISerialization::enumerateStreams(std::__1::function const&, std::__1::shared_ptr const&, COW::immutable_ptr const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:103:5 #26 0x55686d8e4871 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322:20 #27 0x55686d8e3f12 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #28 0x55686d8e51ef in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:134:9 #29 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #30 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #31 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #32 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #33 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #34 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #35 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #36 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #37 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #38 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #39 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #40 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #41 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #42 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #43 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #44 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #45 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #46 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #47 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #48 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #49 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #50 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 #51 0x556858b6e452 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #52 0x556858b6e452 in decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #53 0x556858b6e452 in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 #54 0x556858b6e452 in decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 #55 0x556858b6e452 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 #56 0x556858b5da8c in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #57 0x556858b5da8c in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #58 0x556858b5da8c in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:455:13 Indirect leak of 960 byte(s) in 12 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b296d18 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b296d18 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b296d18 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b296d18 in std::__1::allocator_traits>>>::allocate[abi:v15000](std::__1::allocator>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x55686b296d18 in std::__1::__allocation_guard>>>::__allocation_guard[abi:v15000]>(std::__1::allocator, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:53:18 #6 0x55686b296d18 in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, unsigned long&, unsigned long&, std::__1::shared_ptr&, void>(std::__1::allocator const&, DB::FileCacheKey const&, unsigned long&, unsigned long&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:952:48 #7 0x55686b296d18 in std::__1::shared_ptr std::__1::make_shared[abi:v15000]&, void>(DB::FileCacheKey const&, unsigned long&, unsigned long&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #8 0x55686b296d18 in DB::SLRUFileCachePriority::add(std::__1::shared_ptr, unsigned long, unsigned long, DB::FileCacheUserInfo const&, DB::CachePriorityGuard::Lock const&, bool) build_docker/./src/Interpreters/Cache/SLRUFileCachePriority.cpp:104:52 #9 0x55686b1bb054 in DB::FileCache::tryReserve(DB::FileSegment&, unsigned long, DB::FileCacheReserveStat&, DB::FileCacheUserInfo const&, unsigned long) build_docker/./src/Interpreters/Cache/FileCache.cpp:873:41 #10 0x55686b2154f0 in DB::FileSegment::reserve(unsigned long, unsigned long, DB::FileCacheReserveStat*) build_docker/./src/Interpreters/Cache/FileSegment.cpp:552:28 #11 0x556865fd3209 in DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:640:54 #12 0x556865fdc0e1 in DB::CachedOnDiskReadBufferFromFile::nextImplStep() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:918:9 #13 0x556865fda52e in DB::CachedOnDiskReadBufferFromFile::nextImpl() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:795:16 #14 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #15 0x556865fbab0e in DB::ReadBufferFromRemoteFSGather::readImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:209:32 #16 0x556865fba9aa in DB::ReadBufferFromRemoteFSGather::nextImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:181:9 #17 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #18 0x556865b77833 in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request, bool) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:147:25 #19 0x556865b7abc4 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0::operator()() const build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:110:46 #20 0x556865b7abc4 in std::__1::function (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()::operator()() build_docker/./src/Common/threadPoolCallbackRunner.h:42:20 #21 0x556865b7abc4 in decltype(std::declval()()) std::__1::__invoke[abi:v15000] (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()&>(DB::IAsynchronousReader::Result&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #22 0x556865b7abc4 in std::__1::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::__1::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1694:12 #23 0x556865b71977 in std::__1::__packaged_task_function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/future:1876:12 #24 0x556865b71977 in std::__1::packaged_task::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1953:24 #25 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #26 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #27 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 #28 0x556858b6e452 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #29 0x556858b6e452 in decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #30 0x556858b6e452 in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 #31 0x556858b6e452 in decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 #32 0x556858b6e452 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 #33 0x556858b5da8c in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #34 0x556858b5da8c in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #35 0x556858b5da8c in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:455:13 #36 0x556858b69b4c in void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #37 0x556858b69b4c in decltype(std::declval()()) std::__1::__invoke[abi:v15000]::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #38 0x556858b69b4c in void std::__1::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(std::__1::tuple::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/thread:284:5 #39 0x556858b69b4c in void* std::__1::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>>(void*) build_docker/./contrib/llvm-project/libcxx/include/thread:295:5 #40 0x5568465cf65a in asan_thread_start(void*) crtstuff.c Indirect leak of 784 byte(s) in 14 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b1b0146 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b1b0146 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b1b0146 in std::__1::allocator>, void*>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b1b0146 in std::__1::allocator_traits>, void*>>>::allocate[abi:v15000](std::__1::allocator>, void*>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x55686b1b0146 in std::__1::unique_ptr>, void*>, std::__1::__tree_node_destructor>, void*>>>> std::__1::__tree>, std::__1::__map_value_compare>, std::__1::less, true>, std::__1::allocator>>>::__construct_node&>(unsigned long&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__tree:2132:23 #6 0x55686b1b0146 in std::__1::pair>, std::__1::__tree_node>, void*>*, long>, bool> std::__1::__tree>, std::__1::__map_value_compare>, std::__1::less, true>, std::__1::allocator>>>::__emplace_unique_key_args&>(unsigned long const&, unsigned long&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__tree:2095:29 #7 0x55686b1b0146 in std::__1::enable_if<__can_extract_map_key>>::value, std::__1::pair>, std::__1::__tree_node>, void*>*, long>, bool>>::type std::__1::__tree>, std::__1::__map_value_compare>, std::__1::less, true>, std::__1::allocator>>>::__emplace_unique[abi:v15000]&>(unsigned long&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__tree:1179:16 #8 0x55686b1b0146 in std::__1::pair>, std::__1::__tree_node>, void*>*, long>>, bool> std::__1::map, std::__1::less, std::__1::allocator>>>::emplace[abi:v15000]&>(unsigned long&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/map:1221:24 #9 0x55686b1b0146 in auto DB::LockedKey::emplace&>(unsigned long&, std::__1::shared_ptr&) build_docker/./src/Interpreters/Cache/Metadata.h:257:58 #10 0x55686b1b0146 in DB::FileCache::addFileSegment(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, DB::CachePriorityGuard::Lock const*) build_docker/./src/Interpreters/Cache/FileCache.cpp:765:60 #11 0x55686b1af16d in DB::FileCache::splitRangeIntoFileSegments(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, unsigned long, DB::CreateFileSegmentSettings const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:341:41 #12 0x55686b1b59c1 in DB::FileCache::getOrSet(DB::FileCacheKey const&, unsigned long, unsigned long, unsigned long, DB::CreateFileSegmentSettings const&, unsigned long, DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:640:25 #13 0x556865fc3a57 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #14 0x556865fc43be in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #15 0x556865fe9732 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #16 0x556865b74eb9 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #17 0x556865fad63f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #18 0x556865fae391 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #19 0x55686d8eadf4 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:331:22 #20 0x55686d8eadf4 in decltype(std::declval const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&>()(std::declval())) std::__1::__invoke[abi:v15000] const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #21 0x55686d8eadf4 in void std::__1::__invoke_void_return_wrapper::__call const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #22 0x55686d8eadf4 in std::__1::__function::__default_alloc_func const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #23 0x55686d8eadf4 in void std::__1::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #24 0x55686745757b in std::__1::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #25 0x55686745757b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #26 0x55686745757b in DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function const&, DB::ISerialization::SubstreamData const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:92:5 #27 0x556867457d19 in DB::ISerialization::enumerateStreams(std::__1::function const&, std::__1::shared_ptr const&, COW::immutable_ptr const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:103:5 #28 0x55686d8e4871 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322:20 #29 0x55686d8e3f12 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #30 0x55686d8e51ef in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:134:9 #31 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #32 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #33 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #34 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #35 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #36 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #37 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #38 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #39 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #40 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #41 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #42 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #43 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #44 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #45 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #46 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #47 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #48 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #49 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #50 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #51 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #52 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 #53 0x556858b6e452 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #54 0x556858b6e452 in decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #55 0x556858b6e452 in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 #56 0x556858b6e452 in decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 #57 0x556858b6e452 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 #58 0x556858b5da8c in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #59 0x556858b5da8c in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #60 0x556858b5da8c in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:455:13 Indirect leak of 672 byte(s) in 14 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b1aff98 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b1aff98 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b1aff98 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b1aff98 in std::__1::allocator_traits>>>::allocate[abi:v15000](std::__1::allocator>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x55686b1aff98 in std::__1::__allocation_guard>>>::__allocation_guard[abi:v15000]>(std::__1::allocator, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:53:18 #6 0x55686b1aff98 in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], std::__1::shared_ptr, void>(std::__1::allocator const&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:952:48 #7 0x55686b1aff98 in std::__1::shared_ptr std::__1::make_shared[abi:v15000], void>(std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #8 0x55686b1aff98 in DB::FileCache::addFileSegment(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, DB::CachePriorityGuard::Lock const*) build_docker/./src/Interpreters/Cache/FileCache.cpp:763:34 #9 0x55686b1af16d in DB::FileCache::splitRangeIntoFileSegments(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, unsigned long, DB::CreateFileSegmentSettings const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:341:41 #10 0x55686b1b59c1 in DB::FileCache::getOrSet(DB::FileCacheKey const&, unsigned long, unsigned long, unsigned long, DB::CreateFileSegmentSettings const&, unsigned long, DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:640:25 #11 0x556865fc3a57 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #12 0x556865fc43be in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #13 0x556865fe9732 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #14 0x556865b74eb9 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #15 0x556865fad63f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #16 0x556865fae391 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #17 0x55686d8eadf4 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:331:22 #18 0x55686d8eadf4 in decltype(std::declval const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&>()(std::declval())) std::__1::__invoke[abi:v15000] const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #19 0x55686d8eadf4 in void std::__1::__invoke_void_return_wrapper::__call const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #20 0x55686d8eadf4 in std::__1::__function::__default_alloc_func const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #21 0x55686d8eadf4 in void std::__1::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #22 0x55686745757b in std::__1::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #23 0x55686745757b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #24 0x55686745757b in DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function const&, DB::ISerialization::SubstreamData const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:92:5 #25 0x556867457d19 in DB::ISerialization::enumerateStreams(std::__1::function const&, std::__1::shared_ptr const&, COW::immutable_ptr const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:103:5 #26 0x55686d8e4871 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322:20 #27 0x55686d8e3f12 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #28 0x55686d8e51ef in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:134:9 #29 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #30 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #31 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #32 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #33 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #34 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #35 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #36 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #37 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #38 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #39 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #40 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #41 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #42 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #43 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #44 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #45 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #46 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #47 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #48 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #49 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #50 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 #51 0x556858b6e452 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #52 0x556858b6e452 in decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #53 0x556858b6e452 in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 #54 0x556858b6e452 in decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 #55 0x556858b6e452 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 #56 0x556858b5da8c in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #57 0x556858b5da8c in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #58 0x556858b5da8c in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:455:13 Indirect leak of 624 byte(s) in 9 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x556876369cc6 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x556876369cc6 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x556876369cc6 in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x556876369cc6 in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x556876369cc6 in std::__1::allocation_result>::pointer> std::__1::allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:33:20 #6 0x556876369cc6 in auto std::__1::__allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:42:10 #7 0x556876369cc6 in std::__1::basic_string, std::__1::allocator>::__init_copy_ctor_external(char const*, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/string:2047:25 #8 0x556876369cc6 in std::__1::basic_string, std::__1::allocator>::basic_string(std::__1::basic_string, std::__1::allocator> const&) build_docker/./contrib/llvm-project/libcxx/include/string:2015:9 #9 0x556876369cc6 in Poco::Logger::Logger(std::__1::basic_string, std::__1::allocator> const&, Poco::Channel*, int) build_docker/./base/poco/Foundation/src/Logger.cpp:51:72 #10 0x556876369cc6 in Poco::Logger::unsafeGet(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:396:17 #11 0x55687636a27a in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:356:24 #12 0x55686b1fe77d in DB::FileSegment::FileSegment(DB::FileCacheKey const&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::weak_ptr, std::__1::shared_ptr) build_docker/./src/Interpreters/Cache/FileSegment.cpp:70:11 #13 0x55686b1afe9e in DB::FileSegment* std::__1::construct_at[abi:v15000], DB::FileSegment*>(DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35:48 #14 0x55686b1afe9e in void std::__1::allocator_traits>::construct[abi:v15000], void, void>(std::__1::allocator&, DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298:9 #15 0x55686b1afe9e in std::__1::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::__1::allocator, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292:9 #16 0x55686b1afe9e in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::shared_ptr, void>(std::__1::allocator const&, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953:55 #17 0x55686b1afe9e in std::__1::shared_ptr std::__1::make_shared[abi:v15000], void>(DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #18 0x55686b1afe9e in DB::FileCache::addFileSegment(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, DB::CachePriorityGuard::Lock const*) build_docker/./src/Interpreters/Cache/FileCache.cpp:762:25 #19 0x55686b1af16d in DB::FileCache::splitRangeIntoFileSegments(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, unsigned long, DB::CreateFileSegmentSettings const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:341:41 #20 0x55686b1b59c1 in DB::FileCache::getOrSet(DB::FileCacheKey const&, unsigned long, unsigned long, unsigned long, DB::CreateFileSegmentSettings const&, unsigned long, DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:640:25 #21 0x556865fc3a57 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #22 0x556865fc43be in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #23 0x556865fe9732 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #24 0x556865b74eb9 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #25 0x556865fad63f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #26 0x556865fae391 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #27 0x55686d8eadf4 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:331:22 #28 0x55686d8eadf4 in decltype(std::declval const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&>()(std::declval())) std::__1::__invoke[abi:v15000] const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #29 0x55686d8eadf4 in void std::__1::__invoke_void_return_wrapper::__call const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #30 0x55686d8eadf4 in std::__1::__function::__default_alloc_func const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #31 0x55686d8eadf4 in void std::__1::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #32 0x55686745757b in std::__1::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #33 0x55686745757b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #34 0x55686745757b in DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function const&, DB::ISerialization::SubstreamData const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:92:5 #35 0x556867457d19 in DB::ISerialization::enumerateStreams(std::__1::function const&, std::__1::shared_ptr const&, COW::immutable_ptr const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:103:5 #36 0x55686d8e4871 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322:20 #37 0x55686d8e3f12 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #38 0x55686d8e51ef in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:134:9 #39 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #40 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #41 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #42 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #43 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #44 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #45 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #46 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #47 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #48 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #49 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #50 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #51 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #52 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #53 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #54 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #55 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #56 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #57 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 Indirect leak of 576 byte(s) in 9 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x556876369ae0 in Poco::Logger::unsafeGet(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:396:13 #2 0x55687636a27a in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:356:24 #3 0x55686b1fe77d in DB::FileSegment::FileSegment(DB::FileCacheKey const&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::weak_ptr, std::__1::shared_ptr) build_docker/./src/Interpreters/Cache/FileSegment.cpp:70:11 #4 0x55686b1afe9e in DB::FileSegment* std::__1::construct_at[abi:v15000], DB::FileSegment*>(DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35:48 #5 0x55686b1afe9e in void std::__1::allocator_traits>::construct[abi:v15000], void, void>(std::__1::allocator&, DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298:9 #6 0x55686b1afe9e in std::__1::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::__1::allocator, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292:9 #7 0x55686b1afe9e in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::shared_ptr, void>(std::__1::allocator const&, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953:55 #8 0x55686b1afe9e in std::__1::shared_ptr std::__1::make_shared[abi:v15000], void>(DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #9 0x55686b1afe9e in DB::FileCache::addFileSegment(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, DB::CachePriorityGuard::Lock const*) build_docker/./src/Interpreters/Cache/FileCache.cpp:762:25 #10 0x55686b1af16d in DB::FileCache::splitRangeIntoFileSegments(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, unsigned long, DB::CreateFileSegmentSettings const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:341:41 #11 0x55686b1b59c1 in DB::FileCache::getOrSet(DB::FileCacheKey const&, unsigned long, unsigned long, unsigned long, DB::CreateFileSegmentSettings const&, unsigned long, DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:640:25 #12 0x556865fc3a57 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #13 0x556865fc43be in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #14 0x556865fe9732 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #15 0x556865b74eb9 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #16 0x556865fad63f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #17 0x556865fae391 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #18 0x55686d8eadf4 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:331:22 #19 0x55686d8eadf4 in decltype(std::declval const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&>()(std::declval())) std::__1::__invoke[abi:v15000] const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #20 0x55686d8eadf4 in void std::__1::__invoke_void_return_wrapper::__call const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #21 0x55686d8eadf4 in std::__1::__function::__default_alloc_func const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #22 0x55686d8eadf4 in void std::__1::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #23 0x55686745757b in std::__1::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #24 0x55686745757b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #25 0x55686745757b in DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function const&, DB::ISerialization::SubstreamData const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:92:5 #26 0x556867457d19 in DB::ISerialization::enumerateStreams(std::__1::function const&, std::__1::shared_ptr const&, COW::immutable_ptr const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:103:5 #27 0x55686d8e4871 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322:20 #28 0x55686d8e3f12 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #29 0x55686d8e51ef in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:134:9 #30 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #31 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #32 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #33 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #34 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #35 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #36 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #37 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #38 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #39 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #40 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #41 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #42 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #43 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #44 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #45 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #46 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #47 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #48 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 Indirect leak of 576 byte(s) in 12 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b207534 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b207534 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b207534 in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b207534 in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x55686b207534 in std::__1::allocation_result>::pointer> std::__1::allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:33:20 #6 0x55686b207534 in auto std::__1::__allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:42:10 #7 0x55686b207534 in std::__1::basic_string, std::__1::allocator>::__grow_by_and_replace(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, char const*) build_docker/./contrib/llvm-project/libcxx/include/string:2351:25 #8 0x55686b207534 in std::__1::basic_string, std::__1::allocator>& std::__1::basic_string, std::__1::allocator>::__assign_no_alias(char const*, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/string:2421:5 #9 0x55686b207534 in std::__1::basic_string, std::__1::allocator>::operator=(std::__1::basic_string, std::__1::allocator> const&) build_docker/./contrib/llvm-project/libcxx/include/string:2503:16 #10 0x55686b207534 in DB::FileSegment::getOrSetDownloader() build_docker/./src/Interpreters/Cache/FileSegment.cpp:230:44 #11 0x556865fc8d1b in DB::CachedOnDiskReadBufferFromFile::getReadBufferForFileSegment(DB::FileSegment&) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:348:51 #12 0x556865fccc78 in DB::CachedOnDiskReadBufferFromFile::getImplementationBuffer(DB::FileSegment&) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:421:41 #13 0x556865fdad71 in DB::CachedOnDiskReadBufferFromFile::nextImplStep() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:866:33 #14 0x556865fda52e in DB::CachedOnDiskReadBufferFromFile::nextImpl() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:795:16 #15 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #16 0x556865fbab0e in DB::ReadBufferFromRemoteFSGather::readImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:209:32 #17 0x556865fba9aa in DB::ReadBufferFromRemoteFSGather::nextImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:181:9 #18 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #19 0x556865b77833 in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request, bool) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:147:25 #20 0x556865b7abc4 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0::operator()() const build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:110:46 #21 0x556865b7abc4 in std::__1::function (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()::operator()() build_docker/./src/Common/threadPoolCallbackRunner.h:42:20 #22 0x556865b7abc4 in decltype(std::declval()()) std::__1::__invoke[abi:v15000] (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()&>(DB::IAsynchronousReader::Result&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #23 0x556865b7abc4 in std::__1::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::__1::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1694:12 #24 0x556865b71977 in std::__1::__packaged_task_function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/future:1876:12 #25 0x556865b71977 in std::__1::packaged_task::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1953:24 #26 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #27 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #28 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 #29 0x556858b6e452 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #30 0x556858b6e452 in decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #31 0x556858b6e452 in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 #32 0x556858b6e452 in decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 #33 0x556858b6e452 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 #34 0x556858b5da8c in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #35 0x556858b5da8c in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #36 0x556858b5da8c in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:455:13 #37 0x556858b69b4c in void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #38 0x556858b69b4c in decltype(std::declval()()) std::__1::__invoke[abi:v15000]::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #39 0x556858b69b4c in void std::__1::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(std::__1::tuple::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/thread:284:5 #40 0x556858b69b4c in void* std::__1::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>>(void*) build_docker/./contrib/llvm-project/libcxx/include/thread:295:5 #41 0x5568465cf65a in asan_thread_start(void*) crtstuff.c Indirect leak of 528 byte(s) in 11 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b234308 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b234308 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b234308 in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b234308 in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x55686b234308 in std::__1::allocation_result>::pointer> std::__1::allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:33:20 #6 0x55686b234308 in auto std::__1::__allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:42:10 #7 0x55686b234308 in std::__1::basic_string, std::__1::allocator>::__init_copy_ctor_external(char const*, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/string:2047:25 #8 0x55686b234308 in std::__1::basic_string, std::__1::allocator>::basic_string(std::__1::basic_string, std::__1::allocator> const&) build_docker/./contrib/llvm-project/libcxx/include/string:2015:9 #9 0x55686b234308 in DB::FileCacheUserInfo::FileCacheUserInfo(DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/UserInfo.h:7:8 #10 0x55686b234308 in DB::KeyMetadata::KeyMetadata(DB::FileCacheKey const&, DB::FileCacheUserInfo const&, DB::CacheMetadata const*, bool) build_docker/./src/Interpreters/Cache/Metadata.cpp:67:7 #11 0x55686b26864b in DB::KeyMetadata* std::__1::construct_at[abi:v15000](DB::KeyMetadata*, DB::FileCacheKey const&, DB::FileCacheUserInfo const&, DB::CacheMetadata*&&, bool&) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35:48 #12 0x55686b26864b in void std::__1::allocator_traits>::construct[abi:v15000](std::__1::allocator&, DB::KeyMetadata*, DB::FileCacheKey const&, DB::FileCacheUserInfo const&, DB::CacheMetadata*&&, bool&) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298:9 #13 0x55686b26864b in std::__1::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::__1::allocator, DB::FileCacheKey const&, DB::FileCacheUserInfo const&, DB::CacheMetadata*&&, bool&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292:9 #14 0x55686b26864b in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, DB::FileCacheUserInfo const&, DB::CacheMetadata*, bool&, void>(std::__1::allocator const&, DB::FileCacheKey const&, DB::FileCacheUserInfo const&, DB::CacheMetadata*&&, bool&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953:55 #15 0x55686b23df29 in std::__1::shared_ptr std::__1::make_shared[abi:v15000](DB::FileCacheKey const&, DB::FileCacheUserInfo const&, DB::CacheMetadata*&&, bool&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #16 0x55686b23df29 in DB::CacheMetadata::getKeyMetadata(DB::FileCacheKey const&, DB::CacheMetadata::KeyNotFoundPolicy, DB::FileCacheUserInfo const&, bool) build_docker/./src/Interpreters/Cache/Metadata.cpp:286:18 #17 0x55686b23c467 in DB::CacheMetadata::lockKeyMetadata(DB::FileCacheKey const&, DB::CacheMetadata::KeyNotFoundPolicy, DB::FileCacheUserInfo const&, bool) build_docker/./src/Interpreters/Cache/Metadata.cpp:230:25 #18 0x55686b1b4c90 in DB::FileCache::getOrSet(DB::FileCacheKey const&, unsigned long, unsigned long, unsigned long, DB::CreateFileSegmentSettings const&, unsigned long, DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:549:32 #19 0x556865fc3a57 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #20 0x556865fc43be in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #21 0x556865fe9732 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #22 0x556865b74eb9 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #23 0x556865fad63f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #24 0x556865fae391 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #25 0x55686d8eadf4 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:331:22 #26 0x55686d8eadf4 in decltype(std::declval const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&>()(std::declval())) std::__1::__invoke[abi:v15000] const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #27 0x55686d8eadf4 in void std::__1::__invoke_void_return_wrapper::__call const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #28 0x55686d8eadf4 in std::__1::__function::__default_alloc_func const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #29 0x55686d8eadf4 in void std::__1::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #30 0x55686745757b in std::__1::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #31 0x55686745757b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #32 0x55686745757b in DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function const&, DB::ISerialization::SubstreamData const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:92:5 #33 0x556867457d19 in DB::ISerialization::enumerateStreams(std::__1::function const&, std::__1::shared_ptr const&, COW::immutable_ptr const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:103:5 #34 0x55686d8e4871 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322:20 #35 0x55686d8e3f12 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #36 0x55686d8e51ef in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:134:9 #37 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #38 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #39 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #40 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #41 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #42 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #43 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #44 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #45 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #46 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #47 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #48 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #49 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #50 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #51 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #52 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #53 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #54 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #55 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #56 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #57 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #58 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 Indirect leak of 528 byte(s) in 6 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b296dd2 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b296dd2 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b296dd2 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b296dd2 in std::__1::allocator_traits>>>::allocate[abi:v15000](std::__1::allocator>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x55686b296dd2 in std::__1::__allocation_guard>>>::__allocation_guard[abi:v15000]>(std::__1::allocator, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:53:18 #6 0x55686b296dd2 in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::SLRUFileCachePriority*, DB::LRUFileCachePriority::LRUIterator, bool, void>(std::__1::allocator const&, DB::SLRUFileCachePriority*&&, DB::LRUFileCachePriority::LRUIterator&&, bool&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:952:48 #7 0x55686b296dd2 in std::__1::shared_ptr std::__1::make_shared[abi:v15000](DB::SLRUFileCachePriority*&&, DB::LRUFileCachePriority::LRUIterator&&, bool&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #8 0x55686b296dd2 in DB::SLRUFileCachePriority::add(std::__1::shared_ptr, unsigned long, unsigned long, DB::FileCacheUserInfo const&, DB::CachePriorityGuard::Lock const&, bool) build_docker/./src/Interpreters/Cache/SLRUFileCachePriority.cpp:105:16 #9 0x55686b1bb054 in DB::FileCache::tryReserve(DB::FileSegment&, unsigned long, DB::FileCacheReserveStat&, DB::FileCacheUserInfo const&, unsigned long) build_docker/./src/Interpreters/Cache/FileCache.cpp:873:41 #10 0x55686b2154f0 in DB::FileSegment::reserve(unsigned long, unsigned long, DB::FileCacheReserveStat*) build_docker/./src/Interpreters/Cache/FileSegment.cpp:552:28 #11 0x556865fdd48f in DB::CachedOnDiskReadBufferFromFile::nextImplStep() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:996:41 #12 0x556865fda52e in DB::CachedOnDiskReadBufferFromFile::nextImpl() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:795:16 #13 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #14 0x556865fbab0e in DB::ReadBufferFromRemoteFSGather::readImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:209:32 #15 0x556865fba9aa in DB::ReadBufferFromRemoteFSGather::nextImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:181:9 #16 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #17 0x556865b77833 in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request, bool) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:147:25 #18 0x556865b7abc4 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0::operator()() const build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:110:46 #19 0x556865b7abc4 in std::__1::function (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()::operator()() build_docker/./src/Common/threadPoolCallbackRunner.h:42:20 #20 0x556865b7abc4 in decltype(std::declval()()) std::__1::__invoke[abi:v15000] (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()&>(DB::IAsynchronousReader::Result&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #21 0x556865b7abc4 in std::__1::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::__1::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1694:12 #22 0x556865b71977 in std::__1::__packaged_task_function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/future:1876:12 #23 0x556865b71977 in std::__1::packaged_task::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1953:24 #24 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #25 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #26 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 #27 0x556858b6e452 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #28 0x556858b6e452 in decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #29 0x556858b6e452 in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 #30 0x556858b6e452 in decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 #31 0x556858b6e452 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 #32 0x556858b5da8c in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #33 0x556858b5da8c in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #34 0x556858b5da8c in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:455:13 #35 0x556858b69b4c in void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #36 0x556858b69b4c in decltype(std::declval()()) std::__1::__invoke[abi:v15000]::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #37 0x556858b69b4c in void std::__1::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(std::__1::tuple::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/thread:284:5 #38 0x556858b69b4c in void* std::__1::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>>(void*) build_docker/./contrib/llvm-project/libcxx/include/thread:295:5 #39 0x5568465cf65a in asan_thread_start(void*) crtstuff.c Indirect leak of 480 byte(s) in 6 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b296d18 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b296d18 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b296d18 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b296d18 in std::__1::allocator_traits>>>::allocate[abi:v15000](std::__1::allocator>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x55686b296d18 in std::__1::__allocation_guard>>>::__allocation_guard[abi:v15000]>(std::__1::allocator, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:53:18 #6 0x55686b296d18 in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, unsigned long&, unsigned long&, std::__1::shared_ptr&, void>(std::__1::allocator const&, DB::FileCacheKey const&, unsigned long&, unsigned long&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:952:48 #7 0x55686b296d18 in std::__1::shared_ptr std::__1::make_shared[abi:v15000]&, void>(DB::FileCacheKey const&, unsigned long&, unsigned long&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #8 0x55686b296d18 in DB::SLRUFileCachePriority::add(std::__1::shared_ptr, unsigned long, unsigned long, DB::FileCacheUserInfo const&, DB::CachePriorityGuard::Lock const&, bool) build_docker/./src/Interpreters/Cache/SLRUFileCachePriority.cpp:104:52 #9 0x55686b1bb054 in DB::FileCache::tryReserve(DB::FileSegment&, unsigned long, DB::FileCacheReserveStat&, DB::FileCacheUserInfo const&, unsigned long) build_docker/./src/Interpreters/Cache/FileCache.cpp:873:41 #10 0x55686b2154f0 in DB::FileSegment::reserve(unsigned long, unsigned long, DB::FileCacheReserveStat*) build_docker/./src/Interpreters/Cache/FileSegment.cpp:552:28 #11 0x556865fdd48f in DB::CachedOnDiskReadBufferFromFile::nextImplStep() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:996:41 #12 0x556865fda52e in DB::CachedOnDiskReadBufferFromFile::nextImpl() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:795:16 #13 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #14 0x556865fbab0e in DB::ReadBufferFromRemoteFSGather::readImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:209:32 #15 0x556865fba9aa in DB::ReadBufferFromRemoteFSGather::nextImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:181:9 #16 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #17 0x556865b77833 in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request, bool) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:147:25 #18 0x556865b7abc4 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0::operator()() const build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:110:46 #19 0x556865b7abc4 in std::__1::function (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()::operator()() build_docker/./src/Common/threadPoolCallbackRunner.h:42:20 #20 0x556865b7abc4 in decltype(std::declval()()) std::__1::__invoke[abi:v15000] (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()&>(DB::IAsynchronousReader::Result&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #21 0x556865b7abc4 in std::__1::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::__1::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1694:12 #22 0x556865b71977 in std::__1::__packaged_task_function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/future:1876:12 #23 0x556865b71977 in std::__1::packaged_task::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1953:24 #24 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #25 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #26 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 #27 0x556858b6e452 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #28 0x556858b6e452 in decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #29 0x556858b6e452 in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 #30 0x556858b6e452 in decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 #31 0x556858b6e452 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 #32 0x556858b5da8c in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #33 0x556858b5da8c in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #34 0x556858b5da8c in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:455:13 #35 0x556858b69b4c in void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #36 0x556858b69b4c in decltype(std::declval()()) std::__1::__invoke[abi:v15000]::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #37 0x556858b69b4c in void std::__1::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(std::__1::tuple::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/thread:284:5 #38 0x556858b69b4c in void* std::__1::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>>(void*) build_docker/./contrib/llvm-project/libcxx/include/thread:295:5 #39 0x5568465cf65a in asan_thread_start(void*) crtstuff.c Indirect leak of 384 byte(s) in 5 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x556876369cc6 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x556876369cc6 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x556876369cc6 in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x556876369cc6 in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x556876369cc6 in std::__1::allocation_result>::pointer> std::__1::allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:33:20 #6 0x556876369cc6 in auto std::__1::__allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:42:10 #7 0x556876369cc6 in std::__1::basic_string, std::__1::allocator>::__init_copy_ctor_external(char const*, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/string:2047:25 #8 0x556876369cc6 in std::__1::basic_string, std::__1::allocator>::basic_string(std::__1::basic_string, std::__1::allocator> const&) build_docker/./contrib/llvm-project/libcxx/include/string:2015:9 #9 0x556876369cc6 in Poco::Logger::Logger(std::__1::basic_string, std::__1::allocator> const&, Poco::Channel*, int) build_docker/./base/poco/Foundation/src/Logger.cpp:51:72 #10 0x556876369cc6 in Poco::Logger::unsafeGet(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:396:17 #11 0x55687636a27a in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:356:24 #12 0x55686b1fe77d in DB::FileSegment::FileSegment(DB::FileCacheKey const&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::weak_ptr, std::__1::shared_ptr) build_docker/./src/Interpreters/Cache/FileSegment.cpp:70:11 #13 0x55686b2595e0 in DB::FileSegment* std::__1::construct_at[abi:v15000] const&, std::__1::shared_ptr&, DB::FileSegment*>(DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState&&, DB::CreateFileSegmentSettings&&, bool&&, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35:48 #14 0x55686b2595e0 in void std::__1::allocator_traits>::construct[abi:v15000] const&, std::__1::shared_ptr&, void, void>(std::__1::allocator&, DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState&&, DB::CreateFileSegmentSettings&&, bool&&, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298:9 #15 0x55686b2595e0 in std::__1::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::__1::shared_ptr&>(std::__1::allocator, DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState&&, DB::CreateFileSegmentSettings&&, bool&&, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292:9 #16 0x55686b2595e0 in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState, DB::CreateFileSegmentSettings, bool, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&, void>(std::__1::allocator const&, DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState&&, DB::CreateFileSegmentSettings&&, bool&&, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953:55 #17 0x55686b2595e0 in std::__1::shared_ptr std::__1::make_shared[abi:v15000] const&, std::__1::shared_ptr&, void>(DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState&&, DB::CreateFileSegmentSettings&&, bool&&, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #18 0x55686b2595e0 in DB::LockedKey::shrinkFileSegmentToDownloadedSize(unsigned long, DB::FileSegmentGuard::Lock const&) build_docker/./src/Interpreters/Cache/Metadata.cpp:1013:30 #19 0x55686b219b79 in DB::FileSegment::complete() build_docker/./src/Interpreters/Cache/FileSegment.cpp:736:33 #20 0x55686b2226ed in DB::FileSegmentsHolder::completeAndPopFrontImpl() build_docker/./src/Interpreters/Cache/FileSegment.cpp:995:13 #21 0x55686b2226ed in DB::FileSegmentsHolder::~FileSegmentsHolder() build_docker/./src/Interpreters/Cache/FileSegment.cpp:990:27 #22 0x556865fd14e1 in std::__1::default_delete::operator()[abi:v15000](DB::FileSegmentsHolder*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #23 0x556865fd14e1 in std::__1::unique_ptr>::reset[abi:v15000](DB::FileSegmentsHolder*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #24 0x556865fd14e1 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #25 0x556865fd14e1 in DB::CachedOnDiskReadBufferFromFile::~CachedOnDiskReadBufferFromFile() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:553:1 #26 0x556865fd1ccd in DB::CachedOnDiskReadBufferFromFile::~CachedOnDiskReadBufferFromFile() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:548:1 #27 0x556865fbd22a in std::__1::__shared_count::__release_shared[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:174:9 #28 0x556865fbd22a in std::__1::__shared_weak_count::__release_shared[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215:27 #29 0x556865fbd22a in std::__1::shared_ptr::~shared_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:702:23 #30 0x556865fbd22a in DB::ReadBufferFromRemoteFSGather::~ReadBufferFromRemoteFSGather() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:287:1 #31 0x556865fbd8ed in DB::ReadBufferFromRemoteFSGather::~ReadBufferFromRemoteFSGather() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:284:1 #32 0x556865fb3469 in std::__1::default_delete::operator()[abi:v15000](DB::ReadBufferFromFileBase*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #33 0x556865fb3469 in std::__1::unique_ptr>::reset[abi:v15000](DB::ReadBufferFromFileBase*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #34 0x556865fb3469 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #35 0x556865fb3469 in DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:370:1 #36 0x556865fb378d in DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:361:1 #37 0x55686d8cf307 in std::__1::default_delete::operator()[abi:v15000](DB::ReadBufferFromFileBase*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #38 0x55686d8cf307 in std::__1::unique_ptr>::reset[abi:v15000](DB::ReadBufferFromFileBase*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #39 0x55686d8cf307 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #40 0x55686d8cf307 in DB::CompressedReadBufferFromFile::~CompressedReadBufferFromFile() build_docker/./src/Compression/CompressedReadBufferFromFile.h:17:7 #41 0x55686d8cf307 in std::__1::default_delete::operator()[abi:v15000](DB::CompressedReadBufferFromFile*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #42 0x55686d8cf307 in std::__1::unique_ptr>::reset[abi:v15000](DB::CompressedReadBufferFromFile*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #43 0x55686d8cf307 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #44 0x55686d8cf307 in DB::MergeTreeReaderStream::~MergeTreeReaderStream() build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.h:35:46 #45 0x55686d8da1ed in DB::MergeTreeReaderStreamSingleColumn::~MergeTreeReaderStreamSingleColumn() build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.h:94:7 #46 0x55686d8eb83a in std::__1::default_delete::operator()[abi:v15000](DB::MergeTreeReaderStream*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #47 0x55686d8eb83a in std::__1::unique_ptr>::reset[abi:v15000](DB::MergeTreeReaderStream*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #48 0x55686d8eb83a in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #49 0x55686d8eb83a in std::__1::pair, std::__1::allocator> const, std::__1::unique_ptr>>::~pair() build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:40:29 #50 0x55686d8eb83a in void std::__1::__destroy_at[abi:v15000], std::__1::allocator> const, std::__1::unique_ptr>>, 0>(std::__1::pair, std::__1::allocator> const, std::__1::unique_ptr>>*) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63:13 #51 0x55686d8eb83a in void std::__1::destroy_at[abi:v15000], std::__1::allocator> const, std::__1::unique_ptr>>, 0>(std::__1::pair, std::__1::allocator> const, std::__1::unique_ptr>>*) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:88:5 #52 0x55686d8eb83a in void std::__1::allocator_traits, std::__1::allocator>, std::__1::unique_ptr>>, void*>>>::destroy[abi:v15000], std::__1::allocator> const, std::__1::unique_ptr>>, void, void>(std::__1::allocator, std::__1::allocator>, std::__1::unique_ptr>>, void*>>&, std::__1::pair, std::__1::allocator> const, std::__1::unique_ptr>>*) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:317:9 #53 0x55686d8eb83a in std::__1::__tree, std::__1::allocator>, std::__1::unique_ptr>>, std::__1::__map_value_compare, std::__1::allocator>, std::__1::__value_type, std::__1::allocator>, std::__1::unique_ptr>>, std::__1::less, std::__1::allocator>>, true>, std::__1::allocator, std::__1::allocator>, std::__1::unique_ptr>>>>::destroy(std::__1::__tree_node, std::__1::allocator>, std::__1::unique_ptr>>, void*>*) build_docker/./contrib/llvm-project/libcxx/include/__tree:1800:9 #54 0x55686d8eb6bc in std::__1::__tree, std::__1::allocator>, std::__1::unique_ptr>>, std::__1::__map_value_compare, std::__1::allocator>, std::__1::__value_type, std::__1::allocator>, std::__1::unique_ptr>>, std::__1::less, std::__1::allocator>>, true>, std::__1::allocator, std::__1::allocator>, std::__1::unique_ptr>>>>::~__tree() build_docker/./contrib/llvm-project/libcxx/include/__tree:1788:3 #55 0x55686d8eb6bc in std::__1::map, std::__1::allocator>, std::__1::unique_ptr>, std::__1::less, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, std::__1::unique_ptr>>>>::~map[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/map:1163:5 #56 0x55686d8eb6bc in DB::MergeTreeReaderWide::~MergeTreeReaderWide() build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.h:14:7 #57 0x55686d8eb74d in DB::MergeTreeReaderWide::~MergeTreeReaderWide() build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.h:14:7 #58 0x55686d9139c9 in std::__1::default_delete::operator()[abi:v15000](DB::IMergeTreeReader*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #59 0x55686d9139c9 in std::__1::unique_ptr>::reset[abi:v15000](DB::IMergeTreeReader*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #60 0x55686d9139c9 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #61 0x55686d9139c9 in DB::MergeTreeReadTask::Readers::~Readers() build_docker/./src/Storages/MergeTree/MergeTreeReadTask.h:90:12 #62 0x55686d9139c9 in DB::MergeTreeReadTask::~MergeTreeReadTask() build_docker/./src/Storages/MergeTree/MergeTreeReadTask.h:76:8 #63 0x55686d90f88c in std::__1::default_delete::operator()[abi:v15000](DB::MergeTreeReadTask*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #64 0x55686d90f88c in std::__1::unique_ptr>::reset[abi:v15000](DB::MergeTreeReadTask*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #65 0x55686d90f88c in std::__1::unique_ptr>::operator=[abi:v15000](std::__1::unique_ptr>&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:225:5 #66 0x55686d90f88c in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:122:22 #67 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #68 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #69 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #70 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #71 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #72 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #73 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #74 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #75 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #76 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #77 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #78 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #79 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #80 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 #81 0x556858b6e452 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #82 0x556858b6e452 in decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #83 0x556858b6e452 in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 #84 0x556858b6e452 in decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 #85 0x556858b6e452 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 #86 0x556858b5da8c in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #87 0x556858b5da8c in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #88 0x556858b5da8c in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:455:13 #89 0x556858b69b4c in void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #90 0x556858b69b4c in decltype(std::declval()()) std::__1::__invoke[abi:v15000]::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #91 0x556858b69b4c in void std::__1::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(std::__1::tuple::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/thread:284:5 #92 0x556858b69b4c in void* std::__1::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>>(void*) build_docker/./contrib/llvm-project/libcxx/include/thread:295:5 #93 0x5568465cf65a in asan_thread_start(void*) crtstuff.c Indirect leak of 352 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x556876317e58 in Poco::FileChannel::newLogFile() build_docker/./base/poco/Foundation/src/FileChannel.cpp:498:10 #2 0x556876316cbe in Poco::FileChannel::unsafeOpen() build_docker/./base/poco/Foundation/src/FileChannel.cpp:386:12 #3 0x556876316b93 in Poco::FileChannel::open() build_docker/./base/poco/Foundation/src/FileChannel.cpp:92:2 #4 0x5568591835b9 in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:103:19 #5 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #6 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #7 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #8 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #9 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #10 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #11 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #12 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 352 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x556876317e58 in Poco::FileChannel::newLogFile() build_docker/./base/poco/Foundation/src/FileChannel.cpp:498:10 #2 0x556876316cbe in Poco::FileChannel::unsafeOpen() build_docker/./base/poco/Foundation/src/FileChannel.cpp:386:12 #3 0x556876316b93 in Poco::FileChannel::open() build_docker/./base/poco/Foundation/src/FileChannel.cpp:92:2 #4 0x556859186acb in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:156:19 #5 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #6 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #7 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #8 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #9 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #10 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #11 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #12 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 320 byte(s) in 5 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x556876369ae0 in Poco::Logger::unsafeGet(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:396:13 #2 0x55687636a27a in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:356:24 #3 0x55686b1fe77d in DB::FileSegment::FileSegment(DB::FileCacheKey const&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::weak_ptr, std::__1::shared_ptr) build_docker/./src/Interpreters/Cache/FileSegment.cpp:70:11 #4 0x55686b2595e0 in DB::FileSegment* std::__1::construct_at[abi:v15000] const&, std::__1::shared_ptr&, DB::FileSegment*>(DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState&&, DB::CreateFileSegmentSettings&&, bool&&, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35:48 #5 0x55686b2595e0 in void std::__1::allocator_traits>::construct[abi:v15000] const&, std::__1::shared_ptr&, void, void>(std::__1::allocator&, DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState&&, DB::CreateFileSegmentSettings&&, bool&&, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298:9 #6 0x55686b2595e0 in std::__1::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::__1::shared_ptr&>(std::__1::allocator, DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState&&, DB::CreateFileSegmentSettings&&, bool&&, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292:9 #7 0x55686b2595e0 in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState, DB::CreateFileSegmentSettings, bool, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&, void>(std::__1::allocator const&, DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState&&, DB::CreateFileSegmentSettings&&, bool&&, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953:55 #8 0x55686b2595e0 in std::__1::shared_ptr std::__1::make_shared[abi:v15000] const&, std::__1::shared_ptr&, void>(DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState&&, DB::CreateFileSegmentSettings&&, bool&&, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #9 0x55686b2595e0 in DB::LockedKey::shrinkFileSegmentToDownloadedSize(unsigned long, DB::FileSegmentGuard::Lock const&) build_docker/./src/Interpreters/Cache/Metadata.cpp:1013:30 #10 0x55686b219b79 in DB::FileSegment::complete() build_docker/./src/Interpreters/Cache/FileSegment.cpp:736:33 #11 0x55686b2226ed in DB::FileSegmentsHolder::completeAndPopFrontImpl() build_docker/./src/Interpreters/Cache/FileSegment.cpp:995:13 #12 0x55686b2226ed in DB::FileSegmentsHolder::~FileSegmentsHolder() build_docker/./src/Interpreters/Cache/FileSegment.cpp:990:27 #13 0x556865fd14e1 in std::__1::default_delete::operator()[abi:v15000](DB::FileSegmentsHolder*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #14 0x556865fd14e1 in std::__1::unique_ptr>::reset[abi:v15000](DB::FileSegmentsHolder*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #15 0x556865fd14e1 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #16 0x556865fd14e1 in DB::CachedOnDiskReadBufferFromFile::~CachedOnDiskReadBufferFromFile() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:553:1 #17 0x556865fd1ccd in DB::CachedOnDiskReadBufferFromFile::~CachedOnDiskReadBufferFromFile() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:548:1 #18 0x556865fbd22a in std::__1::__shared_count::__release_shared[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:174:9 #19 0x556865fbd22a in std::__1::__shared_weak_count::__release_shared[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215:27 #20 0x556865fbd22a in std::__1::shared_ptr::~shared_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:702:23 #21 0x556865fbd22a in DB::ReadBufferFromRemoteFSGather::~ReadBufferFromRemoteFSGather() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:287:1 #22 0x556865fbd8ed in DB::ReadBufferFromRemoteFSGather::~ReadBufferFromRemoteFSGather() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:284:1 #23 0x556865fb3469 in std::__1::default_delete::operator()[abi:v15000](DB::ReadBufferFromFileBase*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #24 0x556865fb3469 in std::__1::unique_ptr>::reset[abi:v15000](DB::ReadBufferFromFileBase*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #25 0x556865fb3469 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #26 0x556865fb3469 in DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:370:1 #27 0x556865fb378d in DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:361:1 #28 0x55686d8cf307 in std::__1::default_delete::operator()[abi:v15000](DB::ReadBufferFromFileBase*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #29 0x55686d8cf307 in std::__1::unique_ptr>::reset[abi:v15000](DB::ReadBufferFromFileBase*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #30 0x55686d8cf307 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #31 0x55686d8cf307 in DB::CompressedReadBufferFromFile::~CompressedReadBufferFromFile() build_docker/./src/Compression/CompressedReadBufferFromFile.h:17:7 #32 0x55686d8cf307 in std::__1::default_delete::operator()[abi:v15000](DB::CompressedReadBufferFromFile*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #33 0x55686d8cf307 in std::__1::unique_ptr>::reset[abi:v15000](DB::CompressedReadBufferFromFile*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #34 0x55686d8cf307 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #35 0x55686d8cf307 in DB::MergeTreeReaderStream::~MergeTreeReaderStream() build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.h:35:46 #36 0x55686d8da1ed in DB::MergeTreeReaderStreamSingleColumn::~MergeTreeReaderStreamSingleColumn() build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.h:94:7 #37 0x55686d8eb83a in std::__1::default_delete::operator()[abi:v15000](DB::MergeTreeReaderStream*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #38 0x55686d8eb83a in std::__1::unique_ptr>::reset[abi:v15000](DB::MergeTreeReaderStream*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #39 0x55686d8eb83a in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #40 0x55686d8eb83a in std::__1::pair, std::__1::allocator> const, std::__1::unique_ptr>>::~pair() build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:40:29 #41 0x55686d8eb83a in void std::__1::__destroy_at[abi:v15000], std::__1::allocator> const, std::__1::unique_ptr>>, 0>(std::__1::pair, std::__1::allocator> const, std::__1::unique_ptr>>*) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63:13 #42 0x55686d8eb83a in void std::__1::destroy_at[abi:v15000], std::__1::allocator> const, std::__1::unique_ptr>>, 0>(std::__1::pair, std::__1::allocator> const, std::__1::unique_ptr>>*) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:88:5 #43 0x55686d8eb83a in void std::__1::allocator_traits, std::__1::allocator>, std::__1::unique_ptr>>, void*>>>::destroy[abi:v15000], std::__1::allocator> const, std::__1::unique_ptr>>, void, void>(std::__1::allocator, std::__1::allocator>, std::__1::unique_ptr>>, void*>>&, std::__1::pair, std::__1::allocator> const, std::__1::unique_ptr>>*) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:317:9 #44 0x55686d8eb83a in std::__1::__tree, std::__1::allocator>, std::__1::unique_ptr>>, std::__1::__map_value_compare, std::__1::allocator>, std::__1::__value_type, std::__1::allocator>, std::__1::unique_ptr>>, std::__1::less, std::__1::allocator>>, true>, std::__1::allocator, std::__1::allocator>, std::__1::unique_ptr>>>>::destroy(std::__1::__tree_node, std::__1::allocator>, std::__1::unique_ptr>>, void*>*) build_docker/./contrib/llvm-project/libcxx/include/__tree:1800:9 #45 0x55686d8eb6bc in std::__1::__tree, std::__1::allocator>, std::__1::unique_ptr>>, std::__1::__map_value_compare, std::__1::allocator>, std::__1::__value_type, std::__1::allocator>, std::__1::unique_ptr>>, std::__1::less, std::__1::allocator>>, true>, std::__1::allocator, std::__1::allocator>, std::__1::unique_ptr>>>>::~__tree() build_docker/./contrib/llvm-project/libcxx/include/__tree:1788:3 #46 0x55686d8eb6bc in std::__1::map, std::__1::allocator>, std::__1::unique_ptr>, std::__1::less, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, std::__1::unique_ptr>>>>::~map[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/map:1163:5 #47 0x55686d8eb6bc in DB::MergeTreeReaderWide::~MergeTreeReaderWide() build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.h:14:7 #48 0x55686d8eb74d in DB::MergeTreeReaderWide::~MergeTreeReaderWide() build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.h:14:7 #49 0x55686d9139c9 in std::__1::default_delete::operator()[abi:v15000](DB::IMergeTreeReader*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #50 0x55686d9139c9 in std::__1::unique_ptr>::reset[abi:v15000](DB::IMergeTreeReader*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #51 0x55686d9139c9 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #52 0x55686d9139c9 in DB::MergeTreeReadTask::Readers::~Readers() build_docker/./src/Storages/MergeTree/MergeTreeReadTask.h:90:12 #53 0x55686d9139c9 in DB::MergeTreeReadTask::~MergeTreeReadTask() build_docker/./src/Storages/MergeTree/MergeTreeReadTask.h:76:8 #54 0x55686d90f88c in std::__1::default_delete::operator()[abi:v15000](DB::MergeTreeReadTask*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #55 0x55686d90f88c in std::__1::unique_ptr>::reset[abi:v15000](DB::MergeTreeReadTask*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #56 0x55686d90f88c in std::__1::unique_ptr>::operator=[abi:v15000](std::__1::unique_ptr>&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:225:5 #57 0x55686d90f88c in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:122:22 #58 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #59 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #60 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #61 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #62 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #63 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #64 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #65 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #66 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #67 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #68 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #69 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #70 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #71 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 #72 0x556858b6e452 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #73 0x556858b6e452 in decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #74 0x556858b6e452 in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 #75 0x556858b6e452 in decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 #76 0x556858b6e452 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 #77 0x556858b5da8c in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #78 0x556858b5da8c in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #79 0x556858b5da8c in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:455:13 #80 0x556858b69b4c in void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #81 0x556858b69b4c in decltype(std::declval()()) std::__1::__invoke[abi:v15000]::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #82 0x556858b69b4c in void std::__1::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(std::__1::tuple::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/thread:284:5 #83 0x556858b69b4c in void* std::__1::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>>(void*) build_docker/./contrib/llvm-project/libcxx/include/thread:295:5 #84 0x5568465cf65a in asan_thread_start(void*) crtstuff.c Indirect leak of 288 byte(s) in 9 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55687636a2e2 in std::__1::shared_ptr::shared_ptr[abi:v15000](Poco::Logger*, Poco::(anonymous namespace)::LoggerDeleter) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:477:24 #2 0x55687636a2e2 in Poco::(anonymous namespace)::makeLoggerPtr(Poco::Logger&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:336:10 #3 0x55687636a2e2 in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:364:9 #4 0x55686b1fe77d in DB::FileSegment::FileSegment(DB::FileCacheKey const&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::weak_ptr, std::__1::shared_ptr) build_docker/./src/Interpreters/Cache/FileSegment.cpp:70:11 #5 0x55686b1afe9e in DB::FileSegment* std::__1::construct_at[abi:v15000], DB::FileSegment*>(DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35:48 #6 0x55686b1afe9e in void std::__1::allocator_traits>::construct[abi:v15000], void, void>(std::__1::allocator&, DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298:9 #7 0x55686b1afe9e in std::__1::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::__1::allocator, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292:9 #8 0x55686b1afe9e in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::shared_ptr, void>(std::__1::allocator const&, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953:55 #9 0x55686b1afe9e in std::__1::shared_ptr std::__1::make_shared[abi:v15000], void>(DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #10 0x55686b1afe9e in DB::FileCache::addFileSegment(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, DB::CachePriorityGuard::Lock const*) build_docker/./src/Interpreters/Cache/FileCache.cpp:762:25 #11 0x55686b1af16d in DB::FileCache::splitRangeIntoFileSegments(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, unsigned long, DB::CreateFileSegmentSettings const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:341:41 #12 0x55686b1b59c1 in DB::FileCache::getOrSet(DB::FileCacheKey const&, unsigned long, unsigned long, unsigned long, DB::CreateFileSegmentSettings const&, unsigned long, DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:640:25 #13 0x556865fc3a57 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #14 0x556865fc43be in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #15 0x556865fe9732 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #16 0x556865b74eb9 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #17 0x556865fad63f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #18 0x556865fae391 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #19 0x55686d8eadf4 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:331:22 #20 0x55686d8eadf4 in decltype(std::declval const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&>()(std::declval())) std::__1::__invoke[abi:v15000] const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #21 0x55686d8eadf4 in void std::__1::__invoke_void_return_wrapper::__call const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #22 0x55686d8eadf4 in std::__1::__function::__default_alloc_func const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #23 0x55686d8eadf4 in void std::__1::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #24 0x55686745757b in std::__1::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #25 0x55686745757b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #26 0x55686745757b in DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function const&, DB::ISerialization::SubstreamData const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:92:5 #27 0x556867457d19 in DB::ISerialization::enumerateStreams(std::__1::function const&, std::__1::shared_ptr const&, COW::immutable_ptr const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:103:5 #28 0x55686d8e4871 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322:20 #29 0x55686d8e3f12 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #30 0x55686d8e51ef in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:134:9 #31 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #32 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #33 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #34 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #35 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #36 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #37 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #38 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #39 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #40 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #41 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #42 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #43 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #44 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #45 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #46 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #47 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #48 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #49 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #50 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #51 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #52 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 Indirect leak of 256 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x556859181e45 in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:94:20 #2 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #3 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #4 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #5 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #6 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #7 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #8 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #9 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 256 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x556859184c6a in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:137:26 #2 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #3 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #4 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #5 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #6 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #7 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #8 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #9 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 240 byte(s) in 3 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x556876369cc6 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x556876369cc6 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x556876369cc6 in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x556876369cc6 in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x556876369cc6 in std::__1::allocation_result>::pointer> std::__1::allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:33:20 #6 0x556876369cc6 in auto std::__1::__allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:42:10 #7 0x556876369cc6 in std::__1::basic_string, std::__1::allocator>::__init_copy_ctor_external(char const*, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/string:2047:25 #8 0x556876369cc6 in std::__1::basic_string, std::__1::allocator>::basic_string(std::__1::basic_string, std::__1::allocator> const&) build_docker/./contrib/llvm-project/libcxx/include/string:2015:9 #9 0x556876369cc6 in Poco::Logger::Logger(std::__1::basic_string, std::__1::allocator> const&, Poco::Channel*, int) build_docker/./base/poco/Foundation/src/Logger.cpp:51:72 #10 0x556876369cc6 in Poco::Logger::unsafeGet(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:396:17 #11 0x55687636a27a in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:356:24 #12 0x55686b1fe77d in DB::FileSegment::FileSegment(DB::FileCacheKey const&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::weak_ptr, std::__1::shared_ptr) build_docker/./src/Interpreters/Cache/FileSegment.cpp:70:11 #13 0x55686b1afe9e in DB::FileSegment* std::__1::construct_at[abi:v15000], DB::FileSegment*>(DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35:48 #14 0x55686b1afe9e in void std::__1::allocator_traits>::construct[abi:v15000], void, void>(std::__1::allocator&, DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298:9 #15 0x55686b1afe9e in std::__1::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::__1::allocator, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292:9 #16 0x55686b1afe9e in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::shared_ptr, void>(std::__1::allocator const&, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953:55 #17 0x55686b1afe9e in std::__1::shared_ptr std::__1::make_shared[abi:v15000], void>(DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #18 0x55686b1afe9e in DB::FileCache::addFileSegment(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, DB::CachePriorityGuard::Lock const*) build_docker/./src/Interpreters/Cache/FileCache.cpp:762:25 #19 0x55686b1b2306 in DB::FileCache::fillHolesWithEmptyFileSegments(DB::LockedKey&, std::__1::list, std::__1::allocator>>&, DB::FileSegment::Range const&, unsigned long, bool, DB::CreateFileSegmentSettings const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:480:36 #20 0x55686b1b573f in DB::FileCache::getOrSet(DB::FileCacheKey const&, unsigned long, unsigned long, unsigned long, DB::CreateFileSegmentSettings const&, unsigned long, DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:647:9 #21 0x556865fc3a57 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #22 0x556865fc43be in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #23 0x556865fe9732 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #24 0x556865b74eb9 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #25 0x556865fad63f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #26 0x556865fae391 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #27 0x55686d8eadf4 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:331:22 #28 0x55686d8eadf4 in decltype(std::declval const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&>()(std::declval())) std::__1::__invoke[abi:v15000] const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #29 0x55686d8eadf4 in void std::__1::__invoke_void_return_wrapper::__call const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #30 0x55686d8eadf4 in std::__1::__function::__default_alloc_func const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #31 0x55686d8eadf4 in void std::__1::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #32 0x55686745757b in std::__1::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #33 0x55686745757b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #34 0x55686745757b in DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function const&, DB::ISerialization::SubstreamData const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:92:5 #35 0x556867457d19 in DB::ISerialization::enumerateStreams(std::__1::function const&, std::__1::shared_ptr const&, COW::immutable_ptr const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:103:5 #36 0x55686d8e4871 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322:20 #37 0x55686d8e3f12 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #38 0x55686d8e51ef in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:134:9 #39 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #40 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #41 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #42 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #43 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #44 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #45 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #46 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #47 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #48 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #49 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #50 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #51 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #52 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #53 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #54 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #55 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #56 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #57 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 Indirect leak of 240 byte(s) in 3 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x556876369cc6 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x556876369cc6 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x556876369cc6 in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x556876369cc6 in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x556876369cc6 in std::__1::allocation_result>::pointer> std::__1::allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:33:20 #6 0x556876369cc6 in auto std::__1::__allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:42:10 #7 0x556876369cc6 in std::__1::basic_string, std::__1::allocator>::__init_copy_ctor_external(char const*, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/string:2047:25 #8 0x556876369cc6 in std::__1::basic_string, std::__1::allocator>::basic_string(std::__1::basic_string, std::__1::allocator> const&) build_docker/./contrib/llvm-project/libcxx/include/string:2015:9 #9 0x556876369cc6 in Poco::Logger::Logger(std::__1::basic_string, std::__1::allocator> const&, Poco::Channel*, int) build_docker/./base/poco/Foundation/src/Logger.cpp:51:72 #10 0x556876369cc6 in Poco::Logger::unsafeGet(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:396:17 #11 0x55687636a27a in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:356:24 #12 0x55686b1fe77d in DB::FileSegment::FileSegment(DB::FileCacheKey const&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::weak_ptr, std::__1::shared_ptr) build_docker/./src/Interpreters/Cache/FileSegment.cpp:70:11 #13 0x55686b1afe9e in DB::FileSegment* std::__1::construct_at[abi:v15000], DB::FileSegment*>(DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35:48 #14 0x55686b1afe9e in void std::__1::allocator_traits>::construct[abi:v15000], void, void>(std::__1::allocator&, DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298:9 #15 0x55686b1afe9e in std::__1::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::__1::allocator, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292:9 #16 0x55686b1afe9e in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::shared_ptr, void>(std::__1::allocator const&, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953:55 #17 0x55686b1afe9e in std::__1::shared_ptr std::__1::make_shared[abi:v15000], void>(DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #18 0x55686b1afe9e in DB::FileCache::addFileSegment(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, DB::CachePriorityGuard::Lock const*) build_docker/./src/Interpreters/Cache/FileCache.cpp:762:25 #19 0x55686b1b18e2 in DB::FileCache::fillHolesWithEmptyFileSegments(DB::LockedKey&, std::__1::list, std::__1::allocator>>&, DB::FileSegment::Range const&, unsigned long, bool, DB::CreateFileSegmentSettings const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:425:36 #20 0x55686b1b573f in DB::FileCache::getOrSet(DB::FileCacheKey const&, unsigned long, unsigned long, unsigned long, DB::CreateFileSegmentSettings const&, unsigned long, DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:647:9 #21 0x556865fc3a57 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #22 0x556865fc43be in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #23 0x556865fe9732 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #24 0x556865b74eb9 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #25 0x556865fad63f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #26 0x556865fae391 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #27 0x55686d8eadf4 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:331:22 #28 0x55686d8eadf4 in decltype(std::declval const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&>()(std::declval())) std::__1::__invoke[abi:v15000] const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #29 0x55686d8eadf4 in void std::__1::__invoke_void_return_wrapper::__call const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #30 0x55686d8eadf4 in std::__1::__function::__default_alloc_func const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #31 0x55686d8eadf4 in void std::__1::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #32 0x55686745757b in std::__1::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #33 0x55686745757b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #34 0x55686745757b in DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function const&, DB::ISerialization::SubstreamData const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:92:5 #35 0x556867457d19 in DB::ISerialization::enumerateStreams(std::__1::function const&, std::__1::shared_ptr const&, COW::immutable_ptr const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:103:5 #36 0x55686d8e4871 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322:20 #37 0x55686d8e3f12 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #38 0x55686d8e51ef in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:134:9 #39 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #40 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #41 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #42 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #43 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #44 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #45 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #46 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #47 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #48 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #49 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #50 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #51 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #52 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #53 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #54 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #55 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #56 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #57 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 Indirect leak of 192 byte(s) in 3 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x556876369ae0 in Poco::Logger::unsafeGet(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:396:13 #2 0x55687636a27a in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:356:24 #3 0x55686b1fe77d in DB::FileSegment::FileSegment(DB::FileCacheKey const&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::weak_ptr, std::__1::shared_ptr) build_docker/./src/Interpreters/Cache/FileSegment.cpp:70:11 #4 0x55686b1afe9e in DB::FileSegment* std::__1::construct_at[abi:v15000], DB::FileSegment*>(DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35:48 #5 0x55686b1afe9e in void std::__1::allocator_traits>::construct[abi:v15000], void, void>(std::__1::allocator&, DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298:9 #6 0x55686b1afe9e in std::__1::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::__1::allocator, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292:9 #7 0x55686b1afe9e in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::shared_ptr, void>(std::__1::allocator const&, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953:55 #8 0x55686b1afe9e in std::__1::shared_ptr std::__1::make_shared[abi:v15000], void>(DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #9 0x55686b1afe9e in DB::FileCache::addFileSegment(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, DB::CachePriorityGuard::Lock const*) build_docker/./src/Interpreters/Cache/FileCache.cpp:762:25 #10 0x55686b1b18e2 in DB::FileCache::fillHolesWithEmptyFileSegments(DB::LockedKey&, std::__1::list, std::__1::allocator>>&, DB::FileSegment::Range const&, unsigned long, bool, DB::CreateFileSegmentSettings const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:425:36 #11 0x55686b1b573f in DB::FileCache::getOrSet(DB::FileCacheKey const&, unsigned long, unsigned long, unsigned long, DB::CreateFileSegmentSettings const&, unsigned long, DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:647:9 #12 0x556865fc3a57 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #13 0x556865fc43be in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #14 0x556865fe9732 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #15 0x556865b74eb9 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #16 0x556865fad63f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #17 0x556865fae391 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #18 0x55686d8eadf4 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:331:22 #19 0x55686d8eadf4 in decltype(std::declval const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&>()(std::declval())) std::__1::__invoke[abi:v15000] const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #20 0x55686d8eadf4 in void std::__1::__invoke_void_return_wrapper::__call const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #21 0x55686d8eadf4 in std::__1::__function::__default_alloc_func const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #22 0x55686d8eadf4 in void std::__1::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #23 0x55686745757b in std::__1::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #24 0x55686745757b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #25 0x55686745757b in DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function const&, DB::ISerialization::SubstreamData const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:92:5 #26 0x556867457d19 in DB::ISerialization::enumerateStreams(std::__1::function const&, std::__1::shared_ptr const&, COW::immutable_ptr const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:103:5 #27 0x55686d8e4871 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322:20 #28 0x55686d8e3f12 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #29 0x55686d8e51ef in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:134:9 #30 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #31 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #32 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #33 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #34 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #35 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #36 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #37 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #38 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #39 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #40 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #41 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #42 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #43 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #44 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #45 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #46 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #47 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #48 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 Indirect leak of 192 byte(s) in 3 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x556876369ae0 in Poco::Logger::unsafeGet(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:396:13 #2 0x55687636a27a in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:356:24 #3 0x55686b1fe77d in DB::FileSegment::FileSegment(DB::FileCacheKey const&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::weak_ptr, std::__1::shared_ptr) build_docker/./src/Interpreters/Cache/FileSegment.cpp:70:11 #4 0x55686b1afe9e in DB::FileSegment* std::__1::construct_at[abi:v15000], DB::FileSegment*>(DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35:48 #5 0x55686b1afe9e in void std::__1::allocator_traits>::construct[abi:v15000], void, void>(std::__1::allocator&, DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298:9 #6 0x55686b1afe9e in std::__1::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::__1::allocator, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292:9 #7 0x55686b1afe9e in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::shared_ptr, void>(std::__1::allocator const&, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953:55 #8 0x55686b1afe9e in std::__1::shared_ptr std::__1::make_shared[abi:v15000], void>(DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #9 0x55686b1afe9e in DB::FileCache::addFileSegment(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, DB::CachePriorityGuard::Lock const*) build_docker/./src/Interpreters/Cache/FileCache.cpp:762:25 #10 0x55686b1b2306 in DB::FileCache::fillHolesWithEmptyFileSegments(DB::LockedKey&, std::__1::list, std::__1::allocator>>&, DB::FileSegment::Range const&, unsigned long, bool, DB::CreateFileSegmentSettings const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:480:36 #11 0x55686b1b573f in DB::FileCache::getOrSet(DB::FileCacheKey const&, unsigned long, unsigned long, unsigned long, DB::CreateFileSegmentSettings const&, unsigned long, DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:647:9 #12 0x556865fc3a57 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #13 0x556865fc43be in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #14 0x556865fe9732 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #15 0x556865b74eb9 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #16 0x556865fad63f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #17 0x556865fae391 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #18 0x55686d8eadf4 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:331:22 #19 0x55686d8eadf4 in decltype(std::declval const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&>()(std::declval())) std::__1::__invoke[abi:v15000] const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #20 0x55686d8eadf4 in void std::__1::__invoke_void_return_wrapper::__call const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #21 0x55686d8eadf4 in std::__1::__function::__default_alloc_func const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #22 0x55686d8eadf4 in void std::__1::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #23 0x55686745757b in std::__1::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #24 0x55686745757b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #25 0x55686745757b in DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function const&, DB::ISerialization::SubstreamData const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:92:5 #26 0x556867457d19 in DB::ISerialization::enumerateStreams(std::__1::function const&, std::__1::shared_ptr const&, COW::immutable_ptr const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:103:5 #27 0x55686d8e4871 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322:20 #28 0x55686d8e3f12 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #29 0x55686d8e51ef in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:134:9 #30 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #31 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #32 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #33 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #34 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #35 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #36 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #37 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #38 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #39 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #40 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #41 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #42 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #43 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #44 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #45 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #46 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #47 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #48 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 Indirect leak of 168 byte(s) in 3 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b1b0146 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b1b0146 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b1b0146 in std::__1::allocator>, void*>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b1b0146 in std::__1::allocator_traits>, void*>>>::allocate[abi:v15000](std::__1::allocator>, void*>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x55686b1b0146 in std::__1::unique_ptr>, void*>, std::__1::__tree_node_destructor>, void*>>>> std::__1::__tree>, std::__1::__map_value_compare>, std::__1::less, true>, std::__1::allocator>>>::__construct_node&>(unsigned long&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__tree:2132:23 #6 0x55686b1b0146 in std::__1::pair>, std::__1::__tree_node>, void*>*, long>, bool> std::__1::__tree>, std::__1::__map_value_compare>, std::__1::less, true>, std::__1::allocator>>>::__emplace_unique_key_args&>(unsigned long const&, unsigned long&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__tree:2095:29 #7 0x55686b1b0146 in std::__1::enable_if<__can_extract_map_key>>::value, std::__1::pair>, std::__1::__tree_node>, void*>*, long>, bool>>::type std::__1::__tree>, std::__1::__map_value_compare>, std::__1::less, true>, std::__1::allocator>>>::__emplace_unique[abi:v15000]&>(unsigned long&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__tree:1179:16 #8 0x55686b1b0146 in std::__1::pair>, std::__1::__tree_node>, void*>*, long>>, bool> std::__1::map, std::__1::less, std::__1::allocator>>>::emplace[abi:v15000]&>(unsigned long&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/map:1221:24 #9 0x55686b1b0146 in auto DB::LockedKey::emplace&>(unsigned long&, std::__1::shared_ptr&) build_docker/./src/Interpreters/Cache/Metadata.h:257:58 #10 0x55686b1b0146 in DB::FileCache::addFileSegment(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, DB::CachePriorityGuard::Lock const*) build_docker/./src/Interpreters/Cache/FileCache.cpp:765:60 #11 0x55686b1b18e2 in DB::FileCache::fillHolesWithEmptyFileSegments(DB::LockedKey&, std::__1::list, std::__1::allocator>>&, DB::FileSegment::Range const&, unsigned long, bool, DB::CreateFileSegmentSettings const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:425:36 #12 0x55686b1b573f in DB::FileCache::getOrSet(DB::FileCacheKey const&, unsigned long, unsigned long, unsigned long, DB::CreateFileSegmentSettings const&, unsigned long, DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:647:9 #13 0x556865fc3a57 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #14 0x556865fc43be in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #15 0x556865fe9732 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #16 0x556865b74eb9 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #17 0x556865fad63f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #18 0x556865fae391 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #19 0x55686d8eadf4 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:331:22 #20 0x55686d8eadf4 in decltype(std::declval const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&>()(std::declval())) std::__1::__invoke[abi:v15000] const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #21 0x55686d8eadf4 in void std::__1::__invoke_void_return_wrapper::__call const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #22 0x55686d8eadf4 in std::__1::__function::__default_alloc_func const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #23 0x55686d8eadf4 in void std::__1::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #24 0x55686745757b in std::__1::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #25 0x55686745757b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #26 0x55686745757b in DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function const&, DB::ISerialization::SubstreamData const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:92:5 #27 0x556867457d19 in DB::ISerialization::enumerateStreams(std::__1::function const&, std::__1::shared_ptr const&, COW::immutable_ptr const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:103:5 #28 0x55686d8e4871 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322:20 #29 0x55686d8e3f12 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #30 0x55686d8e51ef in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:134:9 #31 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #32 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #33 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #34 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #35 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #36 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #37 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #38 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #39 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #40 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #41 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #42 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #43 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #44 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #45 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #46 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #47 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #48 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #49 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #50 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #51 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #52 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 #53 0x556858b6e452 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #54 0x556858b6e452 in decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #55 0x556858b6e452 in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 #56 0x556858b6e452 in decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 #57 0x556858b6e452 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 #58 0x556858b5da8c in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #59 0x556858b5da8c in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #60 0x556858b5da8c in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:455:13 Indirect leak of 168 byte(s) in 3 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b1b0146 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b1b0146 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b1b0146 in std::__1::allocator>, void*>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b1b0146 in std::__1::allocator_traits>, void*>>>::allocate[abi:v15000](std::__1::allocator>, void*>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x55686b1b0146 in std::__1::unique_ptr>, void*>, std::__1::__tree_node_destructor>, void*>>>> std::__1::__tree>, std::__1::__map_value_compare>, std::__1::less, true>, std::__1::allocator>>>::__construct_node&>(unsigned long&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__tree:2132:23 #6 0x55686b1b0146 in std::__1::pair>, std::__1::__tree_node>, void*>*, long>, bool> std::__1::__tree>, std::__1::__map_value_compare>, std::__1::less, true>, std::__1::allocator>>>::__emplace_unique_key_args&>(unsigned long const&, unsigned long&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__tree:2095:29 #7 0x55686b1b0146 in std::__1::enable_if<__can_extract_map_key>>::value, std::__1::pair>, std::__1::__tree_node>, void*>*, long>, bool>>::type std::__1::__tree>, std::__1::__map_value_compare>, std::__1::less, true>, std::__1::allocator>>>::__emplace_unique[abi:v15000]&>(unsigned long&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__tree:1179:16 #8 0x55686b1b0146 in std::__1::pair>, std::__1::__tree_node>, void*>*, long>>, bool> std::__1::map, std::__1::less, std::__1::allocator>>>::emplace[abi:v15000]&>(unsigned long&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/map:1221:24 #9 0x55686b1b0146 in auto DB::LockedKey::emplace&>(unsigned long&, std::__1::shared_ptr&) build_docker/./src/Interpreters/Cache/Metadata.h:257:58 #10 0x55686b1b0146 in DB::FileCache::addFileSegment(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, DB::CachePriorityGuard::Lock const*) build_docker/./src/Interpreters/Cache/FileCache.cpp:765:60 #11 0x55686b1b2306 in DB::FileCache::fillHolesWithEmptyFileSegments(DB::LockedKey&, std::__1::list, std::__1::allocator>>&, DB::FileSegment::Range const&, unsigned long, bool, DB::CreateFileSegmentSettings const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:480:36 #12 0x55686b1b573f in DB::FileCache::getOrSet(DB::FileCacheKey const&, unsigned long, unsigned long, unsigned long, DB::CreateFileSegmentSettings const&, unsigned long, DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:647:9 #13 0x556865fc3a57 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #14 0x556865fc43be in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #15 0x556865fe9732 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #16 0x556865b74eb9 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #17 0x556865fad63f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #18 0x556865fae391 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #19 0x55686d8eadf4 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:331:22 #20 0x55686d8eadf4 in decltype(std::declval const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&>()(std::declval())) std::__1::__invoke[abi:v15000] const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #21 0x55686d8eadf4 in void std::__1::__invoke_void_return_wrapper::__call const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #22 0x55686d8eadf4 in std::__1::__function::__default_alloc_func const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #23 0x55686d8eadf4 in void std::__1::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #24 0x55686745757b in std::__1::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #25 0x55686745757b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #26 0x55686745757b in DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function const&, DB::ISerialization::SubstreamData const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:92:5 #27 0x556867457d19 in DB::ISerialization::enumerateStreams(std::__1::function const&, std::__1::shared_ptr const&, COW::immutable_ptr const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:103:5 #28 0x55686d8e4871 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322:20 #29 0x55686d8e3f12 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #30 0x55686d8e51ef in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:134:9 #31 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #32 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #33 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #34 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #35 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #36 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #37 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #38 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #39 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #40 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #41 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #42 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #43 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #44 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #45 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #46 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #47 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #48 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #49 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #50 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #51 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #52 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 #53 0x556858b6e452 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #54 0x556858b6e452 in decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #55 0x556858b6e452 in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 #56 0x556858b6e452 in decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 #57 0x556858b6e452 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 #58 0x556858b5da8c in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #59 0x556858b5da8c in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #60 0x556858b5da8c in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:455:13 Indirect leak of 160 byte(s) in 5 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55687636a2e2 in std::__1::shared_ptr::shared_ptr[abi:v15000](Poco::Logger*, Poco::(anonymous namespace)::LoggerDeleter) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:477:24 #2 0x55687636a2e2 in Poco::(anonymous namespace)::makeLoggerPtr(Poco::Logger&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:336:10 #3 0x55687636a2e2 in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:364:9 #4 0x55686b1fe77d in DB::FileSegment::FileSegment(DB::FileCacheKey const&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::weak_ptr, std::__1::shared_ptr) build_docker/./src/Interpreters/Cache/FileSegment.cpp:70:11 #5 0x55686b2595e0 in DB::FileSegment* std::__1::construct_at[abi:v15000] const&, std::__1::shared_ptr&, DB::FileSegment*>(DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState&&, DB::CreateFileSegmentSettings&&, bool&&, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35:48 #6 0x55686b2595e0 in void std::__1::allocator_traits>::construct[abi:v15000] const&, std::__1::shared_ptr&, void, void>(std::__1::allocator&, DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState&&, DB::CreateFileSegmentSettings&&, bool&&, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298:9 #7 0x55686b2595e0 in std::__1::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::__1::shared_ptr&>(std::__1::allocator, DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState&&, DB::CreateFileSegmentSettings&&, bool&&, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292:9 #8 0x55686b2595e0 in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState, DB::CreateFileSegmentSettings, bool, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&, void>(std::__1::allocator const&, DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState&&, DB::CreateFileSegmentSettings&&, bool&&, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953:55 #9 0x55686b2595e0 in std::__1::shared_ptr std::__1::make_shared[abi:v15000] const&, std::__1::shared_ptr&, void>(DB::FileCacheKey const&, unsigned long&, unsigned long const&, DB::FileSegmentState&&, DB::CreateFileSegmentSettings&&, bool&&, DB::FileCache*&, std::__1::shared_ptr const&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #10 0x55686b2595e0 in DB::LockedKey::shrinkFileSegmentToDownloadedSize(unsigned long, DB::FileSegmentGuard::Lock const&) build_docker/./src/Interpreters/Cache/Metadata.cpp:1013:30 #11 0x55686b219b79 in DB::FileSegment::complete() build_docker/./src/Interpreters/Cache/FileSegment.cpp:736:33 #12 0x55686b2226ed in DB::FileSegmentsHolder::completeAndPopFrontImpl() build_docker/./src/Interpreters/Cache/FileSegment.cpp:995:13 #13 0x55686b2226ed in DB::FileSegmentsHolder::~FileSegmentsHolder() build_docker/./src/Interpreters/Cache/FileSegment.cpp:990:27 #14 0x556865fd14e1 in std::__1::default_delete::operator()[abi:v15000](DB::FileSegmentsHolder*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #15 0x556865fd14e1 in std::__1::unique_ptr>::reset[abi:v15000](DB::FileSegmentsHolder*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #16 0x556865fd14e1 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #17 0x556865fd14e1 in DB::CachedOnDiskReadBufferFromFile::~CachedOnDiskReadBufferFromFile() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:553:1 #18 0x556865fd1ccd in DB::CachedOnDiskReadBufferFromFile::~CachedOnDiskReadBufferFromFile() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:548:1 #19 0x556865fbd22a in std::__1::__shared_count::__release_shared[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:174:9 #20 0x556865fbd22a in std::__1::__shared_weak_count::__release_shared[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215:27 #21 0x556865fbd22a in std::__1::shared_ptr::~shared_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:702:23 #22 0x556865fbd22a in DB::ReadBufferFromRemoteFSGather::~ReadBufferFromRemoteFSGather() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:287:1 #23 0x556865fbd8ed in DB::ReadBufferFromRemoteFSGather::~ReadBufferFromRemoteFSGather() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:284:1 #24 0x556865fb3469 in std::__1::default_delete::operator()[abi:v15000](DB::ReadBufferFromFileBase*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #25 0x556865fb3469 in std::__1::unique_ptr>::reset[abi:v15000](DB::ReadBufferFromFileBase*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #26 0x556865fb3469 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #27 0x556865fb3469 in DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:370:1 #28 0x556865fb378d in DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:361:1 #29 0x55686d8cf307 in std::__1::default_delete::operator()[abi:v15000](DB::ReadBufferFromFileBase*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #30 0x55686d8cf307 in std::__1::unique_ptr>::reset[abi:v15000](DB::ReadBufferFromFileBase*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #31 0x55686d8cf307 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #32 0x55686d8cf307 in DB::CompressedReadBufferFromFile::~CompressedReadBufferFromFile() build_docker/./src/Compression/CompressedReadBufferFromFile.h:17:7 #33 0x55686d8cf307 in std::__1::default_delete::operator()[abi:v15000](DB::CompressedReadBufferFromFile*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #34 0x55686d8cf307 in std::__1::unique_ptr>::reset[abi:v15000](DB::CompressedReadBufferFromFile*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #35 0x55686d8cf307 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #36 0x55686d8cf307 in DB::MergeTreeReaderStream::~MergeTreeReaderStream() build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.h:35:46 #37 0x55686d8da1ed in DB::MergeTreeReaderStreamSingleColumn::~MergeTreeReaderStreamSingleColumn() build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.h:94:7 #38 0x55686d8eb83a in std::__1::default_delete::operator()[abi:v15000](DB::MergeTreeReaderStream*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #39 0x55686d8eb83a in std::__1::unique_ptr>::reset[abi:v15000](DB::MergeTreeReaderStream*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #40 0x55686d8eb83a in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #41 0x55686d8eb83a in std::__1::pair, std::__1::allocator> const, std::__1::unique_ptr>>::~pair() build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:40:29 #42 0x55686d8eb83a in void std::__1::__destroy_at[abi:v15000], std::__1::allocator> const, std::__1::unique_ptr>>, 0>(std::__1::pair, std::__1::allocator> const, std::__1::unique_ptr>>*) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63:13 #43 0x55686d8eb83a in void std::__1::destroy_at[abi:v15000], std::__1::allocator> const, std::__1::unique_ptr>>, 0>(std::__1::pair, std::__1::allocator> const, std::__1::unique_ptr>>*) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:88:5 #44 0x55686d8eb83a in void std::__1::allocator_traits, std::__1::allocator>, std::__1::unique_ptr>>, void*>>>::destroy[abi:v15000], std::__1::allocator> const, std::__1::unique_ptr>>, void, void>(std::__1::allocator, std::__1::allocator>, std::__1::unique_ptr>>, void*>>&, std::__1::pair, std::__1::allocator> const, std::__1::unique_ptr>>*) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:317:9 #45 0x55686d8eb83a in std::__1::__tree, std::__1::allocator>, std::__1::unique_ptr>>, std::__1::__map_value_compare, std::__1::allocator>, std::__1::__value_type, std::__1::allocator>, std::__1::unique_ptr>>, std::__1::less, std::__1::allocator>>, true>, std::__1::allocator, std::__1::allocator>, std::__1::unique_ptr>>>>::destroy(std::__1::__tree_node, std::__1::allocator>, std::__1::unique_ptr>>, void*>*) build_docker/./contrib/llvm-project/libcxx/include/__tree:1800:9 #46 0x55686d8eb6bc in std::__1::__tree, std::__1::allocator>, std::__1::unique_ptr>>, std::__1::__map_value_compare, std::__1::allocator>, std::__1::__value_type, std::__1::allocator>, std::__1::unique_ptr>>, std::__1::less, std::__1::allocator>>, true>, std::__1::allocator, std::__1::allocator>, std::__1::unique_ptr>>>>::~__tree() build_docker/./contrib/llvm-project/libcxx/include/__tree:1788:3 #47 0x55686d8eb6bc in std::__1::map, std::__1::allocator>, std::__1::unique_ptr>, std::__1::less, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, std::__1::unique_ptr>>>>::~map[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/map:1163:5 #48 0x55686d8eb6bc in DB::MergeTreeReaderWide::~MergeTreeReaderWide() build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.h:14:7 #49 0x55686d8eb74d in DB::MergeTreeReaderWide::~MergeTreeReaderWide() build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.h:14:7 #50 0x55686d9139c9 in std::__1::default_delete::operator()[abi:v15000](DB::IMergeTreeReader*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #51 0x55686d9139c9 in std::__1::unique_ptr>::reset[abi:v15000](DB::IMergeTreeReader*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #52 0x55686d9139c9 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #53 0x55686d9139c9 in DB::MergeTreeReadTask::Readers::~Readers() build_docker/./src/Storages/MergeTree/MergeTreeReadTask.h:90:12 #54 0x55686d9139c9 in DB::MergeTreeReadTask::~MergeTreeReadTask() build_docker/./src/Storages/MergeTree/MergeTreeReadTask.h:76:8 #55 0x55686d90f88c in std::__1::default_delete::operator()[abi:v15000](DB::MergeTreeReadTask*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 #56 0x55686d90f88c in std::__1::unique_ptr>::reset[abi:v15000](DB::MergeTreeReadTask*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #57 0x55686d90f88c in std::__1::unique_ptr>::operator=[abi:v15000](std::__1::unique_ptr>&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:225:5 #58 0x55686d90f88c in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:122:22 #59 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #60 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #61 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #62 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #63 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #64 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #65 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #66 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #67 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #68 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #69 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #70 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #71 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #72 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 #73 0x556858b6e452 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #74 0x556858b6e452 in decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #75 0x556858b6e452 in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 #76 0x556858b6e452 in decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 #77 0x556858b6e452 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 #78 0x556858b5da8c in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #79 0x556858b5da8c in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #80 0x556858b5da8c in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:455:13 #81 0x556858b69b4c in void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #82 0x556858b69b4c in decltype(std::declval()()) std::__1::__invoke[abi:v15000]::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #83 0x556858b69b4c in void std::__1::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(std::__1::tuple::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/thread:284:5 #84 0x556858b69b4c in void* std::__1::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>>(void*) build_docker/./contrib/llvm-project/libcxx/include/thread:295:5 #85 0x5568465cf65a in asan_thread_start(void*) crtstuff.c Indirect leak of 144 byte(s) in 3 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b1aff98 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b1aff98 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b1aff98 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b1aff98 in std::__1::allocator_traits>>>::allocate[abi:v15000](std::__1::allocator>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x55686b1aff98 in std::__1::__allocation_guard>>>::__allocation_guard[abi:v15000]>(std::__1::allocator, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:53:18 #6 0x55686b1aff98 in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], std::__1::shared_ptr, void>(std::__1::allocator const&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:952:48 #7 0x55686b1aff98 in std::__1::shared_ptr std::__1::make_shared[abi:v15000], void>(std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #8 0x55686b1aff98 in DB::FileCache::addFileSegment(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, DB::CachePriorityGuard::Lock const*) build_docker/./src/Interpreters/Cache/FileCache.cpp:763:34 #9 0x55686b1b18e2 in DB::FileCache::fillHolesWithEmptyFileSegments(DB::LockedKey&, std::__1::list, std::__1::allocator>>&, DB::FileSegment::Range const&, unsigned long, bool, DB::CreateFileSegmentSettings const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:425:36 #10 0x55686b1b573f in DB::FileCache::getOrSet(DB::FileCacheKey const&, unsigned long, unsigned long, unsigned long, DB::CreateFileSegmentSettings const&, unsigned long, DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:647:9 #11 0x556865fc3a57 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #12 0x556865fc43be in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #13 0x556865fe9732 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #14 0x556865b74eb9 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #15 0x556865fad63f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #16 0x556865fae391 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #17 0x55686d8eadf4 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:331:22 #18 0x55686d8eadf4 in decltype(std::declval const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&>()(std::declval())) std::__1::__invoke[abi:v15000] const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #19 0x55686d8eadf4 in void std::__1::__invoke_void_return_wrapper::__call const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #20 0x55686d8eadf4 in std::__1::__function::__default_alloc_func const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #21 0x55686d8eadf4 in void std::__1::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #22 0x55686745757b in std::__1::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #23 0x55686745757b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #24 0x55686745757b in DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function const&, DB::ISerialization::SubstreamData const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:92:5 #25 0x556867457d19 in DB::ISerialization::enumerateStreams(std::__1::function const&, std::__1::shared_ptr const&, COW::immutable_ptr const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:103:5 #26 0x55686d8e4871 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322:20 #27 0x55686d8e3f12 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #28 0x55686d8e51ef in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:134:9 #29 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #30 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #31 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #32 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #33 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #34 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #35 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #36 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #37 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #38 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #39 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #40 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #41 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #42 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #43 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #44 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #45 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #46 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #47 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #48 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #49 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #50 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 #51 0x556858b6e452 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #52 0x556858b6e452 in decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #53 0x556858b6e452 in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 #54 0x556858b6e452 in decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 #55 0x556858b6e452 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 #56 0x556858b5da8c in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #57 0x556858b5da8c in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #58 0x556858b5da8c in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:455:13 Indirect leak of 144 byte(s) in 3 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b1aff98 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b1aff98 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b1aff98 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b1aff98 in std::__1::allocator_traits>>>::allocate[abi:v15000](std::__1::allocator>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x55686b1aff98 in std::__1::__allocation_guard>>>::__allocation_guard[abi:v15000]>(std::__1::allocator, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:53:18 #6 0x55686b1aff98 in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], std::__1::shared_ptr, void>(std::__1::allocator const&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:952:48 #7 0x55686b1aff98 in std::__1::shared_ptr std::__1::make_shared[abi:v15000], void>(std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #8 0x55686b1aff98 in DB::FileCache::addFileSegment(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, DB::CachePriorityGuard::Lock const*) build_docker/./src/Interpreters/Cache/FileCache.cpp:763:34 #9 0x55686b1b2306 in DB::FileCache::fillHolesWithEmptyFileSegments(DB::LockedKey&, std::__1::list, std::__1::allocator>>&, DB::FileSegment::Range const&, unsigned long, bool, DB::CreateFileSegmentSettings const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:480:36 #10 0x55686b1b573f in DB::FileCache::getOrSet(DB::FileCacheKey const&, unsigned long, unsigned long, unsigned long, DB::CreateFileSegmentSettings const&, unsigned long, DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:647:9 #11 0x556865fc3a57 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #12 0x556865fc43be in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #13 0x556865fe9732 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #14 0x556865b74eb9 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #15 0x556865fad63f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #16 0x556865fae391 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #17 0x55686d8eadf4 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:331:22 #18 0x55686d8eadf4 in decltype(std::declval const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&>()(std::declval())) std::__1::__invoke[abi:v15000] const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #19 0x55686d8eadf4 in void std::__1::__invoke_void_return_wrapper::__call const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #20 0x55686d8eadf4 in std::__1::__function::__default_alloc_func const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #21 0x55686d8eadf4 in void std::__1::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #22 0x55686745757b in std::__1::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #23 0x55686745757b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #24 0x55686745757b in DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function const&, DB::ISerialization::SubstreamData const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:92:5 #25 0x556867457d19 in DB::ISerialization::enumerateStreams(std::__1::function const&, std::__1::shared_ptr const&, COW::immutable_ptr const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:103:5 #26 0x55686d8e4871 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322:20 #27 0x55686d8e3f12 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #28 0x55686d8e51ef in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:134:9 #29 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #30 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #31 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #32 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #33 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #34 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #35 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #36 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #37 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #38 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #39 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #40 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #41 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #42 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #43 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #44 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #45 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #46 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #47 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #48 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #49 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #50 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 #51 0x556858b6e452 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #52 0x556858b6e452 in decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #53 0x556858b6e452 in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 #54 0x556858b6e452 in decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 #55 0x556858b6e452 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 #56 0x556858b5da8c in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #57 0x556858b5da8c in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #58 0x556858b5da8c in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:455:13 Indirect leak of 144 byte(s) in 3 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b207534 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b207534 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b207534 in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b207534 in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x55686b207534 in std::__1::allocation_result>::pointer> std::__1::allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:33:20 #6 0x55686b207534 in auto std::__1::__allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:42:10 #7 0x55686b207534 in std::__1::basic_string, std::__1::allocator>::__grow_by_and_replace(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, char const*) build_docker/./contrib/llvm-project/libcxx/include/string:2351:25 #8 0x55686b207534 in std::__1::basic_string, std::__1::allocator>& std::__1::basic_string, std::__1::allocator>::__assign_no_alias(char const*, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/string:2421:5 #9 0x55686b207534 in std::__1::basic_string, std::__1::allocator>::operator=(std::__1::basic_string, std::__1::allocator> const&) build_docker/./contrib/llvm-project/libcxx/include/string:2503:16 #10 0x55686b207534 in DB::FileSegment::getOrSetDownloader() build_docker/./src/Interpreters/Cache/FileSegment.cpp:230:44 #11 0x556865fc8d1b in DB::CachedOnDiskReadBufferFromFile::getReadBufferForFileSegment(DB::FileSegment&) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:348:51 #12 0x556865fccc78 in DB::CachedOnDiskReadBufferFromFile::getImplementationBuffer(DB::FileSegment&) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:421:41 #13 0x556865fcfb6a in DB::CachedOnDiskReadBufferFromFile::completeFileSegmentAndGetNext() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:538:29 #14 0x556865fdfcdd in DB::CachedOnDiskReadBufferFromFile::nextImplStep() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1107:9 #15 0x556865fda52e in DB::CachedOnDiskReadBufferFromFile::nextImpl() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:795:16 #16 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #17 0x556865fbab0e in DB::ReadBufferFromRemoteFSGather::readImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:209:32 #18 0x556865fba9aa in DB::ReadBufferFromRemoteFSGather::nextImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:181:9 #19 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #20 0x556865b77833 in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request, bool) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:147:25 #21 0x556865b7abc4 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0::operator()() const build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:110:46 #22 0x556865b7abc4 in std::__1::function (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()::operator()() build_docker/./src/Common/threadPoolCallbackRunner.h:42:20 #23 0x556865b7abc4 in decltype(std::declval()()) std::__1::__invoke[abi:v15000] (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()&>(DB::IAsynchronousReader::Result&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #24 0x556865b7abc4 in std::__1::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::__1::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1694:12 #25 0x556865b71977 in std::__1::__packaged_task_function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/future:1876:12 #26 0x556865b71977 in std::__1::packaged_task::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1953:24 #27 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #28 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #29 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 #30 0x556858b6e452 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #31 0x556858b6e452 in decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #32 0x556858b6e452 in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 #33 0x556858b6e452 in decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 #34 0x556858b6e452 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 #35 0x556858b5da8c in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #36 0x556858b5da8c in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #37 0x556858b5da8c in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:455:13 #38 0x556858b69b4c in void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 #39 0x556858b69b4c in decltype(std::declval()()) std::__1::__invoke[abi:v15000]::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #40 0x556858b69b4c in void std::__1::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(std::__1::tuple::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/thread:284:5 #41 0x556858b69b4c in void* std::__1::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>>(void*) build_docker/./contrib/llvm-project/libcxx/include/thread:295:5 #42 0x5568465cf65a in asan_thread_start(void*) crtstuff.c Indirect leak of 96 byte(s) in 3 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55687636a2e2 in std::__1::shared_ptr::shared_ptr[abi:v15000](Poco::Logger*, Poco::(anonymous namespace)::LoggerDeleter) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:477:24 #2 0x55687636a2e2 in Poco::(anonymous namespace)::makeLoggerPtr(Poco::Logger&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:336:10 #3 0x55687636a2e2 in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:364:9 #4 0x55686b1fe77d in DB::FileSegment::FileSegment(DB::FileCacheKey const&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::weak_ptr, std::__1::shared_ptr) build_docker/./src/Interpreters/Cache/FileSegment.cpp:70:11 #5 0x55686b1afe9e in DB::FileSegment* std::__1::construct_at[abi:v15000], DB::FileSegment*>(DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35:48 #6 0x55686b1afe9e in void std::__1::allocator_traits>::construct[abi:v15000], void, void>(std::__1::allocator&, DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298:9 #7 0x55686b1afe9e in std::__1::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::__1::allocator, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292:9 #8 0x55686b1afe9e in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::shared_ptr, void>(std::__1::allocator const&, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953:55 #9 0x55686b1afe9e in std::__1::shared_ptr std::__1::make_shared[abi:v15000], void>(DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #10 0x55686b1afe9e in DB::FileCache::addFileSegment(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, DB::CachePriorityGuard::Lock const*) build_docker/./src/Interpreters/Cache/FileCache.cpp:762:25 #11 0x55686b1b2306 in DB::FileCache::fillHolesWithEmptyFileSegments(DB::LockedKey&, std::__1::list, std::__1::allocator>>&, DB::FileSegment::Range const&, unsigned long, bool, DB::CreateFileSegmentSettings const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:480:36 #12 0x55686b1b573f in DB::FileCache::getOrSet(DB::FileCacheKey const&, unsigned long, unsigned long, unsigned long, DB::CreateFileSegmentSettings const&, unsigned long, DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:647:9 #13 0x556865fc3a57 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #14 0x556865fc43be in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #15 0x556865fe9732 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #16 0x556865b74eb9 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #17 0x556865fad63f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #18 0x556865fae391 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #19 0x55686d8eadf4 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:331:22 #20 0x55686d8eadf4 in decltype(std::declval const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&>()(std::declval())) std::__1::__invoke[abi:v15000] const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #21 0x55686d8eadf4 in void std::__1::__invoke_void_return_wrapper::__call const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #22 0x55686d8eadf4 in std::__1::__function::__default_alloc_func const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #23 0x55686d8eadf4 in void std::__1::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #24 0x55686745757b in std::__1::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #25 0x55686745757b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #26 0x55686745757b in DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function const&, DB::ISerialization::SubstreamData const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:92:5 #27 0x556867457d19 in DB::ISerialization::enumerateStreams(std::__1::function const&, std::__1::shared_ptr const&, COW::immutable_ptr const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:103:5 #28 0x55686d8e4871 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322:20 #29 0x55686d8e3f12 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #30 0x55686d8e51ef in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:134:9 #31 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #32 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #33 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #34 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #35 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #36 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #37 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #38 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #39 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #40 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #41 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #42 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #43 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #44 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #45 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #46 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #47 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #48 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #49 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #50 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #51 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #52 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 Indirect leak of 96 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x556859186811 in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:152:18 #2 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #3 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #4 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #5 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #6 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #7 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #8 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #9 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 96 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x556859183a4e in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:110:18 #2 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #3 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #4 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #5 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #6 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #7 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #8 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #9 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 96 byte(s) in 3 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55687636a2e2 in std::__1::shared_ptr::shared_ptr[abi:v15000](Poco::Logger*, Poco::(anonymous namespace)::LoggerDeleter) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:477:24 #2 0x55687636a2e2 in Poco::(anonymous namespace)::makeLoggerPtr(Poco::Logger&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:336:10 #3 0x55687636a2e2 in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:364:9 #4 0x55686b1fe77d in DB::FileSegment::FileSegment(DB::FileCacheKey const&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::weak_ptr, std::__1::shared_ptr) build_docker/./src/Interpreters/Cache/FileSegment.cpp:70:11 #5 0x55686b1afe9e in DB::FileSegment* std::__1::construct_at[abi:v15000], DB::FileSegment*>(DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35:48 #6 0x55686b1afe9e in void std::__1::allocator_traits>::construct[abi:v15000], void, void>(std::__1::allocator&, DB::FileSegment*, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298:9 #7 0x55686b1afe9e in std::__1::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::__1::allocator, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292:9 #8 0x55686b1afe9e in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool, DB::FileCache*, std::__1::shared_ptr, void>(std::__1::allocator const&, DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953:55 #9 0x55686b1afe9e in std::__1::shared_ptr std::__1::make_shared[abi:v15000], void>(DB::FileCacheKey const&, unsigned long&, unsigned long&, DB::FileSegmentState&, DB::CreateFileSegmentSettings const&, bool&&, DB::FileCache*&&, std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #10 0x55686b1afe9e in DB::FileCache::addFileSegment(DB::LockedKey&, unsigned long, unsigned long, DB::FileSegmentState, DB::CreateFileSegmentSettings const&, DB::CachePriorityGuard::Lock const*) build_docker/./src/Interpreters/Cache/FileCache.cpp:762:25 #11 0x55686b1b18e2 in DB::FileCache::fillHolesWithEmptyFileSegments(DB::LockedKey&, std::__1::list, std::__1::allocator>>&, DB::FileSegment::Range const&, unsigned long, bool, DB::CreateFileSegmentSettings const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:425:36 #12 0x55686b1b573f in DB::FileCache::getOrSet(DB::FileCacheKey const&, unsigned long, unsigned long, unsigned long, DB::CreateFileSegmentSettings const&, unsigned long, DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/FileCache.cpp:647:9 #13 0x556865fc3a57 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #14 0x556865fc43be in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #15 0x556865fe9732 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #16 0x556865b74eb9 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #17 0x556865fad63f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #18 0x556865fae391 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #19 0x55686d8eadf4 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:331:22 #20 0x55686d8eadf4 in decltype(std::declval const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&>()(std::declval())) std::__1::__invoke[abi:v15000] const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #21 0x55686d8eadf4 in void std::__1::__invoke_void_return_wrapper::__call const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0&, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #22 0x55686d8eadf4 in std::__1::__function::__default_alloc_func const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #23 0x55686d8eadf4 in void std::__1::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__1::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #24 0x55686745757b in std::__1::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #25 0x55686745757b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #26 0x55686745757b in DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::__1::function const&, DB::ISerialization::SubstreamData const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:92:5 #27 0x556867457d19 in DB::ISerialization::enumerateStreams(std::__1::function const&, std::__1::shared_ptr const&, COW::immutable_ptr const&) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:103:5 #28 0x55686d8e4871 in DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::__1::shared_ptr const&, unsigned long, bool, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322:20 #29 0x55686d8e3f12 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #30 0x55686d8e51ef in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:134:9 #31 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #32 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #33 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #34 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #35 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #36 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #37 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #38 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #39 0x55686f440008 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #40 0x55686e618003 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #41 0x55686e666d8d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #42 0x55686e666d8d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #43 0x55686e6479a2 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #44 0x55686e6479a2 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #45 0x55686e648bc5 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #46 0x55686e648bc5 in decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #47 0x55686e648bc5 in void std::__1::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #48 0x55686e648bc5 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #49 0x55686e648bc5 in void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #50 0x556858b658ba in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #51 0x556858b658ba in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #52 0x556858b658ba in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 Indirect leak of 88 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b296dd2 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b296dd2 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b296dd2 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b296dd2 in std::__1::allocator_traits>>>::allocate[abi:v15000](std::__1::allocator>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x55686b296dd2 in std::__1::__allocation_guard>>>::__allocation_guard[abi:v15000]>(std::__1::allocator, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:53:18 #6 0x55686b296dd2 in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::SLRUFileCachePriority*, DB::LRUFileCachePriority::LRUIterator, bool, void>(std::__1::allocator const&, DB::SLRUFileCachePriority*&&, DB::LRUFileCachePriority::LRUIterator&&, bool&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:952:48 #7 0x55686b296dd2 in std::__1::shared_ptr std::__1::make_shared[abi:v15000](DB::SLRUFileCachePriority*&&, DB::LRUFileCachePriority::LRUIterator&&, bool&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #8 0x55686b296dd2 in DB::SLRUFileCachePriority::add(std::__1::shared_ptr, unsigned long, unsigned long, DB::FileCacheUserInfo const&, DB::CachePriorityGuard::Lock const&, bool) build_docker/./src/Interpreters/Cache/SLRUFileCachePriority.cpp:105:16 #9 0x55686b1bb054 in DB::FileCache::tryReserve(DB::FileSegment&, unsigned long, DB::FileCacheReserveStat&, DB::FileCacheUserInfo const&, unsigned long) build_docker/./src/Interpreters/Cache/FileCache.cpp:873:41 #10 0x55686b2154f0 in DB::FileSegment::reserve(unsigned long, unsigned long, DB::FileCacheReserveStat*) build_docker/./src/Interpreters/Cache/FileSegment.cpp:552:28 #11 0x556865fdd48f in DB::CachedOnDiskReadBufferFromFile::nextImplStep() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:996:41 #12 0x556865fda52e in DB::CachedOnDiskReadBufferFromFile::nextImpl() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:795:16 #13 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #14 0x556865fbab0e in DB::ReadBufferFromRemoteFSGather::readImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:209:32 #15 0x556865fba9aa in DB::ReadBufferFromRemoteFSGather::nextImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:181:9 #16 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #17 0x556865b77833 in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request, bool) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:147:25 #18 0x556865b788ab in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:115:12 #19 0x556865fadec6 in DB::AsynchronousBoundedReadBuffer::readSync(char*, unsigned long) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:101:19 #20 0x556865fb120b in DB::AsynchronousBoundedReadBuffer::nextImpl() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:218:22 #21 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #22 0x556847389bfd in DB::ReadBuffer::readStrict(char*, unsigned long) (/usr/bin/clickhouse+0xb4ffbfd) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #23 0x556867098c72 in DB::CompressedReadBufferBase::readCompressedData(unsigned long&, unsigned long&, bool) build_docker/./src/Compression/CompressedReadBufferBase.cpp:195:24 #24 0x55686709ece8 in DB::CompressedReadBufferFromFile::nextImpl() build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:22:23 #25 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #26 0x556867594e0e in DB::ReadBuffer::eof() build_docker/./src/IO/ReadBuffer.h:106:38 #27 0x556867594e0e in void DB::deserializeBinarySSE2<4>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) build_docker/./src/DataTypes/Serializations/SerializationString.cpp:160:18 #28 0x556867593b42 in DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const build_docker/./src/DataTypes/Serializations/SerializationString.cpp:253:9 #29 0x556867459836 in DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::__1::shared_ptr&, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>*) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:146:9 #30 0x55686d8e6dbe in DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::__1::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:363:20 #31 0x55686d8e56eb in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:151:17 #32 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #33 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #34 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #35 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #36 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #37 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #38 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #39 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 Indirect leak of 88 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b296dd2 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b296dd2 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b296dd2 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b296dd2 in std::__1::allocator_traits>>>::allocate[abi:v15000](std::__1::allocator>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x55686b296dd2 in std::__1::__allocation_guard>>>::__allocation_guard[abi:v15000]>(std::__1::allocator, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:53:18 #6 0x55686b296dd2 in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::SLRUFileCachePriority*, DB::LRUFileCachePriority::LRUIterator, bool, void>(std::__1::allocator const&, DB::SLRUFileCachePriority*&&, DB::LRUFileCachePriority::LRUIterator&&, bool&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:952:48 #7 0x55686b296dd2 in std::__1::shared_ptr std::__1::make_shared[abi:v15000](DB::SLRUFileCachePriority*&&, DB::LRUFileCachePriority::LRUIterator&&, bool&&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #8 0x55686b296dd2 in DB::SLRUFileCachePriority::add(std::__1::shared_ptr, unsigned long, unsigned long, DB::FileCacheUserInfo const&, DB::CachePriorityGuard::Lock const&, bool) build_docker/./src/Interpreters/Cache/SLRUFileCachePriority.cpp:105:16 #9 0x55686b1bb054 in DB::FileCache::tryReserve(DB::FileSegment&, unsigned long, DB::FileCacheReserveStat&, DB::FileCacheUserInfo const&, unsigned long) build_docker/./src/Interpreters/Cache/FileCache.cpp:873:41 #10 0x55686b2154f0 in DB::FileSegment::reserve(unsigned long, unsigned long, DB::FileCacheReserveStat*) build_docker/./src/Interpreters/Cache/FileSegment.cpp:552:28 #11 0x556865fdd48f in DB::CachedOnDiskReadBufferFromFile::nextImplStep() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:996:41 #12 0x556865fda52e in DB::CachedOnDiskReadBufferFromFile::nextImpl() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:795:16 #13 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #14 0x556865fbab0e in DB::ReadBufferFromRemoteFSGather::readImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:209:32 #15 0x556865fba9aa in DB::ReadBufferFromRemoteFSGather::nextImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:181:9 #16 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #17 0x556865b77833 in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request, bool) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:147:25 #18 0x556865b788ab in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:115:12 #19 0x556865fadec6 in DB::AsynchronousBoundedReadBuffer::readSync(char*, unsigned long) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:101:19 #20 0x556865fb120b in DB::AsynchronousBoundedReadBuffer::nextImpl() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:218:22 #21 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #22 0x556847389bfd in DB::ReadBuffer::readStrict(char*, unsigned long) (/usr/bin/clickhouse+0xb4ffbfd) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #23 0x556867098c72 in DB::CompressedReadBufferBase::readCompressedData(unsigned long&, unsigned long&, bool) build_docker/./src/Compression/CompressedReadBufferBase.cpp:195:24 #24 0x55686709ece8 in DB::CompressedReadBufferFromFile::nextImpl() build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:22:23 #25 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #26 0x556867595aee in DB::ReadBuffer::eof() build_docker/./src/IO/ReadBuffer.h:106:38 #27 0x556867595aee in void DB::deserializeBinarySSE2<3>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) build_docker/./src/DataTypes/Serializations/SerializationString.cpp:160:18 #28 0x556867593b76 in DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const build_docker/./src/DataTypes/Serializations/SerializationString.cpp:255:9 #29 0x556867459836 in DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::__1::shared_ptr&, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>*) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:146:9 #30 0x55686d8e6dbe in DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::__1::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:363:20 #31 0x55686d8e56eb in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:151:17 #32 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #33 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #34 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #35 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #36 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #37 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #38 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #39 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 Indirect leak of 80 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b296d18 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b296d18 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b296d18 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b296d18 in std::__1::allocator_traits>>>::allocate[abi:v15000](std::__1::allocator>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x55686b296d18 in std::__1::__allocation_guard>>>::__allocation_guard[abi:v15000]>(std::__1::allocator, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:53:18 #6 0x55686b296d18 in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, unsigned long&, unsigned long&, std::__1::shared_ptr&, void>(std::__1::allocator const&, DB::FileCacheKey const&, unsigned long&, unsigned long&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:952:48 #7 0x55686b296d18 in std::__1::shared_ptr std::__1::make_shared[abi:v15000]&, void>(DB::FileCacheKey const&, unsigned long&, unsigned long&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #8 0x55686b296d18 in DB::SLRUFileCachePriority::add(std::__1::shared_ptr, unsigned long, unsigned long, DB::FileCacheUserInfo const&, DB::CachePriorityGuard::Lock const&, bool) build_docker/./src/Interpreters/Cache/SLRUFileCachePriority.cpp:104:52 #9 0x55686b1bb054 in DB::FileCache::tryReserve(DB::FileSegment&, unsigned long, DB::FileCacheReserveStat&, DB::FileCacheUserInfo const&, unsigned long) build_docker/./src/Interpreters/Cache/FileCache.cpp:873:41 #10 0x55686b2154f0 in DB::FileSegment::reserve(unsigned long, unsigned long, DB::FileCacheReserveStat*) build_docker/./src/Interpreters/Cache/FileSegment.cpp:552:28 #11 0x556865fdd48f in DB::CachedOnDiskReadBufferFromFile::nextImplStep() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:996:41 #12 0x556865fda52e in DB::CachedOnDiskReadBufferFromFile::nextImpl() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:795:16 #13 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #14 0x556865fbab0e in DB::ReadBufferFromRemoteFSGather::readImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:209:32 #15 0x556865fba9aa in DB::ReadBufferFromRemoteFSGather::nextImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:181:9 #16 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #17 0x556865b77833 in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request, bool) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:147:25 #18 0x556865b788ab in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:115:12 #19 0x556865fadec6 in DB::AsynchronousBoundedReadBuffer::readSync(char*, unsigned long) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:101:19 #20 0x556865fb120b in DB::AsynchronousBoundedReadBuffer::nextImpl() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:218:22 #21 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #22 0x556847389bfd in DB::ReadBuffer::readStrict(char*, unsigned long) (/usr/bin/clickhouse+0xb4ffbfd) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #23 0x556867098c72 in DB::CompressedReadBufferBase::readCompressedData(unsigned long&, unsigned long&, bool) build_docker/./src/Compression/CompressedReadBufferBase.cpp:195:24 #24 0x55686709ece8 in DB::CompressedReadBufferFromFile::nextImpl() build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:22:23 #25 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #26 0x556867594e0e in DB::ReadBuffer::eof() build_docker/./src/IO/ReadBuffer.h:106:38 #27 0x556867594e0e in void DB::deserializeBinarySSE2<4>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) build_docker/./src/DataTypes/Serializations/SerializationString.cpp:160:18 #28 0x556867593b42 in DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const build_docker/./src/DataTypes/Serializations/SerializationString.cpp:253:9 #29 0x556867459836 in DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::__1::shared_ptr&, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>*) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:146:9 #30 0x55686d8e6dbe in DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::__1::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:363:20 #31 0x55686d8e56eb in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:151:17 #32 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #33 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #34 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #35 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #36 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #37 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #38 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #39 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 Indirect leak of 80 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55686b296d18 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55686b296d18 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55686b296d18 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55686b296d18 in std::__1::allocator_traits>>>::allocate[abi:v15000](std::__1::allocator>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x55686b296d18 in std::__1::__allocation_guard>>>::__allocation_guard[abi:v15000]>(std::__1::allocator, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:53:18 #6 0x55686b296d18 in std::__1::shared_ptr std::__1::allocate_shared[abi:v15000], DB::FileCacheKey const&, unsigned long&, unsigned long&, std::__1::shared_ptr&, void>(std::__1::allocator const&, DB::FileCacheKey const&, unsigned long&, unsigned long&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:952:48 #7 0x55686b296d18 in std::__1::shared_ptr std::__1::make_shared[abi:v15000]&, void>(DB::FileCacheKey const&, unsigned long&, unsigned long&, std::__1::shared_ptr&) build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962:12 #8 0x55686b296d18 in DB::SLRUFileCachePriority::add(std::__1::shared_ptr, unsigned long, unsigned long, DB::FileCacheUserInfo const&, DB::CachePriorityGuard::Lock const&, bool) build_docker/./src/Interpreters/Cache/SLRUFileCachePriority.cpp:104:52 #9 0x55686b1bb054 in DB::FileCache::tryReserve(DB::FileSegment&, unsigned long, DB::FileCacheReserveStat&, DB::FileCacheUserInfo const&, unsigned long) build_docker/./src/Interpreters/Cache/FileCache.cpp:873:41 #10 0x55686b2154f0 in DB::FileSegment::reserve(unsigned long, unsigned long, DB::FileCacheReserveStat*) build_docker/./src/Interpreters/Cache/FileSegment.cpp:552:28 #11 0x556865fdd48f in DB::CachedOnDiskReadBufferFromFile::nextImplStep() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:996:41 #12 0x556865fda52e in DB::CachedOnDiskReadBufferFromFile::nextImpl() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:795:16 #13 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #14 0x556865fbab0e in DB::ReadBufferFromRemoteFSGather::readImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:209:32 #15 0x556865fba9aa in DB::ReadBufferFromRemoteFSGather::nextImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:181:9 #16 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #17 0x556865b77833 in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request, bool) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:147:25 #18 0x556865b788ab in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:115:12 #19 0x556865fadec6 in DB::AsynchronousBoundedReadBuffer::readSync(char*, unsigned long) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:101:19 #20 0x556865fb120b in DB::AsynchronousBoundedReadBuffer::nextImpl() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:218:22 #21 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #22 0x556847389bfd in DB::ReadBuffer::readStrict(char*, unsigned long) (/usr/bin/clickhouse+0xb4ffbfd) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #23 0x556867098c72 in DB::CompressedReadBufferBase::readCompressedData(unsigned long&, unsigned long&, bool) build_docker/./src/Compression/CompressedReadBufferBase.cpp:195:24 #24 0x55686709ece8 in DB::CompressedReadBufferFromFile::nextImpl() build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:22:23 #25 0x55684733610a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb4ac10a) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #26 0x556867595aee in DB::ReadBuffer::eof() build_docker/./src/IO/ReadBuffer.h:106:38 #27 0x556867595aee in void DB::deserializeBinarySSE2<3>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) build_docker/./src/DataTypes/Serializations/SerializationString.cpp:160:18 #28 0x556867593b76 in DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const build_docker/./src/DataTypes/Serializations/SerializationString.cpp:255:9 #29 0x556867459836 in DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::__1::shared_ptr&, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>*) const build_docker/./src/DataTypes/Serializations/ISerialization.cpp:146:9 #30 0x55686d8e6dbe in DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::__1::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::__1::unordered_map, std::__1::allocator>, COW::immutable_ptr, std::__1::hash, std::__1::allocator>>, std::__1::equal_to, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, COW::immutable_ptr>>>&, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:363:20 #31 0x55686d8e56eb in DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:151:17 #32 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::readRows(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:109:47 #33 0x55686d915bc9 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #34 0x55686d93505d in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #35 0x55686d93505d in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #36 0x55686d92f37d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #37 0x55686d949f8b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #38 0x55686f436ed3 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #39 0x55686d90f98a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 Indirect leak of 72 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x5568591af066 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568591af066 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568591af066 in std::__1::allocator, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, void*>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568591af066 in std::__1::allocator_traits, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, void*>>>::allocate[abi:v15000](std::__1::allocator, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, void*>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x5568591af066 in std::__1::unique_ptr, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, void*>, std::__1::__tree_node_destructor, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, void*>>>> std::__1::__tree, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, std::__1::__map_value_compare, std::__1::allocator>, std::__1::__value_type, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, std::__1::less, std::__1::allocator>>, true>, std::__1::allocator, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>>>::__construct_node, std::__1::allocator> const&, std::__1::pair, DB::ExtendedLogChannel*>>(std::__1::basic_string, std::__1::allocator> const&, std::__1::pair, DB::ExtendedLogChannel*>&&) build_docker/./contrib/llvm-project/libcxx/include/__tree:2132:23 #6 0x5568591aee16 in std::__1::pair, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, std::__1::__tree_node, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, void*>*, long>, bool> std::__1::__tree, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, std::__1::__map_value_compare, std::__1::allocator>, std::__1::__value_type, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, std::__1::less, std::__1::allocator>>, true>, std::__1::allocator, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>>>::__emplace_unique_key_args, std::__1::allocator>, std::__1::basic_string, std::__1::allocator> const&, std::__1::pair, DB::ExtendedLogChannel*>>(std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&, std::__1::pair, DB::ExtendedLogChannel*>&&) build_docker/./contrib/llvm-project/libcxx/include/__tree:2095:29 #7 0x5568591ab4b5 in std::__1::enable_if<__can_extract_map_key, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator>, std::__1::pair, std::__1::allocator> const, std::__1::pair, DB::ExtendedLogChannel*>>>::value, std::__1::pair, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, std::__1::__tree_node, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, void*>*, long>, bool>>::type std::__1::__tree, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, std::__1::__map_value_compare, std::__1::allocator>, std::__1::__value_type, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, std::__1::less, std::__1::allocator>>, true>, std::__1::allocator, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>>>::__emplace_unique[abi:v15000], std::__1::allocator> const&, std::__1::pair, DB::ExtendedLogChannel*>>(std::__1::basic_string, std::__1::allocator> const&, std::__1::pair, DB::ExtendedLogChannel*>&&) build_docker/./contrib/llvm-project/libcxx/include/__tree:1179:16 #8 0x5568591ab4b5 in std::__1::pair, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, std::__1::__tree_node, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, void*>*, long>>, bool> std::__1::map, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>, std::__1::less, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, std::__1::pair, DB::ExtendedLogChannel*>>>>::emplace[abi:v15000], std::__1::allocator> const&, std::__1::pair, DB::ExtendedLogChannel*>>(std::__1::basic_string, std::__1::allocator> const&, std::__1::pair, DB::ExtendedLogChannel*>&&) build_docker/./contrib/llvm-project/libcxx/include/map:1221:24 #9 0x5568591ab4b5 in DB::OwnSplitChannel::addChannel(Poco::AutoPtr, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/OwnSplitChannel.cpp:146:14 #10 0x556859186bcf in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:157:16 #11 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #12 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #13 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #14 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #15 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #16 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #17 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #18 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 72 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x5568591af066 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568591af066 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568591af066 in std::__1::allocator, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, void*>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568591af066 in std::__1::allocator_traits, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, void*>>>::allocate[abi:v15000](std::__1::allocator, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, void*>>&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:262:20 #5 0x5568591af066 in std::__1::unique_ptr, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, void*>, std::__1::__tree_node_destructor, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, void*>>>> std::__1::__tree, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, std::__1::__map_value_compare, std::__1::allocator>, std::__1::__value_type, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, std::__1::less, std::__1::allocator>>, true>, std::__1::allocator, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>>>::__construct_node, std::__1::allocator> const&, std::__1::pair, DB::ExtendedLogChannel*>>(std::__1::basic_string, std::__1::allocator> const&, std::__1::pair, DB::ExtendedLogChannel*>&&) build_docker/./contrib/llvm-project/libcxx/include/__tree:2132:23 #6 0x5568591aee16 in std::__1::pair, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, std::__1::__tree_node, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, void*>*, long>, bool> std::__1::__tree, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, std::__1::__map_value_compare, std::__1::allocator>, std::__1::__value_type, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, std::__1::less, std::__1::allocator>>, true>, std::__1::allocator, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>>>::__emplace_unique_key_args, std::__1::allocator>, std::__1::basic_string, std::__1::allocator> const&, std::__1::pair, DB::ExtendedLogChannel*>>(std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&, std::__1::pair, DB::ExtendedLogChannel*>&&) build_docker/./contrib/llvm-project/libcxx/include/__tree:2095:29 #7 0x5568591ab4b5 in std::__1::enable_if<__can_extract_map_key, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator>, std::__1::pair, std::__1::allocator> const, std::__1::pair, DB::ExtendedLogChannel*>>>::value, std::__1::pair, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, std::__1::__tree_node, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, void*>*, long>, bool>>::type std::__1::__tree, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, std::__1::__map_value_compare, std::__1::allocator>, std::__1::__value_type, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, std::__1::less, std::__1::allocator>>, true>, std::__1::allocator, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>>>::__emplace_unique[abi:v15000], std::__1::allocator> const&, std::__1::pair, DB::ExtendedLogChannel*>>(std::__1::basic_string, std::__1::allocator> const&, std::__1::pair, DB::ExtendedLogChannel*>&&) build_docker/./contrib/llvm-project/libcxx/include/__tree:1179:16 #8 0x5568591ab4b5 in std::__1::pair, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, std::__1::__tree_node, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>>, void*>*, long>>, bool> std::__1::map, std::__1::allocator>, std::__1::pair, DB::ExtendedLogChannel*>, std::__1::less, std::__1::allocator>>, std::__1::allocator, std::__1::allocator> const, std::__1::pair, DB::ExtendedLogChannel*>>>>::emplace[abi:v15000], std::__1::allocator> const&, std::__1::pair, DB::ExtendedLogChannel*>>(std::__1::basic_string, std::__1::allocator> const&, std::__1::pair, DB::ExtendedLogChannel*>&&) build_docker/./contrib/llvm-project/libcxx/include/map:1221:24 #9 0x5568591ab4b5 in DB::OwnSplitChannel::addChannel(Poco::AutoPtr, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/OwnSplitChannel.cpp:146:14 #10 0x556859183df4 in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:114:16 #11 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #12 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #13 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #14 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #15 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #16 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #17 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #18 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 72 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55685918113c in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:65:13 #2 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #3 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #4 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #5 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #6 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #7 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #8 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #9 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 64 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55687633ccfb in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55687633ccfb in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55687633ccfb in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55687633ccfb in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x55687633ccfb in std::__1::allocation_result>::pointer> std::__1::allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:33:20 #6 0x55687633ccfb in auto std::__1::__allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:42:10 #7 0x55687633ccfb in std::__1::basic_string, std::__1::allocator>::__grow_by_and_replace(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, char const*) build_docker/./contrib/llvm-project/libcxx/include/string:2351:25 #8 0x55687633ccfb in std::__1::basic_string, std::__1::allocator>& std::__1::basic_string, std::__1::allocator>::__assign_no_alias(char const*, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/string:2421:5 #9 0x55687633ccfb in std::__1::basic_string, std::__1::allocator>::operator=(std::__1::basic_string, std::__1::allocator> const&) build_docker/./contrib/llvm-project/libcxx/include/string:2503:16 #10 0x55687633ccfb in Poco::FileStreamBuf::open(std::__1::basic_string, std::__1::allocator> const&, unsigned int) build_docker/./base/poco/Foundation/src/FileStream_POSIX.cpp:46:8 #11 0x556876340806 in Poco::FileIOS::open(std::__1::basic_string, std::__1::allocator> const&, unsigned int) build_docker/./base/poco/Foundation/src/FileStream.cpp:38:7 #12 0x556876340806 in Poco::FileOutputStream::FileOutputStream(std::__1::basic_string, std::__1::allocator> const&, unsigned int) build_docker/./base/poco/Foundation/src/FileStream.cpp:88:2 #13 0x55687635d746 in Poco::LogFileImpl::LogFileImpl(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile_STD.cpp:25:2 #14 0x55687635e471 in Poco::LogFile::LogFile(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile.cpp:24:44 #15 0x556876317e6a in Poco::FileChannel::newLogFile() build_docker/./base/poco/Foundation/src/FileChannel.cpp:498:14 #16 0x556876316cbe in Poco::FileChannel::unsafeOpen() build_docker/./base/poco/Foundation/src/FileChannel.cpp:386:12 #17 0x556876316b93 in Poco::FileChannel::open() build_docker/./base/poco/Foundation/src/FileChannel.cpp:92:2 #18 0x556859186acb in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:156:19 #19 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #20 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #21 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #22 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #23 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #24 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #25 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #26 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 64 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55687635d6c3 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55687635d6c3 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55687635d6c3 in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55687635d6c3 in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x55687635d6c3 in std::__1::allocation_result>::pointer> std::__1::allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:33:20 #6 0x55687635d6c3 in auto std::__1::__allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:42:10 #7 0x55687635d6c3 in std::__1::basic_string, std::__1::allocator>::__init_copy_ctor_external(char const*, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/string:2047:25 #8 0x55687635d6c3 in std::__1::basic_string, std::__1::allocator>::basic_string(std::__1::basic_string, std::__1::allocator> const&) build_docker/./contrib/llvm-project/libcxx/include/string:2015:9 #9 0x55687635d6c3 in Poco::LogFileImpl::LogFileImpl(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile_STD.cpp:24:2 #10 0x55687635e471 in Poco::LogFile::LogFile(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile.cpp:24:44 #11 0x556876317e6a in Poco::FileChannel::newLogFile() build_docker/./base/poco/Foundation/src/FileChannel.cpp:498:14 #12 0x556876316cbe in Poco::FileChannel::unsafeOpen() build_docker/./base/poco/Foundation/src/FileChannel.cpp:386:12 #13 0x556876316b93 in Poco::FileChannel::open() build_docker/./base/poco/Foundation/src/FileChannel.cpp:92:2 #14 0x556859186acb in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:156:19 #15 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #16 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #17 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #18 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #19 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #20 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #21 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #22 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 64 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x556876318e8b in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x556876318e8b in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x556876318e8b in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x556876318e8b in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x556876318e8b in std::__1::allocation_result>::pointer> std::__1::allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:33:20 #6 0x556876318e8b in auto std::__1::__allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:42:10 #7 0x556876318e8b in std::__1::basic_string, std::__1::allocator>::__grow_by_and_replace(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, char const*) build_docker/./contrib/llvm-project/libcxx/include/string:2351:25 #8 0x556876318e8b in std::__1::basic_string, std::__1::allocator>& std::__1::basic_string, std::__1::allocator>::__assign_no_alias(char const*, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/string:2421:5 #9 0x556876318e8b in std::__1::basic_string, std::__1::allocator>::operator=(std::__1::basic_string, std::__1::allocator> const&) build_docker/./contrib/llvm-project/libcxx/include/string:2503:16 #10 0x556876318e8b in Poco::FileChannel::setProperty(std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/FileChannel.cpp:164:9 #11 0x556859184eb4 in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:138:25 #12 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #13 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #14 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #15 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #16 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #17 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #18 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #19 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 64 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55687633ccfb in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55687633ccfb in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55687633ccfb in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55687633ccfb in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x55687633ccfb in std::__1::allocation_result>::pointer> std::__1::allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:33:20 #6 0x55687633ccfb in auto std::__1::__allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:42:10 #7 0x55687633ccfb in std::__1::basic_string, std::__1::allocator>::__grow_by_and_replace(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, char const*) build_docker/./contrib/llvm-project/libcxx/include/string:2351:25 #8 0x55687633ccfb in std::__1::basic_string, std::__1::allocator>& std::__1::basic_string, std::__1::allocator>::__assign_no_alias(char const*, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/string:2421:5 #9 0x55687633ccfb in std::__1::basic_string, std::__1::allocator>::operator=(std::__1::basic_string, std::__1::allocator> const&) build_docker/./contrib/llvm-project/libcxx/include/string:2503:16 #10 0x55687633ccfb in Poco::FileStreamBuf::open(std::__1::basic_string, std::__1::allocator> const&, unsigned int) build_docker/./base/poco/Foundation/src/FileStream_POSIX.cpp:46:8 #11 0x556876340806 in Poco::FileIOS::open(std::__1::basic_string, std::__1::allocator> const&, unsigned int) build_docker/./base/poco/Foundation/src/FileStream.cpp:38:7 #12 0x556876340806 in Poco::FileOutputStream::FileOutputStream(std::__1::basic_string, std::__1::allocator> const&, unsigned int) build_docker/./base/poco/Foundation/src/FileStream.cpp:88:2 #13 0x55687635d746 in Poco::LogFileImpl::LogFileImpl(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile_STD.cpp:25:2 #14 0x55687635e471 in Poco::LogFile::LogFile(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile.cpp:24:44 #15 0x556876317e6a in Poco::FileChannel::newLogFile() build_docker/./base/poco/Foundation/src/FileChannel.cpp:498:14 #16 0x556876316cbe in Poco::FileChannel::unsafeOpen() build_docker/./base/poco/Foundation/src/FileChannel.cpp:386:12 #17 0x556876316b93 in Poco::FileChannel::open() build_docker/./base/poco/Foundation/src/FileChannel.cpp:92:2 #18 0x5568591835b9 in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:103:19 #19 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #20 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #21 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #22 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #23 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #24 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #25 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #26 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 64 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55687635d6c3 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x55687635d6c3 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x55687635d6c3 in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x55687635d6c3 in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x55687635d6c3 in std::__1::allocation_result>::pointer> std::__1::allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:33:20 #6 0x55687635d6c3 in auto std::__1::__allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:42:10 #7 0x55687635d6c3 in std::__1::basic_string, std::__1::allocator>::__init_copy_ctor_external(char const*, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/string:2047:25 #8 0x55687635d6c3 in std::__1::basic_string, std::__1::allocator>::basic_string(std::__1::basic_string, std::__1::allocator> const&) build_docker/./contrib/llvm-project/libcxx/include/string:2015:9 #9 0x55687635d6c3 in Poco::LogFileImpl::LogFileImpl(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile_STD.cpp:24:2 #10 0x55687635e471 in Poco::LogFile::LogFile(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile.cpp:24:44 #11 0x556876317e6a in Poco::FileChannel::newLogFile() build_docker/./base/poco/Foundation/src/FileChannel.cpp:498:14 #12 0x556876316cbe in Poco::FileChannel::unsafeOpen() build_docker/./base/poco/Foundation/src/FileChannel.cpp:386:12 #13 0x556876316b93 in Poco::FileChannel::open() build_docker/./base/poco/Foundation/src/FileChannel.cpp:92:2 #14 0x5568591835b9 in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:103:19 #15 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #16 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #17 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #18 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #19 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #20 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #21 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #22 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 64 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x556876318e8b in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x556876318e8b in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x556876318e8b in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x556876318e8b in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x556876318e8b in std::__1::allocation_result>::pointer> std::__1::allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:33:20 #6 0x556876318e8b in auto std::__1::__allocate_at_least[abi:v15000]>(std::__1::allocator&, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:42:10 #7 0x556876318e8b in std::__1::basic_string, std::__1::allocator>::__grow_by_and_replace(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, char const*) build_docker/./contrib/llvm-project/libcxx/include/string:2351:25 #8 0x556876318e8b in std::__1::basic_string, std::__1::allocator>& std::__1::basic_string, std::__1::allocator>::__assign_no_alias(char const*, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/string:2421:5 #9 0x556876318e8b in std::__1::basic_string, std::__1::allocator>::operator=(std::__1::basic_string, std::__1::allocator> const&) build_docker/./contrib/llvm-project/libcxx/include/string:2503:16 #10 0x556876318e8b in Poco::FileChannel::setProperty(std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/FileChannel.cpp:164:9 #11 0x556859182089 in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:95:19 #12 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #13 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #14 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #15 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #16 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #17 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #18 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #19 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 56 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55685918682f in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:154:60 #2 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #3 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #4 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #5 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #6 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #7 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #8 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #9 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 56 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x556859183a6c in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:112:55 #2 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #3 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #4 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #5 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #6 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #7 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #8 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #9 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 24 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55687631ad84 in Poco::FileChannel::setArchive(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/FileChannel.cpp:297:15 #2 0x556876318dc6 in Poco::FileChannel::setProperty(std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/FileChannel.cpp #3 0x5568591853fe in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:140:25 #4 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #5 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #6 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #7 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #8 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #9 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #10 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #11 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 24 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55687631ad84 in Poco::FileChannel::setArchive(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/FileChannel.cpp:297:15 #2 0x556876318dc6 in Poco::FileChannel::setProperty(std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/FileChannel.cpp #3 0x5568591825e2 in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:97:19 #4 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #5 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #6 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #7 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #8 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #9 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #10 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #11 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 16 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55687631c851 in Poco::FileChannel::setPurgeCount(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/FileChannel.cpp:350:19 #2 0x556876318c11 in Poco::FileChannel::setProperty(std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/FileChannel.cpp:176:3 #3 0x556859185c15 in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:143:25 #4 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #5 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #6 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #7 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #8 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #9 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #10 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #11 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) Indirect leak of 16 byte(s) in 1 object(s) allocated from: #0 0x55684660468d in operator new(unsigned long) (/usr/bin/clickhouse+0xa77a68d) (BuildId: b943d2239572ed2ac157b325e65bd84c7e8d5042) #1 0x55687631c851 in Poco::FileChannel::setPurgeCount(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/FileChannel.cpp:350:19 #2 0x556876318c11 in Poco::FileChannel::setProperty(std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/FileChannel.cpp:176:3 #3 0x556859182df5 in Loggers::buildLoggers(Poco::Util::AbstractConfiguration&, Poco::Logger&, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/Loggers.cpp:100:19 #4 0x556859129363 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #5 0x556858dce139 in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #6 0x556876036690 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #7 0x556858dcd9c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #8 0x55687607afe8 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #9 0x556858dc59d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #10 0x55684660960a in main build_docker/./programs/main.cpp:498:21 #11 0x7ff871a15d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 962015aa9d133c6cbcfb31ec300596d7f44d3348) SUMMARY: AddressSanitizer: 37744 byte(s) leaked in 222 allocation(s).