Open rcosnita opened 2 years ago
FYI: I have just applied https://digitalfortress.tech/debug/what-should-you-do-when-ubuntu-freezes/. Maybe it fixes the issue.
I have just tried to apply the fix mentioned in the above link but the problem still occurs.
@rcosnita, thanks for trying out WSLg. It looks you are on older WSLg build, would you please upgrade by installing WSL from Store app (from https://www.microsoft.com/en-us/p/windows-subsystem-for-linux-preview/9p9tqf7mrm4r) ? While there are some fixes aren't included in this release, but this release has several key fixes, so it might be worth to try out, thanks!
After opening the issue I migrated to the latest WSLg version from app store:
C:\Users\raduc>wsl --status Default Distribution: Ubuntu-20.04 Default Version: 2 WSL version: 0.50.2.0 Kernel version: 5.10.74.3 WSLg version: 1.0.29 Windows version: 10.0.22000.376
The problem is still occuring but at a slower pace. Not sure if this is related to the Ubuntu version or is a more general problem.
Issue also exists in other IDEA IDEs Microsoft Windows NT 10.0.22000.0 Ubuntu 20.04 WSLg 1.0.26 Kernel 5.10.60.1
With WSLg version 1.0.30 the issue still persist but it occurs rarely (maybe once per day). In the previous versions I was hitting this bug once every two - three hours.
@rcosnita, thanks for update. Do you see any core file created under /mnt/wslg/dumps? if so please share with us, thanks!
Not yet. As soon as I manage to reproduce the issue again I will attach the resulting core file.
Here is the core dump resulting from WebStorm crashing.
Here is the result of wsl status:
C:\Users\raduc>wsl --status
Default Distribution: Ubuntu-20.04
Default Version: 2
WSL version: 0.51.3.0
Kernel version: 5.10.93.2
WSLg version: 1.0.30
Windows version: 10.0.22000.527
I managed to reproduce the issue again so I'm attaching the new core dump collected. core.zip
@rcosnita, thanks for dump.
at ../libweston/backend-rdp/rdpclip.c:1581
s=0x55a8639d62e0, context=0x55a8639e5d90) at /work/vendor/FreeRDP/channels/cliprdr/server/cliprdr_main.c:620
at /work/vendor/FreeRDP/channels/cliprdr/server/cliprdr_main.c:858
at /work/vendor/FreeRDP/channels/cliprdr/server/cliprdr_main.c:1349
at /work/vendor/FreeRDP/channels/cliprdr/server/cliprdr_main.c:1192
at /work/vendor/FreeRDP/winpr/libwinpr/thread/thread.c:316
$1 = {base = {resource = 0x0, destroy_signal = {listener_list = {prev = 0x55a8639bfcc8, next = 0x55a863f3fb50}},
mime_types = {size = 24, alloc = 32, data = 0x7fe164000f10}, offer = 0x55a863f3fb40, seat = 0x0, accepted = false,
actions_set = false, set_selection = true, dnd_actions = 0,
current_dnd_action = WL_DATA_DEVICE_MANAGER_DND_ACTION_NONE,
compositor_action = WL_DATA_DEVICE_MANAGER_DND_ACTION_NONE,
accept = 0x7fe19663a4b0
does not work for me on IDEA (and Eclipse) WLS 2.0.4 wlsg 1.0.58 is this a java issue?
I have the same problem running Clion (and other JetBrains IDEs) on Ubuntu. After a long coding session, it eventually crashes the entire window manager upon a copy/paste and kicks me back to the console. I have had to stop using it and move to using VSCode which is a bummer.
I am also having the same issue. on WSL version: 2.1.5.0. Ubuntun. RubyMine 2024.1.2. When I use 'p/P' with ideaVim the IDE crashes
Just for kicks. I use PyCharm in WSL2. I had a functional Ubuntu 20.04 that did not crash. I installed 24.04 and crashes when I use 'p'. So I tried Debian 12. Same problem. I had previously reported this issue to Jetbrains with Ubuntu 22.04 on a different machine.
Crashes observed when doing y/p (yank/paste) on IntelliJ/IdeaVim with
WSL version: 2.3.24.0 Kernel version: 5.15.153.1-2 WSLg version: 1.0.65 MSRDC version: 1.2.5620 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.26100.1-240331-1435.ge-release Windows version: 10.0.19045.5011
WSL distro: Ubuntu 24.04.1 LTS
I have the same issue
uname -a Linux OPTCN7181 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
PS C:\Users\me> wsl --version WSL-Version: 2.3.24.0 Kernelversion: 5.15.153.1-2 WSLg-Version: 1.0.65 MSRDC-Version: 1.2.5620 Direct3D-Version: 1.611.1-81528511 DXCore-Version: 10.0.26100.1-240331-1435.ge-release Windows-Version: 10.0.19045.5011 PS C:\Users\me>
Setting set clipboard=+unnamed
in ~/.ideavimrc
would be a workaround
Throughout the experience of this bug, I had set clipboard+=unnamed
in my .ideavimrc
file. But I also had set clipboard+=ideaput
. I don't have the setup any more to test if removing the second one resolves the issue.
Thank you both for sharing these suggestions.
It runs successfully (tested with 1'000+ put operations) on my system with any of
set clipboard=unnamed set clipboard=unnamedplus set clipboard+=unnamedplus
It crashes (after ~10 put operations or fewer) with any of
set clipboard+=unnamed << empty .ideavimrc >>
Environment
Steps to reproduce
This issue reproduces after a period of time running the Jetbrains CLion app (or any other Java based UI app for that matter). Mainly, once I try to copy and paste things the app crashes immediately.
stderr.log
WSL logs:
pulseaudio.log weston.log
Versions.txt contains the following content:
Expected behavior
No crash should occur and copy / paste must work as expected.
Actual behavior
The application crashes and the following log entries appear in the error log: