-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Copy pasting from WSL to clipboard crashes the terminal and breaks copypaste system wide with very severe side effects #2807
Comments
@carlos-zamora Is this the same as the other clipboard crash? |
Sounds like it. Particularly the "both copy&paste disabled until restart" part. So, what is going on is that the clipboard stays open. Because it is "in use", no other application is suddently able to use it. Just to be safe, mind submitting some additional feedback? /feedback |
Sorry about not having Feedback Hub link before, I had to do some work and the Feedback Hub UI is somewhat confusing. Here is a link for you anyway: https://aka.ms/AA63lsi |
Somebody remarked that this sounds like you're out of GDI handles. When this happens again, can you launch Task Manager, go to the Details tab, enable the "GDI objects" column and see what's taking up so many of them? I bet it's not WT. |
I'll check for GDI objects next time. I'm not that optimistic about that being the reason, as I was not doing anything that would hog up GDI handles yesterday when this occurred. |
🎉This issue was addressed in #2927, which has now been successfully released as Handy links: |
this still occurs! |
@torchesburn This original thread is over 3 years old now. If you're seeing something similar, I'd bet it's due to a different root cause. Mind filing a new issue, so we can follow up on the specifics of whatever you're seeing? Thanks! |
All inside WSL, doing
Specifically for those using neovim, using the clipboard took about 500ms after this, so I had to set |
Environment
Windows version: 10.0.18362.0
Terminal version: 0.4.2382.0
ESET Endpoint Security Antivirus 7.1.2053.0
Razer Blade 2019 15" laptop with default drivers.
Steps to reproduce
Use WSL on the terminal and copy paste text back and forth from the terminal to other parts of the system. At some point the terminal will crash on copy.
Expected behavior
The string would be on the clipboard and windows would continue functioning properly.
Actual behavior
After the crash I'm fully unable to use Windows clipboard functionalities. Some places like explorer show both copy&paste disabled until restart but also clipboard actions from other software like vim are broken. At the same time radio boxes in Windows UI elements like installers stop working (wtf?) and some of the start menu shortcuts like windows+x also stop functioning until I restart the computer.
This seems rare, but I already reinstalled the system that I'm experiencing this on once, as I thought that some of the system files must be corrupt, but now I'm getting the same problem again. In both cases the first sign of trouble was the copy paste functionality of the terminal and everything else is fully working, so I think it might actually be related even though this seems very obscure.
The text was updated successfully, but these errors were encountered: