-
-
Notifications
You must be signed in to change notification settings - Fork 838
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Hanging processes on windows #857
Comments
I couldn't trivially reproduce this. |
This still happens for me regularly. I added a sub-step under 3. in the description. Is there some log or similar I can try to collect? |
I saw this in the stderr logs when the connection was offline: ``` 2021-07-17T01:54:28.036Z ERROR wezterm_ssh::session > Failed to write data to channel: Failure while draining incoming flow. Now what? 2021-07-17T01:54:28.036Z ERROR wezterm_ssh::session > Failed to write data to channel: Failure while draining incoming flow. Now what? 2021-07-17T01:54:28.142Z ERROR wezterm_ssh::session > Failed to write data to channel: Failure while draining incoming flow. Now what? ``` This commit propagates the error rather than logging and ignoring it. In addition, remove a couple of sources of blocking or panicking that are now unmasked by this. Possibly the root cause of #857
I don't know if this was what you were seeing, but I pushed a fix for something I've seen a bit this past week. Let me know if the next nightly build works for you (in ~30 mins from now). |
Tried once now, and I immediately noticed that I got a reply when I tried to interact with the window (After point 3 in original post): I did not see any process in Task manager after this. Hopefully it has been solved :) |
Today I found a hanged process again after the scenario described in this thread. I'm currently still running version Has there been any updates in this area the last month? I will update version and get back with an update. |
I thought I saw some comment from someone regarding a fix for this, but I don't see it now. I updated my wezterm version yesterday, but I have seen hanging processes again, unfortunately. I currently don't have any ideas on how to troubleshoot it though. The amount of memory that the ghost processes use are in the 30- 170MB |
I'm exclusively using a nightly version (currently at I'll try to get logs with note: No logs through MSYS2, but works in cmd.exeFor some reason I can't get any logs.. I even tried with |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Describe the bug
Some times when wezterm stops with ~"process terminated" and after closing the window with alt-f4, there is still some process running on window.
Environment (please complete the following information):
To Reproduce
wezterm-gui.exe --ssh user@remote
alt-f4
After this, the processes are still alive in task manager (2 for each instance closed this way). See picture.
Configuration
No custom config file
Expected behavior
The process should be killed completely and no longer take up system resources.
Screenshots
The text was updated successfully, but these errors were encountered: