Waybar: Freezing at 100% CPU after some time

Hi! After a recent update, waybar started crashing with an error about a value not being a string. I was able to work around it by disabling the weather module. Now however, Waybar seems to freeze completely a minute or two after being started. There is no log when the freeze happens, and I have to manually kill the process and restart it.

Here is my Waybar configuration.

% waybar --version
Waybar v0.9.10

% waybar
[2022-03-08 09:36:38.071] [info] Using configuration file /home/apm/.config/waybar/config
[2022-03-08 09:36:38.071] [info] Using CSS file /home/apm/.config/waybar/style.css
[2022-03-08 09:36:38.085] [warning] For a functional tray you must have libappindicator-* installed and export XDG_CURRENT_DESKTOP=Unity
[2022-03-08 09:36:38.094] [warning] As using a timezone, some format args may be missing as the date library haven't got a release since 2018.

** (waybar:31883): WARNING **: 09:36:38.142: gtk-layer-shell v0.7.0 may not work on GTK v3.24.33. If you experience crashes, check https://github.com/wmww/gtk-layer-shell/blob/master/compatibility.md
[2022-03-08 09:36:38.224] [info] Bar configured (width: 1920, height: 24) for output: eDP-1

** (waybar:31883): WARNING **: 09:36:38.232: Status Notifier Item with bus name ':1.24' and object path '/org/ayatana/NotificationItem/discord1' is already registered

** (waybar:31883): WARNING **: 09:36:38.233: Status Notifier Item with bus name ':1.25' and object path '/org/ayatana/NotificationItem/Element1' is already registered

** (waybar:31883): WARNING **: 09:36:38.233: Status Notifier Item with bus name ':1.243' and object path '/org/ayatana/NotificationItem/itch1' is already registered

The above is printed when I start Waybar, but nothing is printed at the time of the freeze. The app tray does function, so I’m not sure what that first warning is about.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 7
  • Comments: 20 (4 by maintainers)

Commits related to this issue

Most upvoted comments

Ok, I’ve had a freeze again and was able to attach GDB and get a backtrace:

(gdb) thread apply all bt full

Thread 19 (Thread 0x7f4e2f7f6640 (LWP 940) "waybar"):
#0  0x00007f4e5cd2e15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1  0x00007f4e5cd30c64 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libc.so.6
#2  0x0000559856072483 in std::cv_status 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&) ()
#3  0x000055985606f728 in waybar::modules::Clock::Clock(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Json::Value const&)::{lambda()#2}::operator()() const ()
#4  0x000055985606f7af in std::_Function_handler<void (), waybar::modules::Clock::Clock(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Json::Value const&)::{lambda()#2}>::_M_invoke(std::_Any_data const&) ()
#5  0x0000559855fcbaa1 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() ()
#6  0x00007f4e5d0864d4 in std::execute_native_thread_routine(void*) (__p=0x559857ac5b50) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#7  0x00007f4e5cd315c2 in start_thread () at /usr/lib/libc.so.6
#8  0x00007f4e5cdb6584 in clone () at /usr/lib/libc.so.6

Thread 18 (Thread 0x7f4e2fff7640 (LWP 939) "waybar"):
#0  0x00007f4e5cda61ec in read () at /usr/lib/libc.so.6
#1  0x0000559855ff3aee in std::_Function_handler<void (), waybar::modules::Battery::worker()::{lambda()#3}>::_M_invoke(std::_Any_data const&) ()
#2  0x0000559855fcbaa1 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() ()
#3  0x00007f4e5d0864d4 in std::execute_native_thread_routine(void*) (__p=0x559857d29ba0) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#4  0x00007f4e5cd315c2 in start_thread () at /usr/lib/libc.so.6
#5  0x00007f4e5cdb6584 in clone () at /usr/lib/libc.so.6

Thread 17 (Thread 0x7f4e307f8640 (LWP 938) "waybar"):
#0  0x00007f4e5cda61ec in read () at /usr/lib/libc.so.6
#1  0x0000559855ff111a in std::_Function_handler<void (), waybar::modules::Battery::worker()::{lambda()#2}>::_M_invoke(std::_Any_data const&) ()
#2  0x0000559855fcbaa1 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() ()
#3  0x00007f4e5d0864d4 in std::execute_native_thread_routine(void*) (__p=0x559857d2a340) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#4  0x00007f4e5cd315c2 in start_thread () at /usr/lib/libc.so.6
#5  0x00007f4e5cdb6584 in clone () at /usr/lib/libc.so.6

Thread 16 (Thread 0x7f4e30ff9640 (LWP 937) "waybar"):
#0  0x00007f4e5cd2e15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1  0x00007f4e5cd30f32 in pthread_cond_clockwait@GLIBC_2.30 () at /usr/lib/libc.so.6
#2  0x0000559855fcc4aa in std::cv_status 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&) ()
#3  0x0000559855fcc590 in waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >) ()
#4  0x0000559855ff3aa7 in std::_Function_handler<void (), waybar::modules::Battery::worker()::{lambda()#1}>::_M_invoke(std::_Any_data const&) ()
#5  0x0000559855fcbaa1 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() ()
#6  0x00007f4e5d0864d4 in std::execute_native_thread_routine(void*) (__p=0x559857c7f080) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#7  0x00007f4e5cd315c2 in start_thread () at /usr/lib/libc.so.6
#8  0x00007f4e5cdb6584 in clone () at /usr/lib/libc.so.6

Thread 15 (Thread 0x7f4e317fa640 (LWP 936) "waybar"):
#0  0x00007f4e5cdb69ae in epoll_wait () at /usr/lib/libc.so.6
#1  0x00005598560439e2 in waybar::modules::Network::worker()::{lambda()#2}::operator()() const ()
#2  0x0000559856043ae3 in std::_Function_handler<void (), waybar::modules::Network::worker()::{lambda()#2}>::_M_invoke(std::_Any_data const&) ()
#3  0x0000559855fcbaa1 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() ()
#4  0x00007f4e5d0864d4 in std::execute_native_thread_routine(void*) (__p=0x559857b90990) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#5  0x00007f4e5cd315c2 in start_thread () at /usr/lib/libc.so.6
#6  0x00007f4e5cdb6584 in clone () at /usr/lib/libc.so.6

Thread 14 (Thread 0x7f4e39ffb640 (LWP 935) "waybar"):
#0  0x00007f4e5cd2e15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1  0x00007f4e5cd30f32 in pthread_cond_clockwait@GLIBC_2.30 () at /usr/lib/libc.so.6
#2  0x0000559855fcc4aa in std::cv_status 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&) ()
#3  0x0000559855fcc590 in waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >) ()
#4  0x0000559856044eae in std::_Function_handler<void (), waybar::modules::Network::worker()::{lambda()#1}>::_M_invoke(std::_Any_data const&) ()
#5  0x0000559855fcbaa1 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() ()
#6  0x00007f4e5d0864d4 in std::execute_native_thread_routine(void*) (__p=0x559857b909d0) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#7  0x00007f4e5cd315c2 in start_thread () at /usr/lib/libc.so.6
#8  0x00007f4e5cdb6584 in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7f4e3a7fc640 (LWP 934) "waybar"):
#0  0x00007f4e5cd2e15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1  0x00007f4e5cd30f32 in pthread_cond_clockwait@GLIBC_2.30 () at /usr/lib/libc.so.6
#2  0x0000559855fcc4aa in std::cv_status 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&) ()
#3  0x0000559855fcc590 in waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >) ()
#4  0x0000559855fd0399 in std::_Function_handler<void (), waybar::modules::Temperature::Temperature(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Json::Value const&)::{lambda()#1}>::_M_invoke(std::_Any_data const&) ()
#5  0x0000559855fcbaa1 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() ()
#6  0x00007f4e5d0864d4 in std::execute_native_thread_routine(void*) (__p=0x559857d20200) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#7  0x00007f4e5cd315c2 in start_thread () at /usr/lib/libc.so.6
#8  0x00007f4e5cdb6584 in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7f4e3affd640 (LWP 933) "waybar"):
#0  0x00007f4e5cd2e15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1  0x00007f4e5cd30f32 in pthread_cond_clockwait@GLIBC_2.30 () at /usr/lib/libc.so.6
#2  0x0000559855fcc4aa in std::cv_status 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&) ()
#3  0x0000559855fcc590 in waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >) ()
#4  0x0000559856000571 in std::_Function_handler<void (), waybar::modules::Memory::Memory(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Json::Value const&)::{lambda()#1}>::_M_invoke(std::_Any_data const&) ()
#5  0x0000559855fcbaa1 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() ()
#6  0x00007f4e5d0864d4 in std::execute_native_thread_routine(void*) (__p=0x559857d33930) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#7  0x00007f4e5cd315c2 in start_thread () at /usr/lib/libc.so.6
#8  0x00007f4e5cdb6584 in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7f4e3b7fe640 (LWP 932) "waybar"):
#0  0x00007f4e5cd2e15a in __futex_abstimed_wait_common () at /usr/lib/libc.so.6
#1  0x00007f4e5cd30f32 in pthread_cond_clockwait@GLIBC_2.30 () at /usr/lib/libc.so.6
#2  0x0000559855fcc4aa in std::cv_status std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, --Type <RET> for more, q to quit, c to continue without paging--
std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) ()
#3  0x0000559855fcc590 in waybar::util::SleeperThread::sleep_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >) ()
#4  0x0000559855ffa8f6 in std::_Function_handler<void (), waybar::modules::Cpu::Cpu(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Json::Value const&)::{lambda()#1}>::_M_invoke(std::_Any_data const&) ()
#5  0x0000559855fcbaa1 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() ()
#6  0x00007f4e5d0864d4 in std::execute_native_thread_routine(void*) (__p=0x559857c29e30) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#7  0x00007f4e5cd315c2 in start_thread () at /usr/lib/libc.so.6
#8  0x00007f4e5cdb6584 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7f4e3bfff640 (LWP 931) "waybar"):
#0  0x00007f4e5cdb69ae in epoll_wait () at /usr/lib/libc.so.6
#1  0x000055985605ba05 in waybar::modules::Backlight::Backlight(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Json::Value const&)::{lambda()#1}::operator()() const ()
#2  0x000055985605bb78 in std::_Function_handler<void (), waybar::modules::Backlight::Backlight(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Json::Value const&)::{lambda()#1}>::_M_invoke(std::_Any_data const&) ()
#3  0x0000559855fcbaa1 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() ()
#4  0x00007f4e5d0864d4 in std::execute_native_thread_routine(void*) (__p=0x559857c18c10) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#5  0x00007f4e5cd315c2 in start_thread () at /usr/lib/libc.so.6
#6  0x00007f4e5cdb6584 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7f4e54d03640 (LWP 928) "threaded-ml"):
#0  0x00007f4e5cdaa2af in poll () at /usr/lib/libc.so.6
#1  0x00007f4e5d2eb02f in  () at /usr/lib/libpulse.so.0
#2  0x00007f4e5d2d4751 in pa_mainloop_poll () at /usr/lib/libpulse.so.0
#3  0x00007f4e5d2deafd in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#4  0x00007f4e5d2debb1 in pa_mainloop_run () at /usr/lib/libpulse.so.0
#5  0x00007f4e5d2ef322 in  () at /usr/lib/libpulse.so.0
#6  0x00007f4e5c31e1c7 in  () at /usr/lib/pulseaudio/libpulsecommon-15.0.so
#7  0x00007f4e5cd315c2 in start_thread () at /usr/lib/libc.so.6
#8  0x00007f4e5cdb6584 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f4e55504640 (LWP 926) "waybar"):
#0  0x00007f4e5cdb818e in recv () at /usr/lib/libc.so.6
#1  0x000055985600456b in waybar::modules::sway::Ipc::recv(int) ()
#2  0x0000559856004bb4 in waybar::modules::sway::Ipc::handleEvent() ()
#3  0x0000559856011ad6 in std::_Function_handler<void (), waybar::modules::sway::Window::Window(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, waybar::Bar const&, Json::Value const&)::{lambda()#1}>::_M_invoke(std::_Any_data const&) ()
#4  0x0000559855fcbaa1 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() ()
#5  0x00007f4e5d0864d4 in std::execute_native_thread_routine(void*) (__p=0x559857cba230) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#6  0x00007f4e5cd315c2 in start_thread () at /usr/lib/libc.so.6
#7  0x00007f4e5cdb6584 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f4e55d05640 (LWP 924) "waybar"):
#0  0x00007f4e5cdb818e in recv () at /usr/lib/libc.so.6
#1  0x000055985600456b in waybar::modules::sway::Ipc::recv(int) ()
#2  0x0000559856004bb4 in waybar::modules::sway::Ipc::handleEvent() ()
#3  0x00005598560091bd in std::_Function_handler<void (), waybar::modules::sway::Mode::Mode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Json::Value const&)::{lambda()#1}>::_M_invoke(std::_Any_data const&) ()
#4  0x0000559855fcbaa1 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() ()
#5  0x00007f4e5d0864d4 in std::execute_native_thread_routine(void*) (__p=0x559857c774c0) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#6  0x00007f4e5cd315c2 in start_thread () at /usr/lib/libc.so.6
#7  0x00007f4e5cdb6584 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f4e56506640 (LWP 923) "waybar"):
#0  0x00007f4e5cdb818e in recv () at /usr/lib/libc.so.6
#1  0x000055985600456b in waybar::modules::sway::Ipc::recv(int) ()
#2  0x0000559856004bb4 in waybar::modules::sway::Ipc::handleEvent() ()
#3  0x000055985602b9d3 in std::_Function_handler<void (), waybar::modules::sway::Workspaces::Workspaces(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, waybar::Bar const&, Json::Value const&)::{lambda()#1}>::_M_invoke(std::_Any_data const&) ()
#4  0x0000559855fcbaa1 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<waybar::util::SleeperThread::operator=(std::function<void ()>)::{lambda()#1}> > >::_M_run() ()
#5  0x00007f4e5d0864d4 in std::execute_native_thread_routine(void*) (__p=0x559857bad320) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#6  0x00007f4e5cd315c2 in start_thread () at /usr/lib/libc.so.6
#7  0x00007f4e5cdb6584 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f4e56f1e640 (LWP 873) "dconf worker"):
#0  0x00007f4e5cdaa2af in poll () at /usr/lib/libc.so.6
#1  0x00007f4e5d3fb086 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f4e5d3a2455 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f4e5e753ebe in  () at /usr/lib/gio/modules/libdconfsettings.so
#4  0x00007f4e5d3d4815 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007f4e5cd315c2 in start_thread () at /usr/lib/libc.so.6
#6  0x00007f4e5cdb6584 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f4e57754640 (LWP 872) "gdbus"):
#0  0x00007f4e5cdaa2af in poll () at /usr/lib/libc.so.6
#1  0x00007f4e5d3fb086 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f4e5d3a4433 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x00007f4e5d6a114c in  () at /usr/lib/libgio-2.0.so.0
#4  0x00007f4e5d3d4815 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007f4e5cd315c2 in start_thread () at /usr/lib/libc.so.6
#6  0x00007f4e5cdb6584 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f4e58756640 (LWP 870) "gmain"):
#0  0x00007f4e5cdaa2af in poll () at /usr/lib/libc.so.6
#1  0x00007f4e5d3fb086 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f4e5d3a2455 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f4e5d3a24a2 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f4e5d3d4815 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007f4e5cd315c2 in start_thread () at /usr/lib/libc.so.6
#6  0x00007f4e5cdb6584 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f4e59297640 (LWP 869) "waybar"):
#0  0x00007f4e5cce724a in sigtimedwait () at /usr/lib/libc.so.6
#1  0x00007f4e5cce68ec in sigwait () at /usr/lib/libc.so.6
#2  0x0000559855fd2594 in signalThread(void*) ()
#3  0x00007f4e5cd315c2 in start_thread () at /usr/lib/libc.so.6
#4  0x00007f4e5cdb6584 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f4e5929d240 (LWP 824) "waybar"):
#0  0x00007f4e5cdaa2af in poll () at /usr/lib/libc.so.6
#1  0x00007f4e5d3fb086 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f4e5d3a2455 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f4e5d6746ee in g_application_run () at /usr/lib/libgio-2.0.so.0
#4  0x0000559855fe00df in waybar::Client::main(int, char**) ()
#5  0x0000559855fd2895 in main ()
``

Removing the sway/window module seems to have fixed the freezing for me as well.

For me it was enough to disable the icons with

    "sway/window": {
        "icon": false
    },

On latest version, icon is disabled by default

Removing the sway/window module seems to have fixed the freezing for me as well.

Can you try disabling sway/window module?

Its exactly what I am trying before reading your comment. it seems that I have no issue so far without sway/window module.

Can you try disabling sway/window module?

Removing the sway/window module seems to have fixed the freezing for me as well.

For me it was enough to disable the icons with

    "sway/window": {
        "icon": false
    },

Can confirm this works for me too.