We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://s3.amazonaws.com/clickhouse-test-reports/0/3f3ce06832b7f5907e628b70ace02ea0e7c21567/fuzzer_astfuzzermsan/report.html
==157==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x42c709f3 in COW<DB::IColumn>::mutable_ptr<DB::IColumn> DB::ColumnUnique<DB::ColumnVector<char8_t>>::uniqueInsertRangeImpl<char8_t>(DB::IColumn const&, unsigned long, unsigned long, unsigned long, DB::ColumnVector<char8_t>::MutablePtr&&, DB::ReverseIndex<unsigned long, DB::ColumnVector<char8_t>>*, unsigned long) build_docker/../src/Columns/ColumnUnique.h:580:18 #1 0x42c6e0cf in COW<DB::IColumn>::mutable_ptr<DB::IColumn> DB::ColumnUnique<DB::ColumnVector<char8_t>>::uniqueInsertRangeFrom(DB::IColumn const&, unsigned long, unsigned long)::'lambda'(auto)::operator()<char8_t>(auto) const build_docker/../src/Columns/ColumnUnique.h:617:26 #2 0x42c67a37 in DB::ColumnUnique<DB::ColumnVector<char8_t>>::uniqueInsertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) build_docker/../src/Columns/ColumnUnique.h:625:28 #3 0x41931b9e in 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 build_docker/../src/Functions/IFunction.cpp:288:57 #4 0x419358c7 in 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 build_docker/../src/Functions/IFunction.cpp:372:16 #5 0x43db1fd9 in DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) build_docker/../src/Interpreters/ExpressionActions.cpp:607:60 #6 0x43db1fd9 in DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const build_docker/../src/Interpreters/ExpressionActions.cpp:724:13 #7 0x4bd7d507 in DB::ExpressionTransform::transform(DB::Chunk&) build_docker/../src/Processors/Transforms/ExpressionTransform.cpp:23:17 #8 0x3696346a in DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) build_docker/../src/Processors/ISimpleTransform.h:32:9 #9 0x4b3f0970 in DB::ISimpleTransform::work() build_docker/../src/Processors/ISimpleTransform.cpp:89:9 #10 0x4b46c2f7 in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #11 0x4b46c2f7 in DB::ExecutionThreadContext::executeTask() build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:92:9 #12 0x4b4327fc in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic<bool>*) build_docker/../src/Processors/Executors/PipelineExecutor.cpp:229:26 #13 0x4b43862d in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/../src/Processors/Executors/PipelineExecutor.cpp:195:5 #14 0x4b43862d in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/../src/Processors/Executors/PipelineExecutor.cpp:320:17 #15 0x4b43862d in decltype(std::declval<DB::PipelineExecutor::spawnThreads()::$_0&>()()) std::__1::__invoke[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&>(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #16 0x4b43862d in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/../contrib/llvm-project/libcxx/include/tuple:1789:1 #17 0x4b43862d in decltype(auto) std::__1::apply[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&) build_docker/../contrib/llvm-project/libcxx/include/tuple:1798:1 #18 0x4b43862d in ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() build_docker/../src/Common/ThreadPool.h:196:13 #19 0x4b43862d in decltype(std::declval<DB::PipelineExecutor::spawnThreads()::$_0>()()) std::__1::__invoke[abi:v15000]<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #20 0x4b43862d in void std::__1::__invoke_void_return_wrapper<void, true>::__call<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #21 0x4b43862d in std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #22 0x4b43862d in void std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__1::__function::__policy_storage const*) build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #23 0x29a711ac in std::__1::__function::__policy_func<void ()>::operator()[abi:v15000]() const build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #24 0x29a711ac in std::__1::function<void ()>::operator()() const build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #25 0x29a711ac in ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) build_docker/../src/Common/ThreadPool.cpp:295:17 #26 0x29a7f322 in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()::operator()() const build_docker/../src/Common/ThreadPool.cpp:144:73 #27 0x29a7f322 in decltype(std::declval<void>()()) std::__1::__invoke[abi:v15000]<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>(void&&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #28 0x29a7f322 in void std::__1::__thread_execute[abi:v15000]<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 ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>(std::__1::tuple<void, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>&, std::__1::__tuple_indices<>) build_docker/../contrib/llvm-project/libcxx/include/thread:284:5 #29 0x29a7f322 in void* std::__1::__thread_proxy[abi:v15000]<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 ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>>(void*) build_docker/../contrib/llvm-project/libcxx/include/thread:295:5 #30 0x7f90a297a608 in start_thread /build/glibc-SzIz7B/glibc-2.31/nptl/pthread_create.c:477:8 #31 0x7f90a289f132 in __clone /build/glibc-SzIz7B/glibc-2.31/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Uninitialized value was stored to memory at #0 0x17250a26 in DB::NumComparisonImpl<double, unsigned short, DB::EqualsOp<double, unsigned short>>::vectorVectorImplAVX2(DB::PODArray<double, 4096ul, Allocator<false, false>, 63ul, 64ul> const&, DB::PODArray<unsigned short, 4096ul, Allocator<false, false>, 63ul, 64ul> const&, DB::PODArray<char8_t, 4096ul, Allocator<false, false>, 63ul, 64ul>&) (/workspace/clickhouse+0x17250a26) (BuildId: 1986284f036cba8610c75394630e4500e448b3b6) #1 0x1724ef2e in DB::NumComparisonImpl<double, unsigned short, DB::EqualsOp<double, unsigned short>>::vectorVector(DB::PODArray<double, 4096ul, Allocator<false, false>, 63ul, 64ul> const&, DB::PODArray<unsigned short, 4096ul, Allocator<false, false>, 63ul, 64ul> const&, DB::PODArray<char8_t, 4096ul, Allocator<false, false>, 63ul, 64ul>&) (/workspace/clickhouse+0x1724ef2e) (BuildId: 1986284f036cba8610c75394630e4500e448b3b6) #2 0x17233a74 in COW<DB::IColumn>::immutable_ptr<DB::IColumn> DB::FunctionComparison<DB::EqualsOp, DB::NameEquals>::executeNumRightType<double, unsigned short>(DB::ColumnVector<double> const*, DB::IColumn const*) const (/workspace/clickhouse+0x17233a74) (BuildId: 1986284f036cba8610c75394630e4500e448b3b6) #3 0x16dbda95 in COW<DB::IColumn>::immutable_ptr<DB::IColumn> DB::FunctionComparison<DB::EqualsOp, DB::NameEquals>::executeNumLeftType<double>(DB::IColumn const*, DB::IColumn const*) const (/workspace/clickhouse+0x16dbda95) (BuildId: 1986284f036cba8610c75394630e4500e448b3b6) #4 0x16d6cc39 in DB::FunctionComparison<DB::EqualsOp, DB::NameEquals>::executeImpl(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long) const (/workspace/clickhouse+0x16d6cc39) (BuildId: 1986284f036cba8610c75394630e4500e448b3b6) #5 0xc5d5153 in DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long) const (/workspace/clickhouse+0xc5d5153) (BuildId: 1986284f036cba8610c75394630e4500e448b3b6) #6 0x4192ca6e in 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 build_docker/../src/Functions/IFunction.cpp:248:15 #7 0x4193170c in 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 build_docker/../src/Functions/IFunction.cpp:281:24 #8 0x419358c7 in 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 build_docker/../src/Functions/IFunction.cpp:372:16 #9 0x43db1fd9 in DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) build_docker/../src/Interpreters/ExpressionActions.cpp:607:60 #10 0x43db1fd9 in DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const build_docker/../src/Interpreters/ExpressionActions.cpp:724:13 #11 0x4bd7d507 in DB::ExpressionTransform::transform(DB::Chunk&) build_docker/../src/Processors/Transforms/ExpressionTransform.cpp:23:17 #12 0x3696346a in DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) build_docker/../src/Processors/ISimpleTransform.h:32:9 #13 0x4b3f0970 in DB::ISimpleTransform::work() build_docker/../src/Processors/ISimpleTransform.cpp:89:9 #14 0x4b46c2f7 in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #15 0x4b46c2f7 in DB::ExecutionThreadContext::executeTask() build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:92:9 #16 0x4b4327fc in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic<bool>*) build_docker/../src/Processors/Executors/PipelineExecutor.cpp:229:26 #17 0x4b43862d in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/../src/Processors/Executors/PipelineExecutor.cpp:195:5 #18 0x4b43862d in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/../src/Processors/Executors/PipelineExecutor.cpp:320:17 #19 0x4b43862d in decltype(std::declval<DB::PipelineExecutor::spawnThreads()::$_0&>()()) std::__1::__invoke[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&>(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #20 0x4b43862d in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/../contrib/llvm-project/libcxx/include/tuple:1789:1 #21 0x4b43862d in decltype(auto) std::__1::apply[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&) build_docker/../contrib/llvm-project/libcxx/include/tuple:1798:1 #22 0x4b43862d in ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() build_docker/../src/Common/ThreadPool.h:196:13 #23 0x4b43862d in decltype(std::declval<DB::PipelineExecutor::spawnThreads()::$_0>()()) std::__1::__invoke[abi:v15000]<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #24 0x4b43862d in void std::__1::__invoke_void_return_wrapper<void, true>::__call<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #25 0x4b43862d in std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #26 0x4b43862d in void std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__1::__function::__policy_storage const*) build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #27 0x29a711ac in std::__1::__function::__policy_func<void ()>::operator()[abi:v15000]() const build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #28 0x29a711ac in std::__1::function<void ()>::operator()() const build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #29 0x29a711ac in ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) build_docker/../src/Common/ThreadPool.cpp:295:17 #30 0x29a7f322 in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()::operator()() const build_docker/../src/Common/ThreadPool.cpp:144:73 #31 0x29a7f322 in decltype(std::declval<void>()()) std::__1::__invoke[abi:v15000]<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>(void&&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #32 0x29a7f322 in void std::__1::__thread_execute[abi:v15000]<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 ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>(std::__1::tuple<void, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>&, std::__1::__tuple_indices<>) build_docker/../contrib/llvm-project/libcxx/include/thread:284:5 #33 0x29a7f322 in void* std::__1::__thread_proxy[abi:v15000]<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 ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>>(void*) build_docker/../contrib/llvm-project/libcxx/include/thread:295:5 #34 0x7f90a297a608 in start_thread /build/glibc-SzIz7B/glibc-2.31/nptl/pthread_create.c:477:8 Uninitialized value was created by a heap allocation #0 0xc5625a0 in malloc (/workspace/clickhouse+0xc5625a0) (BuildId: 1986284f036cba8610c75394630e4500e448b3b6) #1 0x29642b8c in Allocator<false, false>::allocNoTrack(unsigned long, unsigned long) build_docker/../src/Common/Allocator.h:227:27 #2 0xc77d824 in void DB::PODArrayBase<2ul, 4096ul, Allocator<false, false>, 63ul, 64ul>::alloc<>(unsigned long) (/workspace/clickhouse+0xc77d824) (BuildId: 1986284f036cba8610c75394630e4500e448b3b6) #3 0x295f960e in COW<DB::IColumn>::mutable_ptr<DB::ColumnVector<unsigned short>> COWHelper<DB::ColumnVectorHelper, DB::ColumnVector<unsigned short>>::create<unsigned long const&>(unsigned long const&) (/workspace/clickhouse+0x295f960e) (BuildId: 1986284f036cba8610c75394630e4500e448b3b6) #4 0x48188722 in DB::ColumnVector<unsigned short>::replicate(DB::PODArray<unsigned long, 4096ul, Allocator<false, false>, 63ul, 64ul> const&) const build_docker/../src/Columns/ColumnVector.cpp:809:16 #5 0x47af449c in DB::ColumnConst::convertToFullColumn() const build_docker/../src/Columns/ColumnConst.cpp:48:18 #6 0x47afa54d in DB::ColumnConst::convertToFullColumnIfConst() const build_docker/../src/Columns/ColumnConst.h:39:16 #7 0x4c0f9907 in DB::prepareChunk(DB::Chunk&) build_docker/../src/Processors/Merges/Algorithms/MergingSortedAlgorithm.cpp:54:26 #8 0x4c0f9121 in DB::MergingSortedAlgorithm::initialize(std::__1::vector<DB::IMergingAlgorithm::Input, std::__1::allocator<DB::IMergingAlgorithm::Input>>) build_docker/../src/Processors/Merges/Algorithms/MergingSortedAlgorithm.cpp:70:9 #9 0x46f9dbd3 in DB::IMergingTransform<DB::MergingSortedAlgorithm>::work() build_docker/../src/Processors/Merges/IMergingTransform.h:109:23 #10 0x4b46c2f7 in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:47:26 #11 0x4b46c2f7 in DB::ExecutionThreadContext::executeTask() build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:92:9 #12 0x4b4327fc in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic<bool>*) build_docker/../src/Processors/Executors/PipelineExecutor.cpp:229:26 #13 0x4b43862d in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/../src/Processors/Executors/PipelineExecutor.cpp:195:5 #14 0x4b43862d in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/../src/Processors/Executors/PipelineExecutor.cpp:320:17 #15 0x4b43862d in decltype(std::declval<DB::PipelineExecutor::spawnThreads()::$_0&>()()) std::__1::__invoke[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&>(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #16 0x4b43862d in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/../contrib/llvm-project/libcxx/include/tuple:1789:1 #17 0x4b43862d in decltype(auto) std::__1::apply[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&) build_docker/../contrib/llvm-project/libcxx/include/tuple:1798:1 #18 0x4b43862d in ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() build_docker/../src/Common/ThreadPool.h:196:13 #19 0x4b43862d in decltype(std::declval<DB::PipelineExecutor::spawnThreads()::$_0>()()) std::__1::__invoke[abi:v15000]<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #20 0x4b43862d in void std::__1::__invoke_void_return_wrapper<void, true>::__call<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 #21 0x4b43862d in std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:235:12 #22 0x4b43862d in void std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__1::__function::__policy_storage const*) build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:716:16 #23 0x29a711ac in std::__1::__function::__policy_func<void ()>::operator()[abi:v15000]() const build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:848:16 #24 0x29a711ac in std::__1::function<void ()>::operator()() const build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 #25 0x29a711ac in ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) build_docker/../src/Common/ThreadPool.cpp:295:17 #26 0x29a7f322 in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()::operator()() const build_docker/../src/Common/ThreadPool.cpp:144:73 #27 0x29a7f322 in decltype(std::declval<void>()()) std::__1::__invoke[abi:v15000]<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>(void&&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 #28 0x29a7f322 in void std::__1::__thread_execute[abi:v15000]<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 ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>(std::__1::tuple<void, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>&, std::__1::__tuple_indices<>) build_docker/../contrib/llvm-project/libcxx/include/thread:284:5 #29 0x29a7f322 in void* std::__1::__thread_proxy[abi:v15000]<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 ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>>(void*) build_docker/../contrib/llvm-project/libcxx/include/thread:295:5 #30 0x7f90a297a608 in start_thread /build/glibc-SzIz7B/glibc-2.31/nptl/pthread_create.c:477:8 SUMMARY: MemorySanitizer: use-of-uninitialized-value build_docker/../src/Columns/ColumnUnique.h:580:18 in COW<DB::IColumn>::mutable_ptr<DB::IColumn> DB::ColumnUnique<DB::ColumnVector<char8_t>>::uniqueInsertRangeImpl<char8_t>(DB::IColumn const&, unsigned long, unsigned long, unsigned long, DB::ColumnVector<char8_t>::MutablePtr&&, DB::ReverseIndex<unsigned long, DB::ColumnVector<char8_t>>*, unsigned long)
2023.01.12 13:14:58.300879 [ 440 ] {} <Fatal> BaseDaemon: ######################################## 2023.01.12 13:14:58.301640 [ 440 ] {} <Fatal> BaseDaemon: (version 22.13.1.1 (official build), build id: 1986284F036CBA8610C75394630E4500E448B3B6) (from thread 433) (query_id: a5f14349-c41c-4919-813a-ba6da8c85c50) (query: SELECT 1023, (((id % -9223372036854775807) = NULL) OR ((id % NULL) = 100) OR ((id % NULL) = 65537)) = ((id % inf) = 9223372036854775806), (id % NULL) = NULL, (id % 3.4028234663852886e38) = 1023, 2147483646 FROM table1__fuzz_19 ORDER BY (((id % 1048577) = 1024) % id) = 1023 DESC NULLS FIRST, id % 2147483646 ASC NULLS FIRST, ((id % 1) = 9223372036854775807) OR ((id % NULL) = 257) DESC NULLS FIRST) Received signal sanitizer trap (-3) 2023.01.12 13:14:58.301972 [ 440 ] {} <Fatal> BaseDaemon: Sanitizer trap. 2023.01.12 13:14:58.302298 [ 440 ] {} <Fatal> BaseDaemon: Stack trace: 0x29792d19 0x2a0819fa 0xc542396 0xc556f33 0x42c709f4 0x42c6e0d0 0x42c67a38 0x41931b9f 0x419358c8 0x43db1fda 0x4bd7d508 0x3696346b 0x4b3f0971 0x4b46c2f8 0x4b4327fd 0x4b43862e 0x29a711ad 0x29a7f323 0x7f90a297a609 0x7f90a289f133 2023.01.12 13:14:58.423677 [ 440 ] {} <Fatal> BaseDaemon: 0.1. inlined from ./build_docker/../src/Common/StackTrace.cpp:334: StackTrace::tryCapture() 2023.01.12 13:14:58.423957 [ 440 ] {} <Fatal> BaseDaemon: 0. ./build_docker/../src/Common/StackTrace.cpp:295: StackTrace::StackTrace() @ 0x29792d19 in /workspace/clickhouse 2023.01.12 13:14:58.667249 [ 440 ] {} <Fatal> BaseDaemon: 1. ./build_docker/../src/Daemon/BaseDaemon.cpp:431: sanitizerDeathCallback() @ 0x2a0819fa in /workspace/clickhouse 2023.01.12 13:15:06.170237 [ 440 ] {} <Fatal> BaseDaemon: 2. __sanitizer::Die() @ 0xc542396 in /workspace/clickhouse 2023.01.12 13:15:13.419501 [ 440 ] {} <Fatal> BaseDaemon: 3. ? @ 0xc556f33 in /workspace/clickhouse 2023.01.12 13:15:14.206289 [ 440 ] {} <Fatal> BaseDaemon: 4.1. inlined from ./build_docker/../src/Columns/ColumnVector.h:223: DB::ColumnVector<char8_t>::compareAt(unsigned long, unsigned long, DB::IColumn const&, int) const 2023.01.12 13:15:14.206471 [ 440 ] {} <Fatal> BaseDaemon: 4. ./build_docker/../src/Columns/ColumnUnique.h:580: COW<DB::IColumn>::mutable_ptr<DB::IColumn> DB::ColumnUnique<DB::ColumnVector<char8_t>>::uniqueInsertRangeImpl<char8_t>(DB::IColumn const&, unsigned long, unsigned long, unsigned long, DB::ColumnVector<char8_t>::MutablePtr&&, DB::ReverseIndex<unsigned long, DB::ColumnVector<char8_t>>*, unsigned long) @ 0x42c709f4 in /workspace/clickhouse 2023.01.12 13:15:14.970692 [ 440 ] {} <Fatal> BaseDaemon: 5.1. inlined from ./build_docker/../contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: ~intrusive_ptr 2023.01.12 13:15:14.970850 [ 440 ] {} <Fatal> BaseDaemon: 5. ./build_docker/../src/Columns/ColumnUnique.h:618: COW<DB::IColumn>::mutable_ptr<DB::IColumn> DB::ColumnUnique<DB::ColumnVector<char8_t>>::uniqueInsertRangeFrom(DB::IColumn const&, unsigned long, unsigned long)::'lambda'(auto)::operator()<char8_t>(auto) const @ 0x42c6e0d0 in /workspace/clickhouse 2023.01.12 13:15:15.735715 [ 440 ] {} <Fatal> BaseDaemon: 6. ./build_docker/../src/Columns/ColumnUnique.h:0: DB::ColumnUnique<DB::ColumnVector<char8_t>>::uniqueInsertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x42c67a38 in /workspace/clickhouse 2023.01.12 13:15:15.886453 [ 440 ] {} <Fatal> BaseDaemon: 7.1. inlined from ./build_docker/../contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:138: intrusive_ptr<DB::IColumn> 2023.01.12 13:15:15.886583 [ 440 ] {} <Fatal> BaseDaemon: 7.2. inlined from ./build_docker/../src/Common/COW.h:144: immutable_ptr<DB::IColumn> 2023.01.12 13:15:15.886660 [ 440 ] {} <Fatal> BaseDaemon: 7. ./build_docker/../src/Functions/IFunction.cpp:288: 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 @ 0x41931b9f in /workspace/clickhouse 2023.01.12 13:15:16.044920 [ 440 ] {} <Fatal> BaseDaemon: 8. ./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 @ 0x419358c8 in /workspace/clickhouse 2023.01.12 13:15:16.494833 [ 440 ] {} <Fatal> BaseDaemon: 9.1. inlined from ./build_docker/../src/Interpreters/ExpressionActions.cpp:0: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) 2023.01.12 13:15:16.494983 [ 440 ] {} <Fatal> BaseDaemon: 9. ./build_docker/../src/Interpreters/ExpressionActions.cpp:724: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x43db1fda in /workspace/clickhouse 2023.01.12 13:15:16.582595 [ 440 ] {} <Fatal> BaseDaemon: 10. ./build_docker/../src/Processors/Transforms/ExpressionTransform.cpp:25: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x4bd7d508 in /workspace/clickhouse 2023.01.12 13:15:16.771957 [ 440 ] {} <Fatal> BaseDaemon: 11.1. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/__utility/swap.h:35: std::__1::enable_if<is_move_constructible<COW<DB::IColumn>::immutable_ptr<DB::IColumn>*>::value && is_move_assignable<COW<DB::IColumn>::immutable_ptr<DB::IColumn>*>::value, void>::type std::__1::swap[abi:v15000]<COW<DB::IColumn>::immutable_ptr<DB::IColumn>*>(COW<DB::IColumn>::immutable_ptr<DB::IColumn>*&, COW<DB::IColumn>::immutable_ptr<DB::IColumn>*&) 2023.01.12 13:15:16.772156 [ 440 ] {} <Fatal> BaseDaemon: 11.2. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/vector:1950: std::__1::vector<COW<DB::IColumn>::immutable_ptr<DB::IColumn>, std::__1::allocator<COW<DB::IColumn>::immutable_ptr<DB::IColumn>>>::swap(std::__1::vector<COW<DB::IColumn>::immutable_ptr<DB::IColumn>, std::__1::allocator<COW<DB::IColumn>::immutable_ptr<DB::IColumn>>>&) 2023.01.12 13:15:16.772255 [ 440 ] {} <Fatal> BaseDaemon: 11.3. inlined from ./build_docker/../src/Processors/Chunk.h:64: DB::Chunk::swap(DB::Chunk&) 2023.01.12 13:15:16.772336 [ 440 ] {} <Fatal> BaseDaemon: 11. ./build_docker/../src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x3696346b in /workspace/clickhouse 2023.01.12 13:15:16.889282 [ 440 ] {} <Fatal> BaseDaemon: 12. ./build_docker/../src/Processors/ISimpleTransform.cpp:0: DB::ISimpleTransform::work() @ 0x4b3f0971 in /workspace/clickhouse 2023.01.12 13:15:16.932744 [ 440 ] {} <Fatal> BaseDaemon: 13.1. inlined from ./build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:0: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) 2023.01.12 13:15:16.932896 [ 440 ] {} <Fatal> BaseDaemon: 13. ./build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x4b46c2f8 in /workspace/clickhouse 2023.01.12 13:15:17.084994 [ 440 ] {} <Fatal> BaseDaemon: 14. ./build_docker/../src/Processors/Executors/PipelineExecutor.cpp:229: DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic<bool>*) @ 0x4b4327fd in /workspace/clickhouse 2023.01.12 13:15:17.261372 [ 440 ] {} <Fatal> BaseDaemon: 15.1. inlined from ./build_docker/../base/base/scope_guard.h:48: ~BasicScopeGuard 2023.01.12 13:15:17.261532 [ 440 ] {} <Fatal> BaseDaemon: 15.2. inlined from ./build_docker/../src/Processors/Executors/PipelineExecutor.cpp:328: operator() 2023.01.12 13:15:17.261704 [ 440 ] {} <Fatal> BaseDaemon: 15.3. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval<DB::PipelineExecutor::spawnThreads()::$_0&>()()) std::__1::__invoke[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&>(DB::PipelineExecutor::spawnThreads()::$_0&) 2023.01.12 13:15:17.261840 [ 440 ] {} <Fatal> BaseDaemon: 15.4. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&, std::__1::__tuple_indices<>) 2023.01.12 13:15:17.261957 [ 440 ] {} <Fatal> BaseDaemon: 15.5. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::__1::apply[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&) 2023.01.12 13:15:17.262038 [ 440 ] {} <Fatal> BaseDaemon: 15.6. inlined from ./build_docker/../src/Common/ThreadPool.h:196: operator() 2023.01.12 13:15:17.262196 [ 440 ] {} <Fatal> BaseDaemon: 15.7. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval<DB::PipelineExecutor::spawnThreads()::$_0>()()) std::__1::__invoke[abi:v15000]<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) 2023.01.12 13:15:17.262381 [ 440 ] {} <Fatal> BaseDaemon: 15.8. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:479: void std::__1::__invoke_void_return_wrapper<void, true>::__call<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) 2023.01.12 13:15:17.262570 [ 440 ] {} <Fatal> BaseDaemon: 15.9. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() 2023.01.12 13:15:17.262660 [ 440 ] {} <Fatal> BaseDaemon: 15. ./build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__1::__function::__policy_storage const*) @ 0x4b43862e in /workspace/clickhouse 2023.01.12 13:15:17.383947 [ 440 ] {} <Fatal> BaseDaemon: 16. ./build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:0: ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) @ 0x29a711ad in /workspace/clickhouse 2023.01.12 13:15:17.534980 [ 440 ] {} <Fatal> BaseDaemon: 17. ./build_docker/../src/Common/ThreadPool.cpp:0: void* std::__1::__thread_proxy[abi:v15000]<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 ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>>(void*) @ 0x29a7f323 in /workspace/clickhouse 2023.01.12 13:15:17.535149 [ 440 ] {} <Fatal> BaseDaemon: 18. ? @ 0x7f90a297a609 in ? 2023.01.12 13:15:17.535278 [ 440 ] {} <Fatal> BaseDaemon: 19. clone @ 0x7f90a289f133 in ? 2023.01.12 13:15:20.386892 [ 440 ] {} <Fatal> BaseDaemon: Integrity check of the executable successfully passed (checksum: 43E372198D1661DBC247D5A1D3EDA53D) 2023.01.12 13:15:24.708777 [ 441 ] {} <Fatal> BaseDaemon: ######################################## 2023.01.12 13:15:24.708940 [ 441 ] {} <Fatal> BaseDaemon: (version 22.13.1.1 (official build), build id: 1986284F036CBA8610C75394630E4500E448B3B6) (from thread 433) (query_id: a5f14349-c41c-4919-813a-ba6da8c85c50) (query: SELECT 1023, (((id % -9223372036854775807) = NULL) OR ((id % NULL) = 100) OR ((id % NULL) = 65537)) = ((id % inf) = 9223372036854775806), (id % NULL) = NULL, (id % 3.4028234663852886e38) = 1023, 2147483646 FROM table1__fuzz_19 ORDER BY (((id % 1048577) = 1024) % id) = 1023 DESC NULLS FIRST, id % 2147483646 ASC NULLS FIRST, ((id % 1) = 9223372036854775807) OR ((id % NULL) = 257) DESC NULLS FIRST) Received signal sanitizer trap (-3) 2023.01.12 13:15:24.709067 [ 441 ] {} <Fatal> BaseDaemon: Sanitizer trap. 2023.01.12 13:15:24.709220 [ 441 ] {} <Fatal> BaseDaemon: Stack trace: 0x29792d19 0x2a0819fa 0xc542396 0xc567853 0x298e1077 0x29c27efa 0x2a081a64 0xc542396 0xc556f33 0x42c709f4 0x42c6e0d0 0x42c67a38 0x41931b9f 0x419358c8 0x43db1fda 0x4bd7d508 0x3696346b 0x4b3f0971 0x4b46c2f8 0x4b4327fd 0x4b43862e 0x29a711ad 0x29a7f323 0x7f90a297a609 0x7f90a289f133 2023.01.12 13:15:24.829645 [ 441 ] {} <Fatal> BaseDaemon: 0.1. inlined from ./build_docker/../src/Common/StackTrace.cpp:334: StackTrace::tryCapture() 2023.01.12 13:15:24.829798 [ 441 ] {} <Fatal> BaseDaemon: 0. ./build_docker/../src/Common/StackTrace.cpp:295: StackTrace::StackTrace() @ 0x29792d19 in /workspace/clickhouse 2023.01.12 13:15:25.084645 [ 441 ] {} <Fatal> BaseDaemon: 1. ./build_docker/../src/Daemon/BaseDaemon.cpp:431: sanitizerDeathCallback() @ 0x2a0819fa in /workspace/clickhouse 2023.01.12 13:15:32.349300 [ 441 ] {} <Fatal> BaseDaemon: 2. __sanitizer::Die() @ 0xc542396 in /workspace/clickhouse 2023.01.12 13:15:39.587944 [ 441 ] {} <Fatal> BaseDaemon: 3. ? @ 0xc567853 in /workspace/clickhouse 2023.01.12 13:15:39.594859 [ 441 ] {} <Fatal> BaseDaemon: 4. ./build_docker/../src/IO/WriteBufferFromFileDescriptorDiscardOnFailure.cpp:16: DB::WriteBufferFromFileDescriptorDiscardOnFailure::nextImpl() @ 0x298e1077 in /workspace/clickhouse 2023.01.12 13:15:40.028155 [ 441 ] {} <Fatal> BaseDaemon: 5. ./build_docker/../src/IO/WriteBuffer.h:0: DB::WriteBuffer::next() @ 0x29c27efa in /workspace/clickhouse 2023.01.12 13:15:40.270738 [ 441 ] {} <Fatal> BaseDaemon: 6. ./build_docker/../src/Daemon/BaseDaemon.cpp:440: sanitizerDeathCallback() @ 0x2a081a64 in /workspace/clickhouse 2023.01.12 13:15:44.709074 [ 442 ] {} <Fatal> BaseDaemon: ######################################## 2023.01.12 13:15:44.709238 [ 442 ] {} <Fatal> BaseDaemon: (version 22.13.1.1 (official build), build id: 1986284F036CBA8610C75394630E4500E448B3B6) (from thread 433) (query_id: a5f14349-c41c-4919-813a-ba6da8c85c50) (query: SELECT 1023, (((id % -9223372036854775807) = NULL) OR ((id % NULL) = 100) OR ((id % NULL) = 65537)) = ((id % inf) = 9223372036854775806), (id % NULL) = NULL, (id % 3.4028234663852886e38) = 1023, 2147483646 FROM table1__fuzz_19 ORDER BY (((id % 1048577) = 1024) % id) = 1023 DESC NULLS FIRST, id % 2147483646 ASC NULLS FIRST, ((id % 1) = 9223372036854775807) OR ((id % NULL) = 257) DESC NULLS FIRST) Received signal Aborted (6) 2023.01.12 13:15:44.709397 [ 442 ] {} <Fatal> BaseDaemon: 2023.01.12 13:15:44.709538 [ 442 ] {} <Fatal> BaseDaemon: Stack trace: 0x7f90a27c300b 0x7f90a27a2859 0xc5445c7 0xc5423f1 0xc567853 0x298e1077 0x29c27efa 0x2a081a64 0xc542396 0xc556f33 0x42c709f4 0x42c6e0d0 0x42c67a38 0x41931b9f 0x419358c8 0x43db1fda 0x4bd7d508 0x3696346b 0x4b3f0971 0x4b46c2f8 0x4b4327fd 0x4b43862e 0x29a711ad 0x29a7f323 0x7f90a297a609 0x7f90a289f133 2023.01.12 13:15:44.709679 [ 442 ] {} <Fatal> BaseDaemon: 4. raise @ 0x7f90a27c300b in ? 2023.01.12 13:15:44.709781 [ 442 ] {} <Fatal> BaseDaemon: 5. abort @ 0x7f90a27a2859 in ? 2023.01.12 13:15:47.495775 [ 441 ] {} <Fatal> BaseDaemon: 7. __sanitizer::Die() @ 0xc542396 in /workspace/clickhouse 2023.01.12 13:15:51.934781 [ 442 ] {} <Fatal> BaseDaemon: 6. ? @ 0xc5445c7 in /workspace/clickhouse 2023.01.12 13:15:54.724764 [ 441 ] {} <Fatal> BaseDaemon: 8. ? @ 0xc556f33 in /workspace/clickhouse 2023.01.12 13:15:55.510208 [ 441 ] {} <Fatal> BaseDaemon: 9.1. inlined from ./build_docker/../src/Columns/ColumnVector.h:223: DB::ColumnVector<char8_t>::compareAt(unsigned long, unsigned long, DB::IColumn const&, int) const 2023.01.12 13:15:55.510381 [ 441 ] {} <Fatal> BaseDaemon: 9. ./build_docker/../src/Columns/ColumnUnique.h:580: COW<DB::IColumn>::mutable_ptr<DB::IColumn> DB::ColumnUnique<DB::ColumnVector<char8_t>>::uniqueInsertRangeImpl<char8_t>(DB::IColumn const&, unsigned long, unsigned long, unsigned long, DB::ColumnVector<char8_t>::MutablePtr&&, DB::ReverseIndex<unsigned long, DB::ColumnVector<char8_t>>*, unsigned long) @ 0x42c709f4 in /workspace/clickhouse 2023.01.12 13:15:56.278287 [ 441 ] {} <Fatal> BaseDaemon: 10.1. inlined from ./build_docker/../contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: ~intrusive_ptr 2023.01.12 13:15:56.278433 [ 441 ] {} <Fatal> BaseDaemon: 10. ./build_docker/../src/Columns/ColumnUnique.h:618: COW<DB::IColumn>::mutable_ptr<DB::IColumn> DB::ColumnUnique<DB::ColumnVector<char8_t>>::uniqueInsertRangeFrom(DB::IColumn const&, unsigned long, unsigned long)::'lambda'(auto)::operator()<char8_t>(auto) const @ 0x42c6e0d0 in /workspace/clickhouse 2023.01.12 13:15:57.047873 [ 441 ] {} <Fatal> BaseDaemon: 11. ./build_docker/../src/Columns/ColumnUnique.h:0: DB::ColumnUnique<DB::ColumnVector<char8_t>>::uniqueInsertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x42c67a38 in /workspace/clickhouse 2023.01.12 13:15:57.198522 [ 441 ] {} <Fatal> BaseDaemon: 12.1. inlined from ./build_docker/../contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:138: intrusive_ptr<DB::IColumn> 2023.01.12 13:15:57.198660 [ 441 ] {} <Fatal> BaseDaemon: 12.2. inlined from ./build_docker/../src/Common/COW.h:144: immutable_ptr<DB::IColumn> 2023.01.12 13:15:57.198746 [ 441 ] {} <Fatal> BaseDaemon: 12. ./build_docker/../src/Functions/IFunction.cpp:288: 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 @ 0x41931b9f in /workspace/clickhouse 2023.01.12 13:15:57.359016 [ 441 ] {} <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 @ 0x419358c8 in /workspace/clickhouse 2023.01.12 13:15:57.808603 [ 441 ] {} <Fatal> BaseDaemon: 14.1. inlined from ./build_docker/../src/Interpreters/ExpressionActions.cpp:0: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) 2023.01.12 13:15:57.808729 [ 441 ] {} <Fatal> BaseDaemon: 14. ./build_docker/../src/Interpreters/ExpressionActions.cpp:724: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x43db1fda in /workspace/clickhouse 2023.01.12 13:15:57.896243 [ 441 ] {} <Fatal> BaseDaemon: 15. ./build_docker/../src/Processors/Transforms/ExpressionTransform.cpp:25: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x4bd7d508 in /workspace/clickhouse 2023.01.12 13:15:58.086994 [ 441 ] {} <Fatal> BaseDaemon: 16.1. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/__utility/swap.h:35: std::__1::enable_if<is_move_constructible<COW<DB::IColumn>::immutable_ptr<DB::IColumn>*>::value && is_move_assignable<COW<DB::IColumn>::immutable_ptr<DB::IColumn>*>::value, void>::type std::__1::swap[abi:v15000]<COW<DB::IColumn>::immutable_ptr<DB::IColumn>*>(COW<DB::IColumn>::immutable_ptr<DB::IColumn>*&, COW<DB::IColumn>::immutable_ptr<DB::IColumn>*&) 2023.01.12 13:15:58.087153 [ 441 ] {} <Fatal> BaseDaemon: 16.2. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/vector:1950: std::__1::vector<COW<DB::IColumn>::immutable_ptr<DB::IColumn>, std::__1::allocator<COW<DB::IColumn>::immutable_ptr<DB::IColumn>>>::swap(std::__1::vector<COW<DB::IColumn>::immutable_ptr<DB::IColumn>, std::__1::allocator<COW<DB::IColumn>::immutable_ptr<DB::IColumn>>>&) 2023.01.12 13:15:58.087236 [ 441 ] {} <Fatal> BaseDaemon: 16.3. inlined from ./build_docker/../src/Processors/Chunk.h:64: DB::Chunk::swap(DB::Chunk&) 2023.01.12 13:15:58.087298 [ 441 ] {} <Fatal> BaseDaemon: 16. ./build_docker/../src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x3696346b in /workspace/clickhouse 2023.01.12 13:15:58.204666 [ 441 ] {} <Fatal> BaseDaemon: 17. ./build_docker/../src/Processors/ISimpleTransform.cpp:0: DB::ISimpleTransform::work() @ 0x4b3f0971 in /workspace/clickhouse 2023.01.12 13:15:58.247308 [ 441 ] {} <Fatal> BaseDaemon: 18.1. inlined from ./build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:0: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) 2023.01.12 13:15:58.247443 [ 441 ] {} <Fatal> BaseDaemon: 18. ./build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x4b46c2f8 in /workspace/clickhouse 2023.01.12 13:15:58.400708 [ 441 ] {} <Fatal> BaseDaemon: 19. ./build_docker/../src/Processors/Executors/PipelineExecutor.cpp:229: DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic<bool>*) @ 0x4b4327fd in /workspace/clickhouse 2023.01.12 13:15:58.578466 [ 441 ] {} <Fatal> BaseDaemon: 20.1. inlined from ./build_docker/../base/base/scope_guard.h:48: ~BasicScopeGuard 2023.01.12 13:15:58.578607 [ 441 ] {} <Fatal> BaseDaemon: 20.2. inlined from ./build_docker/../src/Processors/Executors/PipelineExecutor.cpp:328: operator() 2023.01.12 13:15:58.578725 [ 441 ] {} <Fatal> BaseDaemon: 20.3. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval<DB::PipelineExecutor::spawnThreads()::$_0&>()()) std::__1::__invoke[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&>(DB::PipelineExecutor::spawnThreads()::$_0&) 2023.01.12 13:15:58.578835 [ 441 ] {} <Fatal> BaseDaemon: 20.4. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&, std::__1::__tuple_indices<>) 2023.01.12 13:15:58.578920 [ 441 ] {} <Fatal> BaseDaemon: 20.5. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::__1::apply[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&) 2023.01.12 13:15:58.578983 [ 441 ] {} <Fatal> BaseDaemon: 20.6. inlined from ./build_docker/../src/Common/ThreadPool.h:196: operator() 2023.01.12 13:15:58.579086 [ 441 ] {} <Fatal> BaseDaemon: 20.7. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval<DB::PipelineExecutor::spawnThreads()::$_0>()()) std::__1::__invoke[abi:v15000]<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) 2023.01.12 13:15:58.579201 [ 441 ] {} <Fatal> BaseDaemon: 20.8. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:479: void std::__1::__invoke_void_return_wrapper<void, true>::__call<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) 2023.01.12 13:15:58.579308 [ 441 ] {} <Fatal> BaseDaemon: 20.9. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() 2023.01.12 13:15:58.579385 [ 441 ] {} <Fatal> BaseDaemon: 20. ./build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__1::__function::__policy_storage const*) @ 0x4b43862e in /workspace/clickhouse 2023.01.12 13:15:58.700918 [ 441 ] {} <Fatal> BaseDaemon: 21. ./build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:0: ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) @ 0x29a711ad in /workspace/clickhouse 2023.01.12 13:15:58.852807 [ 441 ] {} <Fatal> BaseDaemon: 22. ./build_docker/../src/Common/ThreadPool.cpp:0: void* std::__1::__thread_proxy[abi:v15000]<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 ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>>(void*) @ 0x29a7f323 in /workspace/clickhouse 2023.01.12 13:15:58.852966 [ 441 ] {} <Fatal> BaseDaemon: 23. ? @ 0x7f90a297a609 in ? 2023.01.12 13:15:58.853049 [ 441 ] {} <Fatal> BaseDaemon: 24. clone @ 0x7f90a289f133 in ? 2023.01.12 13:15:59.168656 [ 442 ] {} <Fatal> BaseDaemon: 7. ? @ 0xc5423f1 in /workspace/clickhouse 2023.01.12 13:16:01.716745 [ 441 ] {} <Fatal> BaseDaemon: Integrity check of the executable successfully passed (checksum: 43E372198D1661DBC247D5A1D3EDA53D) 2023.01.12 13:16:36.249661 [ 151 ] {} <Fatal> Application: Child process was terminated by signal 6.
The text was updated successfully, but these errors were encountered:
Add a test for #45214
3b43378
Duplicate of #46855
Sorry, something went wrong.
Merge pull request #46850 from ClickHouse/add-test-45214
c4bf503
Successfully merging a pull request may close this issue.
https://s3.amazonaws.com/clickhouse-test-reports/0/3f3ce06832b7f5907e628b70ace02ea0e7c21567/fuzzer_astfuzzermsan/report.html
The text was updated successfully, but these errors were encountered: