-
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.2 crashes after copy/paste with wl-copy
in neovim
#4517
Comments
I think it's worth noting that this happens with master version of wl-clipboard. release version does not work at all P.S it only happens when pasting from primary clipboard |
Can you compile sway with debugging symbols? |
Also please use |
This is the same bug I was talking about in #4502, I have the same neovim clipboard option. |
I just ran into this as well and reproduced with a minimal config:
All you have to do is start sway, run a terminal, run Backtrace with symbols: https://paste.sr.ht/~vilhalmer/09c9f6f00f4e9bc5a6c54a8ee6feb69c725e3904 |
Ah, here's a better one with wlroots symbols too. https://paste.sr.ht/~vilhalmer/079ff30ae36211ddd525f7767c77f1c5b99a4b0a |
ASan trace:
|
Focused layers are not cleared when destroyed, they are cleared on unmap. Giving focus to an unmapped layer surface is (1) incorrect and (2) triggers a use-after-free. Closes: swaywm#4517
Can you try #4525? I have no clue why wl-clipboard creates a layer surface when using the data-control protocol. |
This might be a leftover from pre-data-control days. I didn't know it was still doing it. |
Focused layers are not cleared when destroyed, they are cleared on unmap. Giving focus to an unmapped layer surface is (1) incorrect and (2) triggers a use-after-free. Closes: #4517
Upstream bugreports: swaywm/sway#4517 swaywm/sway#4502
Upstream bugreports: swaywm/sway#4517 swaywm/sway#4502
nvim --version
v0.3.8Explanation of steps taken to reproduce the issue.
Then neovim is not responsive and sway (with default config) crashes when opening
new terminals. Earlier this had worked.
Sway stack trace and debug log
The text was updated successfully, but these errors were encountered: