-
Notifications
You must be signed in to change notification settings - Fork 1.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
quitting CS:GO crashes sway #5884
Comments
Please provide a stack trace. You can do so by compiling from source, reproducing the crash and then running Here are some instructions to compile from source: https://github.com/swaywm/sway/wiki/Development-Setup#compiling-as-a-subproject |
@emersion sorry, coredumpctl gdb command is giving me something about latte-dock and kde stuff. I compiled sway like this:-
and executed
full output:- https://pastebin.com/embed_js/z0yrHTbT |
I guess that means the parent surface has been freed and our surface has a dangling reference to it. Sure looks a lot like 4a1c9a1. I don't understand why it's not already handled by that patch though. |
Reporting in to say I may be getting this bug with Team Fortress 2 as well, as closing that game crashes sway... well, until I decided to try -windowed -noborder in my launch options. It appears the game doesn't crash sway when windowed in any way, so this may be a good temporary workaround. I am going to try this with Portal and Portal 2 as well to see if it affects them. It's a great pity I don't understand sway's source code too well, because otherwise I'd take a crack at fixing it myself. |
If the destroyed xwayland view is in transaction, it won't be destroyed immediately. wlr_xwayland_surface then becomes dangling pointer. Closes swaywm#6605 Closes swaywm#5884
If the destroyed xwayland view is in transaction, it won't be destroyed immediately. wlr_xwayland_surface then becomes dangling pointer. Closes swaywm#6605 Closes swaywm#5884
Sway Version:
sway -v
sway version 1.5.1
Debug Log:
Configuration File:
slightly modified configs(mostly waybar) I took from r/unixporn from here
Description:
I can't always reproduce this. But most of the time when I rage quit by typing
quit
orexit
in console, it happens. existing normally by clicking exit button crashes sway less often then typingquit
in game console.steps:-
I tested this on kwin_wayland and this does not happen on it.
GPU:- Intel UHD Graphics 620
CPU: Intel i7-8565U
Drivers:- Mesa 20.3.0
OS: ArchLinux
The text was updated successfully, but these errors were encountered: