-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Logical error: Unexpected return type from A. Expected B. Got C. Action: (STID: 1611-3d19) #95678
Copy link
Copy link
Open
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzerstestingSpecial 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: Logical error: Unexpected return type from A. Expected B. Got C. Action: (STID: 1611-3d19)
CI report: Stress test (amd_tsan)
Failing test history: cidb
Test output:
Error:
Logical error: 'Unexpected return type from equals. Expected Nullable(UInt8). Got UInt8. Action:
FUNCTION equals(__table2.x : 3, 1_UInt8 :: 4) -> equals(__table2.x, 1_UInt8) Nullable(UInt8) : 5,
input block structure:__table2.x UInt32 UInt32(size = 0), 1_UInt8 UInt8 Const(size = 0, UInt8(size = 1))'.
---
Stack trace:
pthread_kill @ 0x00000000000969fd
gsignal @ 0x0000000000042476
__lgamma_r_finite @ 0x00000000000287f3
/ClickHouse/contrib/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:0: __interceptor_abort @ 0x0000000009a2b310
./ci/tmp/build/./src/Common/Exception.cpp:57: DB::abortOnFailedAssertion(String const&, std::basic_string_view<char, std::char_traits<char>>, void* const*, unsigned long, unsigned long) @ 0x0000000016313b0f
./ci/tmp/build/./src/Common/Exception.cpp:90: DB::handle_error_code(String const&, std::basic_string_view<char, std::char_traits<char>>, int, bool, std::vector<void*, std::allocator<void*>> const&) @ 0x00000000163150ba
./ci/tmp/build/./src/Common/Exception.cpp:143: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000001631551f
./src/Common/Exception.h:172: DB::Exception::Exception(String&&, int, String, bool) @ 0x0000000009ab9b2e
./src/Common/Exception.h:58: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000009ab92da
./src/Common/Exception.h:190: DB::Exception::Exception<String, String, String, String, String>(int, FormatStringHelperImpl<std::type_identity<String>::type, std::type_identity<String>::type, std::type_identity<String>::type, std::type_identity<String>::type, std::type_identity<String>::type>, String&&, String&&, String&&, String&&, String&&) @ 0x000000000d9c805c
inlined from ./ci/tmp/build/./src/Interpreters/ExpressionActions.cpp:695: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool, bool)
./ci/tmp/build/./src/Interpreters/ExpressionActions.cpp:835: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001fe652a2
./ci/tmp/build/./src/Interpreters/ExpressionActions.cpp:881: DB::ExpressionActions::execute(DB::Block&, bool, bool) const @ 0x000000001fe65acc
./ci/tmp/build/./src/Processors/Transforms/FilterTransform.cpp:88: DB::FilterTransform::FilterTransform(std::shared_ptr<DB::Block const>, std::shared_ptr<DB::ExpressionActions>, String, bool, bool, std::shared_ptr<std::atomic<unsigned long>>, std::optional<std::pair<unsigned long, String>>) @ 0x000000002681e947
./contrib/llvm-project/libcxx/include/__memory/construct_at.h:38: DB::FilterTransform* std::construct_at[abi:ne210105]<DB::FilterTransform, std::shared_ptr<DB::Block const> const&, std::shared_ptr<DB::ExpressionActions>&, String&, bool&, bool&, std::nullptr_t, std::optional<std::pair<unsigned long, String>>&, DB::FilterTransform*>(DB::FilterTransform*, std::shared_ptr<DB::Block const> const&, std::shared_ptr<DB::ExpressionActions>&, String&, bool&, bool&, std::nullptr_t&&, std::optional<std::pair<unsigned long, String>>&) @ 0x0000000026b7a860
inlined from ./contrib/llvm-project/libcxx/include/__memory/construct_at.h:46: DB::FilterTransform* std::__construct_at[abi:ne210105]<DB::FilterTransform, std::shared_ptr<DB::Block const> const&, std::shared_ptr<DB::ExpressionActions>&, String&, bool&, bool&, std::nullptr_t, std::optional<std::pair<unsigned long, String>>&, DB::FilterTransform*>(DB::FilterTransform*, std::shared_ptr<DB::Block const> const&, std::shared_ptr<DB::ExpressionActions>&, String&, bool&, bool&, std::nullptr_t&&, std::optional<std::pair<unsigned long, String>>&)
inlined from ./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits<std::allocator<DB::FilterTransform>>::construct[abi:ne210105]<DB::FilterTransform, std::shared_ptr<DB::Block const> const&, std::shared_ptr<DB::ExpressionActions>&, String&, bool&, bool&, std::nullptr_t, std::optional<std::pair<unsigned long, String>>&, 0>(std::allocator<DB::FilterTransform>&, DB::FilterTransform*, std::shared_ptr<DB::Block const> const&, std::shared_ptr<DB::ExpressionActions>&, String&, bool&, bool&, std::nullptr_t&&, std::optional<std::pair<unsigned long, String>>&)
inlined from ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:162: __shared_ptr_emplace<const std::shared_ptr<const DB::Block> &, std::shared_ptr<DB::ExpressionActions> &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &, bool &, bool &, std::nullptr_t, std::optional<std::pair<unsigned long, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > &, std::allocator<DB::FilterTransform>, 0>
inlined from ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:736: std::shared_ptr<DB::FilterTransform> std::allocate_shared[abi:ne210105]<DB::FilterTransform, std::allocator<DB::FilterTransform>, std::shared_ptr<DB::Block const> const&, std::shared_ptr<DB::ExpressionActions>&, String&, bool&, bool&, std::nullptr_t, std::optional<std::pair<unsigned long, String>>&, 0>(std::allocator<DB::FilterTransform> const&, std::shared_ptr<DB::Block const> const&, std::shared_ptr<DB::ExpressionActions>&, String&, bool&, bool&, std::nullptr_t&&, std::optional<std::pair<unsigned long, String>>&)
inlined from ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:744: std::shared_ptr<DB::FilterTransform> std::make_shared[abi:ne210105]<DB::FilterTransform, std::shared_ptr<DB::Block const> const&, std::shared_ptr<DB::ExpressionActions>&, String&, bool&, bool&, std::nullptr_t, std::optional<std::pair<unsigned long, String>>&, 0>(std::shared_ptr<DB::Block const> const&, std::shared_ptr<DB::ExpressionActions>&, String&, bool&, bool&, std::nullptr_t&&, std::optional<std::pair<unsigned long, String>>&)
inlined from ./ci/tmp/build/./src/Processors/QueryPlan/FilterStep.cpp:170: operator()
inlined from ./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:87: std::__invoke_result_impl<void, DB::FilterStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_1&, std::shared_ptr<DB::Block const> const&, DB::Pipe::StreamType>::type std::__invoke[abi:ne210105]<DB::FilterStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_1&, std::shared_ptr<DB::Block const> const&, DB::Pipe::StreamType>(DB::FilterStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_1&, std::shared_ptr<DB::Block const> const&, DB::Pipe::StreamType&&)
inlined from ./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:334: std::shared_ptr<DB::IProcessor> std::__invoke_void_return_wrapper<std::shared_ptr<DB::IProcessor>, false>::__call[abi:ne210105]<DB::FilterStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_1&, std::shared_ptr<DB::Block const> const&, DB::Pipe::StreamType>(DB::FilterStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_1&, std::shared_ptr<DB::Block const> const&, DB::Pipe::StreamType&&)
inlined from ./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:348: std::shared_ptr<DB::IProcessor> std::__invoke_r[abi:ne210105]<std::shared_ptr<DB::IProcessor>, DB::FilterStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_1&, std::shared_ptr<DB::Block const> const&, DB::Pipe::StreamType>(DB::FilterStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_1&, std::shared_ptr<DB::Block const> const&, DB::Pipe::StreamType&&)
./contrib/llvm-project/libcxx/include/__functional/function.h:450: ? @ 0x0000000026b78653
inlined from ./contrib/llvm-project/libcxx/include/__functional/function.h:508: ?
inlined from ./contrib/llvm-project/libcxx/include/__functional/function.h:772: ?
./ci/tmp/build/./src/QueryPipeline/Pipe.cpp:589: DB::Pipe::addSimpleTransform(std::function<std::shared_ptr<DB::IProcessor> (std::shared_ptr<DB::Block const> const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x000000001e31076d
./ci/tmp/build/./src/QueryPipeline/Pipe.cpp:628: DB::Pipe::addSimpleTransform(std::function<std::shared_ptr<DB::IProcessor> (std::shared_ptr<DB::Block const> const&, DB::Pipe::StreamType)> const&) @ 0x000000001e31053d
./ci/tmp/build/./src/QueryPipeline/QueryPipelineBuilder.cpp:111: DB::QueryPipelineBuilder::addSimpleTransform(std::function<std::shared_ptr<DB::IProcessor> (std::shared_ptr<DB::Block const> const&, DB::Pipe::StreamType)> const&) @ 0x000000001e32feed
./ci/tmp/build/./src/Processors/QueryPlan/FilterStep.cpp:167: DB::FilterStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x0000000026b73a53
./ci/tmp/build/./src/Processors/QueryPlan/ITransformingStep.cpp:21: DB::ITransformingStep::updatePipeline(std::vector<std::unique_ptr<DB::QueryPipelineBuilder, std::default_delete<DB::QueryPipelineBuilder>>, std::allocator<std::unique_ptr<DB::QueryPipelineBuilder, std::default_delete<DB::QueryPipelineBuilder>>>>, DB::BuildQueryPipelineSettings const&) @ 0x0000000026b90294
./ci/tmp/build/./src/Processors/QueryPlan/QueryPlan.cpp:209: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&, bool) @ 0x0000000026bfcccd
./ci/tmp/build/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:375: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x00000000200bab92
./ci/tmp/build/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:340: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x00000000200ba5f2
./ci/tmp/build/./src/Interpreters/executeQuery.cpp:1756: DB::executeQueryImpl(char const*, char const*, std::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum, std::unique_ptr<DB::ReadBuffer, std::default_delete<DB::ReadBuffer>>&, boost::intrusive_ptr<DB::IAST>&, std::shared_ptr<DB::ImplicitTransactionControlExecutor>, std::function<void ()>, DB::QueryResultDetails&) @ 0x00000000205c51bd
./ci/tmp/build/./src/Interpreters/executeQuery.cpp:1984: DB::executeQuery(String const&, std::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000205bdcac
./ci/tmp/build/./src/Server/TCPHandler.cpp:788: DB::TCPHandler::runImpl() @ 0x00000000262281a9
./ci/tmp/build/./src/Server/TCPHandler.cpp:2889: DB::TCPHandler::run() @ 0x0000000026258268
./ci/tmp/build/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x000000002ebe8c23
./ci/tmp/build/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002ebe952a
./ci/tmp/build/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x000000002eb4b691
./ci/tmp/build/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000002eb49770
./base/poco/Foundation/src/Thread_POSIX.cpp:341: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000002eb47a0a
/ClickHouse/contrib/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1080: __tsan_thread_start_func @ 0x0000000009a244e8
? @ 0x0000000000094ac3
? @ 0x00000000001268c0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzerstestingSpecial issue with list of bugs found by CISpecial issue with list of bugs found by CI