Skip to content

Instantly share code, notes, and snippets.

@abyss7
Created August 11, 2020 10:58
Show Gist options
  • Save abyss7/e8dcc7f3ce7e1cc335f5f04507b9661a to your computer and use it in GitHub Desktop.
Save abyss7/e8dcc7f3ce7e1cc335f5f04507b9661a to your computer and use it in GitHub Desktop.
Stress-test failure stacktrace
==321==ERROR: AddressSanitizer: heap-use-after-free on address 0x60600521c1e8 at pc 0x00001c82ebe5 bp 0x7ffcdd954f00 sp 0x7ffcdd954ef8
READ of size 8 at 0x60600521c1e8 thread T0
#0 0x1c82ebe4 in std::__1::__tree_end_node<std::__1::__tree_node_base<void*>*>* std::__1::__tree_next_iter<std::__1::__tree_end_node<std::__1::__tree_node_base<void*>*>*, std::__1::__tree_node_base<void*>*>(std::__1::__tree_node_base<void*>*) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/__tree:182:14
#1 0x1c82ebe4 in std::__1::__tree_iterator<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, std::__1::__tree_node<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, void*>*, long>::operator++() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/__tree:848:11
#2 0x1c82ebe4 in std::__1::__tree<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, std::__1::__map_value_compare<Poco::Timestamp, std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, std::__1::less<Poco::Timestamp>, true>, std::__1::allocator<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> > > >::__remove_node_pointer(std::__1::__tree_node<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, void*>*) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/__tree:2347:5
#3 0x1c82ebe4 in std::__1::__tree<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, std::__1::__map_value_compare<Poco::Timestamp, std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, std::__1::less<Poco::Timestamp>, true>, std::__1::allocator<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> > > >::erase(std::__1::__tree_const_iterator<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, std::__1::__tree_node<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, void*>*, long>) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/__tree:2520:20
#4 0x1c826385 in std::__1::multimap<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo>, std::__1::less<Poco::Timestamp>, std::__1::allocator<std::__1::pair<Poco::Timestamp const, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> > > >::erase(std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, std::__1::__tree_node<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, void*>*, long> >) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/map:1963:56
#5 0x1c826385 in DB::BackgroundSchedulePool::cancelDelayedTask(std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> const&, std::__1::lock_guard<std::__1::mutex>&) /build/obj-x86_64-linux-gnu/../src/Core/BackgroundSchedulePool.cpp:221:23
#6 0x1c826385 in DB::BackgroundSchedulePoolTaskInfo::deactivate() /build/obj-x86_64-linux-gnu/../src/Core/BackgroundSchedulePool.cpp:69:14
#7 0x1c81f637 in DB::BackgroundSchedulePoolTaskHolder::~BackgroundSchedulePoolTaskHolder() /build/obj-x86_64-linux-gnu/../src/Core/BackgroundSchedulePool.h:162:24
#8 0x1c81f637 in DB::DiskLocalCheckThread::~DiskLocalCheckThread() /build/obj-x86_64-linux-gnu/../src/Disks/DiskLocalCheckThread.h:12:7
#9 0x1c81f637 in std::__1::default_delete<DB::DiskLocalCheckThread>::operator()(DB::DiskLocalCheckThread*) const /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:2363:5
#10 0x1c840c0c in std::__1::unique_ptr<DB::DiskLocalCheckThread, std::__1::default_delete<DB::DiskLocalCheckThread> >::reset(DB::DiskLocalCheckThread*) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:2618:7
#11 0x1c840c0c in std::__1::unique_ptr<DB::DiskLocalCheckThread, std::__1::default_delete<DB::DiskLocalCheckThread> >::~unique_ptr() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:2572:19
#12 0x1c840c0c in DB::DiskLocal::~DiskLocal() /build/obj-x86_64-linux-gnu/../src/Disks/DiskLocal.h:17:7
#13 0x1c818105 in std::__1::__shared_count::__release_shared() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:3440:9
#14 0x1c818105 in std::__1::__shared_weak_count::__release_shared() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:3482:27
#15 0x1c818105 in std::__1::shared_ptr<DB::IDisk>::~shared_ptr() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:4207:19
#16 0x1c818105 in std::__1::allocator<std::__1::shared_ptr<DB::IDisk> >::destroy(std::__1::shared_ptr<DB::IDisk>*) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:1931:64
#17 0x1c818105 in void std::__1::allocator_traits<std::__1::allocator<std::__1::shared_ptr<DB::IDisk> > >::__destroy<std::__1::shared_ptr<DB::IDisk> >(std::__1::integral_constant<bool, true>, std::__1::allocator<std::__1::shared_ptr<DB::IDisk> >&, std::__1::shared_ptr<DB::IDisk>*) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:1793:18
#18 0x1c818105 in void std::__1::allocator_traits<std::__1::allocator<std::__1::shared_ptr<DB::IDisk> > >::destroy<std::__1::shared_ptr<DB::IDisk> >(std::__1::allocator<std::__1::shared_ptr<DB::IDisk> >&, std::__1::shared_ptr<DB::IDisk>*) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:1630:14
#19 0x1c818105 in std::__1::__vector_base<std::__1::shared_ptr<DB::IDisk>, std::__1::allocator<std::__1::shared_ptr<DB::IDisk> > >::__destruct_at_end(std::__1::shared_ptr<DB::IDisk>*) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/vector:426:9
#20 0x1c818105 in std::__1::__vector_base<std::__1::shared_ptr<DB::IDisk>, std::__1::allocator<std::__1::shared_ptr<DB::IDisk> > >::clear() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/vector:369:29
#21 0x1c818105 in std::__1::__vector_base<std::__1::shared_ptr<DB::IDisk>, std::__1::allocator<std::__1::shared_ptr<DB::IDisk> > >::~__vector_base() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/vector:463:9
#22 0x1c818105 in std::__1::vector<std::__1::shared_ptr<DB::IDisk>, std::__1::allocator<std::__1::shared_ptr<DB::IDisk> > >::~vector() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/vector:555:5
#23 0x1c818d75 in DB::IVolume::~IVolume() /build/obj-x86_64-linux-gnu/../src/Disks/IVolume.h:36:7
#24 0x1c95a487 in std::__1::__shared_count::__release_shared() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:3440:9
#25 0x1c95a487 in std::__1::__shared_weak_count::__release_shared() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:3482:27
#26 0x1c95a487 in std::__1::shared_ptr<DB::IVolume>::~shared_ptr() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:4207:19
#27 0x1c95a487 in DB::ContextShared::~ContextShared() /build/obj-x86_64-linux-gnu/../src/Interpreters/Context.cpp:408:5
#28 0x1c911f05 in std::__1::default_delete<DB::ContextShared>::operator()(DB::ContextShared*) const /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:2363:5
#29 0x1c911f05 in std::__1::unique_ptr<DB::ContextShared, std::__1::default_delete<DB::ContextShared> >::reset(DB::ContextShared*) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:2618:7
#30 0x1c911f05 in DB::SharedContextHolder::reset() /build/obj-x86_64-linux-gnu/../src/Interpreters/Context.cpp:476:44
#31 0xc424c4c in DB::Server::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&)::$_12::operator()() const /build/obj-x86_64-linux-gnu/../programs/server/Server.cpp:390:5
#32 0xc424c4c in ext::basic_scope_guard<DB::Server::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&)::$_12>::invoke() /build/obj-x86_64-linux-gnu/../base/common/../ext/scope_guard.h:97:9
#33 0xc424c4c in ext::basic_scope_guard<DB::Server::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&)::$_12>::~basic_scope_guard() /build/obj-x86_64-linux-gnu/../base/common/../ext/scope_guard.h:47:28
#34 0xc406057 in DB::Server::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) /build/obj-x86_64-linux-gnu/../programs/server/Server.cpp:1182:1
#35 0x24ca11c3 in Poco::Util::Application::run() /build/obj-x86_64-linux-gnu/../contrib/poco/Util/src/Application.cpp:334:8
#36 0xc3d655d in DB::Server::run() /build/obj-x86_64-linux-gnu/../programs/server/Server.cpp:195:25
#37 0xc425c1b in mainEntryClickHouseServer(int, char**) /build/obj-x86_64-linux-gnu/../programs/server/Server.cpp:1193:20
#38 0xc3ba707 in main /build/obj-x86_64-linux-gnu/../programs/main.cpp:324:12
#39 0x7f8cd2bd01e2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x271e2)
#40 0xc30f02d in _start (/usr/bin/clickhouse+0xc30f02d)
0x60600521c1e8 is located 8 bytes inside of 56-byte region [0x60600521c1e0,0x60600521c218)
freed by thread T0 here:
#0 0xc3b7b62 in operator delete(void*, unsigned long) (/usr/bin/clickhouse+0xc3b7b62)
#1 0x1c82a068 in std::__1::__tree<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, std::__1::__map_value_compare<Poco::Timestamp, std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, std::__1::less<Poco::Timestamp>, true>, std::__1::allocator<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> > > >::~__tree() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/__tree:1824:3
#2 0x1c82a068 in std::__1::multimap<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo>, std::__1::less<Poco::Timestamp>, std::__1::allocator<std::__1::pair<Poco::Timestamp const, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> > > >::~multimap() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/map:1858:5
#3 0x1c82a068 in DB::BackgroundSchedulePool::~BackgroundSchedulePool() /build/obj-x86_64-linux-gnu/../src/Core/BackgroundSchedulePool.cpp:190:1
#4 0x1c946f9e in std::__1::__optional_destruct_base<DB::BackgroundSchedulePool, false>::reset() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/optional:244:21
#5 0x1c946f9e in DB::ContextShared::shutdown() /build/obj-x86_64-linux-gnu/../src/Interpreters/Context.cpp:442:23
#6 0xc42470e in DB::Server::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&)::$_12::operator()() const /build/obj-x86_64-linux-gnu/../programs/server/Server.cpp:390:5
#7 0xc42470e in ext::basic_scope_guard<DB::Server::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&)::$_12>::invoke() /build/obj-x86_64-linux-gnu/../base/common/../ext/scope_guard.h:97:9
#8 0xc42470e in ext::basic_scope_guard<DB::Server::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&)::$_12>::~basic_scope_guard() /build/obj-x86_64-linux-gnu/../base/common/../ext/scope_guard.h:47:28
#9 0xc406057 in DB::Server::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) /build/obj-x86_64-linux-gnu/../programs/server/Server.cpp:1182:1
#10 0x24ca11c3 in Poco::Util::Application::run() /build/obj-x86_64-linux-gnu/../contrib/poco/Util/src/Application.cpp:334:8
#11 0xc3d655d in DB::Server::run() /build/obj-x86_64-linux-gnu/../programs/server/Server.cpp:195:25
#12 0xc425c1b in mainEntryClickHouseServer(int, char**) /build/obj-x86_64-linux-gnu/../programs/server/Server.cpp:1193:20
#13 0xc3ba707 in main /build/obj-x86_64-linux-gnu/../programs/main.cpp:324:12
#14 0x7f8cd2bd01e2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x271e2)
previously allocated by thread T14 (BgSchPool) here:
#0 0xc3b6efd in operator new(unsigned long) (/usr/bin/clickhouse+0xc3b6efd)
#1 0x1c82ec50 in std::__1::__libcpp_allocate(unsigned long, unsigned long) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/new:253:10
#2 0x1c82ec50 in std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, void*> >::allocate(unsigned long, void const*) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:1864:37
#3 0x1c82ec50 in std::__1::allocator_traits<std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, void*> > >::allocate(std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, void*> >&, unsigned long) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:1581:21
#4 0x1c82ec50 in std::__1::unique_ptr<std::__1::__tree_node<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, void*>, std::__1::__tree_node_destructor<std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, void*> > > > std::__1::__tree<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, std::__1::__map_value_compare<Poco::Timestamp, std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, std::__1::less<Poco::Timestamp>, true>, std::__1::allocator<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> > > >::__construct_node<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> const&>(Poco::Timestamp&&, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> const&) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/__tree:2193:23
#5 0x1c82ec50 in std::__1::__tree_iterator<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, std::__1::__tree_node<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, void*>*, long> std::__1::__tree<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, std::__1::__map_value_compare<Poco::Timestamp, std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, std::__1::less<Poco::Timestamp>, true>, std::__1::allocator<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> > > >::__emplace_multi<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> const&>(Poco::Timestamp&&, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> const&) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/__tree:2242:25
#6 0x1c826027 in std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, std::__1::__tree_node<std::__1::__value_type<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> >, void*>*, long> > std::__1::multimap<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo>, std::__1::less<Poco::Timestamp>, std::__1::allocator<std::__1::pair<Poco::Timestamp const, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> > > >::emplace<Poco::Timestamp, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> const&>(Poco::Timestamp&&, std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> const&) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/map:1909:24
#7 0x1c826027 in DB::BackgroundSchedulePool::scheduleDelayedTask(std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo> const&, unsigned long, std::__1::lock_guard<std::__1::mutex>&) /build/obj-x86_64-linux-gnu/../src/Core/BackgroundSchedulePool.cpp:209:40
#8 0x1c825c7d in DB::BackgroundSchedulePoolTaskInfo::scheduleAfter(unsigned long, bool) /build/obj-x86_64-linux-gnu/../src/Core/BackgroundSchedulePool.cpp:53:10
#9 0x1c846d87 in DB::DiskLocalCheckThread::run() /build/obj-x86_64-linux-gnu/../src/Disks/DiskLocalCheckThread.cpp
#10 0x1c826bc4 in std::__1::__function::__value_func<void ()>::operator()() const /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:1867:16
#11 0x1c826bc4 in std::__1::function<void ()>::operator()() const /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:2473:12
#12 0x1c826bc4 in DB::BackgroundSchedulePoolTaskInfo::execute() /build/obj-x86_64-linux-gnu/../src/Core/BackgroundSchedulePool.cpp:107:5
#13 0x1c82b21f in DB::TaskNotification::execute() /build/obj-x86_64-linux-gnu/../src/Core/BackgroundSchedulePool.cpp:20:28
#14 0x1c82b21f in DB::BackgroundSchedulePool::threadFunction() /build/obj-x86_64-linux-gnu/../src/Core/BackgroundSchedulePool.cpp:260:31
#15 0x1c82ccc4 in DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1::operator()() const /build/obj-x86_64-linux-gnu/../src/Core/BackgroundSchedulePool.cpp:163:48
#16 0x1c82ccc4 in decltype(std::__1::forward<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1 const&>(fp)()) std::__1::__invoke_constexpr<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1 const&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1 const&) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/type_traits:3525:1
#17 0x1c82ccc4 in decltype(auto) std::__1::__apply_tuple_impl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1 const&, std::__1::tuple<> const&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1 const&, std::__1::tuple<> const&, std::__1::__tuple_indices<>) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/tuple:1415:1
#18 0x1c82ccc4 in decltype(auto) std::__1::apply<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1 const&, std::__1::tuple<> const&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1 const&, std::__1::tuple<> const&) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/tuple:1424:1
#19 0x1c82ccc4 in ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1&&)::'lambda'()::operator()() const /build/obj-x86_64-linux-gnu/../src/Common/ThreadPool.h:171:17
#20 0x1c82ccc4 in decltype(std::__1::forward<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1>(fp)()) std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1&&)::'lambda'()&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1&&) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/type_traits:3519:1
#21 0x1c82ccc4 in void std::__1::__invoke_void_return_wrapper<void>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1&&)::'lambda'()&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1&&...) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/__functional_base:348:9
#22 0x1c82ccc4 in std::__1::__function::__alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1&&)::'lambda'(), std::__1::allocator<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1&&)::'lambda'()>, void ()>::operator()() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:1540:16
#23 0x1c82ccc4 in std::__1::__function::__func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1&&)::'lambda'(), std::__1::allocator<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, unsigned long, char const*)::$_1&&)::'lambda'()>, void ()>::operator()() /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:1714:12
#24 0xc545ca3 in std::__1::__function::__value_func<void ()>::operator()() const /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:1867:16
#25 0xc545ca3 in std::__1::function<void ()>::operator()() const /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:2473:12
#26 0xc545ca3 in ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) /build/obj-x86_64-linux-gnu/../src/Common/ThreadPool.cpp:235:17
#27 0xc54dbf7 in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda1'()::operator()() const /build/obj-x86_64-linux-gnu/../src/Common/ThreadPool.cpp:116:73
#28 0xc54dbf7 in decltype(std::__1::forward<void>(fp)(std::__1::forward<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda1'()>(fp0)...)) std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda1'()>(void&&, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda1'()&&...) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/type_traits:3519:1
#29 0xc54dbf7 in void std::__1::__thread_execute<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 ()>, int, std::__1::optional<unsigned long>)::'lambda1'()>(std::__1::tuple<void, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda1'()>&, std::__1::__tuple_indices<>) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/thread:273:5
#30 0xc54dbf7 in void* std::__1::__thread_proxy<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 ()>, int, std::__1::optional<unsigned long>)::'lambda1'()> >(void*) /build/obj-x86_64-linux-gnu/../contrib/libcxx/include/thread:284:5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment