-
-
Notifications
You must be signed in to change notification settings - Fork 722
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
Exit dispatcher causes segfault #4849
Comments
patch69.txt |
After applying this patch, the problem has become less reproducible, but it is still there. New backtrace is here. bt-1.txt |
Based on my testing, with this patch crashes occurs when using Hyprland for a certain amount of time, in addition to SIGSEGV, I'm also encountering an SIGABRT. Backtrace from SIGABRT core dump: bt-2.txt. Should I attach a backtrace with debug symbols? |
there are enough symbols, feel free to debug this yourself tho, I have better things to do atm |
im not that well wersed in wayland/wlroots/hyprland but with my trace in #5471 and your unpatched one i think wl_display_destroy_clients(g_pCompositor->m_sWLDisplay) is generating an event on an listener that was already destroyed with removeAllSignals(), and something like this mitigates it?
|
or well it seems it just eventually later coredumped in another place, is this some kind of thread race to finish thing hm |
Can't reproduce anymore with the following commits: compositor: move wl_display_destroy_clients, workspace: fix crash on destruction of compositor |
Reproducible again on the latest HEAD. Also, when using the exit dispatcher, Hyprland periodically hangs and exits only after receiving any input, but in this state, Hyprland does not stop responding to requests from hyprctl via ssh. The symptoms mentioned earlier are very similar to #4599. bt.txt
|
Hyprland Version
System/Version info
Bug or Regression?
Bug
Description
Some time ago I was facing a program freeze when using exit dispatcher, but after some commits the freezes on exit are gone and now I have this segfault 100% of the time when exiting
How to reproduce
hyprctl dispatch exit
or by keybindCrash reports, logs, images, videos
bt.txt
The text was updated successfully, but these errors were encountered: