-
Notifications
You must be signed in to change notification settings - Fork 8.3k
ThreadSanitizer: data race (STID: 2705-5936) #94198
Copy link
Copy link
Closed
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzerssanitizertestingSpecial issue with list of bugs found by CISpecial issue with list of bugs found by CI
Description
Important: This issue was automatically generated and is used by CI for matching failures. DO NOT modify the body content. DO NOT remove labels.
Test name: ThreadSanitizer: data race (STID: 2705-5936)
CI report: Stateless tests (amd_tsan, parallel)
Failing test history: cidb
Test output:
Error:
WARNING: ThreadSanitizer: data race (pid=1138)
Read of size 8 at 0x562b32059da8 by thread T2335:
---
Stack trace:
#0 base64_stream_encode_init ci/tmp/build/./contrib/aklomp-base64/lib/lib.c:21:12 (clickhouse+0x1c673137) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#1 base64_encode ci/tmp/build/./contrib/aklomp-base64/lib/lib.c:123:2 (clickhouse+0x1c673137)
#2 perform ci/tmp/build/./src/Functions/FunctionBase64Conversion.h:104:9 (clickhouse+0xbcf0640) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#3 processFixedString ci/tmp/build/./src/Functions/FunctionBaseXXConversion.h:75:35 (clickhouse+0xbcf0640)
#4 DB::FunctionBaseXXConversion<DB::BaseXXEncode<DB::Base64EncodeTraits<(DB::Base64Variant)0>, DB::(anonymous namespace)::NameBase64Encode>>::executeImpl(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long) const ci/tmp/build/./src/Functions/FunctionBaseXXConversion.h:207:13 (clickhouse+0xbcf0640)
#5 DB::IFunction::executeImplDryRun(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long) const ci/tmp/build/./src/Functions/IFunction.h:456:16 (clickhouse+0x9d6c003) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#6 DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long) const ci/tmp/build/./src/Functions/IFunctionAdaptors.cpp:16:22 (clickhouse+0x1ca3475b) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#7 DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const ci/tmp/build/./src/Functions/IFunction.cpp:353:15 (clickhouse+0x1ca28ed7) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#8 DB::IExecutableFunction::defaultImplementationForNulls(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const ci/tmp/build/./src/Functions/IFunction.cpp:284:24 (clickhouse+0x1ca29b8b) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#9 DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const ci/tmp/build/./src/Functions/IFunction.cpp:348:20 (clickhouse+0x1ca28e9d) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#10 DB::IExecutableFunction::defaultImplementationForConstantArguments(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const ci/tmp/build/./src/Functions/IFunction.cpp:179:31 (clickhouse+0x1ca289d8) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#11 DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const ci/tmp/build/./src/Functions/IFunction.cpp:345:20 (clickhouse+0x1ca28e73) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#12 DB::IExecutableFunction::executeWithoutSparseColumns(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const ci/tmp/build/./src/Functions/IFunction.cpp:428:22 (clickhouse+0x1ca2ab2d) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#13 DB::IExecutableFunction::executeWithoutReplicatedColumns(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const ci/tmp/build/./src/Functions/IFunction.cpp:567:16 (clickhouse+0x1ca2cc9a) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#14 DB::IExecutableFunction::execute(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const ci/tmp/build/./src/Functions/IFunction.cpp:476:20 (clickhouse+0x1ca2c2b1) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#15 DB::QueryAnalyzer::resolveFunction(std::__1::shared_ptr<DB::IQueryTreeNode>&, DB::IdentifierResolveScope&) ci/tmp/build/./src/Analyzer/Resolve/resolveFunction.cpp:1478:47 (clickhouse+0x1f7a8911) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#16 DB::QueryAnalyzer::resolveExpressionNode(std::__1::shared_ptr<DB::IQueryTreeNode>&, DB::IdentifierResolveScope&, bool, bool, bool) ci/tmp/build/./src/Analyzer/Resolve/QueryAnalyzer.cpp:2895:46 (clickhouse+0x1f2c3854) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#17 DB::QueryAnalyzer::resolveExpressionNodeList(std::__1::shared_ptr<DB::IQueryTreeNode>&, DB::IdentifierResolveScope&, bool, bool) ci/tmp/build/./src/Analyzer/Resolve/QueryAnalyzer.cpp:3046:49 (clickhouse+0x1f2c2866) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#18 DB::QueryAnalyzer::resolveFunction(std::__1::shared_ptr<DB::IQueryTreeNode>&, DB::IdentifierResolveScope&) ci/tmp/build/./src/Analyzer/Resolve/resolveFunction.cpp:673:39 (clickhouse+0x1f7a15d8) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#19 DB::QueryAnalyzer::resolveExpressionNode(std::__1::shared_ptr<DB::IQueryTreeNode>&, DB::IdentifierResolveScope&, bool, bool, bool) ci/tmp/build/./src/Analyzer/Resolve/QueryAnalyzer.cpp:2895:46 (clickhouse+0x1f2c3854) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#20 DB::QueryAnalyzer::resolveExpressionNodeList(std::__1::shared_ptr<DB::IQueryTreeNode>&, DB::IdentifierResolveScope&, bool, bool) ci/tmp/build/./src/Analyzer/Resolve/QueryAnalyzer.cpp:3046:49 (clickhouse+0x1f2c2866) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#21 DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::__1::shared_ptr<DB::IQueryTreeNode>&, DB::IdentifierResolveScope&, std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>> const&) ci/tmp/build/./src/Analyzer/Resolve/QueryAnalyzer.cpp:3378:40 (clickhouse+0x1f2f0a4f) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#22 DB::QueryAnalyzer::resolveQuery(std::__1::shared_ptr<DB::IQueryTreeNode> const&, DB::IdentifierResolveScope&) ci/tmp/build/./src/Analyzer/Resolve/QueryAnalyzer.cpp:4867:30 (clickhouse+0x1f2bb108) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#23 DB::QueryAnalyzer::resolve(std::__1::shared_ptr<DB::IQueryTreeNode>&, std::__1::shared_ptr<DB::IQueryTreeNode> const&, std::__1::shared_ptr<DB::Context const>) ci/tmp/build/./src/Analyzer/Resolve/QueryAnalyzer.cpp:138:13 (clickhouse+0x1f2b9655) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#24 DB::QueryAnalysisPass::run(std::__1::shared_ptr<DB::IQueryTreeNode>&, std::__1::shared_ptr<DB::Context const>) ci/tmp/build/./src/Analyzer/Resolve/QueryAnalysisPass.cpp:18:14 (clickhouse+0x1f2b8650) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#25 DB::QueryTreePassManager::run(std::__1::shared_ptr<DB::IQueryTreeNode>&) ci/tmp/build/./src/Analyzer/QueryTreePassManager.cpp:194:20 (clickhouse+0x1f3425ae) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#26 DB::buildQueryTreeAndRunPasses(std::__1::shared_ptr<DB::IAST> const&, DB::SelectQueryOptions const&, std::__1::shared_ptr<DB::Context const> const&, std::__1::shared_ptr<DB::IStorage> const&) ci/tmp/build/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:170:33 (clickhouse+0x2071b9ee) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#27 DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::__1::shared_ptr<DB::IAST> const&, std::__1::shared_ptr<DB::Context const> const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>> const&) ci/tmp/build/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:184:18 (clickhouse+0x20718611) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#28 std::__1::unique_ptr<DB::InterpreterSelectQueryAnalyzer, std::__1::default_delete<DB::InterpreterSelectQueryAnalyzer>> std::__1::make_unique[abi:ne210105]<DB::InterpreterSelectQueryAnalyzer, std::__1::shared_ptr<DB::IAST>&, std::__1::shared_ptr<DB::Context> const&, DB::SelectQueryOptions const&, 0>(std::__1::shared_ptr<DB::IAST>&, std::__1::shared_ptr<DB::Context> const&, DB::SelectQueryOptions const&) ci/tmp/build/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:759:30 (clickhouse+0x20722160) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#29 DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const ci/tmp/build/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:393:16 (clickhouse+0x20721f7c) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#30 std::__1::__invoke_result_impl<void, DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0&, DB::InterpreterFactory::Arguments const&>::type std::__1::__invoke[abi:ne210105]<DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0&, DB::InterpreterFactory::Arguments const&>(DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0&, DB::InterpreterFactory::Arguments const&) ci/tmp/build/./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:87:27 (clickhouse+0x20721f7c)
#31 std::__1::unique_ptr<DB::IInterpreter, std::__1::default_delete<DB::IInterpreter>> std::__1::__invoke_void_return_wrapper<std::__1::unique_ptr<DB::IInterpreter, std::__1::default_delete<DB::IInterpreter>>, false>::__call[abi:ne210105]<DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0&, DB::InterpreterFactory::Arguments const&>(DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0&, DB::InterpreterFactory::Arguments const&) ci/tmp/build/./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:334:12 (clickhouse+0x20721f7c)
#32 std::__1::unique_ptr<DB::IInterpreter, std::__1::default_delete<DB::IInterpreter>> std::__1::__invoke_r[abi:ne210105]<std::__1::unique_ptr<DB::IInterpreter, std::__1::default_delete<DB::IInterpreter>>, DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0&, DB::InterpreterFactory::Arguments const&>(DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0&, DB::InterpreterFactory::Arguments const&) ci/tmp/build/./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:348:10 (clickhouse+0x20721f7c)
#33 std::__1::unique_ptr<DB::IInterpreter, std::__1::default_delete<DB::IInterpreter>> std::__1::__function::__policy_func<std::__1::unique_ptr<DB::IInterpreter, std::__1::default_delete<DB::IInterpreter>> (DB::InterpreterFactory::Arguments const&)>::__call_func[abi:ne210105]<DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0>(std::__1::__function::__policy_storage const*, DB::InterpreterFactory::Arguments const&) ci/tmp/build/./contrib/llvm-project/libcxx/include/__functional/function.h:450:12 (clickhouse+0x20721f7c)
#34 std::__1::__function::__policy_func<std::__1::unique_ptr<DB::IInterpreter, std::__1::default_delete<DB::IInterpreter>> (DB::InterpreterFactory::Arguments const&)>::operator()[abi:ne210105](DB::InterpreterFactory::Arguments const&) const ci/tmp/build/./contrib/llvm-project/libcxx/include/__functional/function.h:508:12 (clickhouse+0x206a6c08) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#35 std::__1::function<std::__1::unique_ptr<DB::IInterpreter, std::__1::default_delete<DB::IInterpreter>> (DB::InterpreterFactory::Arguments const&)>::operator()(DB::InterpreterFactory::Arguments const&) const ci/tmp/build/./contrib/llvm-project/libcxx/include/__functional/function.h:772:10 (clickhouse+0x206a6c08)
#36 DB::InterpreterFactory::get(std::__1::shared_ptr<DB::IAST>&, std::__1::shared_ptr<DB::Context>, DB::SelectQueryOptions const&) ci/tmp/build/./src/Interpreters/InterpreterFactory.cpp:408:12 (clickhouse+0x206a6c08)
#37 DB::executeQueryImpl(char const*, char const*, std::__1::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum, std::__1::unique_ptr<DB::ReadBuffer, std::__1::default_delete<DB::ReadBuffer>>&, std::__1::shared_ptr<DB::IAST>&, std::__1::shared_ptr<DB::ImplicitTransactionControlExecutor>, std::__1::function<void ()>, DB::QueryResultDetails&) ci/tmp/build/./src/Interpreters/executeQuery.cpp:1677:66 (clickhouse+0x20c40f13) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#38 DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum) ci/tmp/build/./src/Interpreters/executeQuery.cpp:1962:11 (clickhouse+0x20c3a78f) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#39 DB::TCPHandler::runImpl() ci/tmp/build/./src/Server/TCPHandler.cpp:774:68 (clickhouse+0x26b1e375) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#40 DB::TCPHandler::run() ci/tmp/build/./src/Server/TCPHandler.cpp:2867:9 (clickhouse+0x26b4d567) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#41 Poco::Net::TCPServerConnection::start() ci/tmp/build/./base/poco/Net/src/TCPServerConnection.cpp:40:3 (clickhouse+0x2f4e5c22) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#42 Poco::Net::TCPServerDispatcher::run() ci/tmp/build/./base/poco/Net/src/TCPServerDispatcher.cpp:115:38 (clickhouse+0x2f4e6541) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#43 Poco::PooledThread::run() ci/tmp/build/./base/poco/Foundation/src/ThreadPool.cpp:205:14 (clickhouse+0x2f448690) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#44 Poco::(anonymous namespace)::RunnableHolder::run() ci/tmp/build/./base/poco/Foundation/src/Thread.cpp:45:11 (clickhouse+0x2f44676f) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
#45 Poco::ThreadImpl::runnableEntry(void*) ci/tmp/build/./base/poco/Foundation/src/Thread_POSIX.cpp:341:27 (clickhouse+0x2f444a09) (BuildId: a7e669a9adb52aa9fd73390919e77b64320f34d4)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzerssanitizertestingSpecial issue with list of bugs found by CISpecial issue with list of bugs found by CI