-
Notifications
You must be signed in to change notification settings - Fork 866
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
WSL2 vim hang - RCU stall #7913
Comments
@tyhicks - we've seen some RCU stalls in our test automation in the past. Is there something that we can do to root cause these? |
More data, I didn't see a hang, but I checked dmesg this morning and it's full of RCU stalls - I guess they freed up because the WSL2 instance is still responsive. There seems to be a pretty wide range of tasks (kworker, rcu_sched, khugepaged, swapper, neomutt, tmux, localhost(?), ksoftirqd...), so I suspect it's not to do with any particular application.
|
I'm also seeing this on aarch64 on a regular basis. A few more general observations, and I'd be happy to provide logs if you point me to instructions.
I think it is less likely to hang if the terminal window is not the active window in the app. E.g. if I switch to a power shell tab in windows terminal, or close the terminal pane in vscode. But I haven't been keeping timings, so ....
|
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Version
Microsoft Windows [Version 10.0.19042.1415]
WSL Version
Kernel Version
Linux version 5.10.60.1-microsoft-standard-WSL2 (oe-user@oe-host) (aarch64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Wed Aug 25 23:20:18 UTC 2021
Distro Version
Ubuntu-20.04
Other Software
tmux, vim
Repro Steps
I'm not exactly sure - I had a
vim
(specificallyvim.gtk3
, but in a terminal) process running inside atmux
session. When I came back to it after some hours, it was non-responsive.I have seen this same issue in the past with the same set-up, but I don't know what triggers it.
Expected Behavior
vim
/terminal remains responsive. The kernel doesn't report RCU stalls.If it becomes unresponsive, I expect to be able to kill the process via
kill
/killall
etc.Actual Behavior
The process is completely non-responsive.
top
and/proc
say the process is running, at 100% CPU:dmesg
reports RCU stalls:I am unable to terminate the process with
kill 6146
/kill -9 6146
/killall vim
.I am unable to attach to the process with
strace
/gdb -p 6146
- it just hangs atAttaching to process 6146
Windows Task Manager shows ~7% CPU usage in Vmmem, on an otherwise idle system.
This is a Surface Pro X with the SQ2 chip (Windows on Arm)
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: