-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Logical error: Projection cannot increase the number of rows in a block #40659
Copy link
Copy link
Closed
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzers
Description
2022.08.26 12:45:17.451425 [ 530 ] {ea5dc048-70b4-4a80-8d51-d95ca91b52ed} <Fatal> : Logical error: 'Projection cannot increase the number of rows in a block. It's a bug'.
2022.08.26 12:49:14.259003 [ 538 ] {} <Fatal> BaseDaemon: ########################################
2022.08.26 12:49:14.259405 [ 538 ] {} <Fatal> BaseDaemon: (version 22.9.1.1, build id: 95A8B71355A75AEF) (from thread 530) (query_id: ea5dc048-70b4-4a80-8d51-d95ca91b52ed) (query: INSERT INTO agg SELECT 1, toDateTime('2021-12-06 00:00:00') + number, number FROM numbers(100000)) Received signal Aborted (6)
2022.08.26 12:49:14.263955 [ 538 ] {} <Fatal> BaseDaemon:
2022.08.26 12:49:14.264256 [ 538 ] {} <Fatal> BaseDaemon: Stack trace: 0x7f3daeb7400b 0x7f3daeb53859 0x1724fd36 0x1724fdf5 0x1724fea5 0x27bcf305 0x283df3d5 0x28545b9d 0x28d174c2 0x28bda344 0x28bda2d5 0x28bda29d 0x28bda275 0x28bda23d 0x172b46a6 0x172b0bd5 0x28bd9a29 0x28bd9551 0x287d54e3 0x287d51a3 0x287b4a41 0x287b4d77 0x287b3d18 0x287b3438 0x287b2112 0x287b1fe1 0x287b1f95 0x287b1f41 0x287b1e52 0x287b1d5a 0x287b1c95 0x287b1c5d 0x287b1c35 0x287b1c00 0x172b46a6 0x172b0bd5 0x1736f3dd 0x17375ca4 0x17375c35 0x17375b65 0x173754c2
2022.08.26 12:49:14.324472 [ 538 ] {} <Fatal> BaseDaemon: 4. gsignal in ?
2022.08.26 12:49:14.324681 [ 538 ] {} <Fatal> BaseDaemon: 5. abort in ?
2022.08.26 12:49:14.532324 [ 538 ] {} <Fatal> BaseDaemon: 6. /build/build_docker/../src/Common/Exception.cpp:40: DB::abortOnFailedAssertion(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in /workspace/clickhouse
2022.08.26 12:49:14.638729 [ 538 ] {} <Fatal> BaseDaemon: 7. /build/build_docker/../src/Common/Exception.cpp:63: DB::handle_error_code(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool, std::__1::vector<void*, std::__1::allocator<void*> > const&) in /workspace/clickhouse
2022.08.26 12:49:14.728665 [ 538 ] {} <Fatal> BaseDaemon: 8. /build/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) in /workspace/clickhouse
2022.08.26 12:49:15.058343 [ 538 ] {} <Fatal> BaseDaemon: 9. /build/build_docker/../src/Storages/ProjectionsDescription.cpp:298: DB::ProjectionDescription::calculate(DB::Block const&, std::__1::shared_ptr<DB::Context const>) const in /workspace/clickhouse
2022.08.26 12:49:15.341071 [ 538 ] {} <Fatal> BaseDaemon: 10. /build/build_docker/../src/Storages/MergeTree/MergeTreeDataWriter.cpp:459: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::__1::shared_ptr<DB::StorageInMemoryMetadata const> const&, std::__1::shared_ptr<DB::Context const>) in /workspace/clickhouse
2022.08.26 12:49:15.497176 [ 538 ] {} <Fatal> BaseDaemon: 11. /build/build_docker/../src/Storages/MergeTree/MergeTreeSink.cpp:74: DB::MergeTreeSink::consume(DB::Chunk) in /workspace/clickhouse
2022.08.26 12:49:15.604901 [ 538 ] {} <Fatal> BaseDaemon: 12. /build/build_docker/../src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) in /workspace/clickhouse
2022.08.26 12:49:15.762043 [ 538 ] {} <Fatal> BaseDaemon: 13. /build/build_docker/../src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const in /workspace/clickhouse
2022.08.26 12:49:15.931450 [ 538 ] {} <Fatal> BaseDaemon: 14. /build/build_docker/../contrib/libcxx/include/type_traits:3640: decltype(static_cast<DB::ExceptionKeepingTransform::work()::$_1&>(fp)()) std::__1::__invoke<DB::ExceptionKeepingTransform::work()::$_1&>(DB::ExceptionKeepingTransform::work()::$_1&) in /workspace/clickhouse
2022.08.26 12:49:16.088166 [ 538 ] {} <Fatal> BaseDaemon: 15. /build/build_docker/../contrib/libcxx/include/__functional/invoke.h:62: void std::__1::__invoke_void_return_wrapper<void, true>::__call<DB::ExceptionKeepingTransform::work()::$_1&>(DB::ExceptionKeepingTransform::work()::$_1&) in /workspace/clickhouse
2022.08.26 12:49:16.245166 [ 538 ] {} <Fatal> BaseDaemon: 16. /build/build_docker/../contrib/libcxx/include/__functional/function.h:230: std::__1::__function::__default_alloc_func<DB::ExceptionKeepingTransform::work()::$_1, void ()>::operator()() in /workspace/clickhouse
2022.08.26 12:49:16.402188 [ 538 ] {} <Fatal> BaseDaemon: 17. /build/build_docker/../contrib/libcxx/include/__functional/function.h:711: void std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<DB::ExceptionKeepingTransform::work()::$_1, void ()> >(std::__1::__function::__policy_storage const*) in /workspace/clickhouse
2022.08.26 12:49:16.471208 [ 538 ] {} <Fatal> BaseDaemon: 18. /build/build_docker/../contrib/libcxx/include/__functional/function.h:843: std::__1::__function::__policy_func<void ()>::operator()() const in /workspace/clickhouse
2022.08.26 12:49:16.533031 [ 538 ] {} <Fatal> BaseDaemon: 19. /build/build_docker/../contrib/libcxx/include/__functional/function.h:1184: std::__1::function<void ()>::operator()() const in /workspace/clickhouse
2022.08.26 12:49:16.690846 [ 538 ] {} <Fatal> BaseDaemon: 20. /build/build_docker/../src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::__1::function<void ()>, DB::ThreadStatus*, std::__1::atomic<unsigned long>*) in /workspace/clickhouse
2022.08.26 12:49:16.821202 [ 538 ] {} <Fatal> BaseDaemon: 21. /build/build_docker/../src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() in /workspace/clickhouse
2022.08.26 12:49:16.924137 [ 538 ] {} <Fatal> BaseDaemon: 22. /build/build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) in /workspace/clickhouse
2022.08.26 12:49:17.022009 [ 538 ] {} <Fatal> BaseDaemon: 23. /build/build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() in /workspace/clickhouse
2022.08.26 12:49:17.202194 [ 538 ] {} <Fatal> BaseDaemon: 24. /build/build_docker/../src/Processors/Executors/PipelineExecutor.cpp:228: DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic<bool>*) in /workspace/clickhouse
2022.08.26 12:49:17.382841 [ 538 ] {} <Fatal> BaseDaemon: 25. /build/build_docker/../src/Processors/Executors/PipelineExecutor.cpp:194: DB::PipelineExecutor::executeSingleThread(unsigned long) in /workspace/clickhouse
2022.08.26 12:49:17.552946 [ 538 ] {} <Fatal> BaseDaemon: 26. /build/build_docker/../src/Processors/Executors/PipelineExecutor.cpp:367: DB::PipelineExecutor::executeImpl(unsigned long) in /workspace/clickhouse
2022.08.26 12:49:17.732476 [ 538 ] {} <Fatal> BaseDaemon: 27. /build/build_docker/../src/Processors/Executors/PipelineExecutor.cpp:89: DB::PipelineExecutor::execute(unsigned long) in /workspace/clickhouse
2022.08.26 12:49:17.832856 [ 538 ] {} <Fatal> BaseDaemon: 28. /build/build_docker/../src/Processors/Executors/CompletedPipelineExecutor.cpp:43: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::__1::shared_ptr<DB::ThreadGroupStatus>, unsigned long) in /workspace/clickhouse
2022.08.26 12:49:17.932248 [ 538 ] {} <Fatal> BaseDaemon: 29. /build/build_docker/../src/Processors/Executors/CompletedPipelineExecutor.cpp:80: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const in /workspace/clickhouse
2022.08.26 12:49:18.032836 [ 538 ] {} <Fatal> BaseDaemon: 30. /build/build_docker/../contrib/libcxx/include/type_traits:3648: decltype(static_cast<DB::CompletedPipelineExecutor::execute()::$_0&>(fp)()) std::__1::__invoke_constexpr<DB::CompletedPipelineExecutor::execute()::$_0&>(DB::CompletedPipelineExecutor::execute()::$_0&) in /workspace/clickhouse
2022.08.26 12:49:18.133235 [ 538 ] {} <Fatal> BaseDaemon: 31. /build/build_docker/../contrib/libcxx/include/tuple:1595: decltype(auto) std::__1::__apply_tuple_impl<DB::CompletedPipelineExecutor::execute()::$_0&, std::__1::tuple<>&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::__1::tuple<>&, std::__1::__tuple_indices<>) in /workspace/clickhouse
2022.08.26 12:49:18.233662 [ 538 ] {} <Fatal> BaseDaemon: 32. /build/build_docker/../contrib/libcxx/include/tuple:1604: decltype(auto) std::__1::apply<DB::CompletedPipelineExecutor::execute()::$_0&, std::__1::tuple<>&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::__1::tuple<>&) in /workspace/clickhouse
2022.08.26 12:49:18.322455 [ 538 ] {} <Fatal> BaseDaemon: 33. /build/build_docker/../src/Common/ThreadPool.h:187: ThreadFromGlobalPool::ThreadFromGlobalPool<DB::CompletedPipelineExecutor::execute()::$_0>(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() in /workspace/clickhouse
2022.08.26 12:49:18.422784 [ 538 ] {} <Fatal> BaseDaemon: 34. /build/build_docker/../contrib/libcxx/include/type_traits:3640: decltype(static_cast<DB::CompletedPipelineExecutor::execute()::$_0>(fp)()) std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::CompletedPipelineExecutor::execute()::$_0>(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) in /workspace/clickhouse
2022.08.26 12:49:18.522186 [ 538 ] {} <Fatal> BaseDaemon: 35. /build/build_docker/../contrib/libcxx/include/__functional/invoke.h:62: void std::__1::__invoke_void_return_wrapper<void, true>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::CompletedPipelineExecutor::execute()::$_0>(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(ThreadFromGlobalPool::ThreadFromGlobalPool<DB::CompletedPipelineExecutor::execute()::$_0>(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&) in /workspace/clickhouse
2022.08.26 12:49:18.621526 [ 538 ] {} <Fatal> BaseDaemon: 36. /build/build_docker/../contrib/libcxx/include/__functional/function.h:230: std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::CompletedPipelineExecutor::execute()::$_0>(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>::operator()() in /workspace/clickhouse
2022.08.26 12:49:18.720678 [ 538 ] {} <Fatal> BaseDaemon: 37. /build/build_docker/../contrib/libcxx/include/__functional/function.h:711: void std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::CompletedPipelineExecutor::execute()::$_0>(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()> >(std::__1::__function::__policy_storage const*) in /workspace/clickhouse
2022.08.26 12:49:18.789529 [ 538 ] {} <Fatal> BaseDaemon: 38. /build/build_docker/../contrib/libcxx/include/__functional/function.h:843: std::__1::__function::__policy_func<void ()>::operator()() const in /workspace/clickhouse
2022.08.26 12:49:18.850830 [ 538 ] {} <Fatal> BaseDaemon: 39. /build/build_docker/../contrib/libcxx/include/__functional/function.h:1184: std::__1::function<void ()>::operator()() const in /workspace/clickhouse
2022.08.26 12:49:18.922261 [ 538 ] {} <Fatal> BaseDaemon: 40. /build/build_docker/../src/Common/ThreadPool.cpp:281: ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) in /workspace/clickhouse
2022.08.26 12:49:19.010827 [ 538 ] {} <Fatal> BaseDaemon: 41. /build/build_docker/../src/Common/ThreadPool.cpp:143: void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda0'()::operator()() const in /workspace/clickhouse
2022.08.26 12:49:19.104849 [ 538 ] {} <Fatal> BaseDaemon: 42. /build/build_docker/../contrib/libcxx/include/type_traits:3640: decltype(static_cast<void>(fp)()) std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda0'()>(void&&) in /workspace/clickhouse
2022.08.26 12:49:19.198358 [ 538 ] {} <Fatal> BaseDaemon: 43. /build/build_docker/../contrib/libcxx/include/thread:283: void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda0'()>(std::__1::tuple<void, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda0'()>&, std::__1::__tuple_indices<>) in /workspace/clickhouse
2022.08.26 12:49:19.291902 [ 538 ] {} <Fatal> BaseDaemon: 44. /build/build_docker/../contrib/libcxx/include/thread:293: void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda0'()> >(void*) in /workspace/clickhouse
2022.08.26 12:49:20.595186 [ 538 ] {} <Fatal> BaseDaemon: Integrity check of the executable skipped because the reference checksum could not be read. (calculated checksum: 01D46E5869730D2938AFCB54E46D551E)
cc: @amosbird
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzers