-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Logical error: Bad cast from type DB::ColumnSparse to DB::ColumnVector<long> #58338
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzers
Description
2023.12.28 19:34:56.652656 [ 1404 ] {5367cbbe-6372-48d9-8bd3-223f0a4c2212::all_1_6_1} <Fatal> : Logical error: 'Bad cast from type DB::ColumnSparse to DB::ColumnVector<long>'.
2023.12.28 19:45:56.614189 [ 32420 ] {} <Fatal> BaseDaemon: ########## Short fault info ############
2023.12.28 19:45:56.614362 [ 32420 ] {} <Fatal> BaseDaemon: (version 23.13.1.1, build id: 1AA65F93106785FDC44250EBE474E17C2F985A8F, git hash: 27e1483ea25d4f5a65626f57e4baa06236a6e205) (from thread 1404) Received signal 6
2023.12.28 19:45:56.614484 [ 32420 ] {} <Fatal> BaseDaemon: Signal description: Aborted
2023.12.28 19:45:56.614581 [ 32420 ] {} <Fatal> BaseDaemon:
2023.12.28 19:45:56.614790 [ 32420 ] {} <Fatal> BaseDaemon: Stack trace: 0x00007f12188d19fc 0x00007f121887d476 0x00007f12188637f3 0x00000000136d80df 0x00000000136d8175 0x00000000136d8631 0x000000000a9150aa 0x000000000a91a22c 0x0000000012082781 0x000000001c890e7d 0x000000001e0ea4de 0x000000001e0ea217 0x0000000016af2022 0x000000001dbab492 0x000000001dbe7ec3 0x000000001dbe7c00 0x000000001dbcc721 0x000000001dbcc23e 0x000000001dbf201e 0x000000001dbf20c1 0x000000001d2d6bb0 0x000000001d2edd18 0x000000001d2edcf5 0x000000001d2edcd5 0x000000001d2edcb5 0x000000001d2edc7d 0x000000001369a5f6 0x0000000013699855 0x000000001d2d6ac6 0x000000001d2db1f2 0x000000001d85d2b8 0x000000001d30878d 0x000000001d30926e 0x000000001d310dd8 0x000000001d310db5 0x000000001d310d95 0x000000001d310d75 0x000000001d310d3d 0x00000000120fc576 0x00000000120fc1b5 0x000000001385b19d
2023.12.28 19:45:56.614988 [ 32420 ] {} <Fatal> BaseDaemon: ########################################
2023.12.28 19:45:56.615115 [ 32420 ] {} <Fatal> BaseDaemon: (version 23.13.1.1, build id: 1AA65F93106785FDC44250EBE474E17C2F985A8F, git hash: 27e1483ea25d4f5a65626f57e4baa06236a6e205) (from thread 1404) (query_id: 5367cbbe-6372-48d9-8bd3-223f0a4c2212::all_1_6_1) (query: ) Received signal Aborted (6)
2023.12.28 19:45:56.615248 [ 32420 ] {} <Fatal> BaseDaemon:
2023.12.28 19:45:56.615333 [ 32420 ] {} <Fatal> BaseDaemon: Stack trace: 0x00007f12188d19fc 0x00007f121887d476 0x00007f12188637f3 0x00000000136d80df 0x00000000136d8175 0x00000000136d8631 0x000000000a9150aa 0x000000000a91a22c 0x0000000012082781 0x000000001c890e7d 0x000000001e0ea4de 0x000000001e0ea217 0x0000000016af2022 0x000000001dbab492 0x000000001dbe7ec3 0x000000001dbe7c00 0x000000001dbcc721 0x000000001dbcc23e 0x000000001dbf201e 0x000000001dbf20c1 0x000000001d2d6bb0 0x000000001d2edd18 0x000000001d2edcf5 0x000000001d2edcd5 0x000000001d2edcb5 0x000000001d2edc7d 0x000000001369a5f6 0x0000000013699855 0x000000001d2d6ac6 0x000000001d2db1f2 0x000000001d85d2b8 0x000000001d30878d 0x000000001d30926e 0x000000001d310dd8 0x000000001d310db5 0x000000001d310d95 0x000000001d310d75 0x000000001d310d3d 0x00000000120fc576 0x00000000120fc1b5 0x000000001385b19d
2023.12.28 19:45:56.615521 [ 32420 ] {} <Fatal> BaseDaemon: 4. ? @ 0x00007f12188d19fc in ?
2023.12.28 19:45:56.615637 [ 32420 ] {} <Fatal> BaseDaemon: 5. ? @ 0x00007f121887d476 in ?
2023.12.28 19:45:56.615754 [ 32420 ] {} <Fatal> BaseDaemon: 6. ? @ 0x00007f12188637f3 in ?
2023.12.28 19:51:12.213311 [ 32420 ] {} <Fatal> BaseDaemon: 7. /build/src/Common/Exception.cpp:0: DB::abortOnFailedAssertion(String const&) @ 0x00000000136d80df in /usr/bin/clickhouse
2023.12.28 19:51:12.384715 [ 32420 ] {} <Fatal> BaseDaemon: 8. /build/src/Common/Exception.cpp:63: DB::handle_error_code(String const&, int, bool, std::vector<void*, std::allocator<void*>> const&) @ 0x00000000136d8175 in /usr/bin/clickhouse
2023.12.28 19:51:12.524420 [ 32420 ] {} <Fatal> BaseDaemon: 9. /build/src/Common/Exception.cpp:100: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000136d8631 in /usr/bin/clickhouse
2023.12.28 19:51:12.662826 [ 32420 ] {} <Fatal> BaseDaemon: 10. /build/src/Common/Exception.h:86: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a9150aa in /usr/bin/clickhouse
2023.12.28 19:51:12.808575 [ 32420 ] {} <Fatal> BaseDaemon: 11. /build/src/Common/Exception.h:105: DB::Exception::Exception<String, String>(int, FormatStringHelperImpl<std::type_identity<String>::type, std::type_identity<String>::type>, String&&, String&&) @ 0x000000000a91a22c in /usr/bin/clickhouse
2023.12.28 19:51:12.979929 [ 32420 ] {} <Fatal> BaseDaemon: 12. /build/src/Common/assert_cast.h:47: DB::ColumnVector<long> const& assert_cast<DB::ColumnVector<long> const&, DB::IColumn const&>(DB::IColumn const&) @ 0x0000000012082781 in /usr/bin/clickhouse
2023.12.28 19:51:13.502851 [ 32420 ] {} <Fatal> BaseDaemon: 13. /build/src/Columns/ColumnVector.h:234: DB::ColumnVector<long>::compareAt(unsigned long, unsigned long, DB::IColumn const&, int) const @ 0x000000001c890e7d in /usr/bin/clickhouse
2023.12.28 19:51:13.617115 [ 32420 ] {} <Fatal> BaseDaemon: 14. /build/src/Processors/Transforms/CheckSortedTransform.cpp:37: DB::CheckSortedTransform::transform(DB::Chunk&)::$_0::operator()(std::vector<COW<DB::IColumn>::immutable_ptr<DB::IColumn>, std::allocator<COW<DB::IColumn>::immutable_ptr<DB::IColumn>>> const&, unsigned long, std::vector<COW<DB::IColumn>::immutable_ptr<DB::IColumn>, std::allocator<COW<DB::IColumn>::immutable_ptr<DB::IColumn>>> const&, unsigned long) const @ 0x000000001e0ea4de in /usr/bin/clickhouse
2023.12.28 19:51:13.732295 [ 32420 ] {} <Fatal> BaseDaemon: 15. /build/src/Processors/Transforms/CheckSortedTransform.cpp:62: DB::CheckSortedTransform::transform(DB::Chunk&) @ 0x000000001e0ea217 in /usr/bin/clickhouse
2023.12.28 19:51:13.882605 [ 32420 ] {} <Fatal> BaseDaemon: 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016af2022 in /usr/bin/clickhouse
2023.12.28 19:51:13.961276 [ 32420 ] {} <Fatal> BaseDaemon: 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001dbab492 in /usr/bin/clickhouse
2023.12.28 19:51:14.006573 [ 32420 ] {} <Fatal> BaseDaemon: 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001dbe7ec3 in /usr/bin/clickhouse
2023.12.28 19:51:14.037359 [ 32420 ] {} <Fatal> BaseDaemon: 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001dbe7c00 in /usr/bin/clickhouse
2023.12.28 19:51:14.170548 [ 32420 ] {} <Fatal> BaseDaemon: 20. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic<bool>*) @ 0x000000001dbcc721 in /usr/bin/clickhouse
2023.12.28 19:51:14.301488 [ 32420 ] {} <Fatal> BaseDaemon: 21. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic<bool>*) @ 0x000000001dbcc23e in /usr/bin/clickhouse
2023.12.28 19:51:14.392164 [ 32420 ] {} <Fatal> BaseDaemon: 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001dbf201e in /usr/bin/clickhouse
2023.12.28 19:51:14.483967 [ 32420 ] {} <Fatal> BaseDaemon: 23. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001dbf20c1 in /usr/bin/clickhouse
2023.12.28 19:51:15.111701 [ 32420 ] {} <Fatal> BaseDaemon: 24. /build/src/Storages/MergeTree/MergeTask.cpp:444: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000001d2d6bb0 in /usr/bin/clickhouse
2023.12.28 19:51:15.850377 [ 32420 ] {} <Fatal> BaseDaemon: 25. /build/src/Storages/MergeTree/MergeTask.h:251: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'()::operator()() const @ 0x000000001d2edd18 in /usr/bin/clickhouse
2023.12.28 19:51:16.619321 [ 32420 ] {} <Fatal> BaseDaemon: 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d2edcf5 in /usr/bin/clickhouse
2023.12.28 19:51:17.380786 [ 32420 ] {} <Fatal> BaseDaemon: 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001d2edcd5 in /usr/bin/clickhouse
2023.12.28 19:51:18.083119 [ 32420 ] {} <Fatal> BaseDaemon: 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d2edcb5 in /usr/bin/clickhouse
2023.12.28 19:51:18.751034 [ 32420 ] {} <Fatal> BaseDaemon: 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d2edc7d in /usr/bin/clickhouse
2023.12.28 19:51:18.971572 [ 32420 ] {} <Fatal> BaseDaemon: 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001369a5f6 in /usr/bin/clickhouse
2023.12.28 19:51:19.200736 [ 32420 ] {} <Fatal> BaseDaemon: 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000013699855 in /usr/bin/clickhouse
2023.12.28 19:51:19.816643 [ 32420 ] {} <Fatal> BaseDaemon: 32. /build/src/Storages/MergeTree/MergeTask.cpp:432: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000001d2d6ac6 in /usr/bin/clickhouse
2023.12.28 19:51:20.418830 [ 32420 ] {} <Fatal> BaseDaemon: 33. /build/src/Storages/MergeTree/MergeTask.cpp:873: DB::MergeTask::execute() @ 0x000000001d2db1f2 in /usr/bin/clickhouse
2023.12.28 19:51:20.516280 [ 32420 ] {} <Fatal> BaseDaemon: 34. /build/src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:57: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000001d85d2b8 in /usr/bin/clickhouse
2023.12.28 19:51:20.592184 [ 32420 ] {} <Fatal> BaseDaemon: 35. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:282: DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::routine(std::shared_ptr<DB::TaskRuntimeData>) @ 0x000000001d30878d in /usr/bin/clickhouse
2023.12.28 19:51:20.667666 [ 32420 ] {} <Fatal> BaseDaemon: 36. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:348: DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::threadFunction() @ 0x000000001d30926e in /usr/bin/clickhouse
2023.12.28 19:51:20.766277 [ 32420 ] {} <Fatal> BaseDaemon: 37. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:57: DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'()::operator()() const @ 0x000000001d310dd8 in /usr/bin/clickhouse
2023.12.28 19:51:20.877426 [ 32420 ] {} <Fatal> BaseDaemon: 38. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d310db5 in /usr/bin/clickhouse
2023.12.28 19:51:20.970127 [ 32420 ] {} <Fatal> BaseDaemon: 39. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d310d95 in /usr/bin/clickhouse
2023.12.28 19:51:21.061683 [ 32420 ] {} <Fatal> BaseDaemon: 40. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d310d75 in /usr/bin/clickhouse
2023.12.28 19:51:21.152223 [ 32420 ] {} <Fatal> BaseDaemon: 41. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d310d3d in /usr/bin/clickhouse
2023.12.28 19:51:21.361612 [ 32420 ] {} <Fatal> BaseDaemon: 42. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000120fc576 in /usr/bin/clickhouse
2023.12.28 19:51:21.592214 [ 32420 ] {} <Fatal> BaseDaemon: 43. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000120fc1b5 in /usr/bin/clickhouse
2023.12.28 19:51:21.673617 [ 32420 ] {} <Fatal> BaseDaemon: 44. /build/src/Common/ThreadPool.cpp:455: ThreadPoolImpl<ThreadFromGlobalPoolImpl<false>>::worker(std::__list_iterator<ThreadFromGlobalPoolImpl<false>, void*>) @ 0x000000001385b19d in /usr/bin/clickhouse
2023.12.28 19:51:21.673757 [ 32420 ] {} <Fatal> BaseDaemon: Integrity check of the executable skipped because the reference checksum could not be read.
2023.12.28 19:51:30.471900 [ 32420 ] {} <Fatal> BaseDaemon: This ClickHouse version is not official and should be upgraded to the official build.
2023.12.28 19:51:30.472331 [ 32420 ] {} <Fatal> BaseDaemon: Changed settings: connect_timeout_with_failover_ms = 2000, connect_timeout_with_failover_secure_ms = 3000, idle_connection_timeout = 36000, s3_check_objects_after_upload = true, stream_like_engine_allow_direct_select = true, replication_wait_for_inactive_replica_timeout = 30, allow_nonconst_timezone_arguments = true, log_queries = true, insert_quorum_timeout = 60000, fsync_metadata = false, http_send_timeout = 60., http_receive_timeout = 60., opentelemetry_start_trace_probability = 0.10000000149011612, max_untracked_memory = 1048576, memory_profiler_step = 1048576, allow_introspection_functions = true, database_atomic_wait_for_drop_and_detach_synchronously = true, distributed_ddl_entry_format_version = 6, async_insert_busy_timeout_ms = 5000, enable_filesystem_cache = true, enable_filesystem_cache_on_write_operations = true, filesystem_cache_segments_batch_size = 10, load_marks_asynchronously = true, allow_prefetched_read_pool_for_remote_filesystem = false, allow_prefetched_read_pool_for_local_filesystem = false, filesystem_prefetch_max_memory_usage = 1073741824, insert_keeper_max_retries = 100, insert_keeper_retry_initial_backoff_ms = 1, insert_keeper_retry_max_backoff_ms = 1, insert_keeper_fault_injection_probability = 0.009999999776482582
2023.12.28 19:51:34.448157 [ 726 ] {} <Fatal> Application: Child process was terminated by signal 6.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzers