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

Regular Segfaults (possibly due to disconnecting display) #1167

Closed
haata opened this issue Jul 18, 2021 · 5 comments
Closed

Regular Segfaults (possibly due to disconnecting display) #1167

haata opened this issue Jul 18, 2021 · 5 comments

Comments

@haata
Copy link

haata commented Jul 18, 2021

I've been getting waybar segfaults about once or twice a day. One of my monitors I send dpms off regularly, but this might not be related.

(gdb) thread apply all bt

Thread 35 (Thread 0x7fff9d7fa640 (LWP 204648) "waybar"):
#0  0x00007ffff66d98ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1  0x00007ffff66d3574 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#2  0x000055555566a590 in __gthread_cond_timedwait(__gthread_cond_t*, __gthread_mutex_t*, __gthread_time_t const*) (__cond=0x55555577c158, __mutex=0x55555577c188, __abs_timeout=0x7fff9d7f9960) at /usr/include/c++/11.1.0/x86_64-pc-linux-gnu/bits/gthr-default.h:872
#3  0x000055555566c6ea in std::__condvar::wait_until(std::mutex&, timespec&) (this=0x55555577c158, __m=..., __abs_time=...) at /usr/include/c++/11.1.0/bits/std_mutex.h:162
#4  0x000055555566db32 in std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) (this=0x55555577c158, __lock=..., __atime=...) at /usr/include/c++/11.1.0/condition_variable:222
#5  0x000055555566d431 in std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) (this=0x55555577c158, __lock=..., __atime=...) at /usr/include/c++/11.1.0/condition_variable:118
#6  0x000055555566cbe5 in std::condition_variable::wait_until<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> >, waybar::util::SleeperThread::sleep_until(std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > >)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&, waybar::util::SleeperThread::sleep_until(std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > >)::{lambda()#1}) (this=0x55555577c158, __lock=..., __atime=..., __p=...) at /usr/include/c++/11.1.0/condition_variable:152
#7  0x000055555566c785 in waybar::util::SleeperThread::sleep_until(std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > >) (this=0x55555577c150, time_point=...) at ../include/util/sleeper_thread.hpp:60
#8  0x0000555555668824 in operator()() const (__closure=0x55555580ac70) at ../src/modules/clock.cpp:35
#9  0x000055555566a4dc in std::__invoke_impl<void, waybar::modules::Clock::Clock(const string&, const Json::Value&)::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#10 0x000055555566a3cc in std::__invoke_r<void, waybar::modules::Clock::Clock(const string&, const Json::Value&)::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:111
#11 0x000055555566a2be in std::_Function_handler<void(), waybar::modules::Clock::Clock(const string&, const Json::Value&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11.1.0/bits/std_function.h:291
#12 0x00005555555855fa in std::function<void ()>::operator()() const (this=0x55555580ac70) at /usr/include/c++/11.1.0/bits/std_function.h:560
#13 0x0000555555584df1 in waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}::operator()() const (__closure=0x55555580ac68) at ../include/util/sleeper_thread.hpp:41
#14 0x0000555555589396 in std::__invoke_impl<void, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(std::__invoke_other, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#15 0x000055555558934b in std::__invoke<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:96
#16 0x00005555555892f8 in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x55555580ac68) at /usr/include/c++/11.1.0/bits/std_thread.h:253
#17 0x00005555555892cc in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::operator()() (this=0x55555580ac68) at /usr/include/c++/11.1.0/bits/std_thread.h:260
#18 0x00005555555892b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() (this=0x55555580ac60) at /usr/include/c++/11.1.0/bits/std_thread.h:211
#19 0x00007ffff69173c4 in std::execute_native_thread_routine(void*) (__p=0x55555580ac60) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#20 0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#21 0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 34 (Thread 0x7fff9dffb640 (LWP 204647) "waybar"):
#0  0x00007ffff66d6a2c in recv () at /usr/lib/libpthread.so.0
#1  0x00005555555da3e2 in waybar::modules::sway::Ipc::recv(int) (this=0x5555557ba230, fd=53) at ../src/modules/sway/ipc/client.cpp:83
#2  0x00005555555dac36 in waybar::modules::sway::Ipc::handleEvent() (this=0x5555557ba230) at ../src/modules/sway/ipc/client.cpp:145
#3  0x00005555555dd859 in operator()() const (__closure=0x555555959560) at ../src/modules/sway/language.cpp:15
#4  0x00005555555de9be in std::__invoke_impl<void, waybar::modules::sway::Language::Language(const string&, const Json::Value&)::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#5  0x00005555555de8ae in std::__invoke_r<void, waybar::modules::sway::Language::Language(const string&, const Json::Value&)::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:111
#6  0x00005555555de7a0 in std::_Function_handler<void(), waybar::modules::sway::Language::Language(const string&, const Json::Value&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11.1.0/bits/std_function.h:291
#7  0x00005555555855fa in std::function<void ()>::operator()() const (this=0x555555959560) at /usr/include/c++/11.1.0/bits/std_function.h:560
#8  0x0000555555584df1 in waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}::operator()() const (__closure=0x555555959558) at ../include/util/sleeper_thread.hpp:41
#9  0x0000555555589396 in std::__invoke_impl<void, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(std::__invoke_other, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#10 0x000055555558934b in std::__invoke<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:96
#11 0x00005555555892f8 in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x555555959558) at /usr/include/c++/11.1.0/bits/std_thread.h:253
#12 0x00005555555892cc in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::operator()() (this=0x555555959558) at /usr/include/c++/11.1.0/bits/std_thread.h:260
#13 0x00005555555892b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() (this=0x555555959550) at /usr/include/c++/11.1.0/bits/std_thread.h:211
#14 0x00007ffff69173c4 in std::execute_native_thread_routine(void*) (__p=0x555555959550) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#15 0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#16 0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 33 (Thread 0x7fff9e7fc640 (LWP 204646) "waybar"):
#0  0x00007ffff66d98ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1  0x00007ffff66d3842 in pthread_cond_clockwait () at /usr/lib/libpthread.so.0
#2  0x000055555558408b in std::__condvar::wait_until(std::mutex&, int, timespec&) (this=0x55555573fef8, __m=..., __clock=1, __abs_time=...) at /usr/include/c++/11.1.0/bits/std_mutex.h:169
#3  0x0000555555587ea2 in std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) (this=0x55555573fef8, __lock=..., __atime=...) at /usr/include/c++/11.1.0/condition_variable:201
#4  0x0000555555587437 in std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) (this=0x55555573fef8, __lock=..., __atime=...) at /usr/include/c++/11.1.0/condition_variable:111
#5  0x00005555555863f5 in std::condition_variable::wait_until<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> >, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}) (this=0x55555573fef8, __lock=..., __atime=..., __p=...) at /usr/include/c++/11.1.0/condition_variable:152
#6  0x000055555558585a in std::condition_variable::wait_for<long, std::ratio<1l, 1000000000l>, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::duration<long, std::ratio<1l, 1000000000l> > const&, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}) (this=0x55555573fef8, __lock=..., __rtime=..., __p=...) at /usr/include/c++/11.1.0/condition_variable:175
#7  0x0000555555584f73 in waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >) (this=0x55555573fef0, dur=...) at ../include/util/sleeper_thread.hpp:52
#8  0x000055555558e0d9 in operator()() const (__closure=0x5555557f3180) at ../src/modules/temperature.cpp:20
#9  0x000055555558f778 in std::__invoke_impl<void, waybar::modules::Temperature::Temperature(const string&, const Json::Value&)::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#10 0x000055555558f668 in std::__invoke_r<void, waybar::modules::Temperature::Temperature(const string&, const Json::Value&)::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:111
#11 0x000055555558f55a in std::_Function_handler<void(), waybar::modules::Temperature::Temperature(const string&, const Json::Value&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11.1.0/bits/std_function.h:291
--Type <RET> for more, q to quit, c to continue without paging--
#12 0x00005555555855fa in std::function<void ()>::operator()() const (this=0x5555557f3180) at /usr/include/c++/11.1.0/bits/std_function.h:560
#13 0x0000555555584df1 in waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}::operator()() const (__closure=0x5555557f3178) at ../include/util/sleeper_thread.hpp:41
#14 0x0000555555589396 in std::__invoke_impl<void, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(std::__invoke_other, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#15 0x000055555558934b in std::__invoke<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:96
#16 0x00005555555892f8 in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x5555557f3178) at /usr/include/c++/11.1.0/bits/std_thread.h:253
#17 0x00005555555892cc in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::operator()() (this=0x5555557f3178) at /usr/include/c++/11.1.0/bits/std_thread.h:260
#18 0x00005555555892b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() (this=0x5555557f3170) at /usr/include/c++/11.1.0/bits/std_thread.h:211
#19 0x00007ffff69173c4 in std::execute_native_thread_routine(void*) (__p=0x5555557f3170) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#20 0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#21 0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 32 (Thread 0x7fff9effd640 (LWP 204645) "waybar"):
#0  0x00007ffff66d98ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1  0x00007ffff66d3842 in pthread_cond_clockwait () at /usr/lib/libpthread.so.0
#2  0x000055555558408b in std::__condvar::wait_until(std::mutex&, int, timespec&) (this=0x55555578c390, __m=..., __clock=1, __abs_time=...) at /usr/include/c++/11.1.0/bits/std_mutex.h:169
#3  0x0000555555587ea2 in std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) (this=0x55555578c390, __lock=..., __atime=...) at /usr/include/c++/11.1.0/condition_variable:201
#4  0x0000555555587437 in std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) (this=0x55555578c390, __lock=..., __atime=...) at /usr/include/c++/11.1.0/condition_variable:111
#5  0x00005555555863f5 in std::condition_variable::wait_until<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> >, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}) (this=0x55555578c390, __lock=..., __atime=..., __p=...) at /usr/include/c++/11.1.0/condition_variable:152
#6  0x000055555558585a in std::condition_variable::wait_for<long, std::ratio<1l, 1000000000l>, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::duration<long, std::ratio<1l, 1000000000l> > const&, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}) (this=0x55555578c390, __lock=..., __rtime=..., __p=...) at /usr/include/c++/11.1.0/condition_variable:175
#7  0x0000555555584f73 in waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >) (this=0x55555578c388, dur=...) at ../include/util/sleeper_thread.hpp:52
#8  0x00005555555d5def in operator()() const (__closure=0x555555b118c0) at ../src/modules/memory/common.cpp:7
#9  0x00005555555d722a in std::__invoke_impl<void, waybar::modules::Memory::Memory(const string&, const Json::Value&)::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#10 0x00005555555d711a in std::__invoke_r<void, waybar::modules::Memory::Memory(const string&, const Json::Value&)::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:111
#11 0x00005555555d700c in std::_Function_handler<void(), waybar::modules::Memory::Memory(const string&, const Json::Value&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11.1.0/bits/std_function.h:291
#12 0x00005555555855fa in std::function<void ()>::operator()() const (this=0x555555b118c0) at /usr/include/c++/11.1.0/bits/std_function.h:560
#13 0x0000555555584df1 in waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}::operator()() const (__closure=0x555555b118b8) at ../include/util/sleeper_thread.hpp:41
#14 0x0000555555589396 in std::__invoke_impl<void, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(std::__invoke_other, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#15 0x000055555558934b in std::__invoke<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:96
#16 0x00005555555892f8 in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x555555b118b8) at /usr/include/c++/11.1.0/bits/std_thread.h:253
#17 0x00005555555892cc in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::operator()() (this=0x555555b118b8) at /usr/include/c++/11.1.0/bits/std_thread.h:260
#18 0x00005555555892b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() (this=0x555555b118b0) at /usr/include/c++/11.1.0/bits/std_thread.h:211
#19 0x00007ffff69173c4 in std::execute_native_thread_routine(void*) (__p=0x555555b118b0) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#20 0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#21 0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 31 (Thread 0x7fff9f7fe640 (LWP 204644) "waybar"):
#0  0x00007ffff66d98ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1  0x00007ffff66d3842 in pthread_cond_clockwait () at /usr/lib/libpthread.so.0
#2  0x000055555558408b in std::__condvar::wait_until(std::mutex&, int, timespec&) (this=0x555555741b90, __m=..., __clock=1, __abs_time=...) at /usr/include/c++/11.1.0/bits/std_mutex.h:169
#3  0x0000555555587ea2 in std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) (this=0x555555741b90, __lock=..., __atime=...) at /usr/include/c++/11.1.0/condition_variable:201
#4  0x0000555555587437 in std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) (this=0x555555741b90, __lock=..., __atime=...) at /usr/include/c++/11.1.0/condition_variable:111
#5  0x00005555555863f5 in std::condition_variable::wait_until<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> >, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}) (this=0x555555741b90, __lock=..., __atime=..., __p=...) at /usr/include/c++/11.1.0/condition_variable:152
#6  0x000055555558585a in std::condition_variable::wait_for<long, std::ratio<1l, 1000000000l>, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::duration<long, std::ratio<1l, 1000000000l> > const&, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}) (this=0x555555741b90, __lock=..., __rtime=..., __p=...) at /usr/include/c++/11.1.0/condition_variable:175
#7  0x0000555555584f73 in waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >) (this=0x555555741b88, dur=...) at ../include/util/sleeper_thread.hpp:52
#8  0x00005555555cec3b in operator()() const (__closure=0x555555b063c0) at ../src/modules/cpu/common.cpp:7
#9  0x00005555555cffcc in std::__invoke_impl<void, waybar::modules::Cpu::Cpu(const string&, const Json::Value&)::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#10 0x00005555555cfebc in std::__invoke_r<void, waybar::modules::Cpu::Cpu(const string&, const Json::Value&)::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:111
#11 0x00005555555cfdae in std::_Function_handler<void(), waybar::modules::Cpu::Cpu(const string&, const Json::Value&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11.1.0/bits/std_function.h:291
#12 0x00005555555855fa in std::function<void ()>::operator()() const (this=0x555555b063c0) at /usr/include/c++/11.1.0/bits/std_function.h:560
#13 0x0000555555584df1 in waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}::operator()() const (__closure=0x555555b063b8) at ../include/util/sleeper_thread.hpp:41
#14 0x0000555555589396 in std::__invoke_impl<void, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(std::__invoke_other, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#15 0x000055555558934b in std::__invoke<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:96
#16 0x00005555555892f8 in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x555555b063b8) at /usr/include/c++/11.1.0/bits/std_thread.h:253
#17 0x00005555555892cc in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::operator()() (this=0x555555b063b8) at /usr/include/c++/11.1.0/bits/std_thread.h:260
#18 0x00005555555892b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() (this=0x555555b063b0) at /usr/include--Type <RET> for more, q to quit, c to continue without paging--
/c++/11.1.0/bits/std_thread.h:211
#19 0x00007ffff69173c4 in std::execute_native_thread_routine(void*) (__p=0x555555b063b0) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#20 0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#21 0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 30 (Thread 0x7fff9ffff640 (LWP 204643) "waybar"):
#0  0x00007ffff65f692e in epoll_wait () at /usr/lib/libc.so.6
#1  0x0000555555628148 in operator()() const (__closure=0x5555558693d0) at ../src/modules/network.cpp:261
#2  0x000055555562c372 in std::__invoke_impl<void, waybar::modules::Network::worker()::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#3  0x000055555562c1a9 in std::__invoke_r<void, waybar::modules::Network::worker()::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:111
#4  0x000055555562bf52 in std::_Function_handler<void(), waybar::modules::Network::worker()::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11.1.0/bits/std_function.h:291
#5  0x00005555555855fa in std::function<void ()>::operator()() const (this=0x5555558693d0) at /usr/include/c++/11.1.0/bits/std_function.h:560
#6  0x0000555555584df1 in waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}::operator()() const (__closure=0x5555558693c8) at ../include/util/sleeper_thread.hpp:41
#7  0x0000555555589396 in std::__invoke_impl<void, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(std::__invoke_other, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#8  0x000055555558934b in std::__invoke<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:96
#9  0x00005555555892f8 in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x5555558693c8) at /usr/include/c++/11.1.0/bits/std_thread.h:253
#10 0x00005555555892cc in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::operator()() (this=0x5555558693c8) at /usr/include/c++/11.1.0/bits/std_thread.h:260
#11 0x00005555555892b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() (this=0x5555558693c0) at /usr/include/c++/11.1.0/bits/std_thread.h:211
#12 0x00007ffff69173c4 in std::execute_native_thread_routine(void*) (__p=0x5555558693c0) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#13 0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#14 0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 29 (Thread 0x7fffc0ff9640 (LWP 204642) "waybar"):
#0  0x00007ffff66d98ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1  0x00007ffff66d3842 in pthread_cond_clockwait () at /usr/lib/libpthread.so.0
#2  0x000055555558408b in std::__condvar::wait_until(std::mutex&, int, timespec&) (this=0x555555809f98, __m=..., __clock=1, __abs_time=...) at /usr/include/c++/11.1.0/bits/std_mutex.h:169
#3  0x0000555555587ea2 in std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) (this=0x555555809f98, __lock=..., __atime=...) at /usr/include/c++/11.1.0/condition_variable:201
#4  0x0000555555587437 in std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) (this=0x555555809f98, __lock=..., __atime=...) at /usr/include/c++/11.1.0/condition_variable:111
#5  0x00005555555863f5 in std::condition_variable::wait_until<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> >, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}) (this=0x555555809f98, __lock=..., __atime=..., __p=...) at /usr/include/c++/11.1.0/condition_variable:152
#6  0x000055555558585a in std::condition_variable::wait_for<long, std::ratio<1l, 1000000000l>, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::duration<long, std::ratio<1l, 1000000000l> > const&, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}) (this=0x555555809f98, __lock=..., __rtime=..., __p=...) at /usr/include/c++/11.1.0/condition_variable:175
#7  0x0000555555584f73 in waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >) (this=0x555555809f90, dur=...) at ../include/util/sleeper_thread.hpp:52
#8  0x00005555556280a4 in operator()() const (__closure=0x5555558015b0) at ../src/modules/network.cpp:245
#9  0x000055555562c2b8 in std::__invoke_impl<void, waybar::modules::Network::worker()::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#10 0x000055555562c060 in std::__invoke_r<void, waybar::modules::Network::worker()::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:111
#11 0x000055555562be66 in std::_Function_handler<void(), waybar::modules::Network::worker()::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11.1.0/bits/std_function.h:291
#12 0x00005555555855fa in std::function<void ()>::operator()() const (this=0x5555558015b0) at /usr/include/c++/11.1.0/bits/std_function.h:560
#13 0x0000555555584df1 in waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}::operator()() const (__closure=0x5555558015a8) at ../include/util/sleeper_thread.hpp:41
#14 0x0000555555589396 in std::__invoke_impl<void, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(std::__invoke_other, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#15 0x000055555558934b in std::__invoke<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:96
#16 0x00005555555892f8 in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x5555558015a8) at /usr/include/c++/11.1.0/bits/std_thread.h:253
#17 0x00005555555892cc in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::operator()() (this=0x5555558015a8) at /usr/include/c++/11.1.0/bits/std_thread.h:260
#18 0x00005555555892b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() (this=0x5555558015a0) at /usr/include/c++/11.1.0/bits/std_thread.h:211
#19 0x00007ffff69173c4 in std::execute_native_thread_routine(void*) (__p=0x5555558015a0) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#20 0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#21 0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 28 (Thread 0x7fffc17fa640 (LWP 204641) "threaded-ml"):
#0  0x00007ffff65ebb2f in poll () at /usr/lib/libc.so.6
#1  0x00007ffff6b3b654 in  () at /usr/lib/libpulse.so.0
#2  0x00007ffff6b249a9 in pa_mainloop_poll () at /usr/lib/libpulse.so.0
#3  0x00007ffff6b2f281 in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#4  0x00007ffff6b2f331 in pa_mainloop_run () at /usr/lib/libpulse.so.0
#5  0x00007ffff6b3f7fe in  () at /usr/lib/libpulse.so.0
#6  0x00007ffff5b575cc in  () at /usr/lib/pulseaudio/libpulsecommon-14.2.so
#7  0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 27 (Thread 0x7fffc1ffb640 (LWP 204640) "waybar"):
#0  0x00007ffff66d6a2c in recv () at /usr/lib/libpthread.so.0
#1  0x00005555555da3e2 in waybar::modules::sway::Ipc::recv(int) (this=0x5555559a7708, fd=43) at ../src/modules/sway/ipc/client.cpp:83
#2  0x00005555555dac36 in waybar::modules::sway::Ipc::handleEvent() (this=0x5555559a7708) at ../src/modules/sway/ipc/client.cpp:145
#3  0x00005555555df573 in operator()() const (__closure=0x555555b0ea40) at ../src/modules/sway/window.cpp:17
#4  0x00005555555e1c2a in std::__invoke_impl<void, waybar::modules::sway::Window::Window(const string&, const waybar::Bar&, const Json::Value&)::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#5  0x00005555555e1b1a in std::__invoke_r<void, waybar::modules::sway::Window::Window(const string&, const waybar::Bar&, const Json::Value&)::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:111
#6  0x00005555555e1a0c in std::_Function_handler<void(), waybar::modules::sway::Window::Window(const string&, const waybar::Bar&, const Json::Value&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11.1.0/bits/std_function.h:291
#7  0x00005555555855fa in std::function<void ()>::operator()() const (this=0x555555b0ea40) at /usr/include/c++/11.1.0/bits/std_function.h:560
#8  0x0000555555584df1 in waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}::operator()() const (__closure=0x555555b0ea38) at ../include/util/sleeper_thread.hpp:41
--Type <RET> for more, q to quit, c to continue without paging--
#9  0x0000555555589396 in std::__invoke_impl<void, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(std::__invoke_other, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#10 0x000055555558934b in std::__invoke<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:96
#11 0x00005555555892f8 in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x555555b0ea38) at /usr/include/c++/11.1.0/bits/std_thread.h:253
#12 0x00005555555892cc in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::operator()() (this=0x555555b0ea38) at /usr/include/c++/11.1.0/bits/std_thread.h:260
#13 0x00005555555892b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() (this=0x555555b0ea30) at /usr/include/c++/11.1.0/bits/std_thread.h:211
#14 0x00007ffff69173c4 in std::execute_native_thread_routine(void*) (__p=0x555555b0ea30) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#15 0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#16 0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 25 (Thread 0x7fffc2ffd640 (LWP 204627) "waybar"):
#0  0x00007ffff66d6a2c in recv () at /usr/lib/libpthread.so.0
#1  0x00005555555da3e2 in waybar::modules::sway::Ipc::recv(int) (this=0x555555806500, fd=40) at ../src/modules/sway/ipc/client.cpp:83
#2  0x00005555555dac36 in waybar::modules::sway::Ipc::handleEvent() (this=0x555555806500) at ../src/modules/sway/ipc/client.cpp:145
#3  0x00005555555dbec9 in operator()() const (__closure=0x55555595d9f0) at ../src/modules/sway/mode.cpp:13
#4  0x00005555555dcbe0 in std::__invoke_impl<void, waybar::modules::sway::Mode::Mode(const string&, const Json::Value&)::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#5  0x00005555555dcad0 in std::__invoke_r<void, waybar::modules::sway::Mode::Mode(const string&, const Json::Value&)::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:111
#6  0x00005555555dc9c2 in std::_Function_handler<void(), waybar::modules::sway::Mode::Mode(const string&, const Json::Value&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11.1.0/bits/std_function.h:291
#7  0x00005555555855fa in std::function<void ()>::operator()() const (this=0x55555595d9f0) at /usr/include/c++/11.1.0/bits/std_function.h:560
#8  0x0000555555584df1 in waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}::operator()() const (__closure=0x55555595d9e8) at ../include/util/sleeper_thread.hpp:41
#9  0x0000555555589396 in std::__invoke_impl<void, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(std::__invoke_other, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#10 0x000055555558934b in std::__invoke<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:96
#11 0x00005555555892f8 in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x55555595d9e8) at /usr/include/c++/11.1.0/bits/std_thread.h:253
#12 0x00005555555892cc in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::operator()() (this=0x55555595d9e8) at /usr/include/c++/11.1.0/bits/std_thread.h:260
#13 0x00005555555892b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() (this=0x55555595d9e0) at /usr/include/c++/11.1.0/bits/std_thread.h:211
#14 0x00007ffff69173c4 in std::execute_native_thread_routine(void*) (__p=0x55555595d9e0) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#15 0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#16 0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 24 (Thread 0x7fffc27fc640 (LWP 204626) "waybar"):
#0  0x00007ffff66d6a2c in recv () at /usr/lib/libpthread.so.0
#1  0x00005555555da3e2 in waybar::modules::sway::Ipc::recv(int) (this=0x55555580dde8, fd=38) at ../src/modules/sway/ipc/client.cpp:83
#2  0x00005555555dac36 in waybar::modules::sway::Ipc::handleEvent() (this=0x55555580dde8) at ../src/modules/sway/ipc/client.cpp:145
#3  0x000055555560c0fd in operator()() const (__closure=0x555555a24750) at ../src/modules/sway/workspaces.cpp:47
#4  0x0000555555610f16 in std::__invoke_impl<void, waybar::modules::sway::Workspaces::Workspaces(const string&, const waybar::Bar&, const Json::Value&)::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#5  0x00005555556106e0 in std::__invoke_r<void, waybar::modules::sway::Workspaces::Workspaces(const string&, const waybar::Bar&, const Json::Value&)::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:111
#6  0x000055555561028e in std::_Function_handler<void(), waybar::modules::sway::Workspaces::Workspaces(const string&, const waybar::Bar&, const Json::Value&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11.1.0/bits/std_function.h:291
#7  0x00005555555855fa in std::function<void ()>::operator()() const (this=0x555555a24750) at /usr/include/c++/11.1.0/bits/std_function.h:560
#8  0x0000555555584df1 in waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}::operator()() const (__closure=0x555555a24748) at ../include/util/sleeper_thread.hpp:41
#9  0x0000555555589396 in std::__invoke_impl<void, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(std::__invoke_other, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#10 0x000055555558934b in std::__invoke<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:96
#11 0x00005555555892f8 in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x555555a24748) at /usr/include/c++/11.1.0/bits/std_thread.h:253
#12 0x00005555555892cc in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::operator()() (this=0x555555a24748) at /usr/include/c++/11.1.0/bits/std_thread.h:260
#13 0x00005555555892b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() (this=0x555555a24740) at /usr/include/c++/11.1.0/bits/std_thread.h:211
#14 0x00007ffff69173c4 in std::execute_native_thread_routine(void*) (__p=0x555555a24740) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#15 0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#16 0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 17 (Thread 0x7fffc8ff9640 (LWP 204590) "waybar"):
#0  0x00007ffff66d6a2c in recv () at /usr/lib/libpthread.so.0
#1  0x00005555555da3e2 in waybar::modules::sway::Ipc::recv(int) (this=0x5555558431d0, fd=32) at ../src/modules/sway/ipc/client.cpp:83
#2  0x00005555555dac36 in waybar::modules::sway::Ipc::handleEvent() (this=0x5555558431d0) at ../src/modules/sway/ipc/client.cpp:145
#3  0x00005555555dd859 in operator()() const (__closure=0x5555559ac9d0) at ../src/modules/sway/language.cpp:15
#4  0x00005555555de9be in std::__invoke_impl<void, waybar::modules::sway::Language::Language(const string&, const Json::Value&)::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#5  0x00005555555de8ae in std::__invoke_r<void, waybar::modules::sway::Language::Language(const string&, const Json::Value&)::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:111
#6  0x00005555555de7a0 in std::_Function_handler<void(), waybar::modules::sway::Language::Language(const string&, const Json::Value&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11.1.0/bits/std_function.h:291
#7  0x00005555555855fa in std::function<void ()>::operator()() const (this=0x5555559ac9d0) at /usr/include/c++/11.1.0/bits/std_function.h:560
#8  0x0000555555584df1 in waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}::operator()() const (__closure=0x5555559ac9c8) at ../include/util/sleeper_thread.hpp:41
#9  0x0000555555589396 in std::__invoke_impl<void, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(std::__invoke_other, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#10 0x000055555558934b in std::__invoke<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:96
#11 0x00005555555892f8 in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x5555559ac9c8) at /usr/include/c++/11.1.0/bits/std_thread.h:253
#12 0x00005555555892cc in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::operator()() (this=0x5555559ac9c8) at /usr/include/c++/11.1.0/bits/std_thread.h:260
--Type <RET> for more, q to quit, c to continue without paging--
#13 0x00005555555892b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() (this=0x5555559ac9c0) at /usr/include/c++/11.1.0/bits/std_thread.h:211
#14 0x00007ffff69173c4 in std::execute_native_thread_routine(void*) (__p=0x5555559ac9c0) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#15 0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#16 0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 16 (Thread 0x7fffc97fa640 (LWP 204589) "waybar"):
#0  0x00007ffff66d98ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1  0x00007ffff66d3842 in pthread_cond_clockwait () at /usr/lib/libpthread.so.0
#2  0x000055555558408b in std::__condvar::wait_until(std::mutex&, int, timespec&) (this=0x5555557dc8f8, __m=..., __clock=1, __abs_time=...) at /usr/include/c++/11.1.0/bits/std_mutex.h:169
#3  0x0000555555587ea2 in std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) (this=0x5555557dc8f8, __lock=..., __atime=...) at /usr/include/c++/11.1.0/condition_variable:201
#4  0x0000555555587437 in std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) (this=0x5555557dc8f8, __lock=..., __atime=...) at /usr/include/c++/11.1.0/condition_variable:111
#5  0x00005555555863f5 in std::condition_variable::wait_until<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> >, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}) (this=0x5555557dc8f8, __lock=..., __atime=..., __p=...) at /usr/include/c++/11.1.0/condition_variable:152
#6  0x000055555558585a in std::condition_variable::wait_for<long, std::ratio<1l, 1000000000l>, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::duration<long, std::ratio<1l, 1000000000l> > const&, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}) (this=0x5555557dc8f8, __lock=..., __rtime=..., __p=...) at /usr/include/c++/11.1.0/condition_variable:175
#7  0x0000555555584f73 in waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >) (this=0x5555557dc8f0, dur=...) at ../include/util/sleeper_thread.hpp:52
#8  0x000055555558e0d9 in operator()() const (__closure=0x555555a97370) at ../src/modules/temperature.cpp:20
#9  0x000055555558f778 in std::__invoke_impl<void, waybar::modules::Temperature::Temperature(const string&, const Json::Value&)::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#10 0x000055555558f668 in std::__invoke_r<void, waybar::modules::Temperature::Temperature(const string&, const Json::Value&)::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:111
#11 0x000055555558f55a in std::_Function_handler<void(), waybar::modules::Temperature::Temperature(const string&, const Json::Value&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11.1.0/bits/std_function.h:291
#12 0x00005555555855fa in std::function<void ()>::operator()() const (this=0x555555a97370) at /usr/include/c++/11.1.0/bits/std_function.h:560
#13 0x0000555555584df1 in waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}::operator()() const (__closure=0x555555a97368) at ../include/util/sleeper_thread.hpp:41
#14 0x0000555555589396 in std::__invoke_impl<void, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(std::__invoke_other, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#15 0x000055555558934b in std::__invoke<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:96
#16 0x00005555555892f8 in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x555555a97368) at /usr/include/c++/11.1.0/bits/std_thread.h:253
#17 0x00005555555892cc in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::operator()() (this=0x555555a97368) at /usr/include/c++/11.1.0/bits/std_thread.h:260
#18 0x00005555555892b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() (this=0x555555a97360) at /usr/include/c++/11.1.0/bits/std_thread.h:211
#19 0x00007ffff69173c4 in std::execute_native_thread_routine(void*) (__p=0x555555a97360) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#20 0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#21 0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 15 (Thread 0x7fffc9ffb640 (LWP 204588) "waybar"):
#0  0x00007ffff66d98ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1  0x00007ffff66d3842 in pthread_cond_clockwait () at /usr/lib/libpthread.so.0
#2  0x000055555558408b in std::__condvar::wait_until(std::mutex&, int, timespec&) (this=0x555555849390, __m=..., __clock=1, __abs_time=...) at /usr/include/c++/11.1.0/bits/std_mutex.h:169
#3  0x0000555555587ea2 in std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) (this=0x555555849390, __lock=..., __atime=...) at /usr/include/c++/11.1.0/condition_variable:201
#4  0x0000555555587437 in std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) (this=0x555555849390, __lock=..., __atime=...) at /usr/include/c++/11.1.0/condition_variable:111
#5  0x00005555555863f5 in std::condition_variable::wait_until<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> >, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}) (this=0x555555849390, __lock=..., __atime=..., __p=...) at /usr/include/c++/11.1.0/condition_variable:152
#6  0x000055555558585a in std::condition_variable::wait_for<long, std::ratio<1l, 1000000000l>, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::duration<long, std::ratio<1l, 1000000000l> > const&, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}) (this=0x555555849390, __lock=..., __rtime=..., __p=...) at /usr/include/c++/11.1.0/condition_variable:175
#7  0x0000555555584f73 in waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >) (this=0x555555849388, dur=...) at ../include/util/sleeper_thread.hpp:52
#8  0x00005555555d5def in operator()() const (__closure=0x5555559543b0) at ../src/modules/memory/common.cpp:7
#9  0x00005555555d722a in std::__invoke_impl<void, waybar::modules::Memory::Memory(const string&, const Json::Value&)::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#10 0x00005555555d711a in std::__invoke_r<void, waybar::modules::Memory::Memory(const string&, const Json::Value&)::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:111
#11 0x00005555555d700c in std::_Function_handler<void(), waybar::modules::Memory::Memory(const string&, const Json::Value&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11.1.0/bits/std_function.h:291
#12 0x00005555555855fa in std::function<void ()>::operator()() const (this=0x5555559543b0) at /usr/include/c++/11.1.0/bits/std_function.h:560
#13 0x0000555555584df1 in waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}::operator()() const (__closure=0x5555559543a8) at ../include/util/sleeper_thread.hpp:41
#14 0x0000555555589396 in std::__invoke_impl<void, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(std::__invoke_other, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#15 0x000055555558934b in std::__invoke<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:96
#16 0x00005555555892f8 in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x5555559543a8) at /usr/include/c++/11.1.0/bits/std_thread.h:253
#17 0x00005555555892cc in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::operator()() (this=0x5555559543a8) at /usr/include/c++/11.1.0/bits/std_thread.h:260
#18 0x00005555555892b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() (this=0x5555559543a0) at /usr/include/c++/11.1.0/bits/std_thread.h:211
#19 0x00007ffff69173c4 in std::execute_native_thread_routine(void*) (__p=0x5555559543a0) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#20 0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#21 0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 14 (Thread 0x7fffca7fc640 (LWP 204587) "waybar"):
#0  0x00007ffff66d98ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1  0x00007ffff66d3842 in pthread_cond_clockwait () at /usr/lib/libpthread.so.0
#2  0x000055555558408b in std::__condvar::wait_until(std::mutex&, int, timespec&) (this=0x5555557a2f90, __m=..., __clock=1, __abs_time=...) at /usr/include/c++/11.1.0/bits/std_mutex.h:169
#3  0x0000555555587ea2 in std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_cloc--Type <RET> for more, q to quit, c to continue without paging--
k, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) (this=0x5555557a2f90, __lock=..., __atime=...) at /usr/include/c++/11.1.0/condition_variable:201
#4  0x0000555555587437 in std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) (this=0x5555557a2f90, __lock=..., __atime=...) at /usr/include/c++/11.1.0/condition_variable:111
#5  0x00005555555863f5 in std::condition_variable::wait_until<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> >, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}) (this=0x5555557a2f90, __lock=..., __atime=..., __p=...) at /usr/include/c++/11.1.0/condition_variable:152
#6  0x000055555558585a in std::condition_variable::wait_for<long, std::ratio<1l, 1000000000l>, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::duration<long, std::ratio<1l, 1000000000l> > const&, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}) (this=0x5555557a2f90, __lock=..., __rtime=..., __p=...) at /usr/include/c++/11.1.0/condition_variable:175
#7  0x0000555555584f73 in waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >) (this=0x5555557a2f88, dur=...) at ../include/util/sleeper_thread.hpp:52
#8  0x00005555555cec3b in operator()() const (__closure=0x555555958760) at ../src/modules/cpu/common.cpp:7
#9  0x00005555555cffcc in std::__invoke_impl<void, waybar::modules::Cpu::Cpu(const string&, const Json::Value&)::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#10 0x00005555555cfebc in std::__invoke_r<void, waybar::modules::Cpu::Cpu(const string&, const Json::Value&)::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:111
#11 0x00005555555cfdae in std::_Function_handler<void(), waybar::modules::Cpu::Cpu(const string&, const Json::Value&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11.1.0/bits/std_function.h:291
#12 0x00005555555855fa in std::function<void ()>::operator()() const (this=0x555555958760) at /usr/include/c++/11.1.0/bits/std_function.h:560
#13 0x0000555555584df1 in waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}::operator()() const (__closure=0x555555958758) at ../include/util/sleeper_thread.hpp:41
#14 0x0000555555589396 in std::__invoke_impl<void, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(std::__invoke_other, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#15 0x000055555558934b in std::__invoke<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:96
#16 0x00005555555892f8 in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x555555958758) at /usr/include/c++/11.1.0/bits/std_thread.h:253
#17 0x00005555555892cc in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::operator()() (this=0x555555958758) at /usr/include/c++/11.1.0/bits/std_thread.h:260
#18 0x00005555555892b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() (this=0x555555958750) at /usr/include/c++/11.1.0/bits/std_thread.h:211
#19 0x00007ffff69173c4 in std::execute_native_thread_routine(void*) (__p=0x555555958750) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#20 0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#21 0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7fffcaffd640 (LWP 204586) "waybar"):
#0  0x00007ffff65f692e in epoll_wait () at /usr/lib/libc.so.6
#1  0x0000555555628148 in operator()() const (__closure=0x555555a9a260) at ../src/modules/network.cpp:261
#2  0x000055555562c372 in std::__invoke_impl<void, waybar::modules::Network::worker()::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#3  0x000055555562c1a9 in std::__invoke_r<void, waybar::modules::Network::worker()::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:111
#4  0x000055555562bf52 in std::_Function_handler<void(), waybar::modules::Network::worker()::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11.1.0/bits/std_function.h:291
#5  0x00005555555855fa in std::function<void ()>::operator()() const (this=0x555555a9a260) at /usr/include/c++/11.1.0/bits/std_function.h:560
#6  0x0000555555584df1 in waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}::operator()() const (__closure=0x555555a9a258) at ../include/util/sleeper_thread.hpp:41
#7  0x0000555555589396 in std::__invoke_impl<void, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(std::__invoke_other, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#8  0x000055555558934b in std::__invoke<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:96
#9  0x00005555555892f8 in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x555555a9a258) at /usr/include/c++/11.1.0/bits/std_thread.h:253
#10 0x00005555555892cc in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::operator()() (this=0x555555a9a258) at /usr/include/c++/11.1.0/bits/std_thread.h:260
#11 0x00005555555892b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() (this=0x555555a9a250) at /usr/include/c++/11.1.0/bits/std_thread.h:211
#12 0x00007ffff69173c4 in std::execute_native_thread_routine(void*) (__p=0x555555a9a250) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#13 0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#14 0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7fffd77fe640 (LWP 204585) "waybar"):
#0  0x00007ffff66d98ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1  0x00007ffff66d3842 in pthread_cond_clockwait () at /usr/lib/libpthread.so.0
#2  0x000055555558408b in std::__condvar::wait_until(std::mutex&, int, timespec&) (this=0x55555582ff98, __m=..., __clock=1, __abs_time=...) at /usr/include/c++/11.1.0/bits/std_mutex.h:169
#3  0x0000555555587ea2 in std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) (this=0x55555582ff98, __lock=..., __atime=...) at /usr/include/c++/11.1.0/condition_variable:201
#4  0x0000555555587437 in std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) (this=0x55555582ff98, __lock=..., __atime=...) at /usr/include/c++/11.1.0/condition_variable:111
#5  0x00005555555863f5 in std::condition_variable::wait_until<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> >, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}) (this=0x55555582ff98, __lock=..., __atime=..., __p=...) at /usr/include/c++/11.1.0/condition_variable:152
#6  0x000055555558585a in std::condition_variable::wait_for<long, std::ratio<1l, 1000000000l>, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}>(std::unique_lock<std::mutex>&, std::chrono::duration<long, std::ratio<1l, 1000000000l> > const&, waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)::{lambda()#1}) (this=0x55555582ff98, __lock=..., __rtime=..., __p=...) at /usr/include/c++/11.1.0/condition_variable:175
#7  0x0000555555584f73 in waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >) (this=0x55555582ff90, dur=...) at ../include/util/sleeper_thread.hpp:52
#8  0x00005555556280a4 in operator()() const (__closure=0x555555a9a2a0) at ../src/modules/network.cpp:245
#9  0x000055555562c2b8 in std::__invoke_impl<void, waybar::modules::Network::worker()::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#10 0x000055555562c060 in std::__invoke_r<void, waybar::modules::Network::worker()::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:111
#11 0x000055555562be66 in std::_Function_handler<void(), waybar::modules::Network::worker()::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11.1.0/bits/std_function.h:291
#12 0x00005555555855fa in std::function<void ()>::operator()() const (this=0x555555a9a2a0) at /usr/include/c++/11.1.0/bits/std_function.h:560
#13 0x0000555555584df1 in waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}::operator()() const (__closure=0x555555a9a298) at ../include/util/sleeper_thread.hpp:41
#14 0x0000555555589396 in std::__invoke_impl<void, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(std::__invoke_other, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#15 0x000055555558934b in std::__invoke<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:96
#16 0x00005555555892f8 in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x555555a9a298) at /usr/include/c++/11.1.0/bits/std_thread.h:253
#17 0x00005555555892cc in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::operator()() (this=0x555555a9a298) at /usr/include/c++/11.1.0/bits/std_thread.h:260
#18 0x00005555555892b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() (this=0x555555a9a290) at /usr/include/c++/11.1.0/bits/std_thread.h:211
--Type <RET> for more, q to quit, c to continue without paging--
#19 0x00007ffff69173c4 in std::execute_native_thread_routine(void*) (__p=0x555555a9a290) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#20 0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#21 0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7fffd7fff640 (LWP 204584) "threaded-ml"):
#0  0x00007ffff65ebb2f in poll () at /usr/lib/libc.so.6
#1  0x00007ffff6b3b654 in  () at /usr/lib/libpulse.so.0
#2  0x00007ffff6b249a9 in pa_mainloop_poll () at /usr/lib/libpulse.so.0
#3  0x00007ffff6b2f281 in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#4  0x00007ffff6b2f331 in pa_mainloop_run () at /usr/lib/libpulse.so.0
#5  0x00007ffff6b3f7fe in  () at /usr/lib/libpulse.so.0
#6  0x00007ffff5b575cc in  () at /usr/lib/pulseaudio/libpulsecommon-14.2.so
#7  0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7ffff0b82640 (LWP 204583) "waybar"):
#0  0x00007ffff66d6a2c in recv () at /usr/lib/libpthread.so.0
#1  0x00005555555da3e2 in waybar::modules::sway::Ipc::recv(int) (this=0x5555557f0038, fd=22) at ../src/modules/sway/ipc/client.cpp:83
#2  0x00005555555dac36 in waybar::modules::sway::Ipc::handleEvent() (this=0x5555557f0038) at ../src/modules/sway/ipc/client.cpp:145
#3  0x00005555555df573 in operator()() const (__closure=0x555555aaa010) at ../src/modules/sway/window.cpp:17
#4  0x00005555555e1c2a in std::__invoke_impl<void, waybar::modules::sway::Window::Window(const string&, const waybar::Bar&, const Json::Value&)::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#5  0x00005555555e1b1a in std::__invoke_r<void, waybar::modules::sway::Window::Window(const string&, const waybar::Bar&, const Json::Value&)::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:111
#6  0x00005555555e1a0c in std::_Function_handler<void(), waybar::modules::sway::Window::Window(const string&, const waybar::Bar&, const Json::Value&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11.1.0/bits/std_function.h:291
#7  0x00005555555855fa in std::function<void ()>::operator()() const (this=0x555555aaa010) at /usr/include/c++/11.1.0/bits/std_function.h:560
#8  0x0000555555584df1 in waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}::operator()() const (__closure=0x555555aaa008) at ../include/util/sleeper_thread.hpp:41
#9  0x0000555555589396 in std::__invoke_impl<void, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(std::__invoke_other, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#10 0x000055555558934b in std::__invoke<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:96
#11 0x00005555555892f8 in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x555555aaa008) at /usr/include/c++/11.1.0/bits/std_thread.h:253
#12 0x00005555555892cc in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::operator()() (this=0x555555aaa008) at /usr/include/c++/11.1.0/bits/std_thread.h:260
#13 0x00005555555892b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() (this=0x555555aaa000) at /usr/include/c++/11.1.0/bits/std_thread.h:211
#14 0x00007ffff69173c4 in std::execute_native_thread_routine(void*) (__p=0x555555aaa000) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#15 0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#16 0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7ffff1b84640 (LWP 204579) "waybar"):
#0  0x00007ffff66d6a2c in recv () at /usr/lib/libpthread.so.0
#1  0x00005555555da3e2 in waybar::modules::sway::Ipc::recv(int) (this=0x5555557f2730, fd=19) at ../src/modules/sway/ipc/client.cpp:83
#2  0x00005555555dac36 in waybar::modules::sway::Ipc::handleEvent() (this=0x5555557f2730) at ../src/modules/sway/ipc/client.cpp:145
#3  0x00005555555dbec9 in operator()() const (__closure=0x55555595fbc0) at ../src/modules/sway/mode.cpp:13
#4  0x00005555555dcbe0 in std::__invoke_impl<void, waybar::modules::sway::Mode::Mode(const string&, const Json::Value&)::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#5  0x00005555555dcad0 in std::__invoke_r<void, waybar::modules::sway::Mode::Mode(const string&, const Json::Value&)::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:111
#6  0x00005555555dc9c2 in std::_Function_handler<void(), waybar::modules::sway::Mode::Mode(const string&, const Json::Value&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11.1.0/bits/std_function.h:291
#7  0x00005555555855fa in std::function<void ()>::operator()() const (this=0x55555595fbc0) at /usr/include/c++/11.1.0/bits/std_function.h:560
#8  0x0000555555584df1 in waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}::operator()() const (__closure=0x55555595fbb8) at ../include/util/sleeper_thread.hpp:41
#9  0x0000555555589396 in std::__invoke_impl<void, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(std::__invoke_other, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#10 0x000055555558934b in std::__invoke<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:96
#11 0x00005555555892f8 in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x55555595fbb8) at /usr/include/c++/11.1.0/bits/std_thread.h:253
#12 0x00005555555892cc in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::operator()() (this=0x55555595fbb8) at /usr/include/c++/11.1.0/bits/std_thread.h:260
#13 0x00005555555892b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() (this=0x55555595fbb0) at /usr/include/c++/11.1.0/bits/std_thread.h:211
#14 0x00007ffff69173c4 in std::execute_native_thread_routine(void*) (__p=0x55555595fbb0) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#15 0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#16 0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7ffff2385640 (LWP 204578) "waybar"):
#0  0x00007ffff66d6a2c in recv () at /usr/lib/libpthread.so.0
#1  0x00005555555da3e2 in waybar::modules::sway::Ipc::recv(int) (this=0x55555584af38, fd=17) at ../src/modules/sway/ipc/client.cpp:83
#2  0x00005555555dac36 in waybar::modules::sway::Ipc::handleEvent() (this=0x55555584af38) at ../src/modules/sway/ipc/client.cpp:145
#3  0x000055555560c0fd in operator()() const (__closure=0x555555a02280) at ../src/modules/sway/workspaces.cpp:47
#4  0x0000555555610f16 in std::__invoke_impl<void, waybar::modules::sway::Workspaces::Workspaces(const string&, const waybar::Bar&, const Json::Value&)::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#5  0x00005555556106e0 in std::__invoke_r<void, waybar::modules::sway::Workspaces::Workspaces(const string&, const waybar::Bar&, const Json::Value&)::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:111
#6  0x000055555561028e in std::_Function_handler<void(), waybar::modules::sway::Workspaces::Workspaces(const string&, const waybar::Bar&, const Json::Value&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/11.1.0/bits/std_function.h:291
#7  0x00005555555855fa in std::function<void ()>::operator()() const (this=0x555555a02280) at /usr/include/c++/11.1.0/bits/std_function.h:560
#8  0x0000555555584df1 in waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}::operator()() const (__closure=0x555555a02278) at ../include/util/sleeper_thread.hpp:41
#9  0x0000555555589396 in std::__invoke_impl<void, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(std::__invoke_other, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#10 0x000055555558934b in std::__invoke<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:96
#11 0x00005555555892f8 in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x555555a02278) at /usr/include/c++/11.1.0/bits/std_thread.h:253
--Type <RET> for more, q to quit, c to continue without paging--
#12 0x00005555555892cc in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::operator()() (this=0x555555a02278) at /usr/include/c++/11.1.0/bits/std_thread.h:260
#13 0x00005555555892b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() (this=0x555555a02270) at /usr/include/c++/11.1.0/bits/std_thread.h:211
#14 0x00007ffff69173c4 in std::execute_native_thread_routine(void*) (__p=0x555555a02270) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#15 0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#16 0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7ffff2d08640 (LWP 204577) "dconf worker"):
#0  0x00007ffff65ebb2f in poll () at /usr/lib/libc.so.6
#1  0x00007ffff6c48b29 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ffff6bf2871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff7f9febe in  () at /usr/lib/gio/modules/libdconfsettings.so
#4  0x00007ffff6c232c1 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7ffff3509640 (LWP 204576) "gdbus"):
#0  0x00007ffff65ebb2f in poll () at /usr/lib/libc.so.6
#1  0x00007ffff6c48b29 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ffff6bf4693 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff6ee28c8 in  () at /usr/lib/libgio-2.0.so.0
#4  0x00007ffff6c232c1 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7ffff45a5640 (LWP 204574) "gmain"):
#0  0x00007ffff65ebb2f in poll () at /usr/lib/libc.so.6
#1  0x00007ffff6c48b29 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ffff6bf2871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff6bf28c2 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007ffff6c232c1 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7ffff508d640 (LWP 204573) "waybar"):
#0  0x00007ffff6535ae2 in sigtimedwait () at /usr/lib/libc.so.6
#1  0x00007ffff66d73ac in sigwait () at /usr/lib/libpthread.so.0
#2  0x0000555555590107 in signalThread(void*) (args=0x0) at ../src/main.cpp:20
#3  0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7ffff5091380 (LWP 204569) "waybar"):
#0  0x00007ffff66d98ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1  0x00007ffff66ce743 in __pthread_clockjoin_ex () at /usr/lib/libpthread.so.0
#2  0x00007ffff6917628 in __gthread_join (__value_ptr=0x0, __threadid=<optimized out>) at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:669
#3  std::thread::join() (this=0x555555843220) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:112
#4  0x0000555555585112 in waybar::util::SleeperThread::~SleeperThread() (this=0x555555843220, __in_chrg=<optimized out>) at ../include/util/sleeper_thread.hpp:88
#5  0x00005555555d9dc4 in waybar::modules::sway::Ipc::~Ipc() (this=0x5555558431d0, __in_chrg=<optimized out>) at ../src/modules/sway/ipc/client.cpp:26
#6  0x00005555555df4b0 in waybar::modules::sway::Language::~Language() (this=0x555555843000, __in_chrg=<optimized out>) at ../include/modules/sway/language.hpp:15
#7  0x00005555555df50e in waybar::modules::sway::Language::~Language() (this=0x555555843000, __in_chrg=<optimized out>) at ../include/modules/sway/language.hpp:15
#8  0x000055555559325a in std::default_delete<waybar::AModule>::operator()(waybar::AModule*) const (this=0x5555559ea4b0, __ptr=0x555555843000) at /usr/include/c++/11.1.0/bits/unique_ptr.h:85
#9  0x00005555555931de in std::unique_ptr<waybar::AModule, std::default_delete<waybar::AModule> >::~unique_ptr() (this=0x5555559ea4b0, __in_chrg=<optimized out>) at /usr/include/c++/11.1.0/bits/unique_ptr.h:361
#10 0x0000555555593161 in std::_Destroy<std::unique_ptr<waybar::AModule, std::default_delete<waybar::AModule> > >(std::unique_ptr<waybar::AModule, std::default_delete<waybar::AModule> >*) (__pointer=0x5555559ea4b0) at /usr/include/c++/11.1.0/bits/stl_construct.h:140
#11 0x00005555555930b5 in std::_Destroy_aux<false>::__destroy<std::unique_ptr<waybar::AModule, std::default_delete<waybar::AModule> >*>(std::unique_ptr<waybar::AModule, std::default_delete<waybar::AModule> >*, std::unique_ptr<waybar::AModule, std::default_delete<waybar::AModule> >*) (__first=0x5555559ea4b0, __last=0x5555559ea4f0) at /usr/include/c++/11.1.0/bits/stl_construct.h:152
#12 0x0000555555592ff6 in std::_Destroy<std::unique_ptr<waybar::AModule, std::default_delete<waybar::AModule> >*>(std::unique_ptr<waybar::AModule, std::default_delete<waybar::AModule> >*, std::unique_ptr<waybar::AModule, std::default_delete<waybar::AModule> >*) (__first=0x5555559ea4a0, __last=0x5555559ea4f0) at /usr/include/c++/11.1.0/bits/stl_construct.h:185
#13 0x0000555555592f17 in std::_Destroy<std::unique_ptr<waybar::AModule, std::default_delete<waybar::AModule> >*, std::unique_ptr<waybar::AModule, std::default_delete<waybar::AModule> > >(std::unique_ptr<waybar::AModule, std::default_delete<waybar::AModule> >*, std::unique_ptr<waybar::AModule, std::default_delete<waybar::AModule> >*, std::allocator<std::unique_ptr<waybar::AModule, std::default_delete<waybar::AModule> > >&) (__first=0x5555559ea4a0, __last=0x5555559ea4f0) at /usr/include/c++/11.1.0/bits/alloc_traits.h:746
#14 0x0000555555592dc7 in std::vector<std::unique_ptr<waybar::AModule, std::default_delete<waybar::AModule> >, std::allocator<std::unique_ptr<waybar::AModule, std::default_delete<waybar::AModule> > > >::~vector() (this=0x555555a38210, __in_chrg=<optimized out>) at /usr/include/c++/11.1.0/bits/stl_vector.h:680
#15 0x0000555555592c1e in waybar::Bar::~Bar() (this=0x555555a38000, __in_chrg=<optimized out>) at ../include/bar.hpp:59
#16 0x0000555555592ce2 in std::default_delete<waybar::Bar>::operator()(waybar::Bar*) const (this=0x555555b12330, __ptr=0x555555a38000) at /usr/include/c++/11.1.0/bits/unique_ptr.h:85
#17 0x00005555555bf6e8 in std::__uniq_ptr_impl<waybar::Bar, std::default_delete<waybar::Bar> >::reset(waybar::Bar*) (this=0x555555b12330, __p=0x5555557ddd60) at /usr/include/c++/11.1.0/bits/unique_ptr.h:182
#18 0x00005555555bf1da in std::__uniq_ptr_impl<waybar::Bar, std::default_delete<waybar::Bar> >::operator=(std::__uniq_ptr_impl<waybar::Bar, std::default_delete<waybar::Bar> >&&) (this=0x555555b12330, __u=...) at /usr/include/c++/11.1.0/bits/unique_ptr.h:167
#19 0x00005555555be691 in std::__uniq_ptr_data<waybar::Bar, std::default_delete<waybar::Bar>, true, true>::operator=(std::__uniq_ptr_data<waybar::Bar, std::default_delete<waybar::Bar>, true, true>&&) (this=0x555555b12330) at /usr/include/c++/11.1.0/bits/unique_ptr.h:212
#20 0x00005555555be6bb in std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >::operator=(std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >&&) (this=0x555555b12330) at /usr/include/c++/11.1.0/bits/unique_ptr.h:371
#21 0x00005555555be705 in std::__copy_move<true, false, std::random_access_iterator_tag>::__copy_m<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*, std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*>(std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*, std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*, std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*) (__first=0x555555b12338, __last=0x555555b12340, __result=0x555555b12330) at /usr/include/c++/11.1.0/bits/stl_algobase.h:405
#22 0x00005555555bd6c5 in std::__copy_move_a2<true, std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*, std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*>(std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*, std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*, std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*) (__first=0x555555b12338, __last=0x555555b12340, __result=0x555555b12330) at /usr/include/c++/11.1.0/bits/stl_algobase.h:495
#23 0x00005555555bba4f in std::__copy_move_a1<true, std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*, std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*>(std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*, std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*, std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*) (__first=0x555555b12338, __last=0x555555b12340, __result=0x555555b12330) at /usr/include/c++/11.1.0/bits/stl_algobase.h:522
#24 0x00005555555b8fd9 in std::__copy_move_a<true, __gnu_cxx::__normal_iterator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*, std::vector<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >, std::allocator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> > > > >, __gnu_cxx::__normal_iterator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*, std::vector<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >, std::allocator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> > > > > >(__gnu_cxx::__normal_iterator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*, std::vector<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >, std::allocator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> > > > >, __gnu_cxx::__normal_iterator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*, std::vector<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >, std::allocator<std::unique_ptr<waybar::Bar, std::default_delete<way--Type <RET> for more, q to quit, c to continue without paging--
bar::Bar> > > > >, __gnu_cxx::__normal_iterator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*, std::vector<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >, std::allocator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> > > > >) (__first=std::unique_ptr<waybar::Bar> = {get() = 0x0}, __last=std::unique_ptr<waybar::Bar> = {get() = 0x0}, __result=std::unique_ptr<waybar::Bar> = {get() = 0x5555557ddd60}) at /usr/include/c++/11.1.0/bits/stl_algobase.h:529
#25 0x00005555555b6b79 in std::move<__gnu_cxx::__normal_iterator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*, std::vector<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >, std::allocator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> > > > >, __gnu_cxx::__normal_iterator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*, std::vector<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >, std::allocator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> > > > > >(__gnu_cxx::__normal_iterator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*, std::vector<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >, std::allocator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> > > > >, __gnu_cxx::__normal_iterator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*, std::vector<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >, std::allocator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> > > > >, __gnu_cxx::__normal_iterator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*, std::vector<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >, std::allocator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> > > > >) (__first=std::unique_ptr<waybar::Bar> = {get() = 0x0}, __last=std::unique_ptr<waybar::Bar> = {get() = 0x0}, __result=std::unique_ptr<waybar::Bar> = {get() = 0x5555557ddd60}) at /usr/include/c++/11.1.0/bits/stl_algobase.h:652
#26 0x00005555555b346d in std::vector<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >, std::allocator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> > > >::_M_erase(__gnu_cxx::__normal_iterator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >*, std::vector<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >, std::allocator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> > > > >) (this=0x555555711828, __position=std::unique_ptr<waybar::Bar> = {get() = 0x5555557ddd60}) at /usr/include/c++/11.1.0/bits/vector.tcc:175
#27 0x00005555555af9a1 in std::vector<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >, std::allocator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> > > >::erase(__gnu_cxx::__normal_iterator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> > const*, std::vector<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> >, std::allocator<std::unique_ptr<waybar::Bar, std::default_delete<waybar::Bar> > > > >) (this=0x555555711828, __position=std::unique_ptr<waybar::Bar> = {get() = 0x5555557ddd60}) at /usr/include/c++/11.1.0/bits/stl_vector.h:1431
#28 0x00005555555a37f0 in waybar::Client::handleDeferredMonitorRemoval(Glib::RefPtr<Gdk::Monitor>) (this=0x5555557117f0, monitor=...) at ../src/client.cpp:197
#29 0x00005555555bd86d in sigc::bound_mem_functor1<void, waybar::Client, Glib::RefPtr<Gdk::Monitor> >::operator()(Glib::RefPtr<Gdk::Monitor> const&) const (this=0x5555559f62f0, _A_a1=...) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:2066
#30 0x00005555555bd697 in sigc::adaptor_functor<sigc::bound_mem_functor1<void, waybar::Client, Glib::RefPtr<Gdk::Monitor> > >::operator()<Glib::RefPtr<Gdk::Monitor>&>(Glib::RefPtr<Gdk::Monitor>&) const (this=0x5555559f62e8, _A_arg1=...) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:89
#31 0x00005555555bba00 in sigc::bind_functor<-1, sigc::bound_mem_functor1<void, waybar::Client, Glib::RefPtr<Gdk::Monitor> >, Glib::RefPtr<Gdk::Monitor>, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::operator()() (this=0x5555559f62e0) at /usr/include/sigc++-2.0/sigc++/adaptors/bind.h:1124
#32 0x00005555555b8f79 in sigc::internal::slot_call0<sigc::bind_functor<-1, sigc::bound_mem_functor1<void, waybar::Client, Glib::RefPtr<Gdk::Monitor> >, Glib::RefPtr<Gdk::Monitor>, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, void>::call_it(sigc::internal::slot_rep*) (rep=0x5555559f62b0) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:136
#33 0x00007ffff6dab5d9 in  () at /usr/lib/libglibmm-2.4.so.1
#34 0x00007ffff6bf5015 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#35 0x00007ffff6c48b99 in  () at /usr/lib/libglib-2.0.so.0
#36 0x00007ffff6bf2871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#37 0x00007ffff6ead8b6 in g_application_run () at /usr/lib/libgio-2.0.so.0
#38 0x00005555555a6257 in waybar::Client::main(int, char**) (this=0x5555557117f0, argc=1, argv=0x7fffffffdfb8) at ../src/client.cpp:375
#39 0x00005555555906cf in main(int, char**) (argc=1, argv=0x7fffffffdfb8) at ../src/main.cpp:99

This happens regularily, so let me know if there are more specific things I can gather.

@haata
Copy link
Author

haata commented Jul 18, 2021

(there are no relevant log messages, just [2021-07-18 08:25:21.259] [error] mpd: Failed to connect to MPD: Connection refused every few seconds.

Running

commit 91cdf80c65dcecf16922e4ac724f37471cbad529 (HEAD -> master, origin/master, origin/HEAD)
Merge: 7c1303f 78aaa5c
Author: Alex <[email protected]>
Date:   Wed Jul 14 09:04:24 2021 +0200

    Merge pull request #1157 from tiosgz/multi-bar-fix

    Do not fail to parse a multi-bar config

The issue started recently, not sure if it's when arch linux upgraded to waybar 0.9.7-2 or if it's another package that upgraded.
The segfault usually happens when I am not at the computer.

@evlli
Copy link

evlli commented Jul 20, 2021

possibly duplicate of #1158 ?

@haata
Copy link
Author

haata commented Jul 20, 2021

I'll try pulling from master again, but I've been able to repro on 91cdf80.

When generating the backtrace gdb consistently thinks it's thread 17 where the problem is (might be a read herring though).

Thread 17 "waybar" received signal SIG32, Real-time event 32.
[Switching to Thread 0x7fffc8ff9640 (LWP 307240)]
0x00007ffff66d6a2c in recv () from /usr/lib/libpthread.so.0
(gdb) bt
#0  0x00007ffff66d6a2c in recv () at /usr/lib/libpthread.so.0
#1  0x00005555555da3e2 in waybar::modules::sway::Ipc::recv(int) (this=0x5555558449d0, fd=32) at ../src/modules/sway/ipc/client.cpp:83
#2  0x00005555555dac36 in waybar::modules::sway::Ipc::handleEvent() (this=0x5555558449d0) at ../src/modules/sway/ipc/client.cpp:145
#3  0x00005555555dd859 in operator()() const (__closure=0x5555558b9550) at ../src/modules/sway/language.cpp:15
#4  0x00005555555de9be in std::__invoke_impl<void, waybar::modules::sway::Language::Language(const string&, const Json::Value&)::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...)
    at /usr/include/c++/11.1.0/bits/invoke.h:61
#5  0x00005555555de8ae in std::__invoke_r<void, waybar::modules::sway::Language::Language(const string&, const Json::Value&)::<lambda()>&>(struct {...} &) (__fn=...) at /usr/include/c++/11.1.0/bits/invoke.h:111
#6  0x00005555555de7a0 in std::_Function_handler<void(), waybar::modules::sway::Language::Language(const string&, const Json::Value&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...)
    at /usr/include/c++/11.1.0/bits/std_function.h:291
#7  0x00005555555855fa in std::function<void ()>::operator()() const (this=0x5555558b9550) at /usr/include/c++/11.1.0/bits/std_function.h:560
#8  0x0000555555584df1 in waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}::operator()() const (__closure=0x5555558b9548) at ../include/util/sleeper_thread.hpp:41
#9  0x0000555555589396 in std::__invoke_impl<void, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(std::__invoke_other, waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__f=...) at /usr/include/c++/11.1.0/bits/invoke.h:61
#10 0x000055555558934b in std::__invoke<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}>(waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}&&) (__fn=...)
    at /usr/include/c++/11.1.0/bits/invoke.h:96
#11 0x00005555555892f8 in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x5555558b9548)
    at /usr/include/c++/11.1.0/bits/std_thread.h:253
#12 0x00005555555892cc in std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> >::operator()() (this=0x5555558b9548)
    at /usr/include/c++/11.1.0/bits/std_thread.h:260
#13 0x00005555555892b0 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() (this=0x5555558b9540)
    at /usr/include/c++/11.1.0/bits/std_thread.h:211
#14 0x00007ffff69173c4 in std::execute_native_thread_routine(void*) (__p=0x5555558b9540) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#15 0x00007ffff66cd259 in start_thread () at /usr/lib/libpthread.so.0
#16 0x00007ffff65f65e3 in clone () at /usr/lib/libc.so.6

@Alexays
Copy link
Owner

Alexays commented Aug 16, 2021

Should be fixed on master/0.9.8

@Alexays Alexays closed this as completed Aug 16, 2021
@haata
Copy link
Author

haata commented Aug 16, 2021

Thanks! I'm trying it out now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants