2025.04.04 20:36:46.772103 [ 347 ] {} Context: Server was built in debug mode. It will work slowly. 2025.04.04 20:36:47.113409 [ 347 ] {} KeeperLogStore: No logs exists in /var/lib/clickhouse/coordination/logs. It's Ok if it's the first run of clickhouse-keeper. 2025.04.04 20:36:47.113996 [ 347 ] {} KeeperLogStore: Removing all changelogs 2025.04.04 20:36:47.114372 [ 347 ] {} KeeperServer: Got 1000000000000000 value for setting 'reserved_log_items' which is bigger than int32_t max value, lowering value to 2147483647. 2025.04.04 20:36:47.118032 [ 347 ] {} RaftInstance: invalid election timeout lower bound detected, adjusted to 0 2025.04.04 20:36:47.118049 [ 347 ] {} RaftInstance: invalid election timeout upper bound detected, adjusted to 0 2025.04.04 20:36:47.168606 [ 935 ] {} RaftInstance: Election timeout, initiate leader election 2025.04.04 20:36:47.183870 [ 347 ] {} Access(local_directory): File /var/lib/clickhouse/access/users.list doesn't exist 2025.04.04 20:36:47.183892 [ 347 ] {} Access(local_directory): Recovering lists in directory /var/lib/clickhouse/access/ 2025.04.04 20:36:47.197072 [ 347 ] {} Context: Delay accounting is not enabled, OSIOWaitMicroseconds will not be gathered. You can enable it using `echo 1 > /proc/sys/kernel/task_delayacct` or by using sysctl. 2025.04.04 20:36:47.197565 [ 347 ] {} Context: The setting 'allow_remote_fs_zero_copy_replication' is enabled for MergeTree tables. But the feature of 'zero-copy replication' is under development and is not ready for production. The usage of this feature can lead to data corruption and loss. The setting should be disabled in production. 2025.04.04 20:36:47.926242 [ 354 ] {1953d629-02a0-4874-92fc-62155dfb734e} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE hits_v1; to attach existing table or CREATE TABLE hits_v1 ; to create new table or ATTACH TABLE hits_v1 FROM '/path/to/data/'
; to create new table and attach data. 2025.04.04 20:36:58.520864 [ 354 ] {943cad30-c627-4307-938d-d165453bab32} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE visits_v1; to attach existing table or CREATE TABLE visits_v1
; to create new table or ATTACH TABLE visits_v1 FROM '/path/to/data/'
; to create new table and attach data. 2025.04.04 20:37:19.837745 [ 1801 ] {8f79694f-7230-4f79-b4bc-c383db39e6ab} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.88 million. (TOO_MANY_ROWS) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::1]:59024) (comment: 00175_counting_resources_in_subqueries.sql) (in query: SELECT 1 = (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:315: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x0000000014813f55 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:2082: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x0000000014827fc7 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x00000000147e6a2d 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000148089ab 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:261: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x00000000128a5d71 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:228: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x00000000128a5afe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:604: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011f664ba 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3854: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011f604ca 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3975: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x0000000011f5f1a0 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:2879: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011f74508 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3817: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011f6005c 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3975: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x0000000011f5f1a0 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4299: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011f86929 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5563: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011f595a5 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:172: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011f588d9 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:18: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x0000000011f581ae 21. /build/src/Analyzer/QueryTreePassManager.cpp:184: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001260fc0a 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:149: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000128a4e58 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:167: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000128a3929 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x00000000128a62a4 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001284e52b 26. /build/src/Interpreters/executeQuery.cpp:1305: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000012b89afc 27. /build/src/Interpreters/executeQuery.cpp:1535: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000012b85fe1 28. /build/src/Server/TCPHandler.cpp:656: DB::TCPHandler::runImpl() @ 0x0000000014302bd1 29. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 2025.04.04 20:37:19.838127 [ 1801 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.88 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:315: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x0000000014813f55 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:2082: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x0000000014827fc7 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x00000000147e6a2d 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000148089ab 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:261: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x00000000128a5d71 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:228: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x00000000128a5afe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:604: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011f664ba 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3854: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011f604ca 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3975: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x0000000011f5f1a0 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:2879: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011f74508 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3817: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011f6005c 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3975: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x0000000011f5f1a0 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4299: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011f86929 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5563: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011f595a5 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:172: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011f588d9 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:18: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x0000000011f581ae 21. /build/src/Analyzer/QueryTreePassManager.cpp:184: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001260fc0a 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:149: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000128a4e58 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:167: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000128a3929 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x00000000128a62a4 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001284e52b 26. /build/src/Interpreters/executeQuery.cpp:1305: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000012b89afc 27. /build/src/Interpreters/executeQuery.cpp:1535: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000012b85fe1 28. /build/src/Server/TCPHandler.cpp:656: DB::TCPHandler::runImpl() @ 0x0000000014302bd1 29. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 2025.04.04 20:37:19.858021 [ 1801 ] {51c23d4d-36f8-45a6-9b2e-a234287d72d5} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.88 million. (TOO_MANY_ROWS) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::1]:59024) (comment: 00175_counting_resources_in_subqueries.sql) (in query: SELECT 1 IN (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:315: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x0000000014813f55 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:2082: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x0000000014827fc7 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x00000000147e6a2d 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000148089ab 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:261: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x00000000128a5d71 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:228: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x00000000128a5afe 11. /build/src/Interpreters/executeQuery.cpp:1368: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000012b8a316 12. /build/src/Interpreters/executeQuery.cpp:1535: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000012b85fe1 13. /build/src/Server/TCPHandler.cpp:656: DB::TCPHandler::runImpl() @ 0x0000000014302bd1 14. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 19. ? @ 0x00007fc2c7bccac3 20. ? @ 0x00007fc2c7c5e850 2025.04.04 20:37:19.858263 [ 1801 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.88 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:315: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x0000000014813f55 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:2082: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x0000000014827fc7 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x00000000147e6a2d 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000148089ab 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:261: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x00000000128a5d71 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:228: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x00000000128a5afe 11. /build/src/Interpreters/executeQuery.cpp:1368: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000012b8a316 12. /build/src/Interpreters/executeQuery.cpp:1535: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000012b85fe1 13. /build/src/Server/TCPHandler.cpp:656: DB::TCPHandler::runImpl() @ 0x0000000014302bd1 14. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 19. ? @ 0x00007fc2c7bccac3 20. ? @ 0x00007fc2c7c5e850 2025.04.04 20:37:19.882357 [ 1801 ] {4ebf3e2e-d1c4-42ad-84f4-370f1bd17f90} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 15.00 million, current rows: 17.76 million: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_ROWS) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::1]:59024) (comment: 00175_counting_resources_in_subqueries.sql) (in query: SELECT count() IN (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) FROM test.hits WHERE NOT ignore(AdvEngineID);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:442: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000143b8aec 10. /build/src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x00000000143b84ef 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000143c7e6a 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:37:19.882701 [ 1801 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 15.00 million, current rows: 17.76 million: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:442: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000143b8aec 10. /build/src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x00000000143b84ef 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000143c7e6a 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:37:19.915060 [ 1801 ] {fc05b261-5ea0-4177-bce1-e93d920e6690} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.88 million. (TOO_MANY_ROWS) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::1]:59024) (comment: 00175_counting_resources_in_subqueries.sql) (in query: SELECT count() FROM test.hits WHERE CounterID > (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:315: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x0000000014813f55 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:2082: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x0000000014827fc7 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x00000000147e6a2d 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000148089ab 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:261: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x00000000128a5d71 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:228: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x00000000128a5afe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:604: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011f664ba 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3854: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011f604ca 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3975: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x0000000011f5f1a0 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:2879: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011f74508 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3817: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011f6005c 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5588: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011f597ba 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:172: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011f588d9 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:18: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x0000000011f581ae 19. /build/src/Analyzer/QueryTreePassManager.cpp:184: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001260fc0a 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:149: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000128a4e58 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:167: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000128a3929 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x00000000128a62a4 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001284e52b 24. /build/src/Interpreters/executeQuery.cpp:1305: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000012b89afc 25. /build/src/Interpreters/executeQuery.cpp:1535: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000012b85fe1 26. /build/src/Server/TCPHandler.cpp:656: DB::TCPHandler::runImpl() @ 0x0000000014302bd1 27. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 2025.04.04 20:37:19.915312 [ 1801 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.88 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:315: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x0000000014813f55 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:2082: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x0000000014827fc7 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x00000000147e6a2d 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x00000000148089ab 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:261: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x00000000128a5d71 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:228: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x00000000128a5afe 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:604: DB::QueryAnalyzer::evaluateScalarSubqueryIfNeeded(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011f664ba 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3854: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011f604ca 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3975: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x0000000011f5f1a0 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:2879: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011f74508 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3817: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011f6005c 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5588: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011f597ba 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:172: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011f588d9 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:18: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x0000000011f581ae 19. /build/src/Analyzer/QueryTreePassManager.cpp:184: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001260fc0a 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:149: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000128a4e58 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:167: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000128a3929 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x00000000128a62a4 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001284e52b 24. /build/src/Interpreters/executeQuery.cpp:1305: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000012b89afc 25. /build/src/Interpreters/executeQuery.cpp:1535: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000012b85fe1 26. /build/src/Server/TCPHandler.cpp:656: DB::TCPHandler::runImpl() @ 0x0000000014302bd1 27. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 2025.04.04 20:37:19.929075 [ 1801 ] {bdb3f34e-9637-4b6b-af17-c7e61dc4cc36} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 10.00 million, current rows: 13.12 million: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_ROWS) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::1]:59024) (comment: 00175_counting_resources_in_subqueries.sql) (in query: SELECT count() FROM test.hits WHERE CounterID < (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:442: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000143b8aec 10. /build/src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x00000000143b84ef 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000143c7e6a 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:37:19.929359 [ 1801 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 10.00 million, current rows: 13.12 million: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:442: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000143b8aec 10. /build/src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x00000000143b84ef 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000143c7e6a 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:09.467783 [ 2171 ] {754f6c6f-acf4-4947-a174-456d647d706a} executeQuery: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 572.45 MiB: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_BYTES) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::1]:48608) (comment: 00091_prewhere_two_conditions.sql) (in query: SELECT uniq(URL) FROM test.hits WHERE toTimeZone(EventTime, 'Asia/Dubai') >= '2014-03-20 00:00:00' AND toTimeZone(EventTime, 'Asia/Dubai') < '2014-03-21 00:00:00';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000011b177cb 4. /build/src/QueryPipeline/SizeLimits.cpp:43: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17181 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143bac9f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce14fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1a362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:09.468411 [ 2171 ] {} TCPHandler: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 572.45 MiB: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000011b177cb 4. /build/src/QueryPipeline/SizeLimits.cpp:43: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17181 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143bac9f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce14fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1a362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:09.628016 [ 2171 ] {abfbd17d-dc25-4bdf-b5a9-853117a7a187} executeQuery: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 574.13 MiB: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_BYTES) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::1]:48608) (comment: 00091_prewhere_two_conditions.sql) (in query: SELECT uniq(URL) FROM test.hits WHERE toTimeZone(EventTime, 'Asia/Dubai') >= '2014-03-20 00:00:00' AND URL != '' AND toTimeZone(EventTime, 'Asia/Dubai') < '2014-03-21 00:00:00';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000011b177cb 4. /build/src/QueryPipeline/SizeLimits.cpp:43: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17181 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143bac9f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce14fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1a362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:09.628845 [ 2171 ] {} TCPHandler: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 574.13 MiB: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000011b177cb 4. /build/src/QueryPipeline/SizeLimits.cpp:43: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17181 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143bac9f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce14fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1a362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:09.775978 [ 2171 ] {4cd61933-1b46-461b-aa14-fdd7b5060dbb} executeQuery: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 573.84 MiB: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_BYTES) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::1]:48608) (comment: 00091_prewhere_two_conditions.sql) (in query: SELECT uniq(URL) FROM test.hits PREWHERE toTimeZone(EventTime, 'Asia/Dubai') >= '2014-03-20 00:00:00' AND URL != '' AND toTimeZone(EventTime, 'Asia/Dubai') < '2014-03-21 00:00:00';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000011b177cb 4. /build/src/QueryPipeline/SizeLimits.cpp:43: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17181 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143bac9f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce14fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1a362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:09.776446 [ 2171 ] {} TCPHandler: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 573.84 MiB: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_MANY_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000011b177cb 4. /build/src/QueryPipeline/SizeLimits.cpp:43: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17181 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:404: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x00000000143bac9f 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce14fb3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1a362 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:30.799185 [ 969 ] {d55503ee-590b-4f9b-84ff-075b2ea82f96::all_1_6_1} virtual bool DB::MergePlainMergeTreeTask::executeStep(): Exception is in merge_task.: Code: 236. DB::Exception: Cancelled merging parts. (ABORTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000757f44b 4. /build/src/Storages/MergeTree/MergeTask.cpp:263: DB::MergeTask::GlobalRuntimeContext::checkOperationIsNotCanceled() const @ 0x0000000013d29b1a 5. /build/src/Storages/MergeTree/MergeTask.cpp:931: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::finalize() const @ 0x0000000013d3637c 6. /build/src/Storages/MergeTree/MergeTask.cpp:892: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() const @ 0x0000000013d36128 7. /build/src/Storages/MergeTree/MergeTask.cpp:720: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x0000000013d34659 8. /build/src/Storages/MergeTree/MergeTask.cpp:1504: DB::MergeTask::execute() @ 0x0000000013d3abca 9. /build/src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:57: DB::MergePlainMergeTreeTask::executeStep() @ 0x00000000140cd904 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:308: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x0000000013d5bbae 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:353: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x0000000013d5c4b1 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce14fb3 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1a362 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 16. ? @ 0x00007fc2c7bccac3 17. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:34.015922 [ 2166 ] {a7de3eba-6eed-4e60-9ea3-dd68a3a77c42} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::1]:47500) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT SearchPhrase AS k, count() AS c FROM remote('127.0.0.{1,2,3}', test.hits) GROUP BY k ORDER BY c DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:442: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000143b8aec 10. /build/src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x00000000143b84ef 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000143c7e6a 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.016874 [ 2166 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:442: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000143b8aec 10. /build/src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x00000000143b84ef 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000143c7e6a 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.029887 [ 2069 ] {9ffe07fb-9ad9-48f0-98de-c68bb3798e07} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48334). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:34.030183 [ 2069 ] {9ffe07fb-9ad9-48f0-98de-c68bb3798e07} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48334). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:48334) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.030424 [ 2069 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48334). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.038928 [ 2167 ] {78b73cfb-99b3-40ae-8a8f-e17a3e38cdd3} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51092). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:34.039239 [ 2167 ] {78b73cfb-99b3-40ae-8a8f-e17a3e38cdd3} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51092). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:51092) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.039551 [ 2167 ] {} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51092). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.041601 [ 2171 ] {34fb0130-0b3c-45e2-aeb4-a688caa8dab5} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42362). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:34.042185 [ 2171 ] {34fb0130-0b3c-45e2-aeb4-a688caa8dab5} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42362). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:42362) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.042440 [ 2171 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42362). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.311809 [ 2166 ] {418e6c02-bb94-4e48-8028-816003cf233b} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::1]:47510) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT SearchPhrase AS k, count() AS c FROM remote('127.0.0.{1,2,3,4}', test.hits) GROUP BY k ORDER BY c DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:442: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000143b8aec 10. /build/src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x00000000143b84ef 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000143c7e6a 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.312685 [ 2171 ] {ab1e9eb2-1075-4dce-8395-5f2cd1dd1fc3} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48350). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:34.312919 [ 2171 ] {ab1e9eb2-1075-4dce-8395-5f2cd1dd1fc3} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48350). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:48350) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.312962 [ 2166 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:442: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000143b8aec 10. /build/src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x00000000143b84ef 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000143c7e6a 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.313154 [ 2171 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48350). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.313934 [ 2165 ] {c4cf5eb3-6bbb-4f84-ba7f-fdd8278321af} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47602). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:34.314238 [ 2165 ] {c4cf5eb3-6bbb-4f84-ba7f-fdd8278321af} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47602). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:47602) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.314540 [ 2165 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47602). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.317435 [ 1800 ] {70b8005c-3274-4c59-8ff8-51dc27e8ccd6} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51100). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:34.317695 [ 1800 ] {70b8005c-3274-4c59-8ff8-51dc27e8ccd6} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51100). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:51100) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.317902 [ 1800 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51100). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.330119 [ 2167 ] {0e731dd4-7681-46a0-8d3e-046682f646be} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42370). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:34.330343 [ 2167 ] {0e731dd4-7681-46a0-8d3e-046682f646be} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42370). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:42370) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.330585 [ 2167 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42370). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.570492 [ 1800 ] {eed8efb2-8788-42b9-9fc7-4588f74c2002} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::1]:47528) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT SearchPhrase AS k, count() AS c FROM remote('127.0.0.{1,2,3,4,5}', test.hits) GROUP BY k ORDER BY c DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:442: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000143b8aec 10. /build/src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x00000000143b84ef 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000143c7e6a 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.571587 [ 1800 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:442: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000143b8aec 10. /build/src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x00000000143b84ef 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000143c7e6a 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.572543 [ 4522 ] {2b3f5c82-3afd-4dac-9a01-f5283f906def} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58432). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:34.572813 [ 4522 ] {2b3f5c82-3afd-4dac-9a01-f5283f906def} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58432). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:58432) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.573085 [ 4522 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58432). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.576089 [ 354 ] {2ffcca92-aca8-4ba4-882c-64d7b8eb5057} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42376). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:34.576356 [ 354 ] {2ffcca92-aca8-4ba4-882c-64d7b8eb5057} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42376). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:42376) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.576586 [ 354 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42376). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.577565 [ 4523 ] {79fe6f05-7db5-4102-92aa-a3f3283589bd} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51114). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:34.577803 [ 4523 ] {79fe6f05-7db5-4102-92aa-a3f3283589bd} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51114). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:51114) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.577922 [ 2165 ] {cbbb4dbd-3dff-4f8f-82ce-d23aedd8c9af} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48364). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:34.578063 [ 4523 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51114). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.578219 [ 2165 ] {cbbb4dbd-3dff-4f8f-82ce-d23aedd8c9af} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48364). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:48364) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.578329 [ 4524 ] {b55ece27-c46c-42a9-9890-c74d94dfb00c} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47604). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:34.578514 [ 2165 ] {} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48364). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.578532 [ 4524 ] {b55ece27-c46c-42a9-9890-c74d94dfb00c} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47604). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:47604) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.578721 [ 4524 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47604). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.835975 [ 1800 ] {4d7be591-17d3-408f-81eb-48230a7da765} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::1]:47530) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT SearchPhrase AS k, count() AS c FROM remote('127.0.0.{1,2,3,4,5,6}', test.hits) GROUP BY k ORDER BY c DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:442: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000143b8aec 10. /build/src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x00000000143b84ef 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000143c7e6a 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.837480 [ 1800 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:442: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000143b8aec 10. /build/src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x00000000143b84ef 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000143c7e6a 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.840721 [ 354 ] {6b2d9c56-bf6d-4c7b-bee8-7a5b3363bc9c} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42390). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:34.840756 [ 2165 ] {c23dc031-c0d2-498e-a7d6-0fe3900632dc} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48366). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:34.841050 [ 2165 ] {c23dc031-c0d2-498e-a7d6-0fe3900632dc} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48366). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:48366) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.841061 [ 354 ] {6b2d9c56-bf6d-4c7b-bee8-7a5b3363bc9c} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42390). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:42390) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.841280 [ 354 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42390). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.841369 [ 2165 ] {} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48366). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.841461 [ 2161 ] {8de85954-33a6-4f3b-9087-e22089a84196} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51124). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:34.841640 [ 4523 ] {e1833bed-f1bf-4ef4-9360-9f9f67e773bc} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47618). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:34.841647 [ 2161 ] {8de85954-33a6-4f3b-9087-e22089a84196} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51124). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:51124) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.841826 [ 4523 ] {e1833bed-f1bf-4ef4-9360-9f9f67e773bc} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47618). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:47618) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.841895 [ 2161 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51124). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.842047 [ 4523 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47618). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.843404 [ 4524 ] {dc39c8b0-45df-4a46-991f-bfa4b02bf6a9} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58448). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:34.843696 [ 4524 ] {dc39c8b0-45df-4a46-991f-bfa4b02bf6a9} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58448). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:58448) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.843876 [ 4524 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58448). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.846406 [ 4522 ] {df6de6df-4e8c-4f76-a23c-558159314f8a} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:53324). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:34.846661 [ 4522 ] {df6de6df-4e8c-4f76-a23c-558159314f8a} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:53324). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:53324) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:34.846888 [ 4522 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:53324). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.086677 [ 1800 ] {23391fb9-32c4-4bc3-afda-ef4d62c42a3d} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::1]:47546) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT SearchPhrase AS k, count() AS c FROM remote('127.0.0.{1,2,3,4,5,6,7}', test.hits) GROUP BY k ORDER BY c DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:442: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000143b8aec 10. /build/src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x00000000143b84ef 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000143c7e6a 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.088130 [ 1800 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:442: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000143b8aec 10. /build/src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x00000000143b84ef 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000143c7e6a 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.088440 [ 1883 ] {4f8b686f-a99e-427b-82c4-294e597da466} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:33894). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.088671 [ 1883 ] {4f8b686f-a99e-427b-82c4-294e597da466} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:33894). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:33894) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.088942 [ 1883 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:33894). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.089674 [ 4523 ] {00a90c67-1a36-48c6-af28-a027fedc0453} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47628). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.089917 [ 4523 ] {00a90c67-1a36-48c6-af28-a027fedc0453} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47628). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:47628) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.090158 [ 4523 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47628). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.091522 [ 4524 ] {b95b651c-1b23-4f03-92a7-d0c08fcfeb5a} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58452). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.091694 [ 4524 ] {b95b651c-1b23-4f03-92a7-d0c08fcfeb5a} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58452). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:58452) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.091907 [ 4524 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58452). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.091913 [ 4522 ] {e041ccf4-7fdc-420e-ba91-25ce51faf342} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:53332). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.092125 [ 4522 ] {e041ccf4-7fdc-420e-ba91-25ce51faf342} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:53332). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:53332) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.092340 [ 4522 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:53332). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.092808 [ 2161 ] {23c46461-1101-4150-90ac-27ee8ab916e7} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51128). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.093064 [ 2161 ] {23c46461-1101-4150-90ac-27ee8ab916e7} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51128). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:51128) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.093234 [ 2165 ] {17050ecc-30b9-45eb-b014-b59abe12ee14} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48372). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.093249 [ 2161 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51128). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.093430 [ 2165 ] {17050ecc-30b9-45eb-b014-b59abe12ee14} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48372). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:48372) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.093662 [ 2165 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48372). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.094164 [ 354 ] {10498380-0ac4-480a-8336-8c1dd91bd80a} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42392). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.094430 [ 354 ] {10498380-0ac4-480a-8336-8c1dd91bd80a} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42392). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:42392) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.094666 [ 354 ] {} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42392). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.350184 [ 1800 ] {2b5e13b2-8109-42e4-b180-222fbfbb841e} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::1]:47558) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT SearchPhrase AS k, count() AS c FROM remote('127.0.0.{1,2,3,4,5,6,7,8}', test.hits) GROUP BY k ORDER BY c DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:442: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000143b8aec 10. /build/src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x00000000143b84ef 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000143c7e6a 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.351284 [ 354 ] {50b573ed-c07a-44d7-b651-5c465879d503} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42400). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.351493 [ 2165 ] {1f5c814e-128e-487e-9c29-721ddb9558ab} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48376). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.351529 [ 354 ] {50b573ed-c07a-44d7-b651-5c465879d503} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42400). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:42400) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.351716 [ 1800 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:442: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000143b8aec 10. /build/src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x00000000143b84ef 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000143c7e6a 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.351723 [ 2165 ] {1f5c814e-128e-487e-9c29-721ddb9558ab} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48376). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:48376) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.351785 [ 354 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42400). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.351943 [ 2165 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48376). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.353195 [ 4523 ] {6f018fb8-4f4c-4ada-a1e5-7bb4f3780b8a} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47636). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.353484 [ 4523 ] {6f018fb8-4f4c-4ada-a1e5-7bb4f3780b8a} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47636). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:47636) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.353718 [ 4523 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47636). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.354145 [ 1883 ] {080afbfd-7ba1-4df0-bf43-d4f17d689b27} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:47044). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.354344 [ 1883 ] {080afbfd-7ba1-4df0-bf43-d4f17d689b27} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:47044). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:47044) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.354640 [ 1883 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:47044). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.356721 [ 2162 ] {3aa9760c-5418-4045-966d-497701597cf7} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:33900). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.357016 [ 2162 ] {3aa9760c-5418-4045-966d-497701597cf7} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:33900). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:33900) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.357226 [ 2162 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:33900). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.357261 [ 4524 ] {a7511df8-85d6-44e9-b245-d5627bf12f96} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58468). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.357447 [ 4524 ] {a7511df8-85d6-44e9-b245-d5627bf12f96} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58468). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:58468) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.358897 [ 2161 ] {899e833c-060c-437c-9836-fa92a62be6b7} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51140). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.359180 [ 2161 ] {899e833c-060c-437c-9836-fa92a62be6b7} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51140). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:51140) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.359402 [ 2161 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51140). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.367408 [ 4522 ] {156a561a-19f4-4a4f-ad43-92b5ecc19976} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:53348). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.367630 [ 4522 ] {156a561a-19f4-4a4f-ad43-92b5ecc19976} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:53348). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:53348) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.367855 [ 4522 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:53348). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.369437 [ 4524 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58468). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.598042 [ 2161 ] {a4176ff1-6102-4647-bb96-8375e1b9bbe1} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::1]:47584) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT SearchPhrase AS k, count() AS c FROM remote('127.0.0.{1,2,3,4,5,6,7,8,9}', test.hits) GROUP BY k ORDER BY c DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:442: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000143b8aec 10. /build/src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x00000000143b84ef 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000143c7e6a 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.599443 [ 1883 ] {8a0c750c-8b43-438c-89c6-8b051abd714b} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47652). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.600024 [ 2161 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:442: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000143b8aec 10. /build/src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x00000000143b84ef 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000143c7e6a 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.600039 [ 1883 ] {8a0c750c-8b43-438c-89c6-8b051abd714b} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47652). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:47652) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.600256 [ 1883 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47652). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.602352 [ 354 ] {627adcb0-b152-4e20-93f0-d5ea5cf53b7b} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:43494). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.602570 [ 354 ] {627adcb0-b152-4e20-93f0-d5ea5cf53b7b} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:43494). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:43494) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.602761 [ 354 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:43494). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.603295 [ 4522 ] {b1ecf165-981d-482f-ab21-c9e73eafebf5} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42412). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.603504 [ 4522 ] {b1ecf165-981d-482f-ab21-c9e73eafebf5} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42412). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:42412) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.603705 [ 4522 ] {} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42412). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.604920 [ 1800 ] {06733637-0c4a-47dd-bc77-e79f1e7546a1} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:47046). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.605123 [ 2165 ] {2c41a13a-e2a8-4066-bcca-89db18858563} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:33914). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.605227 [ 1800 ] {06733637-0c4a-47dd-bc77-e79f1e7546a1} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:47046). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:47046) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.605368 [ 2165 ] {2c41a13a-e2a8-4066-bcca-89db18858563} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:33914). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:33914) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.605473 [ 1800 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:47046). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.605611 [ 2165 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:33914). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.605737 [ 2162 ] {b5d62b59-7858-4164-b97d-b79031760f91} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51152). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.605929 [ 4523 ] {cc92ed10-3030-4ee3-b638-102a37beec48} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48388). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.605951 [ 2162 ] {b5d62b59-7858-4164-b97d-b79031760f91} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51152). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:51152) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.606100 [ 4523 ] {cc92ed10-3030-4ee3-b638-102a37beec48} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48388). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:48388) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.606198 [ 2162 ] {} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51152). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.606269 [ 4523 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48388). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.612602 [ 2171 ] {d0d5fb5b-ea64-48aa-b922-60d98029c122} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58482). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.612817 [ 2171 ] {d0d5fb5b-ea64-48aa-b922-60d98029c122} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58482). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:58482) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.613051 [ 2171 ] {} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58482). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.628811 [ 2167 ] {582dbc18-eaac-40fc-9e6d-16a4fd47a50f} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:53358). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.629094 [ 2167 ] {582dbc18-eaac-40fc-9e6d-16a4fd47a50f} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:53358). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:53358) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.629322 [ 2167 ] {} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:53358). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:171: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d907 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.855139 [ 354 ] {60477a28-cfcc-438d-b9e8-e47eef565625} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::1]:47600) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT SearchPhrase AS k, count() AS c FROM remote('127.0.0.{1,2,3,4,5,6,7,8,9,10}', test.hits) GROUP BY k ORDER BY c DESC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:442: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000143b8aec 10. /build/src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x00000000143b84ef 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000143c7e6a 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.857322 [ 354 ] {} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00 million, current rows: 26.64 million: While executing Remote. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000011b176eb 4. /build/src/QueryPipeline/SizeLimits.cpp:32: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000011b17092 5. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000011af073a 6. /build/src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x00000000143c5043 7. /build/src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x00000000143b9fd0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000143ba29e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:442: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000143b8aec 10. /build/src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x00000000143b84ef 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000143c7e6a 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 14. ? @ 0x00007fc2c7bccac3 15. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.860574 [ 4524 ] {99fc0969-92ed-458a-8ccf-33374dd787e4} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47654). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.860831 [ 4524 ] {99fc0969-92ed-458a-8ccf-33374dd787e4} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47654). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:47654) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.860912 [ 4522 ] {d58fab7b-2797-44c2-8b4a-2c5ef618ba4b} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58488). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.860943 [ 2161 ] {cc038491-f255-47b7-87ed-497b7f8c9a0a} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42424). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.861174 [ 2162 ] {bd1dbedb-766d-4a3b-9fbb-73360d5e51f7} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:53374). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.861212 [ 2161 ] {cc038491-f255-47b7-87ed-497b7f8c9a0a} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42424). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:42424) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.861250 [ 4522 ] {d58fab7b-2797-44c2-8b4a-2c5ef618ba4b} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58488). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:58488) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.861373 [ 2162 ] {bd1dbedb-766d-4a3b-9fbb-73360d5e51f7} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:53374). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:53374) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.861492 [ 4524 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:47654). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.861554 [ 2162 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:53374). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.861620 [ 2167 ] {fad814fd-f228-4c28-bc13-74dee4ce7e11} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:43504). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.861852 [ 1800 ] {c3a354a1-819d-44e2-818b-d2053b0bb8a4} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.10]:9000 -> [::ffff:127.0.0.1]:51676). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.862072 [ 1800 ] {c3a354a1-819d-44e2-818b-d2053b0bb8a4} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.10]:9000 -> [::ffff:127.0.0.1]:51676). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:51676) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.862245 [ 1800 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.10]:9000 -> [::ffff:127.0.0.1]:51676). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.862246 [ 2171 ] {8ed2a78b-a881-4df4-90cf-3ff0ec2a50c2} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:47056). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.862331 [ 356 ] {afcbbef5-68a2-4892-bde0-4e89d2cb9ece} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48392). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.862354 [ 1883 ] {7c8556c3-fdba-48a8-a2de-934d2140cc4a} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:33922). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.862518 [ 2171 ] {8ed2a78b-a881-4df4-90cf-3ff0ec2a50c2} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:47056). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:47056) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.862614 [ 356 ] {afcbbef5-68a2-4892-bde0-4e89d2cb9ece} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48392). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:48392) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.862637 [ 1883 ] {7c8556c3-fdba-48a8-a2de-934d2140cc4a} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:33922). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:33922) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.862767 [ 2171 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:47056). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.862950 [ 1883 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:33922). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.863557 [ 356 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:48392). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/Server/TCPHandler.cpp:2464: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x000000001431599b 6. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 7. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 8. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 12. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 13. ? @ 0x00007fc2c7bccac3 14. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.864084 [ 4522 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58488). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.864184 [ 2161 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42424). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.861858 [ 2167 ] {fad814fd-f228-4c28-bc13-74dee4ce7e11} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:43504). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:43504) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.867853 [ 2167 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:43504). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.868073 [ 4523 ] {866d16c6-3b3b-4dd0-b540-1ceebe1510d2} void DB::TCPHandler::sendData(QueryState &, const Block &): Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51156). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:38:35.868265 [ 4523 ] {866d16c6-3b3b-4dd0-b540-1ceebe1510d2} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51156). (NETWORK_ERROR) (version 24.12.2.20237.altinityantalya (altinity build)) (from [::ffff:127.0.0.1]:51156) (comment: 00090_thread_pool_deadlock.sh) (in query: SELECT `__table1`.`SearchPhrase` AS `k`, count() AS `c` FROM `test`.`hits` AS `__table1` GROUP BY `__table1`.`SearchPhrase` ORDER BY count() DESC LIMIT _CAST(10, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:35.868453 [ 4523 ] {} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:51156). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000ce9c35f 3. /build/src/IO/WriteBufferFromPocoSocket.cpp:160: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000ce9d751 4. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 5. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 6. /build/src/Compression/CompressedWriteBuffer.cpp:55: DB::CompressedWriteBuffer::nextImpl() @ 0x00000000152690eb 7. /build/src/IO/WriteBuffer.h:65: DB::WriteBuffer::next() @ 0x000000000758897e 8. /build/src/IO/WriteBuffer.h:97: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000758d6b7 9. /build/src/DataTypes/Serializations/SerializationString.cpp:146: DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x0000000011c48344 10. /build/src/DataTypes/Serializations/ISerialization.cpp:126: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000011bb4a01 11. /build/src/Formats/NativeWriter.cpp:77: DB::NativeWriter::write(DB::Block const&) @ 0x000000001437e40c 12. /build/src/Server/TCPHandler.cpp:2458: DB::TCPHandler::sendData(DB::QueryState&, DB::Block const&) @ 0x0000000014315971 13. /build/src/Server/TCPHandler.cpp:1260: DB::TCPHandler::processOrdinaryQuery(DB::QueryState&) @ 0x000000001430d4ed 14. /build/src/Server/TCPHandler.cpp:670: DB::TCPHandler::runImpl() @ 0x0000000014302d16 15. /build/src/Server/TCPHandler.cpp:2603: DB::TCPHandler::run() @ 0x0000000014319cd9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000017f9bec7 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000017f9c39e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000017f48132 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000017f45e23 20. ? @ 0x00007fc2c7bccac3 21. ? @ 0x00007fc2c7c5e850 2025.04.04 20:38:42.701652 [ 978 ] {192cf899-1937-466d-84ba-450bc56687c3::all_1_7_1} virtual bool DB::MergePlainMergeTreeTask::executeStep(): Exception is in merge_task.: Code: 236. DB::Exception: Cancelled merging parts. (ABORTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000017ef5e32 1. /build/src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cd55af9 2. /build/src/Common/Exception.h:105: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000757c4ec 3. /build/src/Common/Exception.h:123: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000757f44b 4. /build/src/Storages/MergeTree/MergeTask.cpp:263: DB::MergeTask::GlobalRuntimeContext::checkOperationIsNotCanceled() const @ 0x0000000013d29b1a 5. /build/src/Storages/MergeTree/MergeTask.cpp:931: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::finalize() const @ 0x0000000013d3637c 6. /build/src/Storages/MergeTree/MergeTask.cpp:892: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() const @ 0x0000000013d36128 7. /build/src/Storages/MergeTree/MergeTask.cpp:720: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x0000000013d34659 8. /build/src/Storages/MergeTree/MergeTask.cpp:1504: DB::MergeTask::execute() @ 0x0000000013d3abca 9. /build/src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:57: DB::MergePlainMergeTreeTask::executeStep() @ 0x00000000140cd904 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:308: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x0000000013d5bbae 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:353: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x0000000013d5c4b1 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce14fb3 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce1a362 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000ce12ac0 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000000ce183d2 16. ? @ 0x00007fc2c7bccac3 17. ? @ 0x00007fc2c7c5e850 (version 24.12.2.20237.altinityantalya (altinity build)) 2025.04.04 20:40:02.958519 [ 347 ] {} Application: Closed all listening sockets. Waiting for 4 outstanding connections. 2025.04.04 20:40:07.863628 [ 347 ] {} Application: Closed connections. But 4 remain. Tip: To increase wait time add to config: 60 2025.04.04 20:40:14.405582 [ 347 ] {} Application: Will shutdown forcefully.