-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[windows] Spawned processes leak on Windows 10 #815
Comments
The new version is intentionally 0.7.1 to be sync with VSCode. Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Is the node/electron process gone however ? Makes me think of the backend not stopping on windows after ctrl-c |
Neither |
PR: #816. |
I try with |
But we're not using node-pty to create a LSP process ? How is this related? |
I could ask the same, why do you want me to update node-pty if that does not fix my issue? |
@kittaakos I do not ? I said that because of #816 I think like I said in #816 you should use RawProcess that may fix it... |
Let's give it a try. Thanks for #817. |
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Replaced `child_process` with `RawProcess` in LS contribution. Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Replaced `child_process` with `RawProcess` in LS contribution. Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
[skip ci] Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Replaced `child_process` with `RawProcess` in LS contribution. Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Replaced `child_process` with `RawProcess` in LS contribution. Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Instead of terminating all the LS contribution processes, we shut down all processes spawned from the process manager. Signed-off-by: Akos Kitta <kittaakos@gmail.com>
On both `exit` and `error`. Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Also changed the info log level to debug in the process manager. Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Replaced `child_process` with `RawProcess` in LS contribution. Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Instead of terminating all the LS contribution processes, we shut down all processes spawned from the process manager. Signed-off-by: Akos Kitta <kittaakos@gmail.com>
On both `exit` and `error`. Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Also changed the info log level to debug in the process manager. Signed-off-by: Akos Kitta <kittaakos@gmail.com>
The problem still happens on Windows with a bundled application. |
Which process? YANG LS? |
Yes, the LS process. |
I think this is this issue: microsoft/node-pty#7 Note it doesn't happen if you use node directly it only happens when you use yarn start. Maybe we could work around with a script to start it for now with node ? |
microsoft/node-pty#7 is about pressing ctrl+c either not closing an application or corrupting the viewport in some way. It's not totally clear to me what the problem is, but if it's about processes leaking under node-pty like microsoft/vscode#26807, then #816 should have fixed this issue. See the release notes for 0.7.1:
|
ok I have the same issue as described in microsoft/node-pty#7 (comment) But I'm not running inside node-pty it's directly git bash. Maybe git bash needs a simliar fix as: rprichard/winpty#130 from winpty |
Yeah that may be the case then |
I do not see this anymore. I have verified it on my Windows 10 image with various Xtext based language servers. I can confirm, the LS ( I am closing this. |
Start a bundled electron application, kill the application, one can still see stale processes on Windows.
See: theia-ide/yangster-electron#8
Also: microsoft/vscode#26807
The text was updated successfully, but these errors were encountered: