Skip to content

Logical error: Block structure mismatch in A stream: different number of columns: (STID: 0993-38e6) #96131

@maxknv

Description

@maxknv

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: Block structure mismatch in A stream: different number of columns: (STID: 0993-38e6)
CI report: Stress test (amd_msan)
Failing test history: cidb

Test output:

Error:
Logical error: 'Block structure mismatch in UnionStep stream: different number of columns:
__table1.event_time_microseconds DateTime64(6) DateTime64(size = 0), __table1.exception_code Int32 Int32(size = 0), replaceOne(CAST(__table1.type, 'String'_String), 'ExceptionWhileProcessing'_String, 'Excep****WhileProcessing'_String) String String(size = 0), query_id String String(size = 0), current_database LowCardinality(String) LowCardinality(size = 0, UInt8(size = 0), Unique(size = 1, String(size = 1)))
__table1.event_time_microseconds DateTime64(6) DateTime64(size = 0), __table1.exception_code Int32 Int32(size = 0), replaceOne(CAST(__table1.type, 'String'_String), 'ExceptionWhileProcessing'_String, 'Excep****WhileProcessing'_String) String String(size = 0)'.
---

Stack trace:
pthread_kill @ 0x00000000000969fd
raise @ 0x0000000000042476
__ieee754_lgamma_r @ 0x00000000000287f3
./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) @ 0x000000002e6ed3a1
./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&) @ 0x000000002e6ef50a
./ci/tmp/build/./src/Common/Exception.cpp:143: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002e6efe9e
./src/Common/Exception.h:172: DB::Exception::Exception(String&&, int, String, bool) @ 0x000000000a943e2e
./src/Common/Exception.h:58: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000a94278d
inlined from ./src/Common/Exception.h:190: Exception<std::basic_string_view<char, std::char_traits<char> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >
inlined from ./ci/tmp/build/./src/Core/Block.cpp:44: void DB::onError<void, std::basic_string_view<char, std::char_traits<char>>&, String, String>(int, FormatStringHelperImpl<std::type_identity<std::basic_string_view<char, std::char_traits<char>>&>::type, std::type_identity<String>::type, std::type_identity<String>::type>, std::basic_string_view<char, std::char_traits<char>>&, String&&, String&&)
./ci/tmp/build/./src/Core/Block.cpp:141: void DB::checkBlockStructure<void>(DB::Block const&, DB::Block const&, std::basic_string_view<char, std::char_traits<char>>, bool) @ 0x0000000040f9c4cc
./ci/tmp/build/./src/Processors/QueryPlan/UnionStep.cpp:59: DB::UnionStep::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&) @ 0x0000000057bae20b
./ci/tmp/build/./src/Processors/QueryPlan/QueryPlan.cpp:209: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&, bool) @ 0x000000005780a3e5
./ci/tmp/build/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:375: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x00000000461e3ea8
./ci/tmp/build/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:340: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x00000000461e3245
./ci/tmp/build/./src/Interpreters/executeQuery.cpp:1736: 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&) @ 0x0000000046e17a33
./ci/tmp/build/./src/Interpreters/executeQuery.cpp:1964: DB::executeQuery(String const&, std::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000046e06433
./ci/tmp/build/./src/Server/TCPHandler.cpp:788: DB::TCPHandler::runImpl() @ 0x0000000055f49f35
./ci/tmp/build/./src/Server/TCPHandler.cpp:2890: DB::TCPHandler::run() @ 0x0000000055fc1784
./ci/tmp/build/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000063d5a0a0
./ci/tmp/build/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000063d5b0da
./ci/tmp/build/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000063bfddf5
./base/poco/Foundation/src/Thread_POSIX.cpp:341: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000063bf6c91
start_thread @ 0x0000000000094ac3
clone3 @ 0x00000000001268c0

Metadata

Metadata

Assignees

No one assigned

    Labels

    fuzzProblem found by one of the fuzzerstestingSpecial issue with list of bugs found by CI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions