-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Shell task doesn't finish #37934
Comments
I couldn't reproduce this using a simple gulp file. @mickeypearce can you provide a GitHub repository that demos this |
I made a simple demo repository (https://github.com/mickeypearce/vscode-taskproblem) that reproduces error on my machine. Please let me know if you can reproduce. |
The problem is that the terminal crashes and doesn't send a final event @Tyriar since more people are seeing this can you please investigate. This might be a candidate for a recovery build. |
Tried to reproduce this using the examples provided but was not able to do so. |
@Tyriar to mitigate this it would help if the terminal service sends and event when the terminal process crashes / dies. Then the task service could at least clean up its state and the user could try to run the task again. |
I think the not finishing is this #31301 As for the assertion, I would guess it's a race condition related to the process leak fix microsoft/node-pty#122 |
The assertion is actually happening in the new winpty API |
The error occurs when querying |
Upstream issue: microsoft/node-pty#158 |
PR is out microsoft/node-pty#160 |
Since the team had difficulty reproducing the issue, it would be great if someone that can repro could test this build to see if it still occurs: https://az764295.vo.msecnd.net/insider/5676c71a4c02632e14c97aefc049e339848552e6/VSCodeSetup-x64-1.18.0-insider.exe |
That build fixed it for me. Tasks are finishing normally again. |
I had a similar issue and that build also fixed it for me. |
Same here. It works. |
Same here. It works too. |
October Recovery 1.18.1 fixes it for me thanks |
to me too |
Thanks a lot for helping with verification 🙂 |
Running background shell task (gulp task with params) doesn't finish.
Manual termination of task ends in "Assertion failed!" error by widpty.dll program.
Worked in previous version.
Steps to Reproduce:
Example tasks.json
{ "version": "2.0.0", "tasks": [ { "type": "shell", "label": "my gulp shell task", "command": "gulp --color exportFilesFromDb --env=DEV --file=${file}", "isBackground": false } ] }
The text was updated successfully, but these errors were encountered: