-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Hyprland crashes at random times while interacting with applications #6323
Comments
this potentially leaks, but avoids a UAF ref #6323
this will stop the crash, but the crash was due to xwayland crashing. Possibly the last faq here: https://wiki.hyprland.org/FAQ/#workspaces-or-clients-are-disappearing-or-monitor-related-dispatchers-cause-crashes |
i don't see any ghost monitors. let me test for couple hours and let you know/close the issue. thank you! |
instead of xwayland crashing now, all xwayland applications crash. unless i relog, no program of xwayland opens. no log report from hyprland since it continues to run. how could i debug xwayland/get logs? |
Happens to me as well. Probably started from 0.40.0, but that's just a guess without proper bisecting. Applications that caused crashes so far are LibreOffice, Thunar and REW. |
xwayland programs crashing has happened to me since 0.36.0(i started using hyprland then). every xwayland app would close. kitty stays open but it's not xwayland. this issue happened very often, and with #6086, crashing hyprland completely |
hey this happens to me too, I can't find any particular reason, I've tried downgrading mesa sddm and linux kernel, in logs it shows hyprland received SIG 6, but this happens exclusively when I'm running Thorium Browser. Hyprland is bound to crash then, and Thorium runs in XWayland. |
xwayland itself crashes, I think this should be reported to xorg |
Should xwayland crashing bring down Hyprland? |
no, and it wont anymore |
I wonder if this is related to those ghost monitors: From journalctl:
I have occasionally seen a monitor listed in journalctl called
That said, I experience these crashes when both my monitors are off, not while "interacting with applications". |
i'll try to look for logs in xorg to check what's causing the crash and report to xorg accordingly. thank you! |
using #3799 (comment) 's method, i logged xwayland crashing and i am having the same error as #3799
on searching the web i found microsoft/wslg#862 (comment) and i'm not sure but this might be helpful |
sounds like an xwayland issue. |
I have created an issue over at xorg/xserver/#1686 Could you tell me how I can set the limits for the file descriptors? I was asked to try so here edit: nvm. i assumed it was some configuration i have to change inside the repository. |
Same issue here but only with a subset of applications, i.e IDA running in XWayland |
Xwayland was crashing due to my system running out of file descriptors. Setting the limits to 65535 seems to have fixed the issue with no other side effects. To set the limits, run the following commands:
Thank you @vaxerski for the help and creating the best compositor! |
@aniketkotal could you please elaborate? I get errors while executing your answer: I'm on Arch Linux. Thank you. |
If you are on Arch and encountering the error above, I believe it's because of this. First Check: sudo sysctl -w fs.file-max=65535
sudo sysctl --system | grep "fs.file" If the output doesnt include "fs.file" do this
fs.file-max=65535
sudo sysctl -p /etc/sysctl.d/99-sysctl.conf
sudo sysctl --system | grep "fs.file" ORsudo sysctl -a | grep "fs.file" I have yet to test this if it solves the crashes or not. |
System Info and Version
System/Version info
Bug or Regression?
Bug
Description
Moving the mouse, changing workspaces, moving windows around, anything really, causes Hyprland to crash. Happens more often while working on JetBrains WebStorm and RustRover, and also while trying to open the file picker. There is no intervals to this happening.
How to reproduce
Unfortunatly, no exact steps. Casually using causes Hyprland to die.
Crash reports, logs, images, videos
hyprlandCrashReport1285.txt
hyprlandCrashReport3024756.txt
hyprlandCrashReport3625196.txt
The text was updated successfully, but these errors were encountered: