2025.10.03 23:53:57.520345 [ 867 ] {9f378547-83a6-423a-8b6a-4ac016aa8356} : Logical error: 'RangeReader read 10000 rows, but 16384 expected.'. 2025.10.03 23:53:57.569828 [ 867 ] {9f378547-83a6-423a-8b6a-4ac016aa8356} : Stack trace (when copying this message, always include the lines below): 2025.10.03 23:58:22.463939 [ 932 ] {} BaseDaemon: ########## Short fault info ############ 2025.10.03 23:58:22.464007 [ 932 ] {} BaseDaemon: (version 24.8.14.10503.altinitytest (altinity build), build id: 1592B39F9D3EE67BC3A053D4873352B5B9B48CEA, git hash: e905d7433e089be5ae0e2e1a62b31c75230e5cf9) (from thread 867) Received signal 6 2025.10.03 23:58:22.464049 [ 932 ] {} BaseDaemon: Signal description: Aborted 2025.10.03 23:58:22.464073 [ 932 ] {} BaseDaemon: 2025.10.03 23:58:22.464114 [ 932 ] {} BaseDaemon: Stack trace: 0x000055b6cf93944d 0x000055b6cfdb8498 0x00007fc843896520 0x00007fc8438ea9fd 0x00007fc843896476 0x00007fc84387c7f3 0x000055b6cf8eea91 0x000055b6cf8ef033 0x000055b6cf8efd57 0x000055b6c2f89136 0x000055b6c4933c4f 0x000055b6ddf20c51 0x000055b6ddf1e08d 0x000055b6ddf5c74f 0x000055b6df2243f4 0x000055b6ddf5714c 0x000055b6df250475 0x000055b6de7cc8fa 0x000055b6de7f9920 0x000055b6de7e7583 0x000055b6de7e66f6 0x000055b6de7e630a 0x000055b6de7fed6c 0x000055b6cfa253cf 0x000055b6cfa2c5ca 0x00007fc8438e8ac3 0x00007fc84397a850 2025.10.03 23:58:22.464145 [ 932 ] {} BaseDaemon: ######################################## 2025.10.03 23:58:22.464406 [ 932 ] {} BaseDaemon: (version 24.8.14.10503.altinitytest (altinity build), build id: 1592B39F9D3EE67BC3A053D4873352B5B9B48CEA, git hash: e905d7433e089be5ae0e2e1a62b31c75230e5cf9) (from thread 867) (query_id: 9f378547-83a6-423a-8b6a-4ac016aa8356) (query: WITH [1., 0.] AS reference_vec SELECT 14 AND (1023 AND (0 AND 0) AND materialize(10) AND 0), id, vec FROM tab__fuzz_0 PREWHERE 9 AND 19 AND 19 ORDER BY L2Distance(vec, reference_vec) DESC NULLS FIRST LIMIT 65537) Received signal Aborted (6) 2025.10.03 23:58:22.464457 [ 932 ] {} BaseDaemon: 2025.10.03 23:58:22.464518 [ 932 ] {} BaseDaemon: Stack trace: 0x000055b6cf93944d 0x000055b6cfdb8498 0x00007fc843896520 0x00007fc8438ea9fd 0x00007fc843896476 0x00007fc84387c7f3 0x000055b6cf8eea91 0x000055b6cf8ef033 0x000055b6cf8efd57 0x000055b6c2f89136 0x000055b6c4933c4f 0x000055b6ddf20c51 0x000055b6ddf1e08d 0x000055b6ddf5c74f 0x000055b6df2243f4 0x000055b6ddf5714c 0x000055b6df250475 0x000055b6de7cc8fa 0x000055b6de7f9920 0x000055b6de7e7583 0x000055b6de7e66f6 0x000055b6de7e630a 0x000055b6de7fed6c 0x000055b6cfa253cf 0x000055b6cfa2c5ca 0x00007fc8438e8ac3 0x00007fc84397a850 2025.10.03 23:58:22.507976 [ 932 ] {} BaseDaemon: 0.0. inlined from ./build_docker/./src/Common/StackTrace.cpp:349: StackTrace::tryCapture() 2025.10.03 23:58:22.508049 [ 932 ] {} BaseDaemon: 0. ./build_docker/./src/Common/StackTrace.cpp:318: StackTrace::StackTrace(ucontext_t const&) @ 0x00000000258b844d 2025.10.03 23:58:22.553259 [ 932 ] {} BaseDaemon: 1. ./build_docker/./src/Common/SignalHandlers.cpp:0: signalHandler(int, siginfo_t*, void*) @ 0x0000000025d37498 2025.10.03 23:58:22.553333 [ 932 ] {} BaseDaemon: 2. ? @ 0x00007fc843896520 2025.10.03 23:58:22.553383 [ 932 ] {} BaseDaemon: 3. ? @ 0x00007fc8438ea9fd 2025.10.03 23:58:22.553414 [ 932 ] {} BaseDaemon: 4. ? @ 0x00007fc843896476 2025.10.03 23:58:22.553459 [ 932 ] {} BaseDaemon: 5. ? @ 0x00007fc84387c7f3 2025.10.03 23:58:22.588776 [ 932 ] {} BaseDaemon: 6. ./build_docker/./src/Common/Exception.cpp:48: DB::abortOnFailedAssertion(String const&, void* const*, unsigned long, unsigned long) @ 0x000000002586da91 2025.10.03 23:58:22.615530 [ 932 ] {} BaseDaemon: 7.0. inlined from ./contrib/llvm-project/libcxx/include/__functional/function.h:863: ? 2025.10.03 23:58:22.615597 [ 932 ] {} BaseDaemon: 7.1. inlined from ./contrib/llvm-project/libcxx/include/__functional/function.h:1049: ? 2025.10.03 23:58:22.615644 [ 932 ] {} BaseDaemon: 7. ./build_docker/./src/Common/Exception.cpp:75: DB::handle_error_code(String const&, int, bool, std::vector> const&) @ 0x000000002586e033 2025.10.03 23:58:22.641840 [ 932 ] {} BaseDaemon: 8.0. inlined from ./contrib/llvm-project/libcxx/include/vector:432: __destroy_vector 2025.10.03 23:58:22.641894 [ 932 ] {} BaseDaemon: 8.1. inlined from ./contrib/llvm-project/libcxx/include/vector:449: ~vector 2025.10.03 23:58:22.641967 [ 932 ] {} BaseDaemon: 8. ./build_docker/./src/Common/Exception.cpp:115: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002586ed57 2025.10.03 23:58:22.692535 [ 932 ] {} BaseDaemon: 9. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000018f08136 2025.10.03 23:58:22.727952 [ 932 ] {} BaseDaemon: 10. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000001a8b2c4f 2025.10.03 23:58:22.757826 [ 932 ] {} BaseDaemon: 11. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:1270: DB::MergeTreeRangeReader::continueReadingChain(DB::MergeTreeRangeReader::ReadResult const&, unsigned long&) @ 0x0000000033e9fc51 2025.10.03 23:58:22.781244 [ 932 ] {} BaseDaemon: 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:984: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x0000000033e9d08d 2025.10.03 23:58:22.800650 [ 932 ] {} BaseDaemon: 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReadTask.cpp:165: DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) @ 0x0000000033edb74f 2025.10.03 23:58:22.813245 [ 932 ] {} BaseDaemon: 14. ./src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:53: DB::MergeTreeInOrderSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) @ 0x00000000351a33f4 2025.10.03 23:58:22.842002 [ 932 ] {} BaseDaemon: 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:195: DB::MergeTreeSelectProcessor::read() @ 0x0000000033ed614c 2025.10.03 23:58:22.859118 [ 932 ] {} BaseDaemon: 16. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:0: DB::MergeTreeSource::tryGenerate() @ 0x00000000351cf475 2025.10.03 23:58:22.873035 [ 932 ] {} BaseDaemon: 17.0. inlined from ./contrib/llvm-project/libcxx/include/optional:344: std::__optional_storage_base::has_value[abi:v15007]() const 2025.10.03 23:58:22.873093 [ 932 ] {} BaseDaemon: 17.1. inlined from ./contrib/llvm-project/libcxx/include/optional:998: std::optional::operator bool[abi:v15007]() const 2025.10.03 23:58:22.873121 [ 932 ] {} BaseDaemon: 17. ./build_docker/./src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000003474b8fa 2025.10.03 23:58:22.880205 [ 932 ] {} BaseDaemon: 18.0. inlined from ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:50: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) 2025.10.03 23:58:22.880252 [ 932 ] {} BaseDaemon: 18. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:96: DB::ExecutionThreadContext::executeTask() @ 0x0000000034778920 2025.10.03 23:58:22.900649 [ 932 ] {} BaseDaemon: 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x0000000034766583 2025.10.03 23:58:22.919068 [ 932 ] {} BaseDaemon: 20.0. inlined from ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: ~shared_ptr 2025.10.03 23:58:22.919139 [ 932 ] {} BaseDaemon: 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:412: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x00000000347656f6 2025.10.03 23:58:22.939192 [ 932 ] {} BaseDaemon: 21.0. inlined from ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: std::unique_ptr>::operator->[abi:v15007]() const 2025.10.03 23:58:22.939269 [ 932 ] {} BaseDaemon: 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:114: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003476530a 2025.10.03 23:58:22.957735 [ 932 ] {} BaseDaemon: 22.0. inlined from ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) 2025.10.03 23:58:22.957804 [ 932 ] {} BaseDaemon: 22.1. inlined from ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:109: operator() 2025.10.03 23:58:22.957826 [ 932 ] {} BaseDaemon: 22.2. inlined from ./contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? 2025.10.03 23:58:22.957854 [ 932 ] {} BaseDaemon: 22.3. inlined from ./contrib/llvm-project/libcxx/include/tuple:1789: _ZNSt3__118__apply_tuple_implB6v15007IRZN2DB28PullingAsyncPipelineExecutor4pullERNS1_5ChunkEmE3$_0RNS_5tupleIJEEETpTnmJEEEDcOT_OT0_NS_15__tuple_indicesIJXspT1_EEEE 2025.10.03 23:58:22.957880 [ 932 ] {} BaseDaemon: 22.4. inlined from ./contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15007]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) 2025.10.03 23:58:22.957905 [ 932 ] {} BaseDaemon: 22.5. inlined from ./src/Common/ThreadPool.h:311: operator() 2025.10.03 23:58:22.957926 [ 932 ] {} BaseDaemon: 22.6. inlined from ./contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? 2025.10.03 23:58:22.957948 [ 932 ] {} BaseDaemon: 22.7. inlined from ./contrib/llvm-project/libcxx/include/__functional/invoke.h:479: ? 2025.10.03 23:58:22.957972 [ 932 ] {} BaseDaemon: 22.8. inlined from ./contrib/llvm-project/libcxx/include/__functional/function.h:235: ? 2025.10.03 23:58:22.957992 [ 932 ] {} BaseDaemon: 22. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000003477dd6c 2025.10.03 23:58:22.972984 [ 932 ] {} BaseDaemon: 23.0. inlined from ./base/base/../base/wide_integer_impl.h:817: bool wide::integer<128ul, unsigned int>::_impl::operator_eq>(wide::integer<128ul, unsigned int> const&, wide::integer<128ul, unsigned int> const&) 2025.10.03 23:58:22.973008 [ 932 ] {} BaseDaemon: 23.1. inlined from ./base/base/../base/wide_integer_impl.h:1491: bool wide::operator==<128ul, unsigned int, 128ul, unsigned int>(wide::integer<128ul, unsigned int> const&, wide::integer<128ul, unsigned int> const&) 2025.10.03 23:58:22.973035 [ 932 ] {} BaseDaemon: 23.2. inlined from ./base/base/../base/strong_typedef.h:42: StrongTypedef, DB::UUIDTag>::operator==(StrongTypedef, DB::UUIDTag> const&) const 2025.10.03 23:58:22.973059 [ 932 ] {} BaseDaemon: 23.3. inlined from ./src/Common/OpenTelemetryTraceContext.h:65: DB::OpenTelemetry::Span::isTraceEnabled() const 2025.10.03 23:58:22.973083 [ 932 ] {} BaseDaemon: 23. ./build_docker/./src/Common/ThreadPool.cpp:789: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x00000000259a43cf 2025.10.03 23:58:22.998352 [ 932 ] {} BaseDaemon: 24.0. inlined from ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: std::unique_ptr>::reset[abi:v15007](std::__thread_struct*) 2025.10.03 23:58:22.998372 [ 932 ] {} BaseDaemon: 24.1. inlined from ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259: ~unique_ptr 2025.10.03 23:58:22.998397 [ 932 ] {} BaseDaemon: 24.2. inlined from ./contrib/llvm-project/libcxx/include/tuple:265: ~__tuple_leaf 2025.10.03 23:58:22.998419 [ 932 ] {} BaseDaemon: 24.3. inlined from ./contrib/llvm-project/libcxx/include/tuple:538: ~tuple 2025.10.03 23:58:22.998450 [ 932 ] {} BaseDaemon: 24.4. inlined from ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: std::default_delete>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>::operator()[abi:v15007](std::tuple>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>*) const 2025.10.03 23:58:22.998483 [ 932 ] {} BaseDaemon: 24.5. inlined from ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305: std::unique_ptr>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>, std::default_delete>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>>::reset[abi:v15007](std::tuple>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>*) 2025.10.03 23:58:22.998505 [ 932 ] {} BaseDaemon: 24.6. inlined from ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259: ~unique_ptr 2025.10.03 23:58:22.998532 [ 932 ] {} BaseDaemon: 24. ./contrib/llvm-project/libcxx/include/thread:297: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x00000000259ab5ca 2025.10.03 23:58:22.998553 [ 932 ] {} BaseDaemon: 25. ? @ 0x00007fc8438e8ac3 2025.10.03 23:58:22.998573 [ 932 ] {} BaseDaemon: 26. ? @ 0x00007fc84397a850 2025.10.03 23:58:23.288027 [ 932 ] {} BaseDaemon: Integrity check of the executable successfully passed (checksum: 70270DB690B406F4B36D388823AAD0E3) 2025.10.03 23:58:23.746473 [ 932 ] {} BaseDaemon: This ClickHouse version is not official and should be upgraded to the official build. 2025.10.03 23:58:23.746633 [ 932 ] {} BaseDaemon: Changed settings: max_joined_block_size_rows = 1000, receive_timeout = 10., receive_data_timeout_ms = 10000, allow_suspicious_low_cardinality_types = true, log_queries = true, table_function_remote_max_addresses = 200, merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability = 0., max_execution_time = 10., max_memory_usage = 16000000, log_comment = '/workspace/ch/tests/queries/0_stateless/02354_vector_search_bugs.sql', send_logs_level = 'fatal', allow_introspection_functions = true, optimize_functions_to_subcolumns = true, allow_deprecated_syntax_for_merge_tree = true, allow_experimental_vector_similarity_index = true, allow_experimental_full_text_index = true, allow_experimental_analyzer = true, input_format_json_max_depth = 100000, cross_to_inner_join_rewrite = 1 2025.10.03 23:58:30.988254 [ 147 ] {} Application: Child process was terminated by signal 6.