Skip to content

Logical error: not_processed should be empty #58319

@qoega

Description

@qoega

https://s3.amazonaws.com/clickhouse-test-reports/58244/d2f3c6dc72d82e755e683588a7be966819fb960a/stress_test__ubsan_.html

[ 9947 ] {} <Fatal> BaseDaemon: Stack trace: 0x00007f423c9419fc 0x00007f423c8ed476 0x00007f423c8d37f3 0x00005569defa7928 0x00005569defa8715 0x00005569d2d83fae 0x00005569eb75f5d1 0x00005569ee53ff54 0x00005569ee53ea07 0x00005569ee53d6b5 0x00005569edf46910 0x00005569edf3673b 0x00005569edf37763 0x00005
 [ 9947 ] {} <Fatal> BaseDaemon: 3. ? @ 0x00007f423c9419fc in ?
 [ 9947 ] {} <Fatal> BaseDaemon: 4. ? @ 0x00007f423c8ed476 in ?
 [ 9947 ] {} <Fatal> BaseDaemon: 5. ? @ 0x00007f423c8d37f3 in ?
 [ 9947 ] {} <Fatal> BaseDaemon: 6. ./build_docker/./src/Common/Exception.cpp:43: DB::abortOnFailedAssertion(String const&) @ 0x0000000023524928 in /usr/bin/clickhouse
 [ 9947 ] {} <Fatal> BaseDaemon: 7.1. inlined from ./build_docker/./src/Common/Exception.cpp:63: DB::handle_error_code(String const&, int, bool, std::vector<void*, std::allocator<void*>> const&)
 [ 9947 ] {} <Fatal> BaseDaemon: 7. ./build_docker/./src/Common/Exception.cpp:100: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x0000000023525715 in /usr/bin/clickhouse
 [ 9947 ] {} <Fatal> BaseDaemon: 8. DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x0000000017300fae in /usr/bin/clickhouse
 [ 9947 ] {} <Fatal> BaseDaemon: 9. ./build_docker/./src/Interpreters/ConcurrentHashJoin.cpp:108: DB::ConcurrentHashJoin::joinBlock(DB::Block&, std::shared_ptr<DB::ExtraBlock>&) @ 0x000000002fcdc5d1 in /usr/bin/clickhouse
 [ 9947 ] {} <Fatal> BaseDaemon: 10. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:223: DB::JoiningTransform::readExecute(DB::Chunk&) @ 0x0000000032abcf54 in /usr/bin/clickhouse
 [ 9947 ] {} <Fatal> BaseDaemon: 11.1. inlined from ./contrib/llvm-project/libcxx/include/vector:951: std::vector<DB::ColumnWithTypeAndName, std::allocator<DB::ColumnWithTypeAndName>>::__vdeallocate()
 [ 9947 ] {} <Fatal> BaseDaemon: 11.2. inlined from ./contrib/llvm-project/libcxx/include/vector:1314: std::vector<DB::ColumnWithTypeAndName, std::allocator<DB::ColumnWithTypeAndName>>::__move_assign(std::vector<DB::ColumnWithTypeAndName, std::allocator<DB::ColumnWithTypeAndName>>&, std::integral_co
 [ 9947 ] {} <Fatal> BaseDaemon: 11.3. inlined from ./contrib/llvm-project/libcxx/include/vector:1288: std::vector<DB::ColumnWithTypeAndName, std::allocator<DB::ColumnWithTypeAndName>>::operator=[abi:v15000](std::vector<DB::ColumnWithTypeAndName, std::allocator<DB::ColumnWithTypeAndName>>&&)
 [ 9947 ] {} <Fatal> BaseDaemon: 11.4. inlined from ./src/Core/Block.h:25: DB::Block::operator=(DB::Block&&)
 [ 9947 ] {} <Fatal> BaseDaemon: 11. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:191: DB::JoiningTransform::transform(DB::Chunk&) @ 0x0000000032abba07 in /usr/bin/clickhouse
 [ 9947 ] {} <Fatal> BaseDaemon: 12. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:126: DB::JoiningTransform::work() @ 0x0000000032aba6b5 in /usr/bin/clickhouse
 [ 9947 ] {} <Fatal> BaseDaemon: 13.1. inlined from ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:50: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*)
 [ 9947 ] {} <Fatal> BaseDaemon: 13. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x00000000324c3910 in /usr/bin/clickhouse
 [ 9947 ] {} <Fatal> BaseDaemon: 14.1. inlined from ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic<bool>*)
 [ 9947 ] {} <Fatal> BaseDaemon: 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x00000000324b373b in /usr/bin/clickhouse
 [ 9947 ] {} <Fatal> BaseDaemon: 15.1. inlined from ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:833: std::shared_ptr<DB::ThreadGroup>::operator bool[abi:v15000]() const
 [ 9947 ] {} <Fatal> BaseDaemon: 15.2. inlined from ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:362: operator()
 [ 9947 ] {} <Fatal> BaseDaemon: 15.3. inlined from ./base/base/../base/scope_guard.h:99: BasicScopeGuard<DB::PipelineExecutor::spawnThreads()::$_0::operator()() const::\'lambda\'()>::invoke()
 [ 9947 ] {} <Fatal> BaseDaemon: 15.4. inlined from ./base/base/../base/scope_guard.h:48: ~BasicScopeGuard
 [ 9947 ] {} <Fatal> BaseDaemon: 15.5. inlined from ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:381: operator()
 [ 9947 ] {} <Fatal> BaseDaemon: 15.6. inlined from ./contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ?
 [ 9947 ] {} <Fatal> BaseDaemon: 15.7. inlined from ./contrib/llvm-project/libcxx/include/__functional/invoke.h:479: ?
 [ 9947 ] {} <Fatal> BaseDaemon: 15.8. inlined from ./contrib/llvm-project/libcxx/include/__functional/function.h:235: ?
 [ 9947 ] {} <Fatal> BaseDaemon: 15. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000324b4763 in /usr/bin/clickhouse
 [ 9947 ] {} <Fatal> BaseDaemon: 16.1. inlined from ./base/base/../base/wide_integer_impl.h:809: bool wide::integer<128ul, unsigned int>::_impl::operator_eq<wide::integer<128ul, unsigned int>>(wide::integer<128ul, unsigned int> const&, wide::integer<128ul, unsigned int> const&)
 [ 9947 ] {} <Fatal> BaseDaemon: 16.2. inlined from ./base/base/../base/wide_integer_impl.h:1482: bool wide::operator==<128ul, unsigned int, 128ul, unsigned int>(wide::integer<128ul, unsigned int> const&, wide::integer<128ul, unsigned int> const&)
 [ 9947 ] {} <Fatal> BaseDaemon: 16.3. inlined from ./base/base/../base/strong_typedef.h:42: StrongTypedef<wide::integer<128ul, unsigned int>, DB::UUIDTag>::operator==(StrongTypedef<wide::integer<128ul, unsigned int>, DB::UUIDTag> const&) const
 [ 9947 ] {} <Fatal> BaseDaemon: 16.4. inlined from ./src/Common/OpenTelemetryTraceContext.h:65: DB::OpenTelemetry::Span::isTraceEnabled() const
 [ 9947 ] {} <Fatal> BaseDaemon: 16. ./build_docker/./src/Common/ThreadPool.cpp:457: ThreadPoolImpl<ThreadFromGlobalPoolImpl<false>>::worker(std::__list_iterator<ThreadFromGlobalPoolImpl<false>, void*>) @ 0x000000002368d4bb in /usr/bin/clickhouse
 [ 9947 ] {} <Fatal> BaseDaemon: 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl<false>::ThreadFromGlobalPoolImpl<void ThreadPoolImpl<ThreadFromGlobalPoolImpl<false>>::scheduleImpl<void>(std::function<void ()>, Priority, std::optional<unsigned long>, bool)::\'lambda0\'()>(vo
 [ 9947 ] {} <Fatal> BaseDaemon: 18.1. inlined from ./base/base/../base/wide_integer_impl.h:809: bool wide::integer<128ul, unsigned int>::_impl::operator_eq<wide::integer<128ul, unsigned int>>(wide::integer<128ul, unsigned int> const&, wide::integer<128ul, unsigned int> const&)
 [ 9947 ] {} <Fatal> BaseDaemon: 18.2. inlined from ./base/base/../base/wide_integer_impl.h:1482: bool wide::operator==<128ul, unsigned int, 128ul, unsigned int>(wide::integer<128ul, unsigned int> const&, wide::integer<128ul, unsigned int> const&)
 [ 9947 ] {} <Fatal> BaseDaemon: 18.3. inlined from ./base/base/../base/strong_typedef.h:42: StrongTypedef<wide::integer<128ul, unsigned int>, DB::UUIDTag>::operator==(StrongTypedef<wide::integer<128ul, unsigned int>, DB::UUIDTag> const&) const
 [ 9947 ] {} <Fatal> BaseDaemon: 18.4. inlined from ./src/Common/OpenTelemetryTraceContext.h:65: DB::OpenTelemetry::Span::isTraceEnabled() const
 [ 9947 ] {} <Fatal> BaseDaemon: 18. ./build_docker/./src/Common/ThreadPool.cpp:457: ThreadPoolImpl<std::thread>::worker(std::__list_iterator<std::thread, void*>) @ 0x000000002368ab1b in /usr/bin/clickhouse
 [ 9947 ] {} <Fatal> BaseDaemon: 19.1. inlined from ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: std::unique_ptr<std::__thread_struct, std::default_delete<std::__thread_struct>>::reset[abi:v15000](std::__thread_struct*)
 [ 9947 ] {} <Fatal> BaseDaemon: 19.2. inlined from ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259: ~unique_ptr
 [ 9947 ] {} <Fatal> BaseDaemon: 19.3. inlined from ./contrib/llvm-project/libcxx/include/tuple:265: ~__tuple_leaf
 [ 9947 ] {} <Fatal> BaseDaemon: 19.4. inlined from ./contrib/llvm-project/libcxx/include/tuple:538: ~tuple
 [ 9947 ] {} <Fatal> BaseDaemon: 19.5. inlined from ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: std::default_delete<std::tuple<std::unique_ptr<std::__thread_struct, std::default_delete<std::__thread_struct>>, void ThreadPoolImpl<std::thread>::scheduleImpl<void>(std::function<void
 [ 9947 ] {} <Fatal> BaseDaemon: 19.6. inlined from ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305: std::unique_ptr<std::tuple<std::unique_ptr<std::__thread_struct, std::default_delete<std::__thread_struct>>, void ThreadPoolImpl<std::thread>::scheduleImpl<void>(std::function<void ()
 [ 9947 ] {} <Fatal> BaseDaemon: 19.7. inlined from ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259: ~unique_ptr
 [ 9947 ] {} <Fatal> BaseDaemon: 19. ./contrib/llvm-project/libcxx/include/thread:297: void* std::__thread_proxy[abi:v15000]<std::tuple<std::unique_ptr<std::__thread_struct, std::default_delete<std::__thread_struct>>, void ThreadPoolImpl<std::thread>::scheduleImpl<void>(std::function<void ()>, Prior
 [ 9947 ] {} <Fatal> BaseDaemon: 20. ? @ 0x00007f423c93fac3 in ?
 [ 9947 ] {} <Fatal> BaseDaemon: 21. ? @ 0x00007f423c9d1a40 in ?

Metadata

Metadata

Assignees

Labels

fuzzProblem found by one of the fuzzers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions