-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Function concat with argument with type Nothing and default implementation for Nothing is expected to return result with type Nothing, got String #37741
Copy link
Copy link
Closed
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzers
Description
2022.06.01 13:28:45.310072 [ 177 ] {3c8298a6-21c6-485a-b96f-e59f1286b22c} <Fatal> : Logical error: 'Function concat with argument with type Nothing and default implementation for Nothing is expected to return result with type Nothing, got String'.
2022.06.01 13:30:15.704894 [ 672 ] {} <Fatal> BaseDaemon: ########################################
2022.06.01 13:30:15.704929 [ 672 ] {} <Fatal> BaseDaemon: (version 22.6.1.1, build id: 79857D02EE513989) (from thread 177) (query_id: 3c8298a6-21c6-485a-b96f-e59f1286b22c) (query: SELECT concat(arrayJoin([]), toLowCardinality(z) AS val, '\0b\0b\0b\0b') FROM (SELECT arrayJoin([NULL, NULL, '']) AS z) GROUP BY val) Received signal Aborted (6)
2022.06.01 13:30:15.704953 [ 672 ] {} <Fatal> BaseDaemon:
2022.06.01 13:30:15.705003 [ 672 ] {} <Fatal> BaseDaemon: Stack trace: 0x7f329071b03b 0x7f32906fa859 0xfc36aeb 0xfc36d45 0xfcb1917 0x22571227 0x2257061f 0x22570af9 0x225705ac 0x225716be 0x22573272 0x22d43cb6 0x22d41762 0x25126109 0x2525da96 0x23902d2a 0x238f520a 0x238f20c8 0x2395c8f2 0x2395dbb6 0x23d6b1f4 0x23d67cca 0x24d223f8 0x24d3f436 0x26be010c 0x26be05e5 0x26d5e847 0x26d5c12c 0x7f32908d2609 0x7f32907f7163
2022.06.01 13:30:15.705037 [ 672 ] {} <Fatal> BaseDaemon: 3. gsignal @ 0x7f329071b03b in ?
2022.06.01 13:30:15.705059 [ 672 ] {} <Fatal> BaseDaemon: 4. abort @ 0x7f32906fa859 in ?
2022.06.01 13:30:15.734466 [ 672 ] {} <Fatal> BaseDaemon: 5. ./build_docker/../src/Common/Exception.cpp:47: DB::abortOnFailedAssertion(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) @ 0xfc36aeb in /workspace/clickhouse
2022.06.01 13:30:15.763916 [ 672 ] {} <Fatal> BaseDaemon: 6. ./build_docker/../src/Common/Exception.cpp:70: DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool) @ 0xfc36d45 in /workspace/clickhouse
2022.06.01 13:30:15.783565 [ 672 ] {} <Fatal> BaseDaemon: 7.1. inlined from ./build_docker/../contrib/libcxx/include/string:1445: std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__is_long() const
2022.06.01 13:30:15.783613 [ 672 ] {} <Fatal> BaseDaemon: 7.2. inlined from ../contrib/libcxx/include/string:2231: ~basic_string
2022.06.01 13:30:15.783638 [ 672 ] {} <Fatal> BaseDaemon: 7. ../src/Common/Exception.h:37: DB::Exception::Exception<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(int, fmt::v8::basic_format_string<char, fmt::v8::type_identity<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::type, fmt::v8::type_identity<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::type>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&) @ 0xfcb1917 in /workspace/clickhouse
2022.06.01 13:30:15.804700 [ 672 ] {} <Fatal> BaseDaemon: 8. ./build_docker/../src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForNothing(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long) const @ 0x22571227 in /workspace/clickhouse
2022.06.01 13:30:15.816261 [ 672 ] {} <Fatal> BaseDaemon: 9.1. inlined from ./build_docker/../contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: boost::intrusive_ptr<DB::IColumn const>::operator bool() const
2022.06.01 13:30:15.816300 [ 672 ] {} <Fatal> BaseDaemon: 9. ../src/Functions/IFunction.cpp:242: 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 @ 0x2257061f in /workspace/clickhouse
2022.06.01 13:30:15.828196 [ 672 ] {} <Fatal> BaseDaemon: 10. ./build_docker/../src/Functions/IFunction.cpp:0: 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 @ 0x22570af9 in /workspace/clickhouse
2022.06.01 13:30:15.839731 [ 672 ] {} <Fatal> BaseDaemon: 11.1. inlined from ./build_docker/../contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: boost::intrusive_ptr<DB::IColumn const>::operator bool() const
2022.06.01 13:30:15.839769 [ 672 ] {} <Fatal> BaseDaemon: 11. ../src/Functions/IFunction.cpp:239: 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 @ 0x225705ac in /workspace/clickhouse
2022.06.01 13:30:15.852085 [ 672 ] {} <Fatal> BaseDaemon: 12.1. inlined from ./build_docker/../contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: intrusive_ptr
2022.06.01 13:30:15.852124 [ 672 ] {} <Fatal> BaseDaemon: 12.2. inlined from ../contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:122: boost::intrusive_ptr<DB::IColumn const>::operator=(boost::intrusive_ptr<DB::IColumn const>&&)
2022.06.01 13:30:15.852143 [ 672 ] {} <Fatal> BaseDaemon: 12.3. inlined from ../src/Common/COW.h:136: COW<DB::IColumn>::immutable_ptr<DB::IColumn>::operator=(COW<DB::IColumn>::immutable_ptr<DB::IColumn>&&)
2022.06.01 13:30:15.852159 [ 672 ] {} <Fatal> BaseDaemon: 12. ../src/Functions/IFunction.cpp:303: 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 @ 0x225716be in /workspace/clickhouse
2022.06.01 13:30:15.864673 [ 672 ] {} <Fatal> BaseDaemon: 13. ./build_docker/../src/Functions/IFunction.cpp:0: 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 @ 0x22573272 in /workspace/clickhouse
2022.06.01 13:30:16.242849 [ 672 ] {} <Fatal> BaseDaemon: 14.1. inlined from ./build_docker/../contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: intrusive_ptr
2022.06.01 13:30:16.242899 [ 672 ] {} <Fatal> BaseDaemon: 14.2. inlined from ../contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:122: boost::intrusive_ptr<DB::IColumn const>::operator=(boost::intrusive_ptr<DB::IColumn const>&&)
2022.06.01 13:30:16.242916 [ 672 ] {} <Fatal> BaseDaemon: 14.3. inlined from ../src/Common/COW.h:136: COW<DB::IColumn>::immutable_ptr<DB::IColumn>::operator=(COW<DB::IColumn>::immutable_ptr<DB::IColumn>&&)
2022.06.01 13:30:16.242932 [ 672 ] {} <Fatal> BaseDaemon: 14. ../src/Interpreters/ActionsDAG.cpp:457: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> >) @ 0x22d43cb6 in /workspace/clickhouse
2022.06.01 13:30:16.396580 [ 672 ] {} <Fatal> BaseDaemon: 15. ./build_docker/../src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x22d41762 in /workspace/clickhouse
2022.06.01 13:30:16.405685 [ 672 ] {} <Fatal> BaseDaemon: 16. ./build_docker/../src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x25126109 in /workspace/clickhouse
2022.06.01 13:30:16.421306 [ 672 ] {} <Fatal> BaseDaemon: 17. ./build_docker/../src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::__1::shared_ptr<DB::ActionsDAG>) @ 0x2525da96 in /workspace/clickhouse
2022.06.01 13:30:16.510336 [ 672 ] {} <Fatal> BaseDaemon: 18. ./build_docker/../src/Interpreters/InterpreterSelectQuery.cpp:2402: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::__1::shared_ptr<DB::ActionsDAG> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) @ 0x23902d2a in /workspace/clickhouse
2022.06.01 13:30:16.596848 [ 672 ] {} <Fatal> BaseDaemon: 19.1. inlined from ./build_docker/../contrib/libcxx/include/string:1445: std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__is_long() const
2022.06.01 13:30:16.596882 [ 672 ] {} <Fatal> BaseDaemon: 19.2. inlined from ../contrib/libcxx/include/string:2231: ~basic_string
2022.06.01 13:30:16.596898 [ 672 ] {} <Fatal> BaseDaemon: 19. ../src/Interpreters/InterpreterSelectQuery.cpp:1419: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::__1::optional<DB::Pipe>) @ 0x238f520a in /workspace/clickhouse
2022.06.01 13:30:16.682805 [ 672 ] {} <Fatal> BaseDaemon: 20. ./build_docker/../src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x238f20c8 in /workspace/clickhouse
2022.06.01 13:30:16.711762 [ 672 ] {} <Fatal> BaseDaemon: 21. ./build_docker/../src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2395c8f2 in /workspace/clickhouse
2022.06.01 13:30:16.740913 [ 672 ] {} <Fatal> BaseDaemon: 22. ./build_docker/../src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2395dbb6 in /workspace/clickhouse
2022.06.01 13:30:16.782991 [ 672 ] {} <Fatal> BaseDaemon: 23. ./build_docker/../src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::__1::shared_ptr<DB::Context>, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x23d6b1f4 in /workspace/clickhouse
2022.06.01 13:30:16.828288 [ 672 ] {} <Fatal> BaseDaemon: 24. ./build_docker/../src/Interpreters/executeQuery.cpp:1069: DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::shared_ptr<DB::Context>, bool, DB::QueryProcessingStage::Enum) @ 0x23d67cca in /workspace/clickhouse
2022.06.01 13:30:16.879218 [ 672 ] {} <Fatal> BaseDaemon: 25. ./build_docker/../src/Server/TCPHandler.cpp:332: DB::TCPHandler::runImpl() @ 0x24d223f8 in /workspace/clickhouse
2022.06.01 13:30:16.926115 [ 672 ] {} <Fatal> BaseDaemon: 26. ./build_docker/../src/Server/TCPHandler.cpp:1783: DB::TCPHandler::run() @ 0x24d3f436 in /workspace/clickhouse
2022.06.01 13:30:16.930496 [ 672 ] {} <Fatal> BaseDaemon: 27. ./build_docker/../contrib/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x26be010c in /workspace/clickhouse
2022.06.01 13:30:16.937238 [ 672 ] {} <Fatal> BaseDaemon: 28.1. inlined from ./build_docker/../contrib/libcxx/include/__memory/unique_ptr.h:54: std::__1::default_delete<Poco::Net::TCPServerConnection>::operator()(Poco::Net::TCPServerConnection*) const
2022.06.01 13:30:16.937273 [ 672 ] {} <Fatal> BaseDaemon: 28.2. inlined from ../contrib/libcxx/include/__memory/unique_ptr.h:315: std::__1::unique_ptr<Poco::Net::TCPServerConnection, std::__1::default_delete<Poco::Net::TCPServerConnection> >::reset(Poco::Net::TCPServerConnection*)
2022.06.01 13:30:16.937294 [ 672 ] {} <Fatal> BaseDaemon: 28.3. inlined from ../contrib/libcxx/include/__memory/unique_ptr.h:269: ~unique_ptr
2022.06.01 13:30:16.937311 [ 672 ] {} <Fatal> BaseDaemon: 28. ../contrib/poco/Net/src/TCPServerDispatcher.cpp:116: Poco::Net::TCPServerDispatcher::run() @ 0x26be05e5 in /workspace/clickhouse
2022.06.01 13:30:16.944247 [ 672 ] {} <Fatal> BaseDaemon: 29. ./build_docker/../contrib/poco/Foundation/src/ThreadPool.cpp:213: Poco::PooledThread::run() @ 0x26d5e847 in /workspace/clickhouse
2022.06.01 13:30:16.951109 [ 672 ] {} <Fatal> BaseDaemon: 30.1. inlined from ./build_docker/../contrib/poco/Foundation/include/Poco/SharedPtr.h:156: Poco::SharedPtr<Poco::Runnable, Poco::ReferenceCounter, Poco::ReleasePolicy<Poco::Runnable> >::assign(Poco::Runnable*)
2022.06.01 13:30:16.951139 [ 672 ] {} <Fatal> BaseDaemon: 30.2. inlined from ../contrib/poco/Foundation/include/Poco/SharedPtr.h:208: Poco::SharedPtr<Poco::Runnable, Poco::ReferenceCounter, Poco::ReleasePolicy<Poco::Runnable> >::operator=(Poco::Runnable*)
2022.06.01 13:30:16.951154 [ 672 ] {} <Fatal> BaseDaemon: 30. ../contrib/poco/Foundation/src/Thread_POSIX.cpp:360: Poco::ThreadImpl::runnableEntry(void*) @ 0x26d5c12c in /workspace/clickhouse
2022.06.01 13:30:16.951173 [ 672 ] {} <Fatal> BaseDaemon: 31. ? @ 0x7f32908d2609 in ?
2022.06.01 13:30:16.951189 [ 672 ] {} <Fatal> BaseDaemon: 32. __clone @ 0x7f32907f7163 in ?
2022.06.01 13:30:17.235715 [ 672 ] {} <Fatal> BaseDaemon: Calculated checksum of the binary: 8F242031F57FB5BC906C3A6132D99BEB. There is no information about the reference checksum.
Maybe related to #37610
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzers