-
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
Sway 1.8-dev crash on window close #7303
Comments
Strange. Do you run firefox with the wayland backend? |
Yes |
Are you able to provide a stacktrace? |
How? The process just finishes up without any stacktrace and shell shows |
I don't know what distro you're using, coredumpctl, gdb trace, anything that can point to a problem in the code. We can't do much with a "that bug rarely happens" and a sway log that has no significant error. |
Here you go UPD: I can't open this file in github, here's the link: https://0x0.st/oku0.txt |
But I think this is a coredump from a latest crash. However, it is caused by the same actions (closing firefox) |
@emersion , what does "waiting on reporter" label mean? Do I need to provide more information? |
Looks like a bug indeed. Did you find a way to reproduce it deterministically? What are the condition to make it crash, is firefox the only window on the screen? |
@bl4ckb0ne I've found a way to reproduce it
|
Can you try #7315 ? |
Maybe next week. If you were able to reproduce the issue and this commit fixes it, just close it |
@hissssst i made some changes to the patch. If you could test it, it would be greatly appreciated. |
Can you confirm this is fixed in master? |
I just tested master and I got the same
message every 100ms on the log |
That message is unrelated. |
Almost reliably reproduces crash every time I close VSCode window. |
@eternal-sorrow care to share some logs or stacktraces? |
@bl4ckb0ne, Well, I need to run sway with debug enabled and gather the log. I tried getting stacktraces with systemd-coredump, but there was nothing meaningful because of an optimized build and lack of debug symbols. Now I've built sway with debug symbols, so when it crashes again, I might be able to get a stacktrace. |
Nope, didn't get a useful stacktrace even with debug symbols. My stacktrace looks like this:
|
For some reason I can't reproduce the crash after I started sway with debug output. |
@hissssst can you confirm your issue is fixed in master? |
Okay, I set up constant debug logging for sway in case I will be able to reproduce the crash, and yes, it happened again. There is nothing unusual in the log though:
And this is it. 'kill' command is me closing VSCode window. |
What's unusual? |
Nothing. That's what I've said. But these were the last lines in the log before sway crashed. |
Fixed in master |
Will there be a hotfix release where this is fixed? |
Sway 1.8.1 is planned, yes. |
Crashes when closing VSCode still occur on 1.8.1. I guess, it's a different bug. |
Open a new issue with the stacktrace please |
I already wrote before that I was unable to get a meaningful stacktrace. |
Sway Version:
sway version 1.8-dev
Debug Log:
sway2.log
Configuration File:
https://0x0.st/ok-4.txt
Stack Trace:
No stack trace, just
(core dumped) exited with code 1
Description:
This bug rarely happens, but when I close firefox window (
Mozilla Firefox 102.5.0esr
), sway crashesThe text was updated successfully, but these errors were encountered: