Logging trace to /var/log/clickhouse-server/clickhouse-server.log Logging errors to /var/log/clickhouse-server/clickhouse-server.err.log ==391==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases! ================================================================= ==391==ERROR: LeakSanitizer: detected memory leaks Indirect leak of 4096 byte(s) in 1 object(s) allocated from: #0 0x5568928eb5dd in operator new[](unsigned long) (/usr/bin/clickhouse+0xa7e55dd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c265db54 in Poco::BufferAllocator::allocate(long) build_docker/./base/poco/Foundation/include/Poco/BufferAllocator.h:38:64 #2 0x5568c265db54 in Poco::BasicBufferedBidirectionalStreamBuf, Poco::BufferAllocator>::BasicBufferedBidirectionalStreamBuf(long, unsigned int) build_docker/./base/poco/Foundation/include/Poco/BufferedBidirectionalStreamBuf.h:59:92 #3 0x5568c265db54 in Poco::FileStreamBuf::FileStreamBuf() build_docker/./base/poco/Foundation/src/FileStream_POSIX.cpp:28:2 #4 0x5568c265db54 in Poco::FileIOS::FileIOS(unsigned int) build_docker/./base/poco/Foundation/src/FileStream.cpp:23:10 #5 0x5568c2660818 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 0x5568c267d8a6 in Poco::LogFileImpl::LogFileImpl(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile_STD.cpp:25:2 #7 0x5568c267e5d1 in Poco::LogFile::LogFile(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile.cpp:24:44 #8 0x5568c2637fca in Poco::FileChannel::newLogFile() build_docker/./base/poco/Foundation/src/FileChannel.cpp:498:14 #9 0x5568c2636e1e in Poco::FileChannel::unsafeOpen() build_docker/./base/poco/Foundation/src/FileChannel.cpp:386:12 #10 0x5568c2636cf3 in Poco::FileChannel::open() build_docker/./base/poco/Foundation/src/FileChannel.cpp:92:2 #11 0x5568a547a599 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #13 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #14 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #15 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #16 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #17 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #18 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #19 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 4096 byte(s) in 1 object(s) allocated from: #0 0x5568928eb5dd in operator new[](unsigned long) (/usr/bin/clickhouse+0xa7e55dd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c265db1d in Poco::BufferAllocator::allocate(long) build_docker/./base/poco/Foundation/include/Poco/BufferAllocator.h:38:64 #2 0x5568c265db1d in Poco::BasicBufferedBidirectionalStreamBuf, Poco::BufferAllocator>::BasicBufferedBidirectionalStreamBuf(long, unsigned int) build_docker/./base/poco/Foundation/include/Poco/BufferedBidirectionalStreamBuf.h:59:46 #3 0x5568c265db1d in Poco::FileStreamBuf::FileStreamBuf() build_docker/./base/poco/Foundation/src/FileStream_POSIX.cpp:28:2 #4 0x5568c265db1d in Poco::FileIOS::FileIOS(unsigned int) build_docker/./base/poco/Foundation/src/FileStream.cpp:23:10 #5 0x5568c2660818 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 0x5568c267d8a6 in Poco::LogFileImpl::LogFileImpl(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile_STD.cpp:25:2 #7 0x5568c267e5d1 in Poco::LogFile::LogFile(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile.cpp:24:44 #8 0x5568c2637fca in Poco::FileChannel::newLogFile() build_docker/./base/poco/Foundation/src/FileChannel.cpp:498:14 #9 0x5568c2636e1e in Poco::FileChannel::unsafeOpen() build_docker/./base/poco/Foundation/src/FileChannel.cpp:386:12 #10 0x5568c2636cf3 in Poco::FileChannel::open() build_docker/./base/poco/Foundation/src/FileChannel.cpp:92:2 #11 0x5568a547a599 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #13 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #14 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #15 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #16 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #17 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #18 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #19 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 4096 byte(s) in 1 object(s) allocated from: #0 0x5568928eb5dd in operator new[](unsigned long) (/usr/bin/clickhouse+0xa7e55dd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c265db1d in Poco::BufferAllocator::allocate(long) build_docker/./base/poco/Foundation/include/Poco/BufferAllocator.h:38:64 #2 0x5568c265db1d in Poco::BasicBufferedBidirectionalStreamBuf, Poco::BufferAllocator>::BasicBufferedBidirectionalStreamBuf(long, unsigned int) build_docker/./base/poco/Foundation/include/Poco/BufferedBidirectionalStreamBuf.h:59:46 #3 0x5568c265db1d in Poco::FileStreamBuf::FileStreamBuf() build_docker/./base/poco/Foundation/src/FileStream_POSIX.cpp:28:2 #4 0x5568c265db1d in Poco::FileIOS::FileIOS(unsigned int) build_docker/./base/poco/Foundation/src/FileStream.cpp:23:10 #5 0x5568c2660818 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 0x5568c267d8a6 in Poco::LogFileImpl::LogFileImpl(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile_STD.cpp:25:2 #7 0x5568c267e5d1 in Poco::LogFile::LogFile(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile.cpp:24:44 #8 0x5568c2637fca in Poco::FileChannel::newLogFile() build_docker/./base/poco/Foundation/src/FileChannel.cpp:498:14 #9 0x5568c2636e1e in Poco::FileChannel::unsafeOpen() build_docker/./base/poco/Foundation/src/FileChannel.cpp:386:12 #10 0x5568c2636cf3 in Poco::FileChannel::open() build_docker/./base/poco/Foundation/src/FileChannel.cpp:92:2 #11 0x5568a547daab 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #13 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #14 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #15 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #16 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #17 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #18 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #19 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 4096 byte(s) in 1 object(s) allocated from: #0 0x5568928eb5dd in operator new[](unsigned long) (/usr/bin/clickhouse+0xa7e55dd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c265db54 in Poco::BufferAllocator::allocate(long) build_docker/./base/poco/Foundation/include/Poco/BufferAllocator.h:38:64 #2 0x5568c265db54 in Poco::BasicBufferedBidirectionalStreamBuf, Poco::BufferAllocator>::BasicBufferedBidirectionalStreamBuf(long, unsigned int) build_docker/./base/poco/Foundation/include/Poco/BufferedBidirectionalStreamBuf.h:59:92 #3 0x5568c265db54 in Poco::FileStreamBuf::FileStreamBuf() build_docker/./base/poco/Foundation/src/FileStream_POSIX.cpp:28:2 #4 0x5568c265db54 in Poco::FileIOS::FileIOS(unsigned int) build_docker/./base/poco/Foundation/src/FileStream.cpp:23:10 #5 0x5568c2660818 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 0x5568c267d8a6 in Poco::LogFileImpl::LogFileImpl(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile_STD.cpp:25:2 #7 0x5568c267e5d1 in Poco::LogFile::LogFile(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile.cpp:24:44 #8 0x5568c2637fca in Poco::FileChannel::newLogFile() build_docker/./base/poco/Foundation/src/FileChannel.cpp:498:14 #9 0x5568c2636e1e in Poco::FileChannel::unsafeOpen() build_docker/./base/poco/Foundation/src/FileChannel.cpp:386:12 #10 0x5568c2636cf3 in Poco::FileChannel::open() build_docker/./base/poco/Foundation/src/FileChannel.cpp:92:2 #11 0x5568a547daab 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #13 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #14 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #15 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #16 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #17 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #18 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #19 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 3168 byte(s) in 9 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568b74ac0a3 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568b74ac0a3 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568b74ac0a3 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568b74ac0a3 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 0x5568b74ac0a3 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 0x5568b74ac0a3 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 0x5568b74ac0a3 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 0x5568b74ac0a3 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 0x5568b74ab4ad 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 0x5568b74b1d01 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 0x5568b22b9337 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #12 0x5568b22b9c9e in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #13 0x5568b22df012 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #14 0x5568b1e68579 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #15 0x5568b22a2f1f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #16 0x5568b22a3c71 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #17 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b374a29b 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 0x5568b374a29b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #24 0x5568b374a29b 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 0x5568b374aa39 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 0x5568b9bd0311 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 0x5568b9bcf9b2 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #28 0x5568b9bd0c8f 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 0x5568b9c01669 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 0x5568b9c01669 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 0x5568b9c20afd 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 0x5568b9c20afd in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #33 0x5568b9c1ae1d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #34 0x5568b9c35a2b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #35 0x5568bb749393 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #36 0x5568b9bfb42a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #37 0x5568bb752ac8 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #38 0x5568ba91e1a3 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #39 0x5568ba96cf2d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #40 0x5568ba96cf2d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #41 0x5568ba94db42 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #42 0x5568ba94db42 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #43 0x5568ba94ed65 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #44 0x5568ba94ed65 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 0x5568ba94ed65 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 0x5568ba94ed65 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #47 0x5568ba94ed65 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 0x5568a4e53cbc in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #49 0x5568a4e53cbc in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #50 0x5568a4e53cbc in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 #51 0x5568a4e5dd72 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #52 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:225:13 #56 0x5568a4e4acbf in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #57 0x5568a4e4acbf in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #58 0x5568a4e4acbf in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:536:17 Indirect leak of 2112 byte(s) in 6 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568b75557a5 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568b75557a5 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568b75557a5 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568b75557a5 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 0x5568b75557a5 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 0x5568b75557a5 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 0x5568b75557a5 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 0x5568b75557a5 in DB::LockedKey::shrinkFileSegmentToDownloadedSize(unsigned long, DB::FileSegmentGuard::Lock const&) build_docker/./src/Interpreters/Cache/Metadata.cpp:1013:30 #9 0x5568b7515eb9 in DB::FileSegment::complete() build_docker/./src/Interpreters/Cache/FileSegment.cpp:736:33 #10 0x5568b751ea2d in DB::FileSegmentsHolder::completeAndPopFrontImpl() build_docker/./src/Interpreters/Cache/FileSegment.cpp:995:13 #11 0x5568b751ea2d in DB::FileSegmentsHolder::~FileSegmentsHolder() build_docker/./src/Interpreters/Cache/FileSegment.cpp:990:27 #12 0x5568b22c6dc1 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 0x5568b22c6dc1 in std::__1::unique_ptr>::reset[abi:v15000](DB::FileSegmentsHolder*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #14 0x5568b22c6dc1 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #15 0x5568b22c6dc1 in DB::CachedOnDiskReadBufferFromFile::~CachedOnDiskReadBufferFromFile() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:553:1 #16 0x5568b22c75ad in DB::CachedOnDiskReadBufferFromFile::~CachedOnDiskReadBufferFromFile() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:548:1 #17 0x5568b22b2b0a in std::__1::__shared_count::__release_shared[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:174:9 #18 0x5568b22b2b0a in std::__1::__shared_weak_count::__release_shared[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215:27 #19 0x5568b22b2b0a in std::__1::shared_ptr::~shared_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:702:23 #20 0x5568b22b2b0a in DB::ReadBufferFromRemoteFSGather::~ReadBufferFromRemoteFSGather() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:287:1 #21 0x5568b22b31cd in DB::ReadBufferFromRemoteFSGather::~ReadBufferFromRemoteFSGather() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:284:1 #22 0x5568b22a8d49 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 0x5568b22a8d49 in std::__1::unique_ptr>::reset[abi:v15000](DB::ReadBufferFromFileBase*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #24 0x5568b22a8d49 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #25 0x5568b22a8d49 in DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:370:1 #26 0x5568b22a906d in DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:361:1 #27 0x5568b9bbada7 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 0x5568b9bbada7 in std::__1::unique_ptr>::reset[abi:v15000](DB::ReadBufferFromFileBase*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #29 0x5568b9bbada7 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #30 0x5568b9bbada7 in DB::CompressedReadBufferFromFile::~CompressedReadBufferFromFile() build_docker/./src/Compression/CompressedReadBufferFromFile.h:17:7 #31 0x5568b9bbada7 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 0x5568b9bbada7 in std::__1::unique_ptr>::reset[abi:v15000](DB::CompressedReadBufferFromFile*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #33 0x5568b9bbada7 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #34 0x5568b9bbada7 in DB::MergeTreeReaderStream::~MergeTreeReaderStream() build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.h:35:46 #35 0x5568b9bc5c8d in DB::MergeTreeReaderStreamSingleColumn::~MergeTreeReaderStreamSingleColumn() build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.h:94:7 #36 0x5568b9bd72da 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 0x5568b9bd72da in std::__1::unique_ptr>::reset[abi:v15000](DB::MergeTreeReaderStream*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #38 0x5568b9bd72da in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #39 0x5568b9bd72da 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 0x5568b9bd72da 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 0x5568b9bd72da 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 0x5568b9bd72da 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 0x5568b9bd72da 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 0x5568b9bd715c 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 0x5568b9bd715c 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 0x5568b9bd715c in DB::MergeTreeReaderWide::~MergeTreeReaderWide() build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.h:14:7 #47 0x5568b9bd71ed in DB::MergeTreeReaderWide::~MergeTreeReaderWide() build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.h:14:7 #48 0x5568b9bff469 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 0x5568b9bff469 in std::__1::unique_ptr>::reset[abi:v15000](DB::IMergeTreeReader*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #50 0x5568b9bff469 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #51 0x5568b9bff469 in DB::MergeTreeReadTask::Readers::~Readers() build_docker/./src/Storages/MergeTree/MergeTreeReadTask.h:90:12 #52 0x5568b9bff469 in DB::MergeTreeReadTask::~MergeTreeReadTask() build_docker/./src/Storages/MergeTree/MergeTreeReadTask.h:76:8 #53 0x5568b9bfb32c 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 0x5568b9bfb32c in std::__1::unique_ptr>::reset[abi:v15000](DB::MergeTreeReadTask*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #55 0x5568b9bfb32c 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 0x5568b9bfb32c in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:122:22 #57 0x5568bb752ac8 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #58 0x5568ba91e1a3 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #59 0x5568ba96cf2d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #60 0x5568ba96cf2d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #61 0x5568ba94db42 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #62 0x5568ba94db42 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #63 0x5568ba94ed65 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #64 0x5568ba94ed65 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 0x5568ba94ed65 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 0x5568ba94ed65 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #67 0x5568ba94ed65 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 0x5568a4e53cbc in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #69 0x5568a4e53cbc in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #70 0x5568a4e53cbc in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 #71 0x5568a4e5dd72 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #72 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:225:13 #76 0x5568a4e4acbf in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #77 0x5568a4e4acbf in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #78 0x5568a4e4acbf in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:536:17 #79 0x5568a4e57ecc in void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #80 0x5568a4e57ecc 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 0x5568a4e57ecc 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 0x5568a4e57ecc 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 0x5568928b649a in asan_thread_start(void*) crtstuff.c Indirect leak of 2024 byte(s) in 11 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568b7564907 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568b7564907 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568b7564907 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568b7564907 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 0x5568b7564907 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 0x5568b7564907 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 0x5568b753a269 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 0x5568b753a269 in DB::CacheMetadata::getKeyMetadata(DB::FileCacheKey const&, DB::CacheMetadata::KeyNotFoundPolicy, DB::FileCacheUserInfo const&, bool) build_docker/./src/Interpreters/Cache/Metadata.cpp:286:18 #9 0x5568b75387a7 in DB::CacheMetadata::lockKeyMetadata(DB::FileCacheKey const&, DB::CacheMetadata::KeyNotFoundPolicy, DB::FileCacheUserInfo const&, bool) build_docker/./src/Interpreters/Cache/Metadata.cpp:230:25 #10 0x5568b74b0fd0 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 0x5568b22b9337 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #12 0x5568b22b9c9e in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #13 0x5568b22df012 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #14 0x5568b1e68579 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #15 0x5568b22a2f1f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #16 0x5568b22a3c71 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #17 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b374a29b 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 0x5568b374a29b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #24 0x5568b374a29b 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 0x5568b374aa39 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 0x5568b9bd0311 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 0x5568b9bcf9b2 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #28 0x5568b9bd0c8f 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 0x5568b9c01669 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 0x5568b9c01669 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 0x5568b9c20afd 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 0x5568b9c20afd in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #33 0x5568b9c1ae1d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #34 0x5568b9c35a2b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #35 0x5568bb749393 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #36 0x5568b9bfb42a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #37 0x5568bb752ac8 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #38 0x5568ba91e1a3 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #39 0x5568ba96cf2d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #40 0x5568ba96cf2d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #41 0x5568ba94db42 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #42 0x5568ba94db42 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #43 0x5568ba94ed65 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #44 0x5568ba94ed65 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 0x5568ba94ed65 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 0x5568ba94ed65 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #47 0x5568ba94ed65 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 0x5568a4e53cbc in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #49 0x5568a4e53cbc in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #50 0x5568a4e53cbc in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 #51 0x5568a4e5dd72 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #52 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:225:13 Indirect leak of 1056 byte(s) in 3 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568b74ac0a3 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568b74ac0a3 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568b74ac0a3 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568b74ac0a3 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 0x5568b74ac0a3 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 0x5568b74ac0a3 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 0x5568b74ac0a3 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 0x5568b74ac0a3 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 0x5568b74ae646 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 0x5568b74b1a7f 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 0x5568b22b9337 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #12 0x5568b22b9c9e in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #13 0x5568b22df012 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #14 0x5568b1e68579 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #15 0x5568b22a2f1f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #16 0x5568b22a3c71 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #17 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b374a29b 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 0x5568b374a29b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #24 0x5568b374a29b 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 0x5568b374aa39 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 0x5568b9bd0311 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 0x5568b9bcf9b2 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #28 0x5568b9bd0c8f 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 0x5568b9c01669 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 0x5568b9c01669 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 0x5568b9c20afd 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 0x5568b9c20afd in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #33 0x5568b9c1ae1d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #34 0x5568b9c35a2b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #35 0x5568bb749393 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #36 0x5568b9bfb42a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #37 0x5568bb752ac8 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #38 0x5568ba91e1a3 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #39 0x5568ba96cf2d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #40 0x5568ba96cf2d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #41 0x5568ba94db42 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #42 0x5568ba94db42 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #43 0x5568ba94ed65 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #44 0x5568ba94ed65 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 0x5568ba94ed65 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 0x5568ba94ed65 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #47 0x5568ba94ed65 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 0x5568a4e53cbc in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #49 0x5568a4e53cbc in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #50 0x5568a4e53cbc in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 #51 0x5568a4e5dd72 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #52 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:225:13 #56 0x5568a4e4acbf in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #57 0x5568a4e4acbf in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #58 0x5568a4e4acbf in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:536:17 Indirect leak of 792 byte(s) in 9 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568b7593112 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568b7593112 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568b7593112 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568b7593112 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 0x5568b7593112 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 0x5568b7593112 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 0x5568b7593112 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 0x5568b7593112 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 0x5568b74b7394 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 0x5568b7511830 in DB::FileSegment::reserve(unsigned long, unsigned long, DB::FileCacheReserveStat*) build_docker/./src/Interpreters/Cache/FileSegment.cpp:552:28 #11 0x5568b22c8ae9 in DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:640:54 #12 0x5568b22d19c1 in DB::CachedOnDiskReadBufferFromFile::nextImplStep() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:918:9 #13 0x5568b22cfe0e in DB::CachedOnDiskReadBufferFromFile::nextImpl() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:795:16 #14 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #15 0x5568b22b03ee in DB::ReadBufferFromRemoteFSGather::readImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:209:32 #16 0x5568b22b028a in DB::ReadBufferFromRemoteFSGather::nextImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:181:9 #17 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #18 0x5568b1e6aef3 in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request, bool) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:147:25 #19 0x5568b1e6e284 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0::operator()() const build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:110:46 #20 0x5568b1e6e284 in std::__1::function (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunnerUnsafe(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:52:20 #21 0x5568b1e6e284 in decltype(std::declval()()) std::__1::__invoke[abi:v15000] (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunnerUnsafe(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 0x5568b1e6e284 in std::__1::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunnerUnsafe(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::threadPoolCallbackRunnerUnsafe(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 0x5568b1e65037 in std::__1::__packaged_task_function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/future:1876:12 #24 0x5568b1e65037 in std::__1::packaged_task::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1953:24 #25 0x5568a4e53cbc in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #26 0x5568a4e53cbc in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #27 0x5568a4e53cbc in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 #28 0x5568a4e5dd72 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #29 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:225:13 #33 0x5568a4e4acbf in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #34 0x5568a4e4acbf in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #35 0x5568a4e4acbf in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:536:17 #36 0x5568a4e57ecc in void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #37 0x5568a4e57ecc 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 0x5568a4e57ecc 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 0x5568a4e57ecc 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 0x5568928b649a in asan_thread_start(void*) crtstuff.c Indirect leak of 784 byte(s) in 14 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568b74ac486 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568b74ac486 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568b74ac486 in std::__1::allocator>, void*>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568b74ac486 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 0x5568b74ac486 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 0x5568b74ac486 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 0x5568b74ac486 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 0x5568b74ac486 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 0x5568b74ac486 in auto DB::LockedKey::emplace&>(unsigned long&, std::__1::shared_ptr&) build_docker/./src/Interpreters/Cache/Metadata.h:257:58 #10 0x5568b74ac486 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 0x5568b74ab4ad 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 0x5568b74b1d01 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 0x5568b22b9337 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #14 0x5568b22b9c9e in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #15 0x5568b22df012 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #16 0x5568b1e68579 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #17 0x5568b22a2f1f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #18 0x5568b22a3c71 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #19 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b374a29b 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 0x5568b374a29b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #26 0x5568b374a29b 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 0x5568b374aa39 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 0x5568b9bd0311 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 0x5568b9bcf9b2 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #30 0x5568b9bd0c8f 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 0x5568b9c01669 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 0x5568b9c01669 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 0x5568b9c20afd 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 0x5568b9c20afd in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #35 0x5568b9c1ae1d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #36 0x5568b9c35a2b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #37 0x5568bb749393 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #38 0x5568b9bfb42a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #39 0x5568bb752ac8 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #40 0x5568ba91e1a3 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #41 0x5568ba96cf2d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #42 0x5568ba96cf2d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #43 0x5568ba94db42 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #44 0x5568ba94db42 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #45 0x5568ba94ed65 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #46 0x5568ba94ed65 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 0x5568ba94ed65 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 0x5568ba94ed65 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #49 0x5568ba94ed65 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 0x5568a4e53cbc in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #51 0x5568a4e53cbc in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #52 0x5568a4e53cbc in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 #53 0x5568a4e5dd72 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #54 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:225:13 #58 0x5568a4e4acbf in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #59 0x5568a4e4acbf in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #60 0x5568a4e4acbf in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:536:17 Indirect leak of 720 byte(s) in 9 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568b7593058 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568b7593058 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568b7593058 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568b7593058 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 0x5568b7593058 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 0x5568b7593058 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 0x5568b7593058 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 0x5568b7593058 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 0x5568b74b7394 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 0x5568b7511830 in DB::FileSegment::reserve(unsigned long, unsigned long, DB::FileCacheReserveStat*) build_docker/./src/Interpreters/Cache/FileSegment.cpp:552:28 #11 0x5568b22c8ae9 in DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:640:54 #12 0x5568b22d19c1 in DB::CachedOnDiskReadBufferFromFile::nextImplStep() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:918:9 #13 0x5568b22cfe0e in DB::CachedOnDiskReadBufferFromFile::nextImpl() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:795:16 #14 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #15 0x5568b22b03ee in DB::ReadBufferFromRemoteFSGather::readImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:209:32 #16 0x5568b22b028a in DB::ReadBufferFromRemoteFSGather::nextImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:181:9 #17 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #18 0x5568b1e6aef3 in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request, bool) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:147:25 #19 0x5568b1e6e284 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0::operator()() const build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:110:46 #20 0x5568b1e6e284 in std::__1::function (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunnerUnsafe(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:52:20 #21 0x5568b1e6e284 in decltype(std::declval()()) std::__1::__invoke[abi:v15000] (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunnerUnsafe(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 0x5568b1e6e284 in std::__1::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunnerUnsafe(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::threadPoolCallbackRunnerUnsafe(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 0x5568b1e65037 in std::__1::__packaged_task_function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/future:1876:12 #24 0x5568b1e65037 in std::__1::packaged_task::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1953:24 #25 0x5568a4e53cbc in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #26 0x5568a4e53cbc in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #27 0x5568a4e53cbc in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 #28 0x5568a4e5dd72 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #29 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:225:13 #33 0x5568a4e4acbf in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #34 0x5568a4e4acbf in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #35 0x5568a4e4acbf in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:536:17 #36 0x5568a4e57ecc in void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #37 0x5568a4e57ecc 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 0x5568a4e57ecc 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 0x5568a4e57ecc 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 0x5568928b649a in asan_thread_start(void*) crtstuff.c Indirect leak of 672 byte(s) in 14 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568b74ac2d8 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568b74ac2d8 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568b74ac2d8 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568b74ac2d8 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 0x5568b74ac2d8 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 0x5568b74ac2d8 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 0x5568b74ac2d8 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 0x5568b74ac2d8 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 0x5568b74ab4ad 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 0x5568b74b1d01 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 0x5568b22b9337 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #12 0x5568b22b9c9e in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #13 0x5568b22df012 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #14 0x5568b1e68579 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #15 0x5568b22a2f1f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #16 0x5568b22a3c71 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #17 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b374a29b 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 0x5568b374a29b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #24 0x5568b374a29b 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 0x5568b374aa39 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 0x5568b9bd0311 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 0x5568b9bcf9b2 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #28 0x5568b9bd0c8f 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 0x5568b9c01669 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 0x5568b9c01669 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 0x5568b9c20afd 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 0x5568b9c20afd in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #33 0x5568b9c1ae1d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #34 0x5568b9c35a2b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #35 0x5568bb749393 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #36 0x5568b9bfb42a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #37 0x5568bb752ac8 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #38 0x5568ba91e1a3 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #39 0x5568ba96cf2d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #40 0x5568ba96cf2d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #41 0x5568ba94db42 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #42 0x5568ba94db42 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #43 0x5568ba94ed65 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #44 0x5568ba94ed65 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 0x5568ba94ed65 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 0x5568ba94ed65 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #47 0x5568ba94ed65 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 0x5568a4e53cbc in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #49 0x5568a4e53cbc in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #50 0x5568a4e53cbc in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 #51 0x5568a4e5dd72 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #52 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:225:13 #56 0x5568a4e4acbf in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #57 0x5568a4e4acbf in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #58 0x5568a4e4acbf in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:536:17 Indirect leak of 624 byte(s) in 9 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c2689e26 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568c2689e26 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568c2689e26 in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568c2689e26 in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x5568c2689e26 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 0x5568c2689e26 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 0x5568c2689e26 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 0x5568c2689e26 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 0x5568c2689e26 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 0x5568c2689e26 in Poco::Logger::unsafeGet(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:396:17 #11 0x5568c268a3da in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:356:24 #12 0x5568b74faabd 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ab4ad 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 0x5568b74b1d01 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 0x5568b22b9337 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #22 0x5568b22b9c9e in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #23 0x5568b22df012 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #24 0x5568b1e68579 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #25 0x5568b22a2f1f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #26 0x5568b22a3c71 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #27 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b374a29b 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 0x5568b374a29b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #34 0x5568b374a29b 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 0x5568b374aa39 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 0x5568b9bd0311 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 0x5568b9bcf9b2 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #38 0x5568b9bd0c8f 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 0x5568b9c01669 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 0x5568b9c01669 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 0x5568b9c20afd 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 0x5568b9c20afd in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #43 0x5568b9c1ae1d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #44 0x5568b9c35a2b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #45 0x5568bb749393 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #46 0x5568b9bfb42a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #47 0x5568bb752ac8 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #48 0x5568ba91e1a3 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #49 0x5568ba96cf2d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #50 0x5568ba96cf2d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #51 0x5568ba94db42 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #52 0x5568ba94db42 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #53 0x5568ba94ed65 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #54 0x5568ba94ed65 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 0x5568ba94ed65 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 0x5568ba94ed65 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #57 0x5568ba94ed65 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 616 byte(s) in 7 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568b7593112 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568b7593112 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568b7593112 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568b7593112 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 0x5568b7593112 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 0x5568b7593112 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 0x5568b7593112 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 0x5568b7593112 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 0x5568b74b7394 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 0x5568b7511830 in DB::FileSegment::reserve(unsigned long, unsigned long, DB::FileCacheReserveStat*) build_docker/./src/Interpreters/Cache/FileSegment.cpp:552:28 #11 0x5568b22d2d6f in DB::CachedOnDiskReadBufferFromFile::nextImplStep() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:996:41 #12 0x5568b22cfe0e in DB::CachedOnDiskReadBufferFromFile::nextImpl() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:795:16 #13 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #14 0x5568b22b03ee in DB::ReadBufferFromRemoteFSGather::readImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:209:32 #15 0x5568b22b028a in DB::ReadBufferFromRemoteFSGather::nextImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:181:9 #16 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #17 0x5568b1e6aef3 in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request, bool) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:147:25 #18 0x5568b1e6e284 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0::operator()() const build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:110:46 #19 0x5568b1e6e284 in std::__1::function (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunnerUnsafe(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:52:20 #20 0x5568b1e6e284 in decltype(std::declval()()) std::__1::__invoke[abi:v15000] (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunnerUnsafe(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 0x5568b1e6e284 in std::__1::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunnerUnsafe(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::threadPoolCallbackRunnerUnsafe(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 0x5568b1e65037 in std::__1::__packaged_task_function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/future:1876:12 #23 0x5568b1e65037 in std::__1::packaged_task::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1953:24 #24 0x5568a4e53cbc in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #25 0x5568a4e53cbc in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #26 0x5568a4e53cbc in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 #27 0x5568a4e5dd72 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #28 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:225:13 #32 0x5568a4e4acbf in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #33 0x5568a4e4acbf in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #34 0x5568a4e4acbf in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:536:17 #35 0x5568a4e57ecc in void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #36 0x5568a4e57ecc 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 0x5568a4e57ecc 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 0x5568a4e57ecc 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 0x5568928b649a in asan_thread_start(void*) crtstuff.c Indirect leak of 576 byte(s) in 9 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c2689c40 in Poco::Logger::unsafeGet(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:396:13 #2 0x5568c268a3da in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:356:24 #3 0x5568b74faabd 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ab4ad 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 0x5568b74b1d01 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 0x5568b22b9337 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #13 0x5568b22b9c9e in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #14 0x5568b22df012 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #15 0x5568b1e68579 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #16 0x5568b22a2f1f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #17 0x5568b22a3c71 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #18 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b374a29b 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 0x5568b374a29b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #25 0x5568b374a29b 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 0x5568b374aa39 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 0x5568b9bd0311 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 0x5568b9bcf9b2 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #29 0x5568b9bd0c8f 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 0x5568b9c01669 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 0x5568b9c01669 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 0x5568b9c20afd 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 0x5568b9c20afd in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #34 0x5568b9c1ae1d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #35 0x5568b9c35a2b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #36 0x5568bb749393 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #37 0x5568b9bfb42a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #38 0x5568bb752ac8 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #39 0x5568ba91e1a3 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #40 0x5568ba96cf2d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #41 0x5568ba96cf2d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #42 0x5568ba94db42 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #43 0x5568ba94db42 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #44 0x5568ba94ed65 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #45 0x5568ba94ed65 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 0x5568ba94ed65 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 0x5568ba94ed65 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #48 0x5568ba94ed65 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 560 byte(s) in 7 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568b7593058 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568b7593058 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568b7593058 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568b7593058 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 0x5568b7593058 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 0x5568b7593058 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 0x5568b7593058 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 0x5568b7593058 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 0x5568b74b7394 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 0x5568b7511830 in DB::FileSegment::reserve(unsigned long, unsigned long, DB::FileCacheReserveStat*) build_docker/./src/Interpreters/Cache/FileSegment.cpp:552:28 #11 0x5568b22d2d6f in DB::CachedOnDiskReadBufferFromFile::nextImplStep() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:996:41 #12 0x5568b22cfe0e in DB::CachedOnDiskReadBufferFromFile::nextImpl() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:795:16 #13 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #14 0x5568b22b03ee in DB::ReadBufferFromRemoteFSGather::readImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:209:32 #15 0x5568b22b028a in DB::ReadBufferFromRemoteFSGather::nextImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:181:9 #16 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #17 0x5568b1e6aef3 in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request, bool) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:147:25 #18 0x5568b1e6e284 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0::operator()() const build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:110:46 #19 0x5568b1e6e284 in std::__1::function (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunnerUnsafe(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:52:20 #20 0x5568b1e6e284 in decltype(std::declval()()) std::__1::__invoke[abi:v15000] (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunnerUnsafe(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 0x5568b1e6e284 in std::__1::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunnerUnsafe(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::threadPoolCallbackRunnerUnsafe(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 0x5568b1e65037 in std::__1::__packaged_task_function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/future:1876:12 #23 0x5568b1e65037 in std::__1::packaged_task::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1953:24 #24 0x5568a4e53cbc in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #25 0x5568a4e53cbc in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #26 0x5568a4e53cbc in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 #27 0x5568a4e5dd72 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #28 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:225:13 #32 0x5568a4e4acbf in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #33 0x5568a4e4acbf in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #34 0x5568a4e4acbf in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:536:17 #35 0x5568a4e57ecc in void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #36 0x5568a4e57ecc 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 0x5568a4e57ecc 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 0x5568a4e57ecc 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 0x5568928b649a in asan_thread_start(void*) crtstuff.c Indirect leak of 528 byte(s) in 11 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568b7530648 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568b7530648 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568b7530648 in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568b7530648 in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x5568b7530648 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 0x5568b7530648 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 0x5568b7530648 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 0x5568b7530648 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 0x5568b7530648 in DB::FileCacheUserInfo::FileCacheUserInfo(DB::FileCacheUserInfo const&) build_docker/./src/Interpreters/Cache/UserInfo.h:7:8 #10 0x5568b7530648 in DB::KeyMetadata::KeyMetadata(DB::FileCacheKey const&, DB::FileCacheUserInfo const&, DB::CacheMetadata const*, bool) build_docker/./src/Interpreters/Cache/Metadata.cpp:67:7 #11 0x5568b756498b 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 0x5568b756498b 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 0x5568b756498b 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 0x5568b756498b 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 0x5568b753a269 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 0x5568b753a269 in DB::CacheMetadata::getKeyMetadata(DB::FileCacheKey const&, DB::CacheMetadata::KeyNotFoundPolicy, DB::FileCacheUserInfo const&, bool) build_docker/./src/Interpreters/Cache/Metadata.cpp:286:18 #17 0x5568b75387a7 in DB::CacheMetadata::lockKeyMetadata(DB::FileCacheKey const&, DB::CacheMetadata::KeyNotFoundPolicy, DB::FileCacheUserInfo const&, bool) build_docker/./src/Interpreters/Cache/Metadata.cpp:230:25 #18 0x5568b74b0fd0 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 0x5568b22b9337 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #20 0x5568b22b9c9e in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #21 0x5568b22df012 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #22 0x5568b1e68579 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #23 0x5568b22a2f1f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #24 0x5568b22a3c71 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #25 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b374a29b 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 0x5568b374a29b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #32 0x5568b374a29b 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 0x5568b374aa39 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 0x5568b9bd0311 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 0x5568b9bcf9b2 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #36 0x5568b9bd0c8f 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 0x5568b9c01669 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 0x5568b9c01669 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 0x5568b9c20afd 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 0x5568b9c20afd in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #41 0x5568b9c1ae1d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #42 0x5568b9c35a2b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #43 0x5568bb749393 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #44 0x5568b9bfb42a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #45 0x5568bb752ac8 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #46 0x5568ba91e1a3 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #47 0x5568ba96cf2d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #48 0x5568ba96cf2d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #49 0x5568ba94db42 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #50 0x5568ba94db42 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #51 0x5568ba94ed65 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #52 0x5568ba94ed65 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 0x5568ba94ed65 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 0x5568ba94ed65 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #55 0x5568ba94ed65 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 0x5568a4e53cbc in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #57 0x5568a4e53cbc in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #58 0x5568a4e53cbc in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 Indirect leak of 464 byte(s) in 6 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c2689e26 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568c2689e26 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568c2689e26 in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568c2689e26 in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x5568c2689e26 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 0x5568c2689e26 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 0x5568c2689e26 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 0x5568c2689e26 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 0x5568c2689e26 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 0x5568c2689e26 in Poco::Logger::unsafeGet(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:396:17 #11 0x5568c268a3da in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:356:24 #12 0x5568b74faabd 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 0x5568b7555920 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 0x5568b7555920 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 0x5568b7555920 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 0x5568b7555920 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 0x5568b7555920 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 0x5568b7555920 in DB::LockedKey::shrinkFileSegmentToDownloadedSize(unsigned long, DB::FileSegmentGuard::Lock const&) build_docker/./src/Interpreters/Cache/Metadata.cpp:1013:30 #19 0x5568b7515eb9 in DB::FileSegment::complete() build_docker/./src/Interpreters/Cache/FileSegment.cpp:736:33 #20 0x5568b751ea2d in DB::FileSegmentsHolder::completeAndPopFrontImpl() build_docker/./src/Interpreters/Cache/FileSegment.cpp:995:13 #21 0x5568b751ea2d in DB::FileSegmentsHolder::~FileSegmentsHolder() build_docker/./src/Interpreters/Cache/FileSegment.cpp:990:27 #22 0x5568b22c6dc1 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 0x5568b22c6dc1 in std::__1::unique_ptr>::reset[abi:v15000](DB::FileSegmentsHolder*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #24 0x5568b22c6dc1 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #25 0x5568b22c6dc1 in DB::CachedOnDiskReadBufferFromFile::~CachedOnDiskReadBufferFromFile() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:553:1 #26 0x5568b22c75ad in DB::CachedOnDiskReadBufferFromFile::~CachedOnDiskReadBufferFromFile() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:548:1 #27 0x5568b22b2b0a in std::__1::__shared_count::__release_shared[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:174:9 #28 0x5568b22b2b0a in std::__1::__shared_weak_count::__release_shared[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215:27 #29 0x5568b22b2b0a in std::__1::shared_ptr::~shared_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:702:23 #30 0x5568b22b2b0a in DB::ReadBufferFromRemoteFSGather::~ReadBufferFromRemoteFSGather() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:287:1 #31 0x5568b22b31cd in DB::ReadBufferFromRemoteFSGather::~ReadBufferFromRemoteFSGather() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:284:1 #32 0x5568b22a8d49 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 0x5568b22a8d49 in std::__1::unique_ptr>::reset[abi:v15000](DB::ReadBufferFromFileBase*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #34 0x5568b22a8d49 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #35 0x5568b22a8d49 in DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:370:1 #36 0x5568b22a906d in DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:361:1 #37 0x5568b9bbada7 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 0x5568b9bbada7 in std::__1::unique_ptr>::reset[abi:v15000](DB::ReadBufferFromFileBase*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #39 0x5568b9bbada7 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #40 0x5568b9bbada7 in DB::CompressedReadBufferFromFile::~CompressedReadBufferFromFile() build_docker/./src/Compression/CompressedReadBufferFromFile.h:17:7 #41 0x5568b9bbada7 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 0x5568b9bbada7 in std::__1::unique_ptr>::reset[abi:v15000](DB::CompressedReadBufferFromFile*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #43 0x5568b9bbada7 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #44 0x5568b9bbada7 in DB::MergeTreeReaderStream::~MergeTreeReaderStream() build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.h:35:46 #45 0x5568b9bc5c8d in DB::MergeTreeReaderStreamSingleColumn::~MergeTreeReaderStreamSingleColumn() build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.h:94:7 #46 0x5568b9bd72da 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 0x5568b9bd72da in std::__1::unique_ptr>::reset[abi:v15000](DB::MergeTreeReaderStream*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #48 0x5568b9bd72da in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #49 0x5568b9bd72da 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 0x5568b9bd72da 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 0x5568b9bd72da 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 0x5568b9bd72da 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 0x5568b9bd72da 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 0x5568b9bd715c 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 0x5568b9bd715c 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 0x5568b9bd715c in DB::MergeTreeReaderWide::~MergeTreeReaderWide() build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.h:14:7 #57 0x5568b9bd71ed in DB::MergeTreeReaderWide::~MergeTreeReaderWide() build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.h:14:7 #58 0x5568b9bff469 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 0x5568b9bff469 in std::__1::unique_ptr>::reset[abi:v15000](DB::IMergeTreeReader*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #60 0x5568b9bff469 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #61 0x5568b9bff469 in DB::MergeTreeReadTask::Readers::~Readers() build_docker/./src/Storages/MergeTree/MergeTreeReadTask.h:90:12 #62 0x5568b9bff469 in DB::MergeTreeReadTask::~MergeTreeReadTask() build_docker/./src/Storages/MergeTree/MergeTreeReadTask.h:76:8 #63 0x5568b9bfb32c 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 0x5568b9bfb32c in std::__1::unique_ptr>::reset[abi:v15000](DB::MergeTreeReadTask*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #65 0x5568b9bfb32c 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 0x5568b9bfb32c in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:122:22 #67 0x5568bb752ac8 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #68 0x5568ba91e1a3 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #69 0x5568ba96cf2d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #70 0x5568ba96cf2d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #71 0x5568ba94db42 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #72 0x5568ba94db42 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #73 0x5568ba94ed65 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #74 0x5568ba94ed65 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 0x5568ba94ed65 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 0x5568ba94ed65 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #77 0x5568ba94ed65 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 0x5568a4e53cbc in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #79 0x5568a4e53cbc in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #80 0x5568a4e53cbc in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 #81 0x5568a4e5dd72 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #82 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:225:13 #86 0x5568a4e4acbf in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #87 0x5568a4e4acbf in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #88 0x5568a4e4acbf in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:536:17 #89 0x5568a4e57ecc in void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #90 0x5568a4e57ecc 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 0x5568a4e57ecc 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 0x5568a4e57ecc 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 0x5568928b649a in asan_thread_start(void*) crtstuff.c Indirect leak of 432 byte(s) in 9 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568b7503874 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568b7503874 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568b7503874 in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568b7503874 in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x5568b7503874 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 0x5568b7503874 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 0x5568b7503874 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 0x5568b7503874 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 0x5568b7503874 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 0x5568b7503874 in DB::FileSegment::getOrSetDownloader() build_docker/./src/Interpreters/Cache/FileSegment.cpp:230:44 #11 0x5568b22be5fb in DB::CachedOnDiskReadBufferFromFile::getReadBufferForFileSegment(DB::FileSegment&) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:348:51 #12 0x5568b22c2558 in DB::CachedOnDiskReadBufferFromFile::getImplementationBuffer(DB::FileSegment&) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:421:41 #13 0x5568b22d0651 in DB::CachedOnDiskReadBufferFromFile::nextImplStep() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:866:33 #14 0x5568b22cfe0e in DB::CachedOnDiskReadBufferFromFile::nextImpl() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:795:16 #15 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #16 0x5568b22b03ee in DB::ReadBufferFromRemoteFSGather::readImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:209:32 #17 0x5568b22b028a in DB::ReadBufferFromRemoteFSGather::nextImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:181:9 #18 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #19 0x5568b1e6aef3 in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request, bool) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:147:25 #20 0x5568b1e6e284 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0::operator()() const build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:110:46 #21 0x5568b1e6e284 in std::__1::function (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunnerUnsafe(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:52:20 #22 0x5568b1e6e284 in decltype(std::declval()()) std::__1::__invoke[abi:v15000] (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunnerUnsafe(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 0x5568b1e6e284 in std::__1::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunnerUnsafe(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::threadPoolCallbackRunnerUnsafe(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 0x5568b1e65037 in std::__1::__packaged_task_function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/future:1876:12 #25 0x5568b1e65037 in std::__1::packaged_task::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1953:24 #26 0x5568a4e53cbc in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #27 0x5568a4e53cbc in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #28 0x5568a4e53cbc in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 #29 0x5568a4e5dd72 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #30 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:225:13 #34 0x5568a4e4acbf in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #35 0x5568a4e4acbf in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #36 0x5568a4e4acbf in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:536:17 #37 0x5568a4e57ecc in void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #38 0x5568a4e57ecc 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 0x5568a4e57ecc 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 0x5568a4e57ecc 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 0x5568928b649a in asan_thread_start(void*) crtstuff.c Indirect leak of 384 byte(s) in 6 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c2689c40 in Poco::Logger::unsafeGet(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:396:13 #2 0x5568c268a3da in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:356:24 #3 0x5568b74faabd 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 0x5568b7555920 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 0x5568b7555920 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 0x5568b7555920 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 0x5568b7555920 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 0x5568b7555920 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 0x5568b7555920 in DB::LockedKey::shrinkFileSegmentToDownloadedSize(unsigned long, DB::FileSegmentGuard::Lock const&) build_docker/./src/Interpreters/Cache/Metadata.cpp:1013:30 #10 0x5568b7515eb9 in DB::FileSegment::complete() build_docker/./src/Interpreters/Cache/FileSegment.cpp:736:33 #11 0x5568b751ea2d in DB::FileSegmentsHolder::completeAndPopFrontImpl() build_docker/./src/Interpreters/Cache/FileSegment.cpp:995:13 #12 0x5568b751ea2d in DB::FileSegmentsHolder::~FileSegmentsHolder() build_docker/./src/Interpreters/Cache/FileSegment.cpp:990:27 #13 0x5568b22c6dc1 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 0x5568b22c6dc1 in std::__1::unique_ptr>::reset[abi:v15000](DB::FileSegmentsHolder*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #15 0x5568b22c6dc1 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #16 0x5568b22c6dc1 in DB::CachedOnDiskReadBufferFromFile::~CachedOnDiskReadBufferFromFile() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:553:1 #17 0x5568b22c75ad in DB::CachedOnDiskReadBufferFromFile::~CachedOnDiskReadBufferFromFile() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:548:1 #18 0x5568b22b2b0a in std::__1::__shared_count::__release_shared[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:174:9 #19 0x5568b22b2b0a in std::__1::__shared_weak_count::__release_shared[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215:27 #20 0x5568b22b2b0a in std::__1::shared_ptr::~shared_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:702:23 #21 0x5568b22b2b0a in DB::ReadBufferFromRemoteFSGather::~ReadBufferFromRemoteFSGather() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:287:1 #22 0x5568b22b31cd in DB::ReadBufferFromRemoteFSGather::~ReadBufferFromRemoteFSGather() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:284:1 #23 0x5568b22a8d49 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 0x5568b22a8d49 in std::__1::unique_ptr>::reset[abi:v15000](DB::ReadBufferFromFileBase*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #25 0x5568b22a8d49 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #26 0x5568b22a8d49 in DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:370:1 #27 0x5568b22a906d in DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:361:1 #28 0x5568b9bbada7 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 0x5568b9bbada7 in std::__1::unique_ptr>::reset[abi:v15000](DB::ReadBufferFromFileBase*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #30 0x5568b9bbada7 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #31 0x5568b9bbada7 in DB::CompressedReadBufferFromFile::~CompressedReadBufferFromFile() build_docker/./src/Compression/CompressedReadBufferFromFile.h:17:7 #32 0x5568b9bbada7 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 0x5568b9bbada7 in std::__1::unique_ptr>::reset[abi:v15000](DB::CompressedReadBufferFromFile*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #34 0x5568b9bbada7 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #35 0x5568b9bbada7 in DB::MergeTreeReaderStream::~MergeTreeReaderStream() build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.h:35:46 #36 0x5568b9bc5c8d in DB::MergeTreeReaderStreamSingleColumn::~MergeTreeReaderStreamSingleColumn() build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.h:94:7 #37 0x5568b9bd72da 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 0x5568b9bd72da in std::__1::unique_ptr>::reset[abi:v15000](DB::MergeTreeReaderStream*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #39 0x5568b9bd72da in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #40 0x5568b9bd72da 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 0x5568b9bd72da 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 0x5568b9bd72da 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 0x5568b9bd72da 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 0x5568b9bd72da 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 0x5568b9bd715c 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 0x5568b9bd715c 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 0x5568b9bd715c in DB::MergeTreeReaderWide::~MergeTreeReaderWide() build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.h:14:7 #48 0x5568b9bd71ed in DB::MergeTreeReaderWide::~MergeTreeReaderWide() build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.h:14:7 #49 0x5568b9bff469 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 0x5568b9bff469 in std::__1::unique_ptr>::reset[abi:v15000](DB::IMergeTreeReader*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #51 0x5568b9bff469 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #52 0x5568b9bff469 in DB::MergeTreeReadTask::Readers::~Readers() build_docker/./src/Storages/MergeTree/MergeTreeReadTask.h:90:12 #53 0x5568b9bff469 in DB::MergeTreeReadTask::~MergeTreeReadTask() build_docker/./src/Storages/MergeTree/MergeTreeReadTask.h:76:8 #54 0x5568b9bfb32c 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 0x5568b9bfb32c in std::__1::unique_ptr>::reset[abi:v15000](DB::MergeTreeReadTask*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #56 0x5568b9bfb32c 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 0x5568b9bfb32c in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:122:22 #58 0x5568bb752ac8 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #59 0x5568ba91e1a3 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #60 0x5568ba96cf2d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #61 0x5568ba96cf2d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #62 0x5568ba94db42 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #63 0x5568ba94db42 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #64 0x5568ba94ed65 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #65 0x5568ba94ed65 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 0x5568ba94ed65 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 0x5568ba94ed65 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #68 0x5568ba94ed65 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 0x5568a4e53cbc in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #70 0x5568a4e53cbc in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #71 0x5568a4e53cbc in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 #72 0x5568a4e5dd72 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #73 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:225:13 #77 0x5568a4e4acbf in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #78 0x5568a4e4acbf in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #79 0x5568a4e4acbf in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:536:17 #80 0x5568a4e57ecc in void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #81 0x5568a4e57ecc 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 0x5568a4e57ecc 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 0x5568a4e57ecc 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 0x5568928b649a in asan_thread_start(void*) crtstuff.c Indirect leak of 352 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c2637fb8 in Poco::FileChannel::newLogFile() build_docker/./base/poco/Foundation/src/FileChannel.cpp:498:10 #2 0x5568c2636e1e in Poco::FileChannel::unsafeOpen() build_docker/./base/poco/Foundation/src/FileChannel.cpp:386:12 #3 0x5568c2636cf3 in Poco::FileChannel::open() build_docker/./base/poco/Foundation/src/FileChannel.cpp:92:2 #4 0x5568a547daab 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #6 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #7 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #8 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #9 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #10 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #11 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #12 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 352 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c2637fb8 in Poco::FileChannel::newLogFile() build_docker/./base/poco/Foundation/src/FileChannel.cpp:498:10 #2 0x5568c2636e1e in Poco::FileChannel::unsafeOpen() build_docker/./base/poco/Foundation/src/FileChannel.cpp:386:12 #3 0x5568c2636cf3 in Poco::FileChannel::open() build_docker/./base/poco/Foundation/src/FileChannel.cpp:92:2 #4 0x5568a547a599 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #6 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #7 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #8 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #9 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #10 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #11 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #12 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 288 byte(s) in 9 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c268a442 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 0x5568c268a442 in Poco::(anonymous namespace)::makeLoggerPtr(Poco::Logger&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:336:10 #3 0x5568c268a442 in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:364:9 #4 0x5568b74faabd 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ab4ad 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 0x5568b74b1d01 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 0x5568b22b9337 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #14 0x5568b22b9c9e in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #15 0x5568b22df012 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #16 0x5568b1e68579 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #17 0x5568b22a2f1f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #18 0x5568b22a3c71 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #19 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b374a29b 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 0x5568b374a29b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #26 0x5568b374a29b 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 0x5568b374aa39 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 0x5568b9bd0311 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 0x5568b9bcf9b2 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #30 0x5568b9bd0c8f 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 0x5568b9c01669 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 0x5568b9c01669 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 0x5568b9c20afd 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 0x5568b9c20afd in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #35 0x5568b9c1ae1d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #36 0x5568b9c35a2b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #37 0x5568bb749393 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #38 0x5568b9bfb42a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #39 0x5568bb752ac8 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #40 0x5568ba91e1a3 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #41 0x5568ba96cf2d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #42 0x5568ba96cf2d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #43 0x5568ba94db42 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #44 0x5568ba94db42 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #45 0x5568ba94ed65 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #46 0x5568ba94ed65 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 0x5568ba94ed65 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 0x5568ba94ed65 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #49 0x5568ba94ed65 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 0x5568a4e53cbc in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #51 0x5568a4e53cbc in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #52 0x5568a4e53cbc in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 Indirect leak of 256 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568a547bc4a 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #3 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #4 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #5 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #6 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #7 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #8 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #9 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 256 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568a5478e25 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #3 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #4 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #5 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #6 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #7 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #8 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #9 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 240 byte(s) in 3 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c2689e26 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568c2689e26 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568c2689e26 in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568c2689e26 in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x5568c2689e26 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 0x5568c2689e26 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 0x5568c2689e26 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 0x5568c2689e26 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 0x5568c2689e26 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 0x5568c2689e26 in Poco::Logger::unsafeGet(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:396:17 #11 0x5568c268a3da in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:356:24 #12 0x5568b74faabd 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ae646 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 0x5568b74b1a7f 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 0x5568b22b9337 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #22 0x5568b22b9c9e in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #23 0x5568b22df012 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #24 0x5568b1e68579 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #25 0x5568b22a2f1f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #26 0x5568b22a3c71 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #27 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b374a29b 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 0x5568b374a29b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #34 0x5568b374a29b 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 0x5568b374aa39 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 0x5568b9bd0311 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 0x5568b9bcf9b2 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #38 0x5568b9bd0c8f 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 0x5568b9c01669 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 0x5568b9c01669 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 0x5568b9c20afd 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 0x5568b9c20afd in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #43 0x5568b9c1ae1d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #44 0x5568b9c35a2b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #45 0x5568bb749393 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #46 0x5568b9bfb42a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #47 0x5568bb752ac8 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #48 0x5568ba91e1a3 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #49 0x5568ba96cf2d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #50 0x5568ba96cf2d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #51 0x5568ba94db42 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #52 0x5568ba94db42 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #53 0x5568ba94ed65 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #54 0x5568ba94ed65 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 0x5568ba94ed65 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 0x5568ba94ed65 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #57 0x5568ba94ed65 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 224 byte(s) in 4 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568b74ac486 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568b74ac486 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568b74ac486 in std::__1::allocator>, void*>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568b74ac486 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 0x5568b74ac486 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 0x5568b74ac486 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 0x5568b74ac486 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 0x5568b74ac486 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 0x5568b74ac486 in auto DB::LockedKey::emplace&>(unsigned long&, std::__1::shared_ptr&) build_docker/./src/Interpreters/Cache/Metadata.h:257:58 #10 0x5568b74ac486 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 0x5568b74ae646 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 0x5568b74b1a7f 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 0x5568b22b9337 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #14 0x5568b22b9c9e in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #15 0x5568b22df012 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #16 0x5568b1e68579 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #17 0x5568b22a2f1f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #18 0x5568b22a3c71 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #19 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b374a29b 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 0x5568b374a29b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #26 0x5568b374a29b 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 0x5568b374aa39 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 0x5568b9bd0311 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 0x5568b9bcf9b2 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #30 0x5568b9bd0c8f 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 0x5568b9c01669 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 0x5568b9c01669 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 0x5568b9c20afd 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 0x5568b9c20afd in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #35 0x5568b9c1ae1d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #36 0x5568b9c35a2b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #37 0x5568bb749393 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #38 0x5568b9bfb42a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #39 0x5568bb752ac8 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #40 0x5568ba91e1a3 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #41 0x5568ba96cf2d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #42 0x5568ba96cf2d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #43 0x5568ba94db42 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #44 0x5568ba94db42 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #45 0x5568ba94ed65 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #46 0x5568ba94ed65 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 0x5568ba94ed65 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 0x5568ba94ed65 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #49 0x5568ba94ed65 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 0x5568a4e53cbc in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #51 0x5568a4e53cbc in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #52 0x5568a4e53cbc in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 #53 0x5568a4e5dd72 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #54 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:225:13 #58 0x5568a4e4acbf in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #59 0x5568a4e4acbf in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #60 0x5568a4e4acbf in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:536:17 Indirect leak of 192 byte(s) in 3 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c2689c40 in Poco::Logger::unsafeGet(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:396:13 #2 0x5568c268a3da in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:356:24 #3 0x5568b74faabd 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ae646 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 0x5568b74b1a7f 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 0x5568b22b9337 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #13 0x5568b22b9c9e in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #14 0x5568b22df012 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #15 0x5568b1e68579 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #16 0x5568b22a2f1f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #17 0x5568b22a3c71 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #18 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b374a29b 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 0x5568b374a29b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #25 0x5568b374a29b 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 0x5568b374aa39 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 0x5568b9bd0311 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 0x5568b9bcf9b2 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #29 0x5568b9bd0c8f 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 0x5568b9c01669 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 0x5568b9c01669 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 0x5568b9c20afd 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 0x5568b9c20afd in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #34 0x5568b9c1ae1d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #35 0x5568b9c35a2b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #36 0x5568bb749393 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #37 0x5568b9bfb42a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #38 0x5568bb752ac8 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #39 0x5568ba91e1a3 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #40 0x5568ba96cf2d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #41 0x5568ba96cf2d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #42 0x5568ba94db42 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #43 0x5568ba94db42 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #44 0x5568ba94ed65 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #45 0x5568ba94ed65 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 0x5568ba94ed65 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 0x5568ba94ed65 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #48 0x5568ba94ed65 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 6 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c268a442 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 0x5568c268a442 in Poco::(anonymous namespace)::makeLoggerPtr(Poco::Logger&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:336:10 #3 0x5568c268a442 in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:364:9 #4 0x5568b74faabd 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 0x5568b7555920 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 0x5568b7555920 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 0x5568b7555920 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 0x5568b7555920 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 0x5568b7555920 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 0x5568b7555920 in DB::LockedKey::shrinkFileSegmentToDownloadedSize(unsigned long, DB::FileSegmentGuard::Lock const&) build_docker/./src/Interpreters/Cache/Metadata.cpp:1013:30 #11 0x5568b7515eb9 in DB::FileSegment::complete() build_docker/./src/Interpreters/Cache/FileSegment.cpp:736:33 #12 0x5568b751ea2d in DB::FileSegmentsHolder::completeAndPopFrontImpl() build_docker/./src/Interpreters/Cache/FileSegment.cpp:995:13 #13 0x5568b751ea2d in DB::FileSegmentsHolder::~FileSegmentsHolder() build_docker/./src/Interpreters/Cache/FileSegment.cpp:990:27 #14 0x5568b22c6dc1 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 0x5568b22c6dc1 in std::__1::unique_ptr>::reset[abi:v15000](DB::FileSegmentsHolder*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #16 0x5568b22c6dc1 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #17 0x5568b22c6dc1 in DB::CachedOnDiskReadBufferFromFile::~CachedOnDiskReadBufferFromFile() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:553:1 #18 0x5568b22c75ad in DB::CachedOnDiskReadBufferFromFile::~CachedOnDiskReadBufferFromFile() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:548:1 #19 0x5568b22b2b0a in std::__1::__shared_count::__release_shared[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:174:9 #20 0x5568b22b2b0a in std::__1::__shared_weak_count::__release_shared[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215:27 #21 0x5568b22b2b0a in std::__1::shared_ptr::~shared_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:702:23 #22 0x5568b22b2b0a in DB::ReadBufferFromRemoteFSGather::~ReadBufferFromRemoteFSGather() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:287:1 #23 0x5568b22b31cd in DB::ReadBufferFromRemoteFSGather::~ReadBufferFromRemoteFSGather() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:284:1 #24 0x5568b22a8d49 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 0x5568b22a8d49 in std::__1::unique_ptr>::reset[abi:v15000](DB::ReadBufferFromFileBase*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #26 0x5568b22a8d49 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #27 0x5568b22a8d49 in DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:370:1 #28 0x5568b22a906d in DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:361:1 #29 0x5568b9bbada7 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 0x5568b9bbada7 in std::__1::unique_ptr>::reset[abi:v15000](DB::ReadBufferFromFileBase*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #31 0x5568b9bbada7 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #32 0x5568b9bbada7 in DB::CompressedReadBufferFromFile::~CompressedReadBufferFromFile() build_docker/./src/Compression/CompressedReadBufferFromFile.h:17:7 #33 0x5568b9bbada7 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 0x5568b9bbada7 in std::__1::unique_ptr>::reset[abi:v15000](DB::CompressedReadBufferFromFile*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #35 0x5568b9bbada7 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #36 0x5568b9bbada7 in DB::MergeTreeReaderStream::~MergeTreeReaderStream() build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.h:35:46 #37 0x5568b9bc5c8d in DB::MergeTreeReaderStreamSingleColumn::~MergeTreeReaderStreamSingleColumn() build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.h:94:7 #38 0x5568b9bd72da 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 0x5568b9bd72da in std::__1::unique_ptr>::reset[abi:v15000](DB::MergeTreeReaderStream*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #40 0x5568b9bd72da in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #41 0x5568b9bd72da 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 0x5568b9bd72da 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 0x5568b9bd72da 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 0x5568b9bd72da 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 0x5568b9bd72da 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 0x5568b9bd715c 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 0x5568b9bd715c 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 0x5568b9bd715c in DB::MergeTreeReaderWide::~MergeTreeReaderWide() build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.h:14:7 #49 0x5568b9bd71ed in DB::MergeTreeReaderWide::~MergeTreeReaderWide() build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.h:14:7 #50 0x5568b9bff469 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 0x5568b9bff469 in std::__1::unique_ptr>::reset[abi:v15000](DB::IMergeTreeReader*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #52 0x5568b9bff469 in std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 #53 0x5568b9bff469 in DB::MergeTreeReadTask::Readers::~Readers() build_docker/./src/Storages/MergeTree/MergeTreeReadTask.h:90:12 #54 0x5568b9bff469 in DB::MergeTreeReadTask::~MergeTreeReadTask() build_docker/./src/Storages/MergeTree/MergeTreeReadTask.h:76:8 #55 0x5568b9bfb32c 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 0x5568b9bfb32c in std::__1::unique_ptr>::reset[abi:v15000](DB::MergeTreeReadTask*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 #57 0x5568b9bfb32c 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 0x5568b9bfb32c in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:122:22 #59 0x5568bb752ac8 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #60 0x5568ba91e1a3 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #61 0x5568ba96cf2d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #62 0x5568ba96cf2d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #63 0x5568ba94db42 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #64 0x5568ba94db42 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #65 0x5568ba94ed65 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #66 0x5568ba94ed65 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 0x5568ba94ed65 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 0x5568ba94ed65 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #69 0x5568ba94ed65 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 0x5568a4e53cbc in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #71 0x5568a4e53cbc in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #72 0x5568a4e53cbc in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 #73 0x5568a4e5dd72 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #74 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:225:13 #78 0x5568a4e4acbf in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #79 0x5568a4e4acbf in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #80 0x5568a4e4acbf in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:536:17 #81 0x5568a4e57ecc in void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #82 0x5568a4e57ecc 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 0x5568a4e57ecc 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 0x5568a4e57ecc 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 0x5568928b649a in asan_thread_start(void*) crtstuff.c Indirect leak of 192 byte(s) in 4 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568b74ac2d8 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568b74ac2d8 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568b74ac2d8 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568b74ac2d8 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 0x5568b74ac2d8 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 0x5568b74ac2d8 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 0x5568b74ac2d8 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 0x5568b74ac2d8 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 0x5568b74ae646 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 0x5568b74b1a7f 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 0x5568b22b9337 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #12 0x5568b22b9c9e in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #13 0x5568b22df012 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #14 0x5568b1e68579 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #15 0x5568b22a2f1f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #16 0x5568b22a3c71 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #17 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b374a29b 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 0x5568b374a29b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #24 0x5568b374a29b 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 0x5568b374aa39 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 0x5568b9bd0311 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 0x5568b9bcf9b2 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #28 0x5568b9bd0c8f 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 0x5568b9c01669 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 0x5568b9c01669 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 0x5568b9c20afd 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 0x5568b9c20afd in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #33 0x5568b9c1ae1d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #34 0x5568b9c35a2b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #35 0x5568bb749393 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #36 0x5568b9bfb42a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #37 0x5568bb752ac8 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #38 0x5568ba91e1a3 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #39 0x5568ba96cf2d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #40 0x5568ba96cf2d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #41 0x5568ba94db42 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #42 0x5568ba94db42 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #43 0x5568ba94ed65 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #44 0x5568ba94ed65 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 0x5568ba94ed65 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 0x5568ba94ed65 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #47 0x5568ba94ed65 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 0x5568a4e53cbc in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #49 0x5568a4e53cbc in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #50 0x5568a4e53cbc in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 #51 0x5568a4e5dd72 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #52 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:225:13 #56 0x5568a4e4acbf in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #57 0x5568a4e4acbf in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #58 0x5568a4e4acbf in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:536:17 Indirect leak of 176 byte(s) in 2 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568b7593112 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568b7593112 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568b7593112 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568b7593112 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 0x5568b7593112 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 0x5568b7593112 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 0x5568b7593112 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 0x5568b7593112 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 0x5568b74b7394 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 0x5568b7511830 in DB::FileSegment::reserve(unsigned long, unsigned long, DB::FileCacheReserveStat*) build_docker/./src/Interpreters/Cache/FileSegment.cpp:552:28 #11 0x5568b22d2d6f in DB::CachedOnDiskReadBufferFromFile::nextImplStep() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:996:41 #12 0x5568b22cfe0e in DB::CachedOnDiskReadBufferFromFile::nextImpl() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:795:16 #13 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #14 0x5568b22b03ee in DB::ReadBufferFromRemoteFSGather::readImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:209:32 #15 0x5568b22b028a in DB::ReadBufferFromRemoteFSGather::nextImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:181:9 #16 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #17 0x5568b1e6aef3 in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request, bool) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:147:25 #18 0x5568b1e6bf6b in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:115:12 #19 0x5568b22a37a6 in DB::AsynchronousBoundedReadBuffer::readSync(char*, unsigned long) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:101:19 #20 0x5568b22a6aeb in DB::AsynchronousBoundedReadBuffer::nextImpl() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:218:22 #21 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #22 0x5568936719bd in DB::ReadBuffer::readStrict(char*, unsigned long) (/usr/bin/clickhouse+0xb56b9bd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #23 0x5568b338b992 in DB::CompressedReadBufferBase::readCompressedData(unsigned long&, unsigned long&, bool) build_docker/./src/Compression/CompressedReadBufferBase.cpp:195:24 #24 0x5568b3391a08 in DB::CompressedReadBufferFromFile::nextImpl() build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:22:23 #25 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #26 0x5568b388796e in DB::ReadBuffer::eof() build_docker/./src/IO/ReadBuffer.h:106:38 #27 0x5568b388796e 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 0x5568b38866a2 in DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const build_docker/./src/DataTypes/Serializations/SerializationString.cpp:253:9 #29 0x5568b374c556 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 0x5568b9bd285e 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 0x5568b9bd118b 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 0x5568b9c01669 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 0x5568b9c01669 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 0x5568b9c20afd 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 0x5568b9c20afd in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #36 0x5568b9c1ae1d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #37 0x5568b9c35a2b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #38 0x5568bb749393 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #39 0x5568b9bfb42a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 Indirect leak of 160 byte(s) in 2 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568b7593058 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568b7593058 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568b7593058 in std::__1::allocator>>::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568b7593058 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 0x5568b7593058 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 0x5568b7593058 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 0x5568b7593058 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 0x5568b7593058 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 0x5568b74b7394 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 0x5568b7511830 in DB::FileSegment::reserve(unsigned long, unsigned long, DB::FileCacheReserveStat*) build_docker/./src/Interpreters/Cache/FileSegment.cpp:552:28 #11 0x5568b22d2d6f in DB::CachedOnDiskReadBufferFromFile::nextImplStep() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:996:41 #12 0x5568b22cfe0e in DB::CachedOnDiskReadBufferFromFile::nextImpl() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:795:16 #13 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #14 0x5568b22b03ee in DB::ReadBufferFromRemoteFSGather::readImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:209:32 #15 0x5568b22b028a in DB::ReadBufferFromRemoteFSGather::nextImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:181:9 #16 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #17 0x5568b1e6aef3 in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request, bool) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:147:25 #18 0x5568b1e6bf6b in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:115:12 #19 0x5568b22a37a6 in DB::AsynchronousBoundedReadBuffer::readSync(char*, unsigned long) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:101:19 #20 0x5568b22a6aeb in DB::AsynchronousBoundedReadBuffer::nextImpl() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:218:22 #21 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #22 0x5568936719bd in DB::ReadBuffer::readStrict(char*, unsigned long) (/usr/bin/clickhouse+0xb56b9bd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #23 0x5568b338b992 in DB::CompressedReadBufferBase::readCompressedData(unsigned long&, unsigned long&, bool) build_docker/./src/Compression/CompressedReadBufferBase.cpp:195:24 #24 0x5568b3391a08 in DB::CompressedReadBufferFromFile::nextImpl() build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:22:23 #25 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #26 0x5568b388796e in DB::ReadBuffer::eof() build_docker/./src/IO/ReadBuffer.h:106:38 #27 0x5568b388796e 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 0x5568b38866a2 in DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const build_docker/./src/DataTypes/Serializations/SerializationString.cpp:253:9 #29 0x5568b374c556 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 0x5568b9bd285e 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 0x5568b9bd118b 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 0x5568b9c01669 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 0x5568b9c01669 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 0x5568b9c20afd 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 0x5568b9c20afd in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #36 0x5568b9c1ae1d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #37 0x5568b9c35a2b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #38 0x5568bb749393 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #39 0x5568b9bfb42a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 Indirect leak of 96 byte(s) in 3 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c268a442 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 0x5568c268a442 in Poco::(anonymous namespace)::makeLoggerPtr(Poco::Logger&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:336:10 #3 0x5568c268a442 in Poco::Logger::getShared(std::__1::basic_string, std::__1::allocator> const&, bool) build_docker/./base/poco/Foundation/src/Logger.cpp:364:9 #4 0x5568b74faabd 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ac1de 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 0x5568b74ae646 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 0x5568b74b1a7f 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 0x5568b22b9337 in DB::CachedOnDiskReadBufferFromFile::nextFileSegmentsBatch() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:138:32 #14 0x5568b22b9c9e in DB::CachedOnDiskReadBufferFromFile::initialize() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:154:10 #15 0x5568b22df012 in DB::CachedOnDiskReadBufferFromFile::isContentCached(unsigned long, unsigned long) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1306:9 #16 0x5568b1e68579 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:90:36 #17 0x5568b22a2f1f in DB::AsynchronousBoundedReadBuffer::readAsync(char*, unsigned long, Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:90:19 #18 0x5568b22a3c71 in DB::AsynchronousBoundedReadBuffer::prefetch(Priority) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:116:23 #19 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b9bd6894 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 0x5568b374a29b 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 0x5568b374a29b in std::__1::function::operator()(DB::ISerialization::SubstreamPath const&) const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #26 0x5568b374a29b 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 0x5568b374aa39 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 0x5568b9bd0311 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 0x5568b9bcf9b2 in DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:103:13 #30 0x5568b9bd0c8f 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 0x5568b9c01669 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 0x5568b9c01669 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 0x5568b9c20afd 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 0x5568b9c20afd in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #35 0x5568b9c1ae1d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #36 0x5568b9c35a2b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #37 0x5568bb749393 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 #38 0x5568b9bfb42a in DB::MergeTreeSelectProcessor::read() build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:137:31 #39 0x5568bb752ac8 in DB::MergeTreeSource::tryGenerate() build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:226:41 #40 0x5568ba91e1a3 in DB::ISource::work() build_docker/./src/Processors/ISource.cpp:108:26 #41 0x5568ba96cf2d in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #42 0x5568ba96cf2d in DB::ExecutionThreadContext::executeTask() build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95:9 #43 0x5568ba94db42 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic*) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273:26 #44 0x5568ba94db42 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239:5 #45 0x5568ba94ed65 in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/./src/Processors/Executors/PipelineExecutor.cpp:373:17 #46 0x5568ba94ed65 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 0x5568ba94ed65 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 0x5568ba94ed65 in std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #49 0x5568ba94ed65 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 0x5568a4e53cbc in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #51 0x5568a4e53cbc in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #52 0x5568a4e53cbc in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 Indirect leak of 96 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568a547d7f1 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #3 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #4 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #5 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #6 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #7 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #8 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #9 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 96 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568a547aa2e 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #3 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #4 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #5 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #6 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #7 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #8 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #9 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 96 byte(s) in 2 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568b7503874 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568b7503874 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568b7503874 in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568b7503874 in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x5568b7503874 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 0x5568b7503874 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 0x5568b7503874 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 0x5568b7503874 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 0x5568b7503874 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 0x5568b7503874 in DB::FileSegment::getOrSetDownloader() build_docker/./src/Interpreters/Cache/FileSegment.cpp:230:44 #11 0x5568b22be5fb in DB::CachedOnDiskReadBufferFromFile::getReadBufferForFileSegment(DB::FileSegment&) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:348:51 #12 0x5568b22c2558 in DB::CachedOnDiskReadBufferFromFile::getImplementationBuffer(DB::FileSegment&) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:421:41 #13 0x5568b22c544a in DB::CachedOnDiskReadBufferFromFile::completeFileSegmentAndGetNext() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:538:29 #14 0x5568b22d55bd in DB::CachedOnDiskReadBufferFromFile::nextImplStep() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1107:9 #15 0x5568b22cfe0e in DB::CachedOnDiskReadBufferFromFile::nextImpl() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:795:16 #16 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #17 0x5568b22b03ee in DB::ReadBufferFromRemoteFSGather::readImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:209:32 #18 0x5568b22b028a in DB::ReadBufferFromRemoteFSGather::nextImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:181:9 #19 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #20 0x5568b1e6aef3 in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request, bool) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:147:25 #21 0x5568b1e6bf6b in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:115:12 #22 0x5568b22a37a6 in DB::AsynchronousBoundedReadBuffer::readSync(char*, unsigned long) build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:101:19 #23 0x5568b22a6aeb in DB::AsynchronousBoundedReadBuffer::nextImpl() build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:218:22 #24 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #25 0x5568936719bd in DB::ReadBuffer::readStrict(char*, unsigned long) (/usr/bin/clickhouse+0xb56b9bd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #26 0x5568b338b992 in DB::CompressedReadBufferBase::readCompressedData(unsigned long&, unsigned long&, bool) build_docker/./src/Compression/CompressedReadBufferBase.cpp:195:24 #27 0x5568b3391a08 in DB::CompressedReadBufferFromFile::nextImpl() build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:22:23 #28 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #29 0x5568b388796e in DB::ReadBuffer::eof() build_docker/./src/IO/ReadBuffer.h:106:38 #30 0x5568b388796e 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 #31 0x5568b38866a2 in DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const build_docker/./src/DataTypes/Serializations/SerializationString.cpp:253:9 #32 0x5568b374c556 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 #33 0x5568b9bd285e 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 #34 0x5568b9bd118b 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 #35 0x5568b9c01669 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 #36 0x5568b9c01669 in DB::MergeTreeRangeReader::DelayedStream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:183:12 #37 0x5568b9c20afd in DB::MergeTreeRangeReader::Stream::finalize(std::__1::vector::immutable_ptr, std::__1::allocator::immutable_ptr>>&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:295:31 #38 0x5568b9c20afd in DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1140:27 #39 0x5568b9c1ae1d in DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1029:23 #40 0x5568b9c35a2b in DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:161:43 #41 0x5568bb749393 in DB::MergeTreeThreadSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) build_docker/./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:38:116 Indirect leak of 72 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568a54a6046 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568a54a6046 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568a54a6046 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 0x5568a54a6046 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 0x5568a54a6046 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 0x5568a54a5df6 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 0x5568a54a2495 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 0x5568a54a2495 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 0x5568a54a2495 in DB::OwnSplitChannel::addChannel(Poco::AutoPtr, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/OwnSplitChannel.cpp:146:14 #10 0x5568a547dbaf 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #12 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #13 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #14 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #15 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #16 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #17 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #18 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 72 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568a54a6046 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568a54a6046 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568a54a6046 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 0x5568a54a6046 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 0x5568a54a6046 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 0x5568a54a5df6 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 0x5568a54a2495 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 0x5568a54a2495 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 0x5568a54a2495 in DB::OwnSplitChannel::addChannel(Poco::AutoPtr, std::__1::basic_string, std::__1::allocator> const&) build_docker/./src/Loggers/OwnSplitChannel.cpp:146:14 #10 0x5568a547add4 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #12 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #13 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #14 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #15 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #16 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #17 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #18 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 72 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568a547811c 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #3 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #4 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #5 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #6 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #7 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #8 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #9 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 64 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c267d823 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568c267d823 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568c267d823 in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568c267d823 in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x5568c267d823 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 0x5568c267d823 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 0x5568c267d823 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 0x5568c267d823 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 0x5568c267d823 in Poco::LogFileImpl::LogFileImpl(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile_STD.cpp:24:2 #10 0x5568c267e5d1 in Poco::LogFile::LogFile(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile.cpp:24:44 #11 0x5568c2637fca in Poco::FileChannel::newLogFile() build_docker/./base/poco/Foundation/src/FileChannel.cpp:498:14 #12 0x5568c2636e1e in Poco::FileChannel::unsafeOpen() build_docker/./base/poco/Foundation/src/FileChannel.cpp:386:12 #13 0x5568c2636cf3 in Poco::FileChannel::open() build_docker/./base/poco/Foundation/src/FileChannel.cpp:92:2 #14 0x5568a547a599 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #16 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #17 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #18 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #19 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #20 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #21 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #22 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 64 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c2638feb in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568c2638feb in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568c2638feb in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568c2638feb in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x5568c2638feb 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 0x5568c2638feb 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 0x5568c2638feb 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 0x5568c2638feb 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 0x5568c2638feb 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 0x5568c2638feb 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 0x5568a5479069 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #13 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #14 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #15 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #16 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #17 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #18 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #19 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 64 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c265ce5b in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568c265ce5b in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568c265ce5b in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568c265ce5b in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x5568c265ce5b 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 0x5568c265ce5b 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 0x5568c265ce5b 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 0x5568c265ce5b 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 0x5568c265ce5b 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 0x5568c265ce5b 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 0x5568c2660966 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 0x5568c2660966 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 0x5568c267d8a6 in Poco::LogFileImpl::LogFileImpl(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile_STD.cpp:25:2 #14 0x5568c267e5d1 in Poco::LogFile::LogFile(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile.cpp:24:44 #15 0x5568c2637fca in Poco::FileChannel::newLogFile() build_docker/./base/poco/Foundation/src/FileChannel.cpp:498:14 #16 0x5568c2636e1e in Poco::FileChannel::unsafeOpen() build_docker/./base/poco/Foundation/src/FileChannel.cpp:386:12 #17 0x5568c2636cf3 in Poco::FileChannel::open() build_docker/./base/poco/Foundation/src/FileChannel.cpp:92:2 #18 0x5568a547daab 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #20 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #21 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #22 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #23 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #24 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #25 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #26 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 64 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c267d823 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568c267d823 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568c267d823 in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568c267d823 in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x5568c267d823 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 0x5568c267d823 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 0x5568c267d823 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 0x5568c267d823 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 0x5568c267d823 in Poco::LogFileImpl::LogFileImpl(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile_STD.cpp:24:2 #10 0x5568c267e5d1 in Poco::LogFile::LogFile(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile.cpp:24:44 #11 0x5568c2637fca in Poco::FileChannel::newLogFile() build_docker/./base/poco/Foundation/src/FileChannel.cpp:498:14 #12 0x5568c2636e1e in Poco::FileChannel::unsafeOpen() build_docker/./base/poco/Foundation/src/FileChannel.cpp:386:12 #13 0x5568c2636cf3 in Poco::FileChannel::open() build_docker/./base/poco/Foundation/src/FileChannel.cpp:92:2 #14 0x5568a547daab 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #16 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #17 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #18 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #19 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #20 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #21 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #22 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 64 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c2638feb in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568c2638feb in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568c2638feb in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568c2638feb in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x5568c2638feb 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 0x5568c2638feb 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 0x5568c2638feb 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 0x5568c2638feb 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 0x5568c2638feb 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 0x5568c2638feb 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 0x5568a547be94 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #13 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #14 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #15 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #16 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #17 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #18 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #19 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 64 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c265ce5b in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568c265ce5b in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568c265ce5b in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568c265ce5b in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x5568c265ce5b 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 0x5568c265ce5b 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 0x5568c265ce5b 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 0x5568c265ce5b 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 0x5568c265ce5b 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 0x5568c265ce5b 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 0x5568c2660966 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 0x5568c2660966 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 0x5568c267d8a6 in Poco::LogFileImpl::LogFileImpl(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile_STD.cpp:25:2 #14 0x5568c267e5d1 in Poco::LogFile::LogFile(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/LogFile.cpp:24:44 #15 0x5568c2637fca in Poco::FileChannel::newLogFile() build_docker/./base/poco/Foundation/src/FileChannel.cpp:498:14 #16 0x5568c2636e1e in Poco::FileChannel::unsafeOpen() build_docker/./base/poco/Foundation/src/FileChannel.cpp:386:12 #17 0x5568c2636cf3 in Poco::FileChannel::open() build_docker/./base/poco/Foundation/src/FileChannel.cpp:92:2 #18 0x5568a547a599 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #20 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #21 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #22 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #23 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #24 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #25 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #26 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 56 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568a547d80f 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #3 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #4 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #5 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #6 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #7 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #8 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #9 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 56 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568a547aa4c 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #3 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #4 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #5 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #6 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #7 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #8 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #9 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 48 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568b7503874 in void* std::__1::__libcpp_operator_new[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:246:10 #2 0x5568b7503874 in std::__1::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) build_docker/./contrib/llvm-project/libcxx/include/new:272:10 #3 0x5568b7503874 in std::__1::allocator::allocate[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:112:38 #4 0x5568b7503874 in std::__1::allocator::allocate_at_least[abi:v15000](unsigned long) build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator.h:119:17 #5 0x5568b7503874 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 0x5568b7503874 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 0x5568b7503874 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 0x5568b7503874 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 0x5568b7503874 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 0x5568b7503874 in DB::FileSegment::getOrSetDownloader() build_docker/./src/Interpreters/Cache/FileSegment.cpp:230:44 #11 0x5568b22be5fb in DB::CachedOnDiskReadBufferFromFile::getReadBufferForFileSegment(DB::FileSegment&) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:348:51 #12 0x5568b22c2558 in DB::CachedOnDiskReadBufferFromFile::getImplementationBuffer(DB::FileSegment&) build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:421:41 #13 0x5568b22c544a in DB::CachedOnDiskReadBufferFromFile::completeFileSegmentAndGetNext() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:538:29 #14 0x5568b22d55bd in DB::CachedOnDiskReadBufferFromFile::nextImplStep() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:1107:9 #15 0x5568b22cfe0e in DB::CachedOnDiskReadBufferFromFile::nextImpl() build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:795:16 #16 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #17 0x5568b22b03ee in DB::ReadBufferFromRemoteFSGather::readImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:209:32 #18 0x5568b22b028a in DB::ReadBufferFromRemoteFSGather::nextImpl() build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:181:9 #19 0x55689361de6a in DB::ReadBuffer::next() (/usr/bin/clickhouse+0xb517e6a) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #20 0x5568b1e6aef3 in DB::ThreadPoolRemoteFSReader::execute(DB::IAsynchronousReader::Request, bool) build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:147:25 #21 0x5568b1e6e284 in DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0::operator()() const build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:110:46 #22 0x5568b1e6e284 in std::__1::function (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunnerUnsafe(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:52:20 #23 0x5568b1e6e284 in decltype(std::declval()()) std::__1::__invoke[abi:v15000] (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunnerUnsafe(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 0x5568b1e6e284 in std::__1::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunnerUnsafe(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::threadPoolCallbackRunnerUnsafe(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 0x5568b1e65037 in std::__1::__packaged_task_function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/future:1876:12 #26 0x5568b1e65037 in std::__1::packaged_task::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1953:24 #27 0x5568a4e53cbc in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #28 0x5568a4e53cbc in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #29 0x5568a4e53cbc in ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 #30 0x5568a4e5dd72 in void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #31 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 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 0x5568a4e5dd72 in ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:225:13 #35 0x5568a4e4acbf in std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #36 0x5568a4e4acbf in std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #37 0x5568a4e4acbf in ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:536:17 #38 0x5568a4e57ecc in void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 #39 0x5568a4e57ecc 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 0x5568a4e57ecc 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 0x5568a4e57ecc 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 0x5568928b649a in asan_thread_start(void*) crtstuff.c Indirect leak of 24 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c263aee4 in Poco::FileChannel::setArchive(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/FileChannel.cpp:297:15 #2 0x5568c2638f26 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 0x5568a54795c2 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #5 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #6 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #7 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #8 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #9 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #10 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #11 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 24 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c263aee4 in Poco::FileChannel::setArchive(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/FileChannel.cpp:297:15 #2 0x5568c2638f26 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 0x5568a547c3de 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #5 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #6 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #7 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #8 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #9 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #10 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #11 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 16 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c263c9b1 in Poco::FileChannel::setPurgeCount(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/FileChannel.cpp:350:19 #2 0x5568c2638d71 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 0x5568a547cbf5 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #5 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #6 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #7 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #8 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #9 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #10 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #11 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) Indirect leak of 16 byte(s) in 1 object(s) allocated from: #0 0x5568928eb4cd in operator new(unsigned long) (/usr/bin/clickhouse+0xa7e54cd) (BuildId: 15f8148d087a6183d5d50c7c89f0413447bc9cd3) #1 0x5568c263c9b1 in Poco::FileChannel::setPurgeCount(std::__1::basic_string, std::__1::allocator> const&) build_docker/./base/poco/Foundation/src/FileChannel.cpp:350:19 #2 0x5568c2638d71 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 0x5568a5479dd5 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 0x5568a5420343 in BaseDaemon::initialize(Poco::Util::Application&) build_docker/./src/Daemon/BaseDaemon.cpp:916:5 #5 0x5568a50c0aea in DB::Server::initialize(Poco::Util::Application&) build_docker/./programs/server/Server.cpp:424:17 #6 0x5568c23567f0 in Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:310:2 #7 0x5568a50c03c3 in DB::Server::run() build_docker/./programs/server/Server.cpp:418:25 #8 0x5568c239b148 in Poco::Util::ServerApplication::run(int, char**) build_docker/./base/poco/Util/src/ServerApplication.cpp:131:9 #9 0x5568a50b83d9 in mainEntryClickHouseServer(int, char**) build_docker/./programs/server/Server.cpp:224:20 #10 0x5568928f044a in main build_docker/./programs/main.cpp:498:21 #11 0x7f3590335d8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) SUMMARY: AddressSanitizer: 36000 byte(s) leaked in 203 allocation(s).