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

waybar sometimes freezes upon monitor disconnect #509

Closed
yorickvP opened this issue Nov 27, 2019 · 4 comments
Closed

waybar sometimes freezes upon monitor disconnect #509

yorickvP opened this issue Nov 27, 2019 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@yorickvP
Copy link

I captured the following stacktrace:

#0  0x00007f73a53b22dd in __pthread_timedjoin_ex ()
   from /nix/store/qb6k4hp7gk331x9fydw0w7qj4dv09bwz-glibc-2.27/lib/libpthread.so.0
#1  0x00007f73a583bd33 in std::thread::join() ()
   from /nix/store/1220kf6lvlswh677wvizp9p51c6rcp3x-gcc-8.3.0-lib/lib/libstdc++.so.6
#2  0x0000000000443460 in waybar::modules::Custom::~Custom() ()
#3  0x0000000000443489 in waybar::modules::Custom::~Custom() ()
#4  0x000000000044d036 in waybar::Bar::layerSurfaceHandleClosed(void*, zwlr_layer_surface_v1*) ()
#5  0x00007f73a51edff0 in ffi_call_unix64 ()
   from /nix/store/igz8g5f3l0p0f7qk2zabkni4r0w86w6k-libffi-3.2.1/lib/../lib64/libffi.so.6
#6  0x00007f73a51ed77a in ffi_call ()
   from /nix/store/igz8g5f3l0p0f7qk2zabkni4r0w86w6k-libffi-3.2.1/lib/../lib64/libffi.so.6
#7  0x00007f73a6e7429d in wl_closure_invoke ()
   from /nix/store/n09hnyivzrfp7i3vi93nfbw58kf7yynl-wayland-1.17.0/lib/libwayland-client.so.0
#8  0x00007f73a6e70ac9 in dispatch_event.isra ()
   from /nix/store/n09hnyivzrfp7i3vi93nfbw58kf7yynl-wayland-1.17.0/lib/libwayland-client.so.0
#9  0x00007f73a6e71fb4 in wl_display_dispatch_queue_pending ()
   from /nix/store/n09hnyivzrfp7i3vi93nfbw58kf7yynl-wayland-1.17.0/lib/libwayland-client.so.0
#10 0x00007f73a5d9e4d4 in _gdk_wayland_display_queue_events ()
   from /nix/store/dk06cb9yzc8izi1pym574yap55vsdjhx-gtk+3-3.24.12/lib/libgdk-3.so.0
#11 0x00007f73a5d6f490 in gdk_display_get_event ()
   from /nix/store/dk06cb9yzc8izi1pym574yap55vsdjhx-gtk+3-3.24.12/lib/libgdk-3.so.0
#12 0x00007f73a5d9e1f2 in gdk_event_source_dispatch ()
   from /nix/store/dk06cb9yzc8izi1pym574yap55vsdjhx-gtk+3-3.24.12/lib/libgdk-3.so.0
#13 0x00007f73a5a40d1d in g_main_context_dispatch ()
   from /nix/store/r1qdhsvij69811ysvr0d4ijp1hc9bi94-glib-2.62.2/lib/libglib-2.0.so.0
#14 0x00007f73a5a40fb8 in g_main_context_iterate.isra ()
   from /nix/store/r1qdhsvij69811ysvr0d4ijp1hc9bi94-glib-2.62.2/lib/libglib-2.0.so.0
#15 0x00007f73a5a4104c in g_main_context_iteration ()
   from /nix/store/r1qdhsvij69811ysvr0d4ijp1hc9bi94-glib-2.62.2/lib/libglib-2.0.so.0
#16 0x00007f73a5c45c0d in g_application_run ()
   from /nix/store/r1qdhsvij69811ysvr0d4ijp1hc9bi94-glib-2.62.2/lib/libgio-2.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#17 0x0000000000427a0a in waybar::Client::main(int, char**) ()
#18 0x000000000042640c in main ()
@yorickvP
Copy link
Author

@yorickvP
Copy link
Author

killing the custom module process manually makes the bar work again. Question would be why that doesn't happen automatically.

@Alexays Alexays added the bug Something isn't working label Dec 9, 2019
@Alexays Alexays added this to the 1.0.0 milestone Apr 5, 2020
@Alexays
Copy link
Owner

Alexays commented May 27, 2020

Should be good with 6e7f22a
Can you confirm?

@luispabon
Copy link

Just patched waybar and will report back 👌

@Alexays Alexays closed this as completed Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants