Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.78k stars 710 forks source link

[language] set_current_layout SIGSEGV #3702

Open alxchk opened 1 month ago

alxchk commented 1 month ago
#0  0x00007fe61cbe95e3 in g_source_set_name () at /usr/lib64/libglib-2.0.so.0
#1  0x00007fe61d34d053 in gtk_widget_add_tick_callback () at /usr/lib64/libgtk-3.so.0
#2  0x00007fe61d160735 in ??? () at /usr/lib64/libgtk-3.so.0
#3  0x00007fe61d13ead3 in ??? () at /usr/lib64/libgtk-3.so.0
#4  0x00007fe61d13f105 in ??? () at /usr/lib64/libgtk-3.so.0
#5  0x0000558fdaabdd4a in set_current_layout (this=0x558ff7b990a0, current_layout=Python Exception <class 'gdb.MemoryError'>: Cannot access memory at address 0x80
#6  0x0000558fdaabe1c0 in onEvent (this=0x558ff7b990a0, res=...) at ../waybar-9999/src/modules/sway/language.cpp:89
#7  0x0000558fdaa94693 in sigc::internal::signal_emit1<void, waybar::Appearance, sigc::nil>::emit (impl=0x558ff7b98700, _A_a1=@0x7fe6029ffa60: 369) at /usr/include/sigc++-2.0/sigc++/signal.h:1041
#8  0x0000558fdaab8c11 in waybar::modules::sway::Ipc::handleEvent (this=0x558ff7b993c8) at /usr/include/sigc++-2.0/sigc++/signal.h:2951
#9  0x0000558fdaab9f83 in _M_invoke (__functor=...) at ../waybar-9999/src/modules/sway/language.cpp:40
#10 0x0000558fdaa6d885 in std::_State_impl::_M_run (this=0x558ff7729ef0) at /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/bits/std_function.h:591
#11 0x00007fe61c512faf in ??? () at /usr/lib/gcc/x86_64-pc-linux-gnu/14/libstdc++.so.6
#12 0x00007fe61c2c6061 in ??? () at /usr/lib64/libc.so.6
#13 0x00007fe61c332928 in ??? () at /usr/lib64/libc.so.6

Don't have much ideas how to reproduce. Maybe stack trace will help