Skip to content
New issue

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

arm64 is not supported #19703

Closed
lurenjia528 opened this issue Jan 27, 2021 · 9 comments · Fixed by #25854
Closed

arm64 is not supported #19703

lurenjia528 opened this issue Jan 27, 2021 · 9 comments · Fixed by #25854
Assignees
Labels
comp-aarch64 arm / aarch platform specific st-accepted The issue is in our backlog, ready to take unfinished code

Comments

@lurenjia528
Copy link

offical build on arm64,run failed

root@Kylin:/home# ./clickhouse server
Processing configuration file 'config.xml'.
There is no file 'config.xml', will use embedded config.
Logging trace to console
2021.01.27 18:15:35.011041 [ 39099 ] {} <Information> SentryWriter: Sending crash reports is disabled
2021.01.27 18:15:35.018411 [ 39099 ] {} <Trace> Pipe: Pipe capacity is 1.00 MiB
2021.01.27 18:15:35.124955 [ 39099 ] {} <Information> : Starting ClickHouse 21.1.1.5668 with revision 54445, build id: D1C6B8394C51E8623C170B65DAD284AEDFE76004, PID 39099
2021.01.27 18:15:35.125028 [ 39099 ] {} <Information> Application: starting up
2021.01.27 18:15:35.206564 [ 39099 ] {} <Warning> Application: Calculated checksum of the binary: 56FB1288A52E35C83094DB8E34A77B54. There is no information about the reference checksum.
2021.01.27 18:15:35.206763 [ 39099 ] {} <Trace> Application: Will do mlock to prevent executable memory from being paged out. It may take a few seconds.
2021.01.27 18:15:35.208207 [ 39099 ] {} <Trace> Application: The memory map of clickhouse executable has been mlock'ed, total 97.63 MiB
2021.01.27 18:15:35.208292 [ 39099 ] {} <Information> StatusFile: Status file ./status already exists - unclean restart. Contents:
PID: 38039
Started at: 2021-01-27 18:05:07
Revision: 54445

2021.01.27 18:15:35.208419 [ 39099 ] {} <Debug> Application: Set max number of file descriptors to 1048576 (was 1024).
2021.01.27 18:15:35.208442 [ 39099 ] {} <Debug> Application: Initializing DateLUT.
2021.01.27 18:15:35.208455 [ 39099 ] {} <Trace> Application: Initialized DateLUT with time zone 'PRC'.
2021.01.27 18:15:35.208474 [ 39099 ] {} <Debug> Application: Setting up ./tmp/ to store temporary data in it
2021.01.27 18:15:35.210303 [ 39099 ] {} <Debug> ConfigReloader: Loading config 'config.xml'
Processing configuration file 'config.xml'.
There is no file 'config.xml', will use embedded config.
Saved preprocessed configuration to './preprocessed_configs/config.xml'.
2021.01.27 18:15:35.210843 [ 39099 ] {} <Debug> ConfigReloader: Loaded config 'config.xml', performing update on configuration
2021.01.27 18:15:35.211785 [ 39099 ] {} <Debug> ConfigReloader: Loaded config 'config.xml', performed update on configuration
2021.01.27 18:15:35.212922 [ 39099 ] {} <Debug> Access(user directories): Added users.xml access storage 'users.xml', path: config.xml
2021.01.27 18:15:35.213042 [ 39099 ] {} <Information> Application: Setting max_server_memory_usage was set to 228.20 GiB (253.56 GiB available * 0.90 max_server_memory_usage_to_ram_ratio)
2021.01.27 18:15:35.213308 [ 39099 ] {} <Information> Application: Loading metadata from ./
2021.01.27 18:15:35.213739 [ 39099 ] {} <Information> DatabaseAtomic (system): Total 0 tables and 0 dictionaries.
2021.01.27 18:15:35.213764 [ 39099 ] {} <Information> DatabaseAtomic (system): Starting up tables.
2021.01.27 18:15:35.221502 [ 39099 ] {} <Information> DatabaseAtomic (default): Total 0 tables and 0 dictionaries.
2021.01.27 18:15:35.221533 [ 39099 ] {} <Information> DatabaseAtomic (default): Starting up tables.
2021.01.27 18:15:35.221593 [ 39099 ] {} <Information> DatabaseCatalog: Found 0 partially dropped tables. Will load them and retry removal.
2021.01.27 18:15:35.221615 [ 39099 ] {} <Information> BackgroundSchedulePool/BgSchPool: Create BackgroundSchedulePool with 16 threads
2021.01.27 18:15:35.222822 [ 39099 ] {} <Debug> Application: Loaded metadata.
2021.01.27 18:15:35.223020 [ 39099 ] {} <Information> Application: Listening for http://[::1]:8123
2021.01.27 18:15:35.223082 [ 39099 ] {} <Information> Application: Listening for connections with native protocol (tcp): [::1]:9000
2021.01.27 18:15:35.223570 [ 39100 ] {} <Trace> BaseDaemon: Received signal 6
2021.01.27 18:15:35.223806 [ 39122 ] {} <Fatal> BaseDaemon: ########################################
2021.01.27 18:15:35.223835 [ 39122 ] {} <Fatal> BaseDaemon: (version 21.1.1.5668 (official build), build id: D1C6B8394C51E8623C170B65DAD284AEDFE76004) (from thread 39099) (no query) Received signal Aborted (6)
2021.01.27 18:15:35.223870 [ 39122 ] {} <Fatal> BaseDaemon: 
2021.01.27 18:15:35.223902 [ 39122 ] {} <Fatal> BaseDaemon: Stack trace: 0xffff82111568
2021.01.27 18:15:35.223980 [ 39122 ] {} <Fatal> BaseDaemon: 0. gsignal @ 0x31568 in /lib/aarch64-linux-gnu/libc-2.23.so
2021.01.27 18:15:35.302135 [ 39122 ] {} <Fatal> BaseDaemon: Calculated checksum of the binary: 56FB1288A52E35C83094DB8E34A77B54. There is no information about the reference checksum.
2021.01.27 18:15:35.302205 [ 39122 ] {} <Information> SentryWriter: Not sending crash report
已放弃 (核心已转储)
root@Kylin:/home# execstack -q ./clickhouse 
execstack: "./clickhouse"'s architecture is not supported
root@Kylin:/home# 

syslog

Jan 27 18:05:07 Kylin kernel: [7359565.392765] capability: warning: `clickhouse' uses 32-bit capabilities (legacy support in use)
root@Kylin:~# uname -a 
Linux Kylin 4.4.131-20190726.kylin.server-generic #kylin SMP Tue Jul 30 16:44:09 CST 2019 aarch64 aarch64 aarch64 GNU/Linux
root@Kylin:~# 
@lurenjia528 lurenjia528 added the bug Confirmed user-visible misbehaviour in official release label Jan 27, 2021
@alexey-milovidov alexey-milovidov added the comp-aarch64 arm / aarch platform specific label Jan 27, 2021
@alexey-milovidov
Copy link
Member

Is there a way I can get to one of these servers and reproduce this issue?

@alexey-milovidov
Copy link
Member

Could you please run under gdb and print stack trace of all threads (thead apply all backtrace) on received abort signal?

@alexey-milovidov alexey-milovidov added the st-need-info We need extra data to continue (waiting for response) label Jan 27, 2021
@lurenjia528
Copy link
Author

lurenjia528 commented Jan 27, 2021

Could you please run under gdb and print stack trace of all threads (thead apply all backtrace) on received abort signal?

root@node-4:/nas/ygt/clickhouse# gdb clickhouse
GNU gdb (Ubuntu 7.11.1-0kord1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "aarch64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from clickhouse...done.
(gdb) run server
Starting program: /nas/ygt/clickhouse/clickhouse server
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Processing configuration file 'config.xml'.
There is no file 'config.xml', will use embedded config.
Logging trace to console
2021.01.27 22:50:31.947941 [ 60086 ] {} SentryWriter: Sending crash reports is disabled
2021.01.27 22:50:31.954108 [ 60086 ] {} Pipe: Pipe capacity is 1.00 MiB
[New Thread 0xffffb7667910 (LWP 60104)]
2021.01.27 22:50:32.066215 [ 60086 ] {} : Starting ClickHouse 21.1.1.5668 with revision 54445, build id: D1C6B8394C51E8623C170B65DAD284AEDFE76004, PID 60086
2021.01.27 22:50:32.066286 [ 60086 ] {} Application: starting up
2021.01.27 22:50:32.148186 [ 60086 ] {} Application: Calculated checksum of the binary: 56FB1288A52E35C83094DB8E34A77B54. There is no information about the reference checksum.
2021.01.27 22:50:32.148369 [ 60086 ] {} Application: Will do mlock to prevent executable memory from being paged out. It may take a few seconds.
2021.01.27 22:50:32.149844 [ 60086 ] {} Application: The memory map of clickhouse executable has been mlock'ed, total 97.63 MiB
2021.01.27 22:50:32.150452 [ 60086 ] {} StatusFile: Status file ./status already exists - unclean restart. Contents:
PID: 8197
Started at: 2021-01-27 18:02:04
Revision: 54445

2021.01.27 22:50:32.152247 [ 60086 ] {} Application: Set max number of file descriptors to 1048576 (was 1024).
2021.01.27 22:50:32.152272 [ 60086 ] {} Application: Initializing DateLUT.
2021.01.27 22:50:32.152284 [ 60086 ] {} Application: Initialized DateLUT with time zone 'Asia/Shanghai'.
2021.01.27 22:50:32.152305 [ 60086 ] {} Application: Setting up ./tmp/ to store temporary data in it
2021.01.27 22:50:32.154525 [ 60086 ] {} ConfigReloader: Loading config 'config.xml'
Processing configuration file 'config.xml'.
There is no file 'config.xml', will use embedded config.
Saved preprocessed configuration to './preprocessed_configs/config.xml'.
2021.01.27 22:50:32.195323 [ 60086 ] {} ConfigReloader: Loaded config 'config.xml', performing update on configuration
2021.01.27 22:50:32.196274 [ 60086 ] {} ConfigReloader: Loaded config 'config.xml', performed update on configuration
2021.01.27 22:50:32.197408 [ 60086 ] {} Access(user directories): Added users.xml access storage 'users.xml', path: config.xml
2021.01.27 22:50:32.197529 [ 60086 ] {} Application: Setting max_server_memory_usage was set to 228.20 GiB (253.56 GiB available * 0.90 max_server_memory_usage_to_ram_ratio)
[New Thread 0xffffb6c37910 (LWP 60108)]
[New Thread 0xffffb6437910 (LWP 60109)]
[New Thread 0xffffb5c37910 (LWP 60111)]
2021.01.27 22:50:32.200042 [ 60086 ] {} Application: Loading metadata from ./
[New Thread 0xffffb5437910 (LWP 60112)]
2021.01.27 22:50:32.204007 [ 60086 ] {} DatabaseAtomic (system): Total 0 tables and 0 dictionaries.
2021.01.27 22:50:32.204034 [ 60086 ] {} DatabaseAtomic (system): Starting up tables.
2021.01.27 22:50:32.218286 [ 60086 ] {} DatabaseAtomic (default): Total 0 tables and 0 dictionaries.
2021.01.27 22:50:32.218321 [ 60086 ] {} DatabaseAtomic (default): Starting up tables.
2021.01.27 22:50:32.218625 [ 60086 ] {} DatabaseCatalog: Found 0 partially dropped tables. Will load them and retry removal.
2021.01.27 22:50:32.218648 [ 60086 ] {} BackgroundSchedulePool/BgSchPool: Create BackgroundSchedulePool with 16 threads
[New Thread 0xffffb4c37910 (LWP 60113)]
[New Thread 0xffffb4437910 (LWP 60114)]
[New Thread 0xffffb3c37910 (LWP 60115)]
[New Thread 0xffffb3437910 (LWP 60116)]
[New Thread 0xffffb2c37910 (LWP 60117)]
[New Thread 0xffffb2437910 (LWP 60118)]
[New Thread 0xffffb1c37910 (LWP 60119)]
[New Thread 0xffffb1437910 (LWP 60120)]
[New Thread 0xffffb0c37910 (LWP 60121)]
[New Thread 0xffffb0437910 (LWP 60122)]
[New Thread 0xffffafc37910 (LWP 60123)]
[New Thread 0xffffaf437910 (LWP 60124)]
[New Thread 0xffffaec37910 (LWP 60125)]
[New Thread 0xffffae437910 (LWP 60126)]
[New Thread 0xffffadc37910 (LWP 60127)]
[New Thread 0xffffad437910 (LWP 60128)]
[New Thread 0xffffacc37910 (LWP 60129)]
2021.01.27 22:50:32.267328 [ 60086 ] {} Application: Loaded metadata.
2021.01.27 22:50:32.267544 [ 60086 ] {} Application: Listening for http://[::1]:8123
2021.01.27 22:50:32.267662 [ 60086 ] {} Application: Listening for connections with native protocol (tcp): [::1]:9000

Thread 1 "clickhouse" received signal SIGABRT, Aborted.
0x0000ffffb7e015a8 in raise () from /lib/aarch64-linux-gnu/libc.so.6
(gdb)

Could you please inform me,what does my kernel or system miss?

@alexey-milovidov
Copy link
Member

You should type thread apply all backtrace in gdb after you receive the Aborted. message.

@lurenjia528
Copy link
Author

You should type thread apply all backtrace in gdb after you receive the Aborted. message.

sorry , I don't use gdb often.

root@node-4:/nas/ygt/clickhouse# gdb clickhouse 
GNU gdb (Ubuntu 7.11.1-0kord1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "aarch64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from clickhouse...done.
(gdb) run server
Starting program: /nas/ygt/clickhouse/clickhouse server
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Processing configuration file 'config.xml'.
There is no file 'config.xml', will use embedded config.
Logging trace to console
2021.01.28 17:03:41.042755 [ 522 ] {} <Information> SentryWriter: Sending crash reports is disabled
2021.01.28 17:03:41.048766 [ 522 ] {} <Trace> Pipe: Pipe capacity is 1.00 MiB
[New Thread 0xffffb7667910 (LWP 536)]
2021.01.28 17:03:41.162249 [ 522 ] {} <Information> : Starting ClickHouse 21.1.1.5668 with revision 54445, build id: D1C6B8394C51E8623C170B65DAD284AEDFE76004, PID 522
2021.01.28 17:03:41.162322 [ 522 ] {} <Information> Application: starting up
2021.01.28 17:03:41.243743 [ 522 ] {} <Warning> Application: Calculated checksum of the binary: 56FB1288A52E35C83094DB8E34A77B54. There is no information about the reference checksum.
2021.01.28 17:03:41.243935 [ 522 ] {} <Trace> Application: Will do mlock to prevent executable memory from being paged out. It may take a few seconds.
2021.01.28 17:03:41.245476 [ 522 ] {} <Trace> Application: The memory map of clickhouse executable has been mlock'ed, total 97.63 MiB
2021.01.28 17:03:41.246009 [ 522 ] {} <Information> StatusFile: Status file ./status already exists - unclean restart. Contents:
PID: 45364
Started at: 2021-01-28 00:11:56
Revision: 54445

2021.01.28 17:03:41.267270 [ 522 ] {} <Debug> Application: Set max number of file descriptors to 1048576 (was 1024).
2021.01.28 17:03:41.267297 [ 522 ] {} <Debug> Application: Initializing DateLUT.
2021.01.28 17:03:41.267312 [ 522 ] {} <Trace> Application: Initialized DateLUT with time zone 'Asia/Shanghai'.
2021.01.28 17:03:41.267334 [ 522 ] {} <Debug> Application: Setting up ./tmp/ to store temporary data in it
2021.01.28 17:03:41.269765 [ 522 ] {} <Debug> ConfigReloader: Loading config 'config.xml'
Processing configuration file 'config.xml'.
There is no file 'config.xml', will use embedded config.
Saved preprocessed configuration to './preprocessed_configs/config.xml'.
2021.01.28 17:03:41.309193 [ 522 ] {} <Debug> ConfigReloader: Loaded config 'config.xml', performing update on configuration
2021.01.28 17:03:41.310167 [ 522 ] {} <Debug> ConfigReloader: Loaded config 'config.xml', performed update on configuration
2021.01.28 17:03:41.311393 [ 522 ] {} <Debug> Access(user directories): Added users.xml access storage 'users.xml', path: config.xml
2021.01.28 17:03:41.311522 [ 522 ] {} <Information> Application: Setting max_server_memory_usage was set to 228.20 GiB (253.56 GiB available * 0.90 max_server_memory_usage_to_ram_ratio)
[New Thread 0xffffb6c37910 (LWP 538)]
[New Thread 0xffffb6437910 (LWP 542)]
[New Thread 0xffffb5c37910 (LWP 543)]
2021.01.28 17:03:41.313815 [ 522 ] {} <Information> Application: Loading metadata from ./
[New Thread 0xffffb5437910 (LWP 544)]
2021.01.28 17:03:41.332421 [ 522 ] {} <Information> DatabaseAtomic (system): Total 0 tables and 0 dictionaries.
2021.01.28 17:03:41.332449 [ 522 ] {} <Information> DatabaseAtomic (system): Starting up tables.
2021.01.28 17:03:41.343299 [ 522 ] {} <Information> DatabaseAtomic (default): Total 0 tables and 0 dictionaries.
2021.01.28 17:03:41.343333 [ 522 ] {} <Information> DatabaseAtomic (default): Starting up tables.
2021.01.28 17:03:41.343631 [ 522 ] {} <Information> DatabaseCatalog: Found 0 partially dropped tables. Will load them and retry removal.
2021.01.28 17:03:41.343659 [ 522 ] {} <Information> BackgroundSchedulePool/BgSchPool: Create BackgroundSchedulePool with 16 threads
[New Thread 0xffffb4c37910 (LWP 545)]
[New Thread 0xffffb4437910 (LWP 546)]
[New Thread 0xffffb3c37910 (LWP 547)]
[New Thread 0xffffb3437910 (LWP 548)]
[New Thread 0xffffb2c37910 (LWP 549)]
[New Thread 0xffffb2437910 (LWP 551)]
[New Thread 0xffffb1c37910 (LWP 552)]
[New Thread 0xffffb1437910 (LWP 553)]
[New Thread 0xffffb0c37910 (LWP 554)]
[New Thread 0xffffb0437910 (LWP 555)]
[New Thread 0xffffafc37910 (LWP 556)]
[New Thread 0xffffaf437910 (LWP 557)]
[New Thread 0xffffaec37910 (LWP 558)]
[New Thread 0xffffae437910 (LWP 559)]
[New Thread 0xffffadc37910 (LWP 560)]
[New Thread 0xffffad437910 (LWP 561)]
[New Thread 0xffffacc37910 (LWP 562)]
2021.01.28 17:03:41.391559 [ 522 ] {} <Debug> Application: Loaded metadata.
2021.01.28 17:03:41.391873 [ 522 ] {} <Information> Application: Listening for http://[::1]:8123
2021.01.28 17:03:41.392126 [ 522 ] {} <Information> Application: Listening for connections with native protocol (tcp): [::1]:9000

Thread 1 "clickhouse" received signal SIGABRT, Aborted.
0x0000ffffb7e015a8 in raise () from /lib/aarch64-linux-gnu/libc.so.6
(gdb) thread apply all bt

Thread 23 (Thread 0xffffacc37910 (LWP 562)):
#0  0x0000ffffb7f6d30c in pthread_cond_wait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c19fc2c in Poco::EventImpl::waitImpl (this=0xfffd600e0008) at ../contrib/poco/Foundation/src/Event_POSIX.cpp:106
#2  0x000000000c1ce5dc in Poco::Event::wait (this=0xfffd600e0008) at ../contrib/poco/Foundation/include/Poco/Event.h:97
#3  Poco::NotificationQueue::waitDequeueNotification (this=<optimized out>) at ../contrib/poco/Foundation/src/NotificationQueue.cpp:96
#4  0x000000000b336be8 in DB::BackgroundSchedulePool::threadFunction (this=this@entry=0xffff21242768) at ../src/Core/BackgroundSchedulePool.cpp:253
#5  0x000000000b33711c in DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1::operator()() const (this=<optimized out>)
    at ../src/Core/BackgroundSchedulePool.cpp:161
#6  std::__1::__invoke_constexpr<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&> (__f=...)
    at ../contrib/libcxx/include/type_traits:3682
#7  std::__1::__apply_tuple_impl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1415
#8  std::__1::apply<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1424
#9  ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}::operator()() (this=<optimized out>) at ../src/Common/ThreadPool.h:178
#10 std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&> (__f=...) at ../contrib/libcxx/include/type_traits:3676
#11 std::__1::__invoke_void_return_wrapper<void>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&>(ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&) (__args=...) at ../contrib/libcxx/include/__functional_base:348
#12 std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()>::operator()() (this=<optimized out>)
    at ../contrib/libcxx/include/functional:1608
#13 std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()> >(std::__1::__function::__policy_storage const*) (__buf=<optimized out>) at ../contrib/libcxx/include/functional:2089
#14 0x00000000068bd710 in std::__1::__function::__policy_func<void ()>::operator()() const (this=0xffffacc37040) at ../contrib/libcxx/include/functional:2221
#15 std::__1::function<void ()>::operator()() const (this=0xffffacc37040) at ../contrib/libcxx/include/functional:2560
#16 ThreadPoolImpl<std::__1::thread>::worker (this=0xffff203d1200, thread_it=...) at ../src/Common/ThreadPool.cpp:247
#17 0x00000000068bf77c in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}::operator()() const (this=0x6a) at ../src/Common/ThreadPool.cpp:124
#18 std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}> (
    __f=<unknown type in /nas/ygt/clickhouse/clickhouse, CU 0x2748e6, DIE 0x285d4d>) at ../contrib/libcxx/include/type_traits:3676
#19 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>)::{lambda()#3}>(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>)::{lambda()#3}>&, std::__1::__tuple_indices<>) (__t=...) at ../contrib/libcxx/include/thread:280
#20 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>)::{lambda()#3}> >(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>)::{lambda()#3}>)
    (__vp=<optimized out>) at ../contrib/libcxx/include/thread:291
#21 0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
#22 0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 22 (Thread 0xffffad437910 (LWP 561)):
#0  0x0000ffffb7f6d30c in pthread_cond_wait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c19fc2c in Poco::EventImpl::waitImpl (this=0xffff2037a1d8) at ../contrib/poco/Foundation/src/Event_POSIX.cpp:106
#2  0x000000000c1ce5dc in Poco::Event::wait (this=0xffff2037a1d8) at ../contrib/poco/Foundation/include/Poco/Event.h:97
#3  Poco::NotificationQueue::waitDequeueNotification (this=<optimized out>) at ../contrib/poco/Foundation/src/NotificationQueue.cpp:96
---Type <return> to continue, or q <return> to quit---
#4  0x000000000b336be8 in DB::BackgroundSchedulePool::threadFunction (this=this@entry=0xffff21242768) at ../src/Core/BackgroundSchedulePool.cpp:253
#5  0x000000000b33711c in DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1::operator()() const (this=<optimized out>)
    at ../src/Core/BackgroundSchedulePool.cpp:161
#6  std::__1::__invoke_constexpr<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&> (__f=...)
    at ../contrib/libcxx/include/type_traits:3682
#7  std::__1::__apply_tuple_impl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1415
#8  std::__1::apply<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1424
#9  ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}::operator()() (this=<optimized out>) at ../src/Common/ThreadPool.h:178
#10 std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&> (__f=...) at ../contrib/libcxx/include/type_traits:3676
#11 std::__1::__invoke_void_return_wrapper<void>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&>(ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&) (__args=...) at ../contrib/libcxx/include/__functional_base:348
#12 std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()>::operator()() (this=<optimized out>)
    at ../contrib/libcxx/include/functional:1608
#13 std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()> >(std::__1::__function::__policy_storage const*) (__buf=<optimized out>) at ../contrib/libcxx/include/functional:2089
#14 0x00000000068bd710 in std::__1::__function::__policy_func<void ()>::operator()() const (this=0xffffad437040) at ../contrib/libcxx/include/functional:2221
#15 std::__1::function<void ()>::operator()() const (this=0xffffad437040) at ../contrib/libcxx/include/functional:2560
#16 ThreadPoolImpl<std::__1::thread>::worker (this=0xffff203d1200, thread_it=...) at ../src/Common/ThreadPool.cpp:247
#17 0x00000000068bf77c in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}::operator()() const (this=0x6a) at ../src/Common/ThreadPool.cpp:124
#18 std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}> (
    __f=<unknown type in /nas/ygt/clickhouse/clickhouse, CU 0x2748e6, DIE 0x285d4d>) at ../contrib/libcxx/include/type_traits:3676
#19 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>)::{lambda()#3}>(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>)::{lambda()#3}>&, std::__1::__tuple_indices<>) (__t=...) at ../contrib/libcxx/include/thread:280
#20 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>)::{lambda()#3}> >(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>)::{lambda()#3}>)
    (__vp=<optimized out>) at ../contrib/libcxx/include/thread:291
#21 0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
#22 0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 21 (Thread 0xffffadc37910 (LWP 560)):
#0  0x0000ffffb7f6d30c in pthread_cond_wait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c19fc2c in Poco::EventImpl::waitImpl (this=0xfffe200f0688) at ../contrib/poco/Foundation/src/Event_POSIX.cpp:106
#2  0x000000000c1ce5dc in Poco::Event::wait (this=0xfffe200f0688) at ../contrib/poco/Foundation/include/Poco/Event.h:97
#3  Poco::NotificationQueue::waitDequeueNotification (this=<optimized out>) at ../contrib/poco/Foundation/src/NotificationQueue.cpp:96
#4  0x000000000b336be8 in DB::BackgroundSchedulePool::threadFunction (this=this@entry=0xffff21242768) at ../src/Core/BackgroundSchedulePool.cpp:253
#5  0x000000000b33711c in DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1::operator()() const (this=<optimized out>)
    at ../src/Core/BackgroundSchedulePool.cpp:161
#6  std::__1::__invoke_constexpr<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&> (__f=...)
    at ../contrib/libcxx/include/type_traits:3682
#7  std::__1::__apply_tuple_impl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
---Type <return> to continue, or q <return> to quit---
    at ../contrib/libcxx/include/tuple:1415
#8  std::__1::apply<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1424
#9  ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}::operator()() (this=<optimized out>) at ../src/Common/ThreadPool.h:178
#10 std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&> (__f=...) at ../contrib/libcxx/include/type_traits:3676
#11 std::__1::__invoke_void_return_wrapper<void>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&>(ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&) (__args=...) at ../contrib/libcxx/include/__functional_base:348
#12 std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()>::operator()() (this=<optimized out>)
    at ../contrib/libcxx/include/functional:1608
#13 std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()> >(std::__1::__function::__policy_storage const*) (__buf=<optimized out>) at ../contrib/libcxx/include/functional:2089
#14 0x00000000068bd710 in std::__1::__function::__policy_func<void ()>::operator()() const (this=0xffffadc37040) at ../contrib/libcxx/include/functional:2221
#15 std::__1::function<void ()>::operator()() const (this=0xffffadc37040) at ../contrib/libcxx/include/functional:2560
#16 ThreadPoolImpl<std::__1::thread>::worker (this=0xffff203d1200, thread_it=...) at ../src/Common/ThreadPool.cpp:247
#17 0x00000000068bf77c in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}::operator()() const (this=0x6a) at ../src/Common/ThreadPool.cpp:124
#18 std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}> (
    __f=<unknown type in /nas/ygt/clickhouse/clickhouse, CU 0x2748e6, DIE 0x285d4d>) at ../contrib/libcxx/include/type_traits:3676
#19 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>)::{lambda()#3}>(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>)::{lambda()#3}>&, std::__1::__tuple_indices<>) (__t=...) at ../contrib/libcxx/include/thread:280
#20 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>)::{lambda()#3}> >(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>)::{lambda()#3}>)
    (__vp=<optimized out>) at ../contrib/libcxx/include/thread:291
#21 0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
#22 0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 20 (Thread 0xffffae437910 (LWP 559)):
#0  0x0000ffffb7f6d30c in pthread_cond_wait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c19fc2c in Poco::EventImpl::waitImpl (this=0xffff20377618) at ../contrib/poco/Foundation/src/Event_POSIX.cpp:106
#2  0x000000000c1ce5dc in Poco::Event::wait (this=0xffff20377618) at ../contrib/poco/Foundation/include/Poco/Event.h:97
#3  Poco::NotificationQueue::waitDequeueNotification (this=<optimized out>) at ../contrib/poco/Foundation/src/NotificationQueue.cpp:96
#4  0x000000000b336be8 in DB::BackgroundSchedulePool::threadFunction (this=this@entry=0xffff21242768) at ../src/Core/BackgroundSchedulePool.cpp:253
#5  0x000000000b33711c in DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1::operator()() const (this=<optimized out>)
    at ../src/Core/BackgroundSchedulePool.cpp:161
#6  std::__1::__invoke_constexpr<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&> (__f=...)
    at ../contrib/libcxx/include/type_traits:3682
#7  std::__1::__apply_tuple_impl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1415
#8  std::__1::apply<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1424
#9  ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}::operator()() (this=<optimized out>) at ../src/Common/ThreadPool.h:178
#10 std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSched---Type <return> to continue, or q <return> to quit---
ulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&> (__f=...) at ../contrib/libcxx/include/type_traits:3676
#11 std::__1::__invoke_void_return_wrapper<void>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&>(ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&) (__args=...) at ../contrib/libcxx/include/__functional_base:348
#12 std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()>::operator()() (this=<optimized out>)
    at ../contrib/libcxx/include/functional:1608
#13 std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()> >(std::__1::__function::__policy_storage const*) (__buf=<optimized out>) at ../contrib/libcxx/include/functional:2089
#14 0x00000000068bd710 in std::__1::__function::__policy_func<void ()>::operator()() const (this=0xffffae437040) at ../contrib/libcxx/include/functional:2221
#15 std::__1::function<void ()>::operator()() const (this=0xffffae437040) at ../contrib/libcxx/include/functional:2560
#16 ThreadPoolImpl<std::__1::thread>::worker (this=0xffff203d1200, thread_it=...) at ../src/Common/ThreadPool.cpp:247
#17 0x00000000068bf77c in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}::operator()() const (this=0x6a) at ../src/Common/ThreadPool.cpp:124
#18 std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}> (
    __f=<unknown type in /nas/ygt/clickhouse/clickhouse, CU 0x2748e6, DIE 0x285d4d>) at ../contrib/libcxx/include/type_traits:3676
#19 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>)::{lambda()#3}>(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>)::{lambda()#3}>&, std::__1::__tuple_indices<>) (__t=...) at ../contrib/libcxx/include/thread:280
#20 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>)::{lambda()#3}> >(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>)::{lambda()#3}>)
    (__vp=<optimized out>) at ../contrib/libcxx/include/thread:291
#21 0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
#22 0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 19 (Thread 0xffffaec37910 (LWP 558)):
#0  0x0000ffffb7f6d30c in pthread_cond_wait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c19fc2c in Poco::EventImpl::waitImpl (this=0xfffd800e2bc8) at ../contrib/poco/Foundation/src/Event_POSIX.cpp:106
#2  0x000000000c1ce5dc in Poco::Event::wait (this=0xfffd800e2bc8) at ../contrib/poco/Foundation/include/Poco/Event.h:97
#3  Poco::NotificationQueue::waitDequeueNotification (this=<optimized out>) at ../contrib/poco/Foundation/src/NotificationQueue.cpp:96
#4  0x000000000b336be8 in DB::BackgroundSchedulePool::threadFunction (this=this@entry=0xffff21242768) at ../src/Core/BackgroundSchedulePool.cpp:253
#5  0x000000000b33711c in DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1::operator()() const (this=<optimized out>)
    at ../src/Core/BackgroundSchedulePool.cpp:161
#6  std::__1::__invoke_constexpr<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&> (__f=...)
    at ../contrib/libcxx/include/type_traits:3682
#7  std::__1::__apply_tuple_impl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1415
#8  std::__1::apply<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1424
#9  ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}::operator()() (this=<optimized out>) at ../src/Common/ThreadPool.h:178
#10 std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&> (__f=...) at ../contrib/libcxx/include/type_traits:3676
#11 std::__1::__invoke_void_return_wrapper<void>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&>(ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&) (__args=...) at ../contrib/libcxx/include/__functional_base:348
#12 std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::---Type <return> to continue, or q <return> to quit---
$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()>::operator()() (this=<optimized out>)
    at ../contrib/libcxx/include/functional:1608
#13 std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()> >(std::__1::__function::__policy_storage const*) (__buf=<optimized out>) at ../contrib/libcxx/include/functional:2089
#14 0x00000000068bd710 in std::__1::__function::__policy_func<void ()>::operator()() const (this=0xffffaec37040) at ../contrib/libcxx/include/functional:2221
#15 std::__1::function<void ()>::operator()() const (this=0xffffaec37040) at ../contrib/libcxx/include/functional:2560
#16 ThreadPoolImpl<std::__1::thread>::worker (this=0xffff203d1200, thread_it=...) at ../src/Common/ThreadPool.cpp:247
#17 0x00000000068bf77c in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}::operator()() const (this=0x6a) at ../src/Common/ThreadPool.cpp:124
#18 std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}> (
    __f=<unknown type in /nas/ygt/clickhouse/clickhouse, CU 0x2748e6, DIE 0x285d4d>) at ../contrib/libcxx/include/type_traits:3676
#19 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>)::{lambda()#3}>(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>)::{lambda()#3}>&, std::__1::__tuple_indices<>) (__t=...) at ../contrib/libcxx/include/thread:280
#20 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>)::{lambda()#3}> >(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>)::{lambda()#3}>)
    (__vp=<optimized out>) at ../contrib/libcxx/include/thread:291
#21 0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
#22 0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 18 (Thread 0xffffaf437910 (LWP 557)):
#0  0x0000ffffb7f6d30c in pthread_cond_wait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c19fc2c in Poco::EventImpl::waitImpl (this=0xfffe200eaf08) at ../contrib/poco/Foundation/src/Event_POSIX.cpp:106
#2  0x000000000c1ce5dc in Poco::Event::wait (this=0xfffe200eaf08) at ../contrib/poco/Foundation/include/Poco/Event.h:97
#3  Poco::NotificationQueue::waitDequeueNotification (this=<optimized out>) at ../contrib/poco/Foundation/src/NotificationQueue.cpp:96
#4  0x000000000b336be8 in DB::BackgroundSchedulePool::threadFunction (this=this@entry=0xffff21242768) at ../src/Core/BackgroundSchedulePool.cpp:253
#5  0x000000000b33711c in DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1::operator()() const (this=<optimized out>)
    at ../src/Core/BackgroundSchedulePool.cpp:161
#6  std::__1::__invoke_constexpr<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&> (__f=...)
    at ../contrib/libcxx/include/type_traits:3682
#7  std::__1::__apply_tuple_impl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1415
#8  std::__1::apply<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1424
#9  ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}::operator()() (this=<optimized out>) at ../src/Common/ThreadPool.h:178
#10 std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&> (__f=...) at ../contrib/libcxx/include/type_traits:3676
#11 std::__1::__invoke_void_return_wrapper<void>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&>(ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&) (__args=...) at ../contrib/libcxx/include/__functional_base:348
#12 std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()>::operator()() (this=<optimized out>)
    at ../contrib/libcxx/include/functional:1608
#13 std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()> >(std::__1::__function::__policy_storage const*) (__buf=<optimized out>) at ../contrib/libcxx/include/functional:2089
#14 0x00000000068bd710 in std::__1::__function::__policy_func<void ()>::operator()() const (this=0xffffaf437040) at ../contrib/libcxx/include/functional:2221
---Type <return> to continue, or q <return> to quit---
#15 std::__1::function<void ()>::operator()() const (this=0xffffaf437040) at ../contrib/libcxx/include/functional:2560
#16 ThreadPoolImpl<std::__1::thread>::worker (this=0xffff203d1200, thread_it=...) at ../src/Common/ThreadPool.cpp:247
#17 0x00000000068bf77c in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}::operator()() const (this=0x6a) at ../src/Common/ThreadPool.cpp:124
#18 std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}> (
    __f=<unknown type in /nas/ygt/clickhouse/clickhouse, CU 0x2748e6, DIE 0x285d4d>) at ../contrib/libcxx/include/type_traits:3676
#19 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>)::{lambda()#3}>(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>)::{lambda()#3}>&, std::__1::__tuple_indices<>) (__t=...) at ../contrib/libcxx/include/thread:280
#20 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>)::{lambda()#3}> >(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>)::{lambda()#3}>)
    (__vp=<optimized out>) at ../contrib/libcxx/include/thread:291
#21 0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
#22 0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 17 (Thread 0xffffafc37910 (LWP 556)):
#0  0x0000ffffb7f6d30c in pthread_cond_wait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c19fc2c in Poco::EventImpl::waitImpl (this=0xfffe200e2bc8) at ../contrib/poco/Foundation/src/Event_POSIX.cpp:106
#2  0x000000000c1ce5dc in Poco::Event::wait (this=0xfffe200e2bc8) at ../contrib/poco/Foundation/include/Poco/Event.h:97
#3  Poco::NotificationQueue::waitDequeueNotification (this=<optimized out>) at ../contrib/poco/Foundation/src/NotificationQueue.cpp:96
#4  0x000000000b336be8 in DB::BackgroundSchedulePool::threadFunction (this=this@entry=0xffff21242768) at ../src/Core/BackgroundSchedulePool.cpp:253
#5  0x000000000b33711c in DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1::operator()() const (this=<optimized out>)
    at ../src/Core/BackgroundSchedulePool.cpp:161
#6  std::__1::__invoke_constexpr<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&> (__f=...)
    at ../contrib/libcxx/include/type_traits:3682
#7  std::__1::__apply_tuple_impl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1415
#8  std::__1::apply<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1424
#9  ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}::operator()() (this=<optimized out>) at ../src/Common/ThreadPool.h:178
#10 std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&> (__f=...) at ../contrib/libcxx/include/type_traits:3676
#11 std::__1::__invoke_void_return_wrapper<void>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&>(ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&) (__args=...) at ../contrib/libcxx/include/__functional_base:348
#12 std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()>::operator()() (this=<optimized out>)
    at ../contrib/libcxx/include/functional:1608
#13 std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()> >(std::__1::__function::__policy_storage const*) (__buf=<optimized out>) at ../contrib/libcxx/include/functional:2089
#14 0x00000000068bd710 in std::__1::__function::__policy_func<void ()>::operator()() const (this=0xffffafc37040) at ../contrib/libcxx/include/functional:2221
#15 std::__1::function<void ()>::operator()() const (this=0xffffafc37040) at ../contrib/libcxx/include/functional:2560
#16 ThreadPoolImpl<std::__1::thread>::worker (this=0xffff203d1200, thread_it=...) at ../src/Common/ThreadPool.cpp:247
#17 0x00000000068bf77c in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}::operator()() const (this=0x6a) at ../src/Common/ThreadPool.cpp:124
#18 std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}> (
    __f=<unknown type in /nas/ygt/clickhouse/clickhouse, CU 0x2748e6, DIE 0x285d4d>) at ../contrib/libcxx/include/type_traits:3676
---Type <return> to continue, or q <return> to quit---
#19 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>)::{lambda()#3}>(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>)::{lambda()#3}>&, std::__1::__tuple_indices<>) (__t=...) at ../contrib/libcxx/include/thread:280
#20 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>)::{lambda()#3}> >(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>)::{lambda()#3}>)
    (__vp=<optimized out>) at ../contrib/libcxx/include/thread:291
#21 0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
#22 0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 16 (Thread 0xffffb0437910 (LWP 555)):
#0  0x0000ffffb7f6d30c in pthread_cond_wait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c19fc2c in Poco::EventImpl::waitImpl (this=0xfffe200e0008) at ../contrib/poco/Foundation/src/Event_POSIX.cpp:106
#2  0x000000000c1ce5dc in Poco::Event::wait (this=0xfffe200e0008) at ../contrib/poco/Foundation/include/Poco/Event.h:97
#3  Poco::NotificationQueue::waitDequeueNotification (this=<optimized out>) at ../contrib/poco/Foundation/src/NotificationQueue.cpp:96
#4  0x000000000b336be8 in DB::BackgroundSchedulePool::threadFunction (this=this@entry=0xffff21242768) at ../src/Core/BackgroundSchedulePool.cpp:253
#5  0x000000000b33711c in DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1::operator()() const (this=<optimized out>)
    at ../src/Core/BackgroundSchedulePool.cpp:161
#6  std::__1::__invoke_constexpr<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&> (__f=...)
    at ../contrib/libcxx/include/type_traits:3682
#7  std::__1::__apply_tuple_impl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1415
#8  std::__1::apply<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1424
#9  ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}::operator()() (this=<optimized out>) at ../src/Common/ThreadPool.h:178
#10 std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&> (__f=...) at ../contrib/libcxx/include/type_traits:3676
#11 std::__1::__invoke_void_return_wrapper<void>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&>(ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&) (__args=...) at ../contrib/libcxx/include/__functional_base:348
#12 std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()>::operator()() (this=<optimized out>)
    at ../contrib/libcxx/include/functional:1608
#13 std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()> >(std::__1::__function::__policy_storage const*) (__buf=<optimized out>) at ../contrib/libcxx/include/functional:2089
#14 0x00000000068bd710 in std::__1::__function::__policy_func<void ()>::operator()() const (this=0xffffb0437040) at ../contrib/libcxx/include/functional:2221
#15 std::__1::function<void ()>::operator()() const (this=0xffffb0437040) at ../contrib/libcxx/include/functional:2560
#16 ThreadPoolImpl<std::__1::thread>::worker (this=0xffff203d1200, thread_it=...) at ../src/Common/ThreadPool.cpp:247
#17 0x00000000068bf77c in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}::operator()() const (this=0x6a) at ../src/Common/ThreadPool.cpp:124
#18 std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}> (
    __f=<unknown type in /nas/ygt/clickhouse/clickhouse, CU 0x2748e6, DIE 0x285d4d>) at ../contrib/libcxx/include/type_traits:3676
#19 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>)::{lambda()#3}>(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>)::{lambda()#3}>&, std::__1::__tuple_indices<>) (__t=...) at ../contrib/libcxx/include/thread:280
#20 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>)::{lambda()#3}> >(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::defa---Type <return> to continue, or q <return> to quit---
ult_delete<std::__1::__thread_struct> >, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}>)
    (__vp=<optimized out>) at ../contrib/libcxx/include/thread:291
#21 0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
#22 0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 15 (Thread 0xffffb0c37910 (LWP 554)):
#0  0x0000ffffb7f6d30c in pthread_cond_wait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c19fc2c in Poco::EventImpl::waitImpl (this=0xfffe600f0008) at ../contrib/poco/Foundation/src/Event_POSIX.cpp:106
#2  0x000000000c1ce5dc in Poco::Event::wait (this=0xfffe600f0008) at ../contrib/poco/Foundation/include/Poco/Event.h:97
#3  Poco::NotificationQueue::waitDequeueNotification (this=<optimized out>) at ../contrib/poco/Foundation/src/NotificationQueue.cpp:96
#4  0x000000000b336be8 in DB::BackgroundSchedulePool::threadFunction (this=this@entry=0xffff21242768) at ../src/Core/BackgroundSchedulePool.cpp:253
#5  0x000000000b33711c in DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1::operator()() const (this=<optimized out>)
    at ../src/Core/BackgroundSchedulePool.cpp:161
#6  std::__1::__invoke_constexpr<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&> (__f=...)
    at ../contrib/libcxx/include/type_traits:3682
#7  std::__1::__apply_tuple_impl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1415
#8  std::__1::apply<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1424
#9  ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}::operator()() (this=<optimized out>) at ../src/Common/ThreadPool.h:178
#10 std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&> (__f=...) at ../contrib/libcxx/include/type_traits:3676
#11 std::__1::__invoke_void_return_wrapper<void>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&>(ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&) (__args=...) at ../contrib/libcxx/include/__functional_base:348
#12 std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()>::operator()() (this=<optimized out>)
    at ../contrib/libcxx/include/functional:1608
#13 std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()> >(std::__1::__function::__policy_storage const*) (__buf=<optimized out>) at ../contrib/libcxx/include/functional:2089
#14 0x00000000068bd710 in std::__1::__function::__policy_func<void ()>::operator()() const (this=0xffffb0c37040) at ../contrib/libcxx/include/functional:2221
#15 std::__1::function<void ()>::operator()() const (this=0xffffb0c37040) at ../contrib/libcxx/include/functional:2560
#16 ThreadPoolImpl<std::__1::thread>::worker (this=0xffff203d1200, thread_it=...) at ../src/Common/ThreadPool.cpp:247
#17 0x00000000068bf77c in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}::operator()() const (this=0x6a) at ../src/Common/ThreadPool.cpp:124
#18 std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}> (
    __f=<unknown type in /nas/ygt/clickhouse/clickhouse, CU 0x2748e6, DIE 0x285d4d>) at ../contrib/libcxx/include/type_traits:3676
#19 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>)::{lambda()#3}>(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>)::{lambda()#3}>&, std::__1::__tuple_indices<>) (__t=...) at ../contrib/libcxx/include/thread:280
#20 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>)::{lambda()#3}> >(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>)::{lambda()#3}>)
    (__vp=<optimized out>) at ../contrib/libcxx/include/thread:291
#21 0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
#22 0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 14 (Thread 0xffffb1437910 (LWP 553)):
---Type <return> to continue, or q <return> to quit---
#0  0x0000ffffb7f6d30c in pthread_cond_wait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c19fc2c in Poco::EventImpl::waitImpl (this=0xfffe600f2bc8) at ../contrib/poco/Foundation/src/Event_POSIX.cpp:106
#2  0x000000000c1ce5dc in Poco::Event::wait (this=0xfffe600f2bc8) at ../contrib/poco/Foundation/include/Poco/Event.h:97
#3  Poco::NotificationQueue::waitDequeueNotification (this=<optimized out>) at ../contrib/poco/Foundation/src/NotificationQueue.cpp:96
#4  0x000000000b336be8 in DB::BackgroundSchedulePool::threadFunction (this=this@entry=0xffff21242768) at ../src/Core/BackgroundSchedulePool.cpp:253
#5  0x000000000b33711c in DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1::operator()() const (this=<optimized out>)
    at ../src/Core/BackgroundSchedulePool.cpp:161
#6  std::__1::__invoke_constexpr<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&> (__f=...)
    at ../contrib/libcxx/include/type_traits:3682
#7  std::__1::__apply_tuple_impl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1415
#8  std::__1::apply<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1424
#9  ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}::operator()() (this=<optimized out>) at ../src/Common/ThreadPool.h:178
#10 std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&> (__f=...) at ../contrib/libcxx/include/type_traits:3676
#11 std::__1::__invoke_void_return_wrapper<void>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&>(ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&) (__args=...) at ../contrib/libcxx/include/__functional_base:348
#12 std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()>::operator()() (this=<optimized out>)
    at ../contrib/libcxx/include/functional:1608
#13 std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()> >(std::__1::__function::__policy_storage const*) (__buf=<optimized out>) at ../contrib/libcxx/include/functional:2089
#14 0x00000000068bd710 in std::__1::__function::__policy_func<void ()>::operator()() const (this=0xffffb1437040) at ../contrib/libcxx/include/functional:2221
#15 std::__1::function<void ()>::operator()() const (this=0xffffb1437040) at ../contrib/libcxx/include/functional:2560
#16 ThreadPoolImpl<std::__1::thread>::worker (this=0xffff203d1200, thread_it=...) at ../src/Common/ThreadPool.cpp:247
#17 0x00000000068bf77c in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}::operator()() const (this=0x6a) at ../src/Common/ThreadPool.cpp:124
#18 std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}> (
    __f=<unknown type in /nas/ygt/clickhouse/clickhouse, CU 0x2748e6, DIE 0x285d4d>) at ../contrib/libcxx/include/type_traits:3676
#19 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>)::{lambda()#3}>(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>)::{lambda()#3}>&, std::__1::__tuple_indices<>) (__t=...) at ../contrib/libcxx/include/thread:280
#20 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>)::{lambda()#3}> >(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>)::{lambda()#3}>)
    (__vp=<optimized out>) at ../contrib/libcxx/include/thread:291
#21 0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
#22 0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 13 (Thread 0xffffb1c37910 (LWP 552)):
#0  0x0000ffffb7f6d30c in pthread_cond_wait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c19fc2c in Poco::EventImpl::waitImpl (this=0xfffe200edac8) at ../contrib/poco/Foundation/src/Event_POSIX.cpp:106
#2  0x000000000c1ce5dc in Poco::Event::wait (this=0xfffe200edac8) at ../contrib/poco/Foundation/include/Poco/Event.h:97
#3  Poco::NotificationQueue::waitDequeueNotification (this=<optimized out>) at ../contrib/poco/Foundation/src/NotificationQueue.cpp:96
#4  0x000000000b336be8 in DB::BackgroundSchedulePool::threadFunction (this=this@entry=0xffff21242768) at ../src/Core/BackgroundSchedulePool.cpp:253
#5  0x000000000b33711c in DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1::operator()() const (this=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at ../src/Core/BackgroundSchedulePool.cpp:161
#6  std::__1::__invoke_constexpr<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&> (__f=...)
    at ../contrib/libcxx/include/type_traits:3682
#7  std::__1::__apply_tuple_impl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1415
#8  std::__1::apply<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1424
#9  ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}::operator()() (this=<optimized out>) at ../src/Common/ThreadPool.h:178
#10 std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&> (__f=...) at ../contrib/libcxx/include/type_traits:3676
#11 std::__1::__invoke_void_return_wrapper<void>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&>(ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&) (__args=...) at ../contrib/libcxx/include/__functional_base:348
#12 std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()>::operator()() (this=<optimized out>)
    at ../contrib/libcxx/include/functional:1608
#13 std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()> >(std::__1::__function::__policy_storage const*) (__buf=<optimized out>) at ../contrib/libcxx/include/functional:2089
#14 0x00000000068bd710 in std::__1::__function::__policy_func<void ()>::operator()() const (this=0xffffb1c37040) at ../contrib/libcxx/include/functional:2221
#15 std::__1::function<void ()>::operator()() const (this=0xffffb1c37040) at ../contrib/libcxx/include/functional:2560
#16 ThreadPoolImpl<std::__1::thread>::worker (this=0xffff203d1200, thread_it=...) at ../src/Common/ThreadPool.cpp:247
#17 0x00000000068bf77c in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}::operator()() const (this=0x6a) at ../src/Common/ThreadPool.cpp:124
#18 std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}> (
    __f=<unknown type in /nas/ygt/clickhouse/clickhouse, CU 0x2748e6, DIE 0x285d4d>) at ../contrib/libcxx/include/type_traits:3676
#19 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>)::{lambda()#3}>(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>)::{lambda()#3}>&, std::__1::__tuple_indices<>) (__t=...) at ../contrib/libcxx/include/thread:280
#20 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>)::{lambda()#3}> >(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>)::{lambda()#3}>)
    (__vp=<optimized out>) at ../contrib/libcxx/include/thread:291
#21 0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
#22 0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 12 (Thread 0xffffb2437910 (LWP 551)):




#0  0x0000ffffb7f6d30c in pthread_cond_wait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c9a73d0 in std::__1::__libcpp_condvar_wait (__cv=0xffff21242824, __m=0x80) at ../contrib/libcxx/include/__threading_support:436
#2  std::__1::condition_variable::wait (this=0xffff21242824, lk=...) at ../contrib/libcxx/src/condition_variable.cpp:44
#3  0x000000000b336d3c in DB::BackgroundSchedulePool::delayExecutionThreadFunction (this=this@entry=0xffff21242768) at ../src/Core/BackgroundSchedulePool.cpp:290
#4  0x000000000b3372b0 in DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_2::operator()() const (this=<optimized out>)
    at ../src/Core/BackgroundSchedulePool.cpp:163
#5  std::__1::__invoke_constexpr<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_2&> (__f=...)
    at ../contrib/libcxx/include/type_traits:3682
#6  std::__1::__apply_tuple_impl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_2&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1415
#7  std::__1::apply<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_2&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1424
---Type <return> to continue, or q <return> to quit---
#8  ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_2>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_2&&)::{lambda()#1}::operator()() (this=<optimized out>) at ../src/Common/ThreadPool.h:178
#9  std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_2>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_2&&)::{lambda()#1}&> (__f=...) at ../contrib/libcxx/include/type_traits:3676
#10 std::__1::__invoke_void_return_wrapper<void>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_2>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_2&&)::{lambda()#1}&>(ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_2>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_2&&)::{lambda()#1}&) (__args=...) at ../contrib/libcxx/include/__functional_base:348
#11 std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_2>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_2&&)::{lambda()#1}, void ()>::operator()() (this=<optimized out>)
    at ../contrib/libcxx/include/functional:1608
#12 std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_2>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_2&&)::{lambda()#1}, void ()> >(std::__1::__function::__policy_storage const*) (__buf=<optimized out>) at ../contrib/libcxx/include/functional:2089
#13 0x00000000068bd710 in std::__1::__function::__policy_func<void ()>::operator()() const (this=0xffffb2437040) at ../contrib/libcxx/include/functional:2221
#14 std::__1::function<void ()>::operator()() const (this=0xffffb2437040) at ../contrib/libcxx/include/functional:2560
#15 ThreadPoolImpl<std::__1::thread>::worker (this=0xffff203d1200, thread_it=...) at ../src/Common/ThreadPool.cpp:247
#16 0x00000000068bf77c in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}::operator()() const (this=0x6a) at ../src/Common/ThreadPool.cpp:124
#17 std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}> (
    __f=<unknown type in /nas/ygt/clickhouse/clickhouse, CU 0x2748e6, DIE 0x285d4d>) at ../contrib/libcxx/include/type_traits:3676
#18 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>)::{lambda()#3}>(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>)::{lambda()#3}>&, std::__1::__tuple_indices<>) (__t=...) at ../contrib/libcxx/include/thread:280
#19 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>)::{lambda()#3}> >(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>)::{lambda()#3}>)
    (__vp=<optimized out>) at ../contrib/libcxx/include/thread:291
#20 0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
#21 0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 11 (Thread 0xffffb2c37910 (LWP 549)):
#0  0x0000ffffb7f6d30c in pthread_cond_wait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c19fc2c in Poco::EventImpl::waitImpl (this=0xfffe200e8348) at ../contrib/poco/Foundation/src/Event_POSIX.cpp:106
#2  0x000000000c1ce5dc in Poco::Event::wait (this=0xfffe200e8348) at ../contrib/poco/Foundation/include/Poco/Event.h:97
#3  Poco::NotificationQueue::waitDequeueNotification (this=<optimized out>) at ../contrib/poco/Foundation/src/NotificationQueue.cpp:96
#4  0x000000000b336be8 in DB::BackgroundSchedulePool::threadFunction (this=this@entry=0xffff21242768) at ../src/Core/BackgroundSchedulePool.cpp:253
#5  0x000000000b33711c in DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1::operator()() const (this=<optimized out>)
    at ../src/Core/BackgroundSchedulePool.cpp:161
#6  std::__1::__invoke_constexpr<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&> (__f=...)
    at ../contrib/libcxx/include/type_traits:3682
#7  std::__1::__apply_tuple_impl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1415
#8  std::__1::apply<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1424
#9  ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}::operator()() (this=<optimized out>) at ../src/Common/ThreadPool.h:178
#10 std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&> (__f=...) at ../contrib/libcxx/include/type_traits:3676

#11 std::__1::__invoke_void_return_wrapper<void>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&>(ThreadFromGlobalPool::ThreadFromGlobalPool<DB::Backg---Type <return> to continue, or q <return> to quit---
roundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&) (__args=...) at ../contrib/libcxx/include/__functional_base:348
#12 std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()>::operator()() (this=<optimized out>)
    at ../contrib/libcxx/include/functional:1608
#13 std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()> >(std::__1::__function::__policy_storage const*) (__buf=<optimized out>) at ../contrib/libcxx/include/functional:2089
#14 0x00000000068bd710 in std::__1::__function::__policy_func<void ()>::operator()() const (this=0xffffb2c37040) at ../contrib/libcxx/include/functional:2221
#15 std::__1::function<void ()>::operator()() const (this=0xffffb2c37040) at ../contrib/libcxx/include/functional:2560
#16 ThreadPoolImpl<std::__1::thread>::worker (this=0xffff203d1200, thread_it=...) at ../src/Common/ThreadPool.cpp:247
#17 0x00000000068bf77c in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}::operator()() const (this=0x6a) at ../src/Common/ThreadPool.cpp:124
#18 std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}> (
    __f=<unknown type in /nas/ygt/clickhouse/clickhouse, CU 0x2748e6, DIE 0x285d4d>) at ../contrib/libcxx/include/type_traits:3676
#19 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>)::{lambda()#3}>(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>)::{lambda()#3}>&, std::__1::__tuple_indices<>) (__t=...) at ../contrib/libcxx/include/thread:280
#20 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>)::{lambda()#3}> >(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>)::{lambda()#3}>)
    (__vp=<optimized out>) at ../contrib/libcxx/include/thread:291
#21 0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
#22 0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 10 (Thread 0xffffb3437910 (LWP 548)):
#0  0x0000ffffb7f6d30c in pthread_cond_wait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c19fc2c in Poco::EventImpl::waitImpl (this=0xfffe600f5788) at ../contrib/poco/Foundation/src/Event_POSIX.cpp:106
#2  0x000000000c1ce5dc in Poco::Event::wait (this=0xfffe600f5788) at ../contrib/poco/Foundation/include/Poco/Event.h:97
#3  Poco::NotificationQueue::waitDequeueNotification (this=<optimized out>) at ../contrib/poco/Foundation/src/NotificationQueue.cpp:96
#4  0x000000000b336be8 in DB::BackgroundSchedulePool::threadFunction (this=this@entry=0xffff21242768) at ../src/Core/BackgroundSchedulePool.cpp:253
#5  0x000000000b33711c in DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1::operator()() const (this=<optimized out>)
    at ../src/Core/BackgroundSchedulePool.cpp:161
#6  std::__1::__invoke_constexpr<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&> (__f=...)
    at ../contrib/libcxx/include/type_traits:3682
#7  std::__1::__apply_tuple_impl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1415
#8  std::__1::apply<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1424
#9  ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}::operator()() (this=<optimized out>) at ../src/Common/ThreadPool.h:178
#10 std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&> (__f=...) at ../contrib/libcxx/include/type_traits:3676
#11 std::__1::__invoke_void_return_wrapper<void>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&>(ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&) (__args=...) at ../contrib/libcxx/include/__functional_base:348
#12 std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()>::operator()() (this=<optimized out>)
    at ../contrib/libcxx/include/functional:1608
#13 std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::Backgr---Type <return> to continue, or q <return> to quit---
oundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()> >(std::__1::__function::__policy_storage const*) (__buf=<optimized out>) at ../contrib/libcxx/include/functional:2089
#14 0x00000000068bd710 in std::__1::__function::__policy_func<void ()>::operator()() const (this=0xffffb3437040) at ../contrib/libcxx/include/functional:2221
#15 std::__1::function<void ()>::operator()() const (this=0xffffb3437040) at ../contrib/libcxx/include/functional:2560
#16 ThreadPoolImpl<std::__1::thread>::worker (this=0xffff203d1200, thread_it=...) at ../src/Common/ThreadPool.cpp:247
#17 0x00000000068bf77c in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}::operator()() const (this=0x6a) at ../src/Common/ThreadPool.cpp:124
#18 std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}> (
    __f=<unknown type in /nas/ygt/clickhouse/clickhouse, CU 0x2748e6, DIE 0x285d4d>) at ../contrib/libcxx/include/type_traits:3676
#19 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>)::{lambda()#3}>(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>)::{lambda()#3}>&, std::__1::__tuple_indices<>) (__t=...) at ../contrib/libcxx/include/thread:280
#20 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>)::{lambda()#3}> >(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>)::{lambda()#3}>)
    (__vp=<optimized out>) at ../contrib/libcxx/include/thread:291
#21 0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
#22 0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 9 (Thread 0xffffb3c37910 (LWP 547)):
#0  0x0000ffffb7f6d30c in pthread_cond_wait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c19fc2c in Poco::EventImpl::waitImpl (this=0xfffe200e5788) at ../contrib/poco/Foundation/src/Event_POSIX.cpp:106
#2  0x000000000c1ce5dc in Poco::Event::wait (this=0xfffe200e5788) at ../contrib/poco/Foundation/include/Poco/Event.h:97
#3  Poco::NotificationQueue::waitDequeueNotification (this=<optimized out>) at ../contrib/poco/Foundation/src/NotificationQueue.cpp:96
#4  0x000000000b336be8 in DB::BackgroundSchedulePool::threadFunction (this=this@entry=0xffff21242768) at ../src/Core/BackgroundSchedulePool.cpp:253
#5  0x000000000b33711c in DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1::operator()() const (this=<optimized out>)
    at ../src/Core/BackgroundSchedulePool.cpp:161
#6  std::__1::__invoke_constexpr<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&> (__f=...)
    at ../contrib/libcxx/include/type_traits:3682
#7  std::__1::__apply_tuple_impl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1415
#8  std::__1::apply<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1424
#9  ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}::operator()() (this=<optimized out>) at ../src/Common/ThreadPool.h:178
#10 std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&> (__f=...) at ../contrib/libcxx/include/type_traits:3676
#11 std::__1::__invoke_void_return_wrapper<void>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&>(ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&) (__args=...) at ../contrib/libcxx/include/__functional_base:348
#12 std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()>::operator()() (this=<optimized out>)
    at ../contrib/libcxx/include/functional:1608
#13 std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()> >(std::__1::__function::__policy_storage const*) (__buf=<optimized out>) at ../contrib/libcxx/include/functional:2089
#14 0x00000000068bd710 in std::__1::__function::__policy_func<void ()>::operator()() const (this=0xffffb3c37040) at ../contrib/libcxx/include/functional:2221
#15 std::__1::function<void ()>::operator()() const (this=0xffffb3c37040) at ../contrib/libcxx/include/functional:2560
#16 ThreadPoolImpl<std::__1::thread>::worker (this=0xffff203d1200, thread_it=...) at ../src/Common/ThreadPool.cpp:247
#17 0x00000000068bf77c in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}::operator()() cons---Type <return> to continue, or q <return> to quit---
t (this=0x6a) at ../src/Common/ThreadPool.cpp:124
#18 std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}> (
    __f=<unknown type in /nas/ygt/clickhouse/clickhouse, CU 0x2748e6, DIE 0x285d4d>) at ../contrib/libcxx/include/type_traits:3676
#19 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>)::{lambda()#3}>(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>)::{lambda()#3}>&, std::__1::__tuple_indices<>) (__t=...) at ../contrib/libcxx/include/thread:280
#20 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>)::{lambda()#3}> >(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>)::{lambda()#3}>)
    (__vp=<optimized out>) at ../contrib/libcxx/include/thread:291
#21 0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
#22 0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 8 (Thread 0xffffb4437910 (LWP 546)):
#0  0x0000ffffb7f6d30c in pthread_cond_wait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c19fc2c in Poco::EventImpl::waitImpl (this=0xffff20374a58) at ../contrib/poco/Foundation/src/Event_POSIX.cpp:106
#2  0x000000000c1ce5dc in Poco::Event::wait (this=0xffff20374a58) at ../contrib/poco/Foundation/include/Poco/Event.h:97
#3  Poco::NotificationQueue::waitDequeueNotification (this=<optimized out>) at ../contrib/poco/Foundation/src/NotificationQueue.cpp:96
#4  0x000000000b336be8 in DB::BackgroundSchedulePool::threadFunction (this=this@entry=0xffff21242768) at ../src/Core/BackgroundSchedulePool.cpp:253
#5  0x000000000b33711c in DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1::operator()() const (this=<optimized out>)
    at ../src/Core/BackgroundSchedulePool.cpp:161
#6  std::__1::__invoke_constexpr<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&> (__f=...)
    at ../contrib/libcxx/include/type_traits:3682
#7  std::__1::__apply_tuple_impl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1415
#8  std::__1::apply<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1424
#9  ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}::operator()() (this=<optimized out>) at ../src/Common/ThreadPool.h:178
#10 std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&> (__f=...) at ../contrib/libcxx/include/type_traits:3676
#11 std::__1::__invoke_void_return_wrapper<void>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&>(ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&) (__args=...) at ../contrib/libcxx/include/__functional_base:348
#12 std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()>::operator()() (this=<optimized out>)
    at ../contrib/libcxx/include/functional:1608
#13 std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()> >(std::__1::__function::__policy_storage const*) (__buf=<optimized out>) at ../contrib/libcxx/include/functional:2089
#14 0x00000000068bd710 in std::__1::__function::__policy_func<void ()>::operator()() const (this=0xffffb4437040) at ../contrib/libcxx/include/functional:2221
#15 std::__1::function<void ()>::operator()() const (this=0xffffb4437040) at ../contrib/libcxx/include/functional:2560
#16 ThreadPoolImpl<std::__1::thread>::worker (this=0xffff203d1200, thread_it=...) at ../src/Common/ThreadPool.cpp:247
#17 0x00000000068bf77c in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}::operator()() const (this=0x6a) at ../src/Common/ThreadPool.cpp:124
#18 std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}> (
    __f=<unknown type in /nas/ygt/clickhouse/clickhouse, CU 0x2748e6, DIE 0x285d4d>) at ../contrib/libcxx/include/type_traits:3676
#19 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>)::{lambda()#3}>(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>)::{lambda()#3}>&, std::__1::__tupl---Type <return> to continue, or q <return> to quit---
e_indices<>) (__t=...) at ../contrib/libcxx/include/thread:280
#20 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>)::{lambda()#3}> >(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>)::{lambda()#3}>)
    (__vp=<optimized out>) at ../contrib/libcxx/include/thread:291
#21 0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
#22 0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 7 (Thread 0xffffb4c37910 (LWP 545)):
#0  0x0000ffffb7f6d30c in pthread_cond_wait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c19fc2c in Poco::EventImpl::waitImpl (this=0xfffd800e0008) at ../contrib/poco/Foundation/src/Event_POSIX.cpp:106
#2  0x000000000c1ce5dc in Poco::Event::wait (this=0xfffd800e0008) at ../contrib/poco/Foundation/include/Poco/Event.h:97
#3  Poco::NotificationQueue::waitDequeueNotification (this=<optimized out>) at ../contrib/poco/Foundation/src/NotificationQueue.cpp:96
#4  0x000000000b336be8 in DB::BackgroundSchedulePool::threadFunction (this=this@entry=0xffff21242768) at ../src/Core/BackgroundSchedulePool.cpp:253
#5  0x000000000b33711c in DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1::operator()() const (this=<optimized out>)
    at ../src/Core/BackgroundSchedulePool.cpp:161
#6  std::__1::__invoke_constexpr<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&> (__f=...)
    at ../contrib/libcxx/include/type_traits:3682
#7  std::__1::__apply_tuple_impl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1415
#8  std::__1::apply<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&, std::__1::tuple<>&> (__t=..., __f=...)
    at ../contrib/libcxx/include/tuple:1424
#9  ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}::operator()() (this=<optimized out>) at ../src/Common/ThreadPool.h:178
#10 std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&> (__f=...) at ../contrib/libcxx/include/type_traits:3676
#11 std::__1::__invoke_void_return_wrapper<void>::__call<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&>(ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}&) (__args=...) at ../contrib/libcxx/include/__functional_base:348
#12 std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()>::operator()() (this=<optimized out>)
    at ../contrib/libcxx/include/functional:1608
#13 std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, unsigned long, char const*)::$_1&&)::{lambda()#1}, void ()> >(std::__1::__function::__policy_storage const*) (__buf=<optimized out>) at ../contrib/libcxx/include/functional:2089
#14 0x00000000068bd710 in std::__1::__function::__policy_func<void ()>::operator()() const (this=0xffffb4c37040) at ../contrib/libcxx/include/functional:2221
#15 std::__1::function<void ()>::operator()() const (this=0xffffb4c37040) at ../contrib/libcxx/include/functional:2560
#16 ThreadPoolImpl<std::__1::thread>::worker (this=0xffff203d1200, thread_it=...) at ../src/Common/ThreadPool.cpp:247
#17 0x00000000068bf77c in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}::operator()() const (this=0x6a) at ../src/Common/ThreadPool.cpp:124
#18 std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}> (
    __f=<unknown type in /nas/ygt/clickhouse/clickhouse, CU 0x2748e6, DIE 0x285d4d>) at ../contrib/libcxx/include/type_traits:3676
#19 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>)::{lambda()#3}>(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>)::{lambda()#3}>&, std::__1::__tuple_indices<>) (__t=...) at ../contrib/libcxx/include/thread:280
#20 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>)::{lambda()#3}> >(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>)::{lambda()#3}>)
    (__vp=<optimized out>) at ../contrib/libcxx/include/thread:291
#21 0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#22 0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 6 (Thread 0xffffb5437910 (LWP 544)):
#0  0x0000ffffb7f6d6a8 in pthread_cond_timedwait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c9a7460 in std::__1::__libcpp_condvar_timedwait (__cv=0xffff20079abc, __m=0x189, __ts=0xffffb5436d00) at ../contrib/libcxx/include/__threading_support:442













#2  std::__1::condition_variable::__do_timed_wait (this=0xffff20079abc, lk=..., tp=...) at ../contrib/libcxx/src/condition_variable.cpp:74
#3  0x000000000b3a3510 in std::__1::condition_variable::wait_for<long long, std::__1::ratio<1l, 1000000000l> > (this=0xffff20079ab8, __lk=..., __d=...)
    at ../contrib/libcxx/include/__mutex_base:462
#4  std::__1::condition_variable::__do_timed_wait<std::__1::chrono::steady_clock> (this=0xffff20079ab8, __lk=..., __tp=...) at ../contrib/libcxx/include/__mutex_base:520
#5  std::__1::condition_variable::wait_until<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > (this=0xffff20079ab8, __lk=..., 
    __t=...) at ../contrib/libcxx/include/__mutex_base:423
#6  std::__1::condition_variable::wait_until<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> >, DB::ExternalLoader::PeriodicUpdater::doPeriodicUpdates()::{lambda()#1}>(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&, DB::ExternalLoader::PeriodicUpdater::doPeriodicUpdates()::{lambda()#1}) (this=0xffff20079ab8, __lk=..., __t=..., __pred=...)
    at ../contrib/libcxx/include/__mutex_base:435
#7  std::__1::condition_variable::wait_for<long long, std::__1::ratio<1l, 1l>, DB::ExternalLoader::PeriodicUpdater::doPeriodicUpdates()::{lambda()#1}>(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1l> > const&, DB::ExternalLoader::PeriodicUpdater::doPeriodicUpdates()::{lambda()#1}) (this=0xffff20079ab8, __lk=..., 
    __d=..., __pred=...) at ../contrib/libcxx/include/__mutex_base:479
#8  DB::ExternalLoader::PeriodicUpdater::doPeriodicUpdates (this=0xffff20079a60) at ../src/Interpreters/ExternalLoader.cpp:1231
#9  0x000000000b3a49f0 in std::__1::__invoke_constexpr<void (DB::ExternalLoader::PeriodicUpdater::*&)(), DB::ExternalLoader::PeriodicUpdater*&, , void> (__f=<optimized out>, 
    __a0=<optimized out>) at ../contrib/libcxx/include/type_traits:3624
#10 std::__1::__apply_tuple_impl<void (DB::ExternalLoader::PeriodicUpdater::*&)(), std::__1::tuple<DB::ExternalLoader::PeriodicUpdater*>&, 0ul> (__f=<optimized out>, __t=...)
    at ../contrib/libcxx/include/tuple:1415
#11 std::__1::apply<void (DB::ExternalLoader::PeriodicUpdater::*&)(), std::__1::tuple<DB::ExternalLoader::PeriodicUpdater*>&> (__f=<optimized out>, __t=...)
    at ../contrib/libcxx/include/tuple:1424
#12 ThreadFromGlobalPool::ThreadFromGlobalPool<void (DB::ExternalLoader::PeriodicUpdater::*)(), DB::ExternalLoader::PeriodicUpdater*>(void (DB::ExternalLoader::PeriodicUpdater::*&&)(), DB::ExternalLoader::PeriodicUpdater*&&)::{lambda()#1}::operator()() (this=<optimized out>) at ../src/Common/ThreadPool.h:178
#13 0x00000000068bd710 in std::__1::__function::__policy_func<void ()>::operator()() const (this=0xffffb5437040) at ../contrib/libcxx/include/functional:2221
#14 std::__1::function<void ()>::operator()() const (this=0xffffb5437040) at ../contrib/libcxx/include/functional:2560
#15 ThreadPoolImpl<std::__1::thread>::worker (this=0xffff203d1200, thread_it=...) at ../src/Common/ThreadPool.cpp:247
#16 0x00000000068bf77c in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}::operator()() const (this=0x6a) at ../src/Common/ThreadPool.cpp:124
#17 std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::{lambda()#3}> (
    __f=<unknown type in /nas/ygt/clickhouse/clickhouse, CU 0x2748e6, DIE 0x285d4d>) at ../contrib/libcxx/include/type_traits:3676
#18 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>)::{lambda()#3}>(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>)::{lambda()#3}>&, std::__1::__tuple_indices<>) (__t=...) at ../contrib/libcxx/include/thread:280
#19 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>)::{lambda()#3}> >(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>)::{lambda()#3}>)
    (__vp=<optimized out>) at ../contrib/libcxx/include/thread:291
#20 0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
#21 0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 5 (Thread 0xffffb5c37910 (LWP 543)):
#0  0x0000ffffb7f6d30c in pthread_cond_wait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c19fc2c in Poco::EventImpl::waitImpl (this=0xffff20711a18) at ../contrib/poco/Foundation/src/Event_POSIX.cpp:106
#2  0x000000000c1f7878 in Poco::Event::wait (this=0xffff20711a18) at ../contrib/poco/Foundation/include/Poco/Event.h:97
#3  Poco::PooledThread::run (this=0xffff20711900) at ../contrib/poco/Foundation/src/ThreadPool.cpp:191
#4  0x000000000c1f58ac in Poco::ThreadImpl::runnableEntry (pThread=<optimized out>) at ../contrib/poco/Foundation/src/Thread_POSIX.cpp:345
#5  0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#6  0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 4 (Thread 0xffffb6437910 (LWP 542)):
#0  0x0000ffffb7f6d30c in pthread_cond_wait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c19fc2c in Poco::EventImpl::waitImpl (this=0xffff20711798) at ../contrib/poco/Foundation/src/Event_POSIX.cpp:106
#2  0x000000000c1f7878 in Poco::Event::wait (this=0xffff20711798) at ../contrib/poco/Foundation/include/Poco/Event.h:97
#3  Poco::PooledThread::run (this=0xffff20711680) at ../contrib/poco/Foundation/src/ThreadPool.cpp:191
#4  0x000000000c1f58ac in Poco::ThreadImpl::runnableEntry (pThread=<optimized out>) at ../contrib/poco/Foundation/src/Thread_POSIX.cpp:345
#5  0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
#6  0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 3 (Thread 0xffffb6c37910 (LWP 538)):
#0  0x0000ffffb7f6d30c in pthread_cond_wait@@GLIBC_2.17 () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x000000000c19fc2c in Poco::EventImpl::waitImpl (this=0xffff20711518) at ../contrib/poco/Foundation/src/Event_POSIX.cpp:106
#2  0x000000000c1f7878 in Poco::Event::wait (this=0xffff20711518) at ../contrib/poco/Foundation/include/Poco/Event.h:97
#3  Poco::PooledThread::run (this=0xffff20711400) at ../contrib/poco/Foundation/src/ThreadPool.cpp:191
#4  0x000000000c1f58ac in Poco::ThreadImpl::runnableEntry (pThread=<optimized out>) at ../contrib/poco/Foundation/src/Thread_POSIX.cpp:345
#5  0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
#6  0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 2 (Thread 0xffffb7667910 (LWP 536)):
#0  0x0000ffffb7f709c8 in read () from /lib/aarch64-linux-gnu/libpthread.so.0
#1  0x00000000068c6c80 in DB::ReadBufferFromFileDescriptor::nextImpl (this=0xffffb7665b48) at ../src/IO/ReadBufferFromFileDescriptor.cpp:56
#2  0x00000000069c3920 in DB::ReadBuffer::next (this=0xffffb7665b48) at ../src/IO/ReadBuffer.h:59
#3  DB::ReadBuffer::eof (this=0xffffb7665b48) at ../src/IO/ReadBuffer.h:87
#4  SignalListener::run (this=<optimized out>) at ../base/daemon/BaseDaemon.cpp:194
#5  0x000000000c1f58ac in Poco::ThreadImpl::runnableEntry (pThread=<optimized out>) at ../contrib/poco/Foundation/src/Thread_POSIX.cpp:345
#6  0x0000ffffb7f66fc4 in start_thread () from /lib/aarch64-linux-gnu/libpthread.so.0
#7  0x0000ffffb7e96a90 in ?? () from /lib/aarch64-linux-gnu/libc.so.6

Thread 1 (Thread 0xffffb7fb4910 (LWP 522)):
#0  0x0000ffffb7e015a8 in raise () from /lib/aarch64-linux-gnu/libc.so.6
#1  0x0000ffffb7e02a60 in abort () from /lib/aarch64-linux-gnu/libc.so.6
#2  0x00000000069c14fc in terminate_handler () at ../base/daemon/BaseDaemon.cpp:429
#3  0x000000000ca18eec in std::__terminate (func=0x0) at ../contrib/libcxxabi/src/cxa_handlers.cpp:59
#4  0x000000000ca18740 in __cxa_rethrow () at ../contrib/libcxxabi/src/cxa_exception.cpp:616
#5  0x00000000068938e8 in DB::getCurrentExceptionMessage (with_stacktrace=true, check_embedded_stacktrace=<optimized out>, with_extra_info=true) at ../src/Common/Exception.cpp:264
#6  0x00000000069c13e0 in terminate_handler () at ../base/daemon/BaseDaemon.cpp:414
#7  0x000000000ca18eec in std::__terminate (func=0x0) at ../contrib/libcxxabi/src/cxa_handlers.cpp:59
#8  0x000000000ca18428 in __cxxabiv1::failed_throw (exception_header=exception_header@entry=0xffff206a0700) at ../contrib/libcxxabi/src/cxa_exception.cpp:152
#9  0x000000000ca183a4 in __cxa_throw (thrown_object=<optimized out>, tinfo=0x546da30 <typeinfo for Poco::Net::SSLException>, dest=<optimized out>)
    at ../contrib/libcxxabi/src/cxa_exception.cpp:283
#10 0x000000000c0478a4 in Poco::Net::SSLManager::initDefaultContext (this=this@entry=0xffff20711e00, server=<optimized out>) at ../contrib/poco/NetSSL_OpenSSL/src/SSLManager.cpp:263
#11 0x000000000c046794 in Poco::Net::SSLManager::defaultServerContext (this=0xffff20711e00) at ../contrib/poco/NetSSL_OpenSSL/src/SSLManager.cpp:130
#12 0x000000000bbe3588 in DB::MySQLHandlerFactory::MySQLHandlerFactory (this=0xffff200c8d80, server_=...) at ../src/Server/MySQLHandlerFactory.cpp:30
#13 0x00000000068ed598 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&)::$_13::operator()(unsigned short) const (this=0xffff200c8ec0, port=<optimized out>)
    at ../programs/server/Server.cpp:1170
#14 std::__1::__invoke<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&)::$_13&, unsigned short> (__f=..., __args=<optimized out>) at ../contrib/libcxx/include/type_traits:3676
#15 std::__1::__invoke_void_return_wrapper<void>::__call<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&)::$_13&, unsigned short>(DB::Server::main(std::__1::vector<std::__1::basic_---Type <return> to continue, or q <return> to quit---
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&)::$_13&, unsigned short&&) (__args=<optimized out>, __args=<optimized out>) at ../contrib/libcxx/include/__functional_base:348
#16 std::__1::__function::__default_alloc_func<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&)::$_13, void (unsigned short)>::operator()(unsigned short&&) (this=0xffff200c8ec0, 
    __arg=<optimized out>) at ../contrib/libcxx/include/functional:1608
#17 std::__1::__function::__policy_invoker<void (unsigned short)>::__call_impl<std::__1::__function::__default_alloc_func<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&)::$_13, void (unsigned short)> >(std::__1::__function::__policy_storage const*, unsigned short) (__buf=<optimized out>, __args=<optimized out>) at ../contrib/libcxx/include/functional:2089
#18 0x00000000068dbe9c in std::__1::__function::__policy_func<void (unsigned short)>::operator()(unsigned short&&) const (this=0xffffffffeaf0, __args=<optimized out>)
    at ../contrib/libcxx/include/functional:2221
#19 std::__1::function<void (unsigned short)>::operator()(unsigned short) const (this=0xffffffffeaf0, __arg=<optimized out>) at ../contrib/libcxx/include/functional:2560
#20 DB::Server::createServer(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*, bool, std::__1::function<void (unsigned short)>&&) const (this=this@entry=0xffffffffedd8, listen_host=..., port_name=<optimized out>, port_name@entry=0x32475ae "mysql_port", listen_try=true, 
    func=func@entry=<unknown type in /nas/ygt/clickhouse/clickhouse, CU 0x45db41, DIE 0x56de6e>) at ../programs/server/Server.cpp:281
#21 0x00000000068e4804 in DB::Server::main (this=<optimized out>) at ../programs/server/Server.cpp:1163
#22 0x000000000c0985bc in Poco::Util::Application::run (this=0xffffffffedd8) at ../contrib/poco/Util/src/Application.cpp:334
#23 0x00000000068dc7a8 in DB::Server::run (this=0xffffffffedd8) at ../programs/server/Server.cpp:325
#24 0x000000000c0aa7e8 in Poco::Util::ServerApplication::run (this=0xffffffffedd8, argc=1, argv=0xffff201312d0) at ../contrib/poco/Util/src/ServerApplication.cpp:611
#25 0x00000000068db80c in mainEntryClickHouseServer (argc=1, argv=<optimized out>) at ../programs/server/Server.cpp:117
#26 0x0000000006891328 in main (argc_=<optimized out>, argv_=<optimized out>) at ../programs/main.cpp:368
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) quit
A debugging session is active.

	Inferior 1 [process 522] will be killed.

Quit anyway? (y or n) y

@alexey-milovidov alexey-milovidov added st-accepted The issue is in our backlog, ready to take and removed st-need-info We need extra data to continue (waiting for response) labels Jan 28, 2021
@alexey-milovidov
Copy link
Member

Does it help to disable mysql_port in config?

@alexey-milovidov
Copy link
Member

The info you posted indicates that our ARM64 build is broken somehow (exception handling does not work in some cases), similar to #15638

@lurenjia528
Copy link
Author

The info you posted indicates that our ARM64 build is broken somehow (exception handling does not work in some cases), similar to #15638

thanks

@van4oza
Copy link

van4oza commented Feb 5, 2023

Amazon Linux 2

Установлено:
  clickhouse-client.aarch64 0:23.1.3.5-1
  clickhouse-server.aarch64 0:23.1.3.5-1                                                                   

Установлены зависимости:
  clickhouse-common-static.aarch64 0:23.1.3.5-1                                                                                                                                                                       

Выполнено!

[ec2-user@ip-10-0-7-11 ~]$ sudo /etc/init.d/clickhouse-server start

clickhouse: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by clickhouse)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-aarch64 arm / aarch platform specific st-accepted The issue is in our backlog, ready to take unfinished code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants