-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Logical error: Invalid number of rows in Chunk column Object #40400
Copy link
Copy link
Closed
Labels
experimental featureBug in the feature that should not be used in productionBug in the feature that should not be used in productionfuzzProblem found by one of the fuzzersProblem found by one of the fuzzersnot plannedKnown issue, no plans to fix it currenltyKnown issue, no plans to fix it currenlty
Description
2022.08.19 13:13:56.069305 [ 212 ] {218e387a-c8f1-412e-a7d9-e66082b8c08d} <Debug> executeQuery: (from [::ffff:127.0.0.1]:56708) INSERT INTO t_json SELECT id, m FROM t_map (stage: Complete)
2022.08.19 13:13:56.069363 [ 212 ] {218e387a-c8f1-412e-a7d9-e66082b8c08d} <Trace> ContextAccess (default): Access granted: INSERT(id, obj) ON default.t_json
2022.08.19 13:13:56.069695 [ 212 ] {218e387a-c8f1-412e-a7d9-e66082b8c08d} <Trace> ContextAccess (default): Access granted: SELECT(id, m) ON default.t_map
2022.08.19 13:13:56.069786 [ 212 ] {218e387a-c8f1-412e-a7d9-e66082b8c08d} <Trace> ContextAccess (default): Access granted: SELECT(id, m) ON default.t_map
2022.08.19 13:13:56.069832 [ 212 ] {218e387a-c8f1-412e-a7d9-e66082b8c08d} <Trace> InterpreterSelectQuery: FetchColumns -> Complete
2022.08.19 13:13:56.069912 [ 212 ] {218e387a-c8f1-412e-a7d9-e66082b8c08d} <Debug> default.t_map (de273761-2b43-453e-bf0d-10d87223892f) (SelectExecutor): Key condition: unknown
2022.08.19 13:13:56.069946 [ 212 ] {218e387a-c8f1-412e-a7d9-e66082b8c08d} <Debug> default.t_map (de273761-2b43-453e-bf0d-10d87223892f) (SelectExecutor): Selected 5/5 parts by partition key, 5 parts by primary key, 5/5 marks by primary key, 5 marks to read from 5 ranges
2022.08.19 13:13:56.069980 [ 212 ] {218e387a-c8f1-412e-a7d9-e66082b8c08d} <Trace> MergeTreeInOrderSelectProcessor: Reading 1 ranges in order from part all_1_1_0, approx. 1 rows starting from 0
2022.08.19 13:13:56.070008 [ 212 ] {218e387a-c8f1-412e-a7d9-e66082b8c08d} <Trace> MergeTreeInOrderSelectProcessor: Reading 1 ranges in order from part all_2_2_0, approx. 1 rows starting from 0
2022.08.19 13:13:56.070030 [ 212 ] {218e387a-c8f1-412e-a7d9-e66082b8c08d} <Trace> MergeTreeInOrderSelectProcessor: Reading 1 ranges in order from part all_3_3_0, approx. 1 rows starting from 0
2022.08.19 13:13:56.070053 [ 212 ] {218e387a-c8f1-412e-a7d9-e66082b8c08d} <Trace> MergeTreeInOrderSelectProcessor: Reading 1 ranges in order from part all_4_4_0, approx. 1 rows starting from 0
2022.08.19 13:13:56.070075 [ 212 ] {218e387a-c8f1-412e-a7d9-e66082b8c08d} <Trace> MergeTreeInOrderSelectProcessor: Reading 1 ranges in order from part all_5_5_0, approx. 1 rows starting from 0
2022.08.19 13:13:56.070778 [ 473 ] {218e387a-c8f1-412e-a7d9-e66082b8c08d} <Fatal> : Logical error: 'Invalid number of rows in Chunk column Object position 1: expected 1, got 0'.
2022.08.19 13:23:18.185388 [ 212 ] {218e387a-c8f1-412e-a7d9-e66082b8c08d} <Information> TCPHandler: Query was cancelled.
2022.08.19 13:23:18.205064 [ 719 ] {} <Fatal> BaseDaemon: (version 22.8.1.1 (official build), build id: ADE78036D9C6751D) (from thread 473) (query_id: 218e387a-c8f1-412e-a7d9-e66082b8c08d) (query: INSERT INTO t_json SELECT id, m FROM t_map) Received signal Aborted (6)
2022.08.19 13:13:56.070778 [ 473 ] {218e387a-c8f1-412e-a7d9-e66082b8c08d} <Fatal> : Logical error: 'Invalid number of rows in Chunk column Object position 1: expected 1, got 0'.
2022.08.19 13:23:18.202167 [ 719 ] {} <Fatal> BaseDaemon: ########################################
2022.08.19 13:23:18.205064 [ 719 ] {} <Fatal> BaseDaemon: (version 22.8.1.1 (official build), build id: ADE78036D9C6751D) (from thread 473) (query_id: 218e387a-c8f1-412e-a7d9-e66082b8c08d) (query: INSERT INTO t_json SELECT id, m FROM t_map) Received signal Aborted (6)
2022.08.19 13:23:18.205088 [ 719 ] {} <Fatal> BaseDaemon:
2022.08.19 13:23:18.205139 [ 719 ] {} <Fatal> BaseDaemon: Stack trace: 0x7f2773a3400b 0x7f2773a13859 0x10264b23 0x10264dcf 0x2708a3d9 0x27493f48 0x1fc8098b 0x2709a71b 0x270c5985 0x270c54ab 0x270b5503 0x270b4d15 0x270b4aca 0x270b3f97 0x270b3e5f 0x1032eff2 0x10331c43 0x7f2773beb609 0x7f2773b10133
2022.08.19 13:23:18.205171 [ 719 ] {} <Fatal> BaseDaemon: 3. raise in ?
2022.08.19 13:23:18.205192 [ 719 ] {} <Fatal> BaseDaemon: 4. abort in ?
2022.08.19 13:23:18.229547 [ 719 ] {} <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&) in /workspace/clickhouse
2022.08.19 13:23:18.257625 [ 719 ] {} <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) in /workspace/clickhouse
2022.08.19 13:23:18.275360 [ 719 ] {} <Fatal> BaseDaemon: 7. ./build_docker/../src/Processors/Chunk.cpp:0: DB::Chunk::checkNumRowsIsConsistent() in /workspace/clickhouse
2022.08.19 13:23:18.292261 [ 719 ] {} <Fatal> BaseDaemon: 8. ./build_docker/../src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) in /workspace/clickhouse
2022.08.19 13:23:18.321073 [ 719 ] {} <Fatal> BaseDaemon: 9. ./build_docker/../src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) in /workspace/clickhouse
2022.08.19 13:23:18.342179 [ 719 ] {} <Fatal> BaseDaemon: 10. ./build_docker/../src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() in /workspace/clickhouse
2022.08.19 13:23:18.355548 [ 719 ] {} <Fatal> BaseDaemon: 11. ./build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:50: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) in /workspace/clickhouse
2022.08.19 13:23:18.367655 [ 719 ] {} <Fatal> BaseDaemon: 12. ./build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:93: DB::ExecutionThreadContext::executeTask() in /workspace/clickhouse
2022.08.19 13:23:18.384381 [ 719 ] {} <Fatal> BaseDaemon: 13. ./build_docker/../src/Processors/Executors/PipelineExecutor.cpp:228: DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic<bool>*) in /workspace/clickhouse
2022.08.19 13:23:18.398471 [ 719 ] {} <Fatal> BaseDaemon: 14. ./build_docker/../src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::executeImpl(unsigned long) in /workspace/clickhouse
2022.08.19 13:23:18.413691 [ 719 ] {} <Fatal> BaseDaemon: 15.1. inlined from ./build_docker/../contrib/libcxx/include/__memory/unique_ptr.h:284: std::__1::unique_ptr<DB::ExecutingGraph, std::__1::default_delete<DB::ExecutingGraph> >::operator->() const
2022.08.19 13:23:18.413730 [ 719 ] {} <Fatal> BaseDaemon: 15. ../src/Processors/Executors/PipelineExecutor.cpp:92: DB::PipelineExecutor::execute(unsigned long) in /workspace/clickhouse
2022.08.19 13:23:18.420480 [ 719 ] {} <Fatal> BaseDaemon: 16. ./build_docker/../src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::__1::shared_ptr<DB::ThreadGroupStatus>, unsigned long) in /workspace/clickhouse
2022.08.19 13:23:18.427188 [ 719 ] {} <Fatal> BaseDaemon: 17.1. inlined from ./build_docker/../src/Processors/Executors/CompletedPipelineExecutor.cpp:0: operator()
2022.08.19 13:23:18.427222 [ 719 ] {} <Fatal> BaseDaemon: 17. ../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.19 13:23:18.436372 [ 719 ] {} <Fatal> BaseDaemon: 18.1. inlined from ./build_docker/../contrib/libcxx/include/__functional/function.h:1157: std::__1::function<void ()>::operator=(std::nullptr_t)
2022.08.19 13:23:18.436399 [ 719 ] {} <Fatal> BaseDaemon: 18. ../src/Common/ThreadPool.cpp:284: ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) in /workspace/clickhouse
2022.08.19 13:23:18.447103 [ 719 ] {} <Fatal> BaseDaemon: 19. ./build_docker/../src/Common/ThreadPool.cpp:0: 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.19 13:23:18.447129 [ 719 ] {} <Fatal> BaseDaemon: 20. ? in ?
2022.08.19 13:23:18.447144 [ 719 ] {} <Fatal> BaseDaemon: 21. clone in ?
2022.08.19 13:23:18.787746 [ 719 ] {} <Fatal> BaseDaemon: Integrity check of the executable successfully passed (checksum: EB1704EE25DC8100CCADD5D51F34CCD7)
cc: @CurtizJ
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
experimental featureBug in the feature that should not be used in productionBug in the feature that should not be used in productionfuzzProblem found by one of the fuzzersProblem found by one of the fuzzersnot plannedKnown issue, no plans to fix it currenltyKnown issue, no plans to fix it currenlty