Skip to content

Segmentation fault (STID: 2468-4b95) #97495

@nikitamikhaylov

Description

@nikitamikhaylov

Important: This issue was automatically generated and is used by CI for matching failures. DO NOT modify the body content. DO NOT remove labels.

Test name: Segmentation fault (STID: 2468-4b95)
CI report: Stress test (amd_debug)
Failing test history: cidb

Test output:

Error:
Segmentation fault
---

Stack trace:
/ClickHouse/src/Common/ZooKeeper/ZooKeeper.cpp:1427:18: zkutil::ZooKeeper::expired() @ 0x0000000020955804
/ClickHouse/src/Common/ZooKeeper/ZooKeeper.h:787:28: zkutil::EphemeralNodeHolder::~EphemeralNodeHolder() @ 0x000000001a633732
inlined from /ClickHouse/contrib/llvm-project/libcxx/include/__memory/shared_count.h:92: std::__shared_count::__release_shared[abi:se210105]()
inlined from /ClickHouse/contrib/llvm-project/libcxx/include/__memory/shared_count.h:121: std::__shared_weak_count::__release_shared[abi:se210105]()
inlined from /ClickHouse/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:561: ~shared_ptr
inlined from /ClickHouse/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:576: std::shared_ptr<zkutil::EphemeralNodeHolder>::operator=[abi:se210105](std::shared_ptr<zkutil::EphemeralNodeHolder>&&)
inlined from /ClickHouse/src/Storages/Kafka/StorageKafka2.cpp:280: operator()
/ClickHouse/src/Storages/Kafka/StorageKafka2.cpp:302:7: DB::StorageKafka2::activate() @ 0x000000001a6aea2e
/ClickHouse/src/Storages/Kafka/StorageKafka2.cpp:336:34: DB::StorageKafka2::activateAndReschedule() @ 0x000000001a6b0b4d
inlined from /ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:508: ?
inlined from /ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:772: ?
/ClickHouse/src/Core/BackgroundSchedulePool.cpp:149:12: DB::BackgroundSchedulePoolTaskInfo::execute(DB::BackgroundSchedulePool&) @ 0x000000001af65917
/ClickHouse/src/Core/BackgroundSchedulePool.cpp:492:36: DB::BackgroundSchedulePool::threadFunction() @ 0x000000001af6a5c3
inlined from /ClickHouse/src/Core/BackgroundSchedulePool.cpp:286: operator()
inlined from /ClickHouse/contrib/llvm-project/libcxx/include/__type_traits/invoke.h:87: std::__invoke_result_impl<void, DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, DB::ThreadName)::$_1&>::type std::__invoke[abi:se210105]<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, DB::ThreadName)::$_1&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, DB::ThreadName)::$_1&)
inlined from /ClickHouse/contrib/llvm-project/libcxx/include/tuple:1380: decltype(auto) std::__apply_tuple_impl[abi:se210105]<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, DB::ThreadName)::$_1&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, DB::ThreadName)::$_1&, std::tuple<>&, std::__tuple_indices<...>)
inlined from /ClickHouse/contrib/llvm-project/libcxx/include/tuple:1384: decltype(auto) std::apply[abi:se210105]<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, DB::ThreadName)::$_1&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, DB::ThreadName)::$_1&, std::tuple<>&)
inlined from /ClickHouse/src/Common/ThreadPool.h:312: operator()
inlined from /ClickHouse/contrib/llvm-project/libcxx/include/__type_traits/invoke.h:87: std::__invoke_result_impl<void, ThreadFromGlobalPoolImpl<false, true>::ThreadFromGlobalPoolImpl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, DB::ThreadName)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, DB::ThreadName)::$_1&&)::'lambda'()&>::type std::__invoke[abi:se210105]<ThreadFromGlobalPoolImpl<false, true>::ThreadFromGlobalPoolImpl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, DB::ThreadName)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, DB::ThreadName)::$_1&&)::'lambda'()&>(ThreadFromGlobalPoolImpl<false, true>::ThreadFromGlobalPoolImpl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, DB::ThreadName)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, DB::ThreadName)::$_1&&)::'lambda'()&)
inlined from /ClickHouse/contrib/llvm-project/libcxx/include/__type_traits/invoke.h:342: void std::__invoke_void_return_wrapper<void, true>::__call[abi:se210105]<ThreadFromGlobalPoolImpl<false, true>::ThreadFromGlobalPoolImpl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, DB::ThreadName)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, DB::ThreadName)::$_1&&)::'lambda'()&>(ThreadFromGlobalPoolImpl<false, true>::ThreadFromGlobalPoolImpl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, DB::ThreadName)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, DB::ThreadName)::$_1&&)::'lambda'()&)
inlined from /ClickHouse/contrib/llvm-project/libcxx/include/__type_traits/invoke.h:348: DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, DB::ThreadName)::$_1 std::__invoke_r[abi:se210105]<void, ThreadFromGlobalPoolImpl<false, true>::ThreadFromGlobalPoolImpl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, DB::ThreadName)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, DB::ThreadName)::$_1&&)::'lambda'()&>()
/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:450:79: ? @ 0x000000001af6be8a
inlined from /ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:508: ?
inlined from /ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:772: ?
/ClickHouse/src/Common/ThreadPool.cpp:811:12: ThreadPoolImpl<std::thread>::ThreadFromThreadPool::worker() @ 0x0000000016248e43
inlined from /ClickHouse/contrib/llvm-project/libcxx/include/__type_traits/invoke.h:0: std::__invoke_result_impl<void, void (ThreadPoolImpl<std::thread>::ThreadFromThreadPool::*)(), ThreadPoolImpl<std::thread>::ThreadFromThreadPool*>::type std::__invoke[abi:se210105]<void (ThreadPoolImpl<std::thread>::ThreadFromThreadPool::*)(), ThreadPoolImpl<std::thread>::ThreadFromThreadPool*>(void (ThreadPoolImpl<std::thread>::ThreadFromThreadPool::*&&)(), ThreadPoolImpl<std::thread>::ThreadFromThreadPool*&&)
inlined from /ClickHouse/contrib/llvm-project/libcxx/include/__thread/thread.h:159: void std::__thread_execute[abi:se210105]<std::unique_ptr<std::__thread_struct, std::default_delete<std::__thread_struct>>, void (ThreadPoolImpl<std::thread>::ThreadFromThreadPool::*)(), ThreadPoolImpl<std::thread>::ThreadFromThreadPool*, 2ul>(std::tuple<std::unique_ptr<std::__thread_struct, std::default_delete<std::__thread_struct>>, void (ThreadPoolImpl<std::thread>::ThreadFromThreadPool::*)(), ThreadPoolImpl<std::thread>::ThreadFromThreadPool*>&, std::__tuple_indices<2ul>)
/ClickHouse/contrib/llvm-project/libcxx/include/__thread/thread.h:168: void* std::__thread_proxy[abi:se210105]<std::tuple<std::unique_ptr<std::__thread_struct, std::default_delete<std::__thread_struct>>, void (ThreadPoolImpl<std::thread>::ThreadFromThreadPool::*)(), ThreadPoolImpl<std::thread>::ThreadFromThreadPool*>>(void*) @ 0x000000001624fc8e
start_thread @ 0x0000000000094ac3
__GI___clone3 @ 0x00000000001268c0

Metadata

Metadata

Assignees

Labels

fuzzProblem found by one of the fuzzerstestingSpecial issue with list of bugs found by CI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions