Open stautonico opened 1 year ago
Update: I tried compiling polybar from source (instead of using my distro's included package) and it seems to not crash now, however, workspaces 5+ only show up in the xworkspaces module intermittently. I enabled the mpd, network, curl, and ipc build options, and disabled pulseaudio, alsa, and i3. Same config as above, no longer crashes, but workspaces still don't show up properly
Please describe the bug I tried setting up a polybar config and it works for works (sometimes) but it seems to segfault in random intervals. At first it seemed to crash in workspaces 5+, then I through it was crashing in in empty workspaces, but now it seems random. Moving too fast: crash, accessing empty workspace: crash, breathing: crash. I tried changing a few settings (like pin-workspaces, and enable-click), but nothing changed. I built the latest version from the master branch on Linux Mint 21.1
Steps to reproduce:
[module/customworkspaces] type = internal/xworkspaces
[config] monitor = eDP-1 fixed-center = false underline-color = #ffffff border-color = #ff0000
offset-x = 0 offset-y = 0 radius = 5 height = 30 radius-top = 5 radius-bottom = 5 border-size = 0 padding = 2
separator = dim-value = 1
enable-ipc = true
tray-position = left tray-detached = true tray-padding = 0 tray-offset-x = 145 tray-offset-y = 0
font-0 = "Ubuntu:style=Regular:size=10;3" font-1 = "FontAwesome:style=Regular:size=11;4" font-2 = "Iosevka Nerd Font:style=Medium:size=17;5" font-3 = "FontAwesome:style=Regular:size=11;3" font-4 = "Iosevka Nerd Font:style=Medium:size=18;4"
modules-left = customworkspaces
[bar/main] inherit = config width = 100%
[settings] throttle-output = 5 throttle-output-for = 10 screenchange-reload = true
compositing-background = source compositing-foreground = over compositing-overline = over compositing-underline = over compositing-border = over
pseudo-transparency = false
hread 1 "polybar" received signal SIGSEGV, Segmentation fault. __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:317 317 ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such file or directory. (gdb) bt
0 __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:317
1 0x00007ffff7321e9f in std::cxx11::basic_string<char, std::char_traits, std::allocator >::_M_assign(std:: cxx11::basic_string<char, std::char_traits, std::allocator > const&) ()
from /lib/x86_64-linux-gnu/libstdc++.so.6
2 0x00005555556aedee in polybar::modules::xworkspaces_module::handle(xpp::x::event::property_notify<polybar::connection&> const&) ()
3 0x00005555556fe207 in ?? ()
4 0x0000555555625f1b in polybar::controller::read_events() ()
5 0x0000555555626e5b in polybar::controller::run(bool, std::__cxx11::basic_string<char, std::char_traits, std::allocator >) ()
6 0x00005555555f7eed in main ()