-
Notifications
You must be signed in to change notification settings - Fork 510
[PREVIEW] Integrated Terminal locks on Windows PowerShell (x64) #2387
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
Comments
You're most likely seeing this: #2377 |
I've had the same issue since I installed the new PowerShell preview extension (I was previously running the older preview). I've been unable to switch to Windows PowerShell (x64). |
Can you let us know whether the VSCode window (other than the terminal) responds to input like mouse clicks when you see this hang. If so, it's almost certainly #2377. |
While the terminal is frozen I cannot interact with the vscode menus or other buttons in vscode. |
Thanks for that. The UI locking up like that is the VSCode bug we've been discussing in #2377. I'll mark this issue as a duplicate. |
Given some elements of (1) this only occurring with the preview extension and (2) some evidence of UI activity, I reopened this issue. I've fired up a Windows VM with the following OS version:
I used the master branch of the preview extension. I initially just had Windows PowerShell installed and was able to start and use the extension. I then installed PowerShell 7.0.0-rc.1 alongside and tried switching between PS 7 and PS 5, as well as starting in PS 7 and switching to PS 5. I haven't been able to reproduce this bug yet though unfortunately. @joshfria @majst32 if you're able to provide any more information about your set up (like policy or similar), or possibly a procdump of the frozen process, that might help us pin down the cause. |
Sorry for the delay @rjmholt. When I run procdump on the code.exe process I see these exceptions at the time of occurrence. I do have a dump file I can upload, but am leery of putting it on a public site. Is there anyway I can send it to you directly. |
Thanks for following up!
Absolutely, you can mail it (or a link to it) to [email protected]. Those exceptions don't look familiar (they don't look like CLR exceptions), but hopefully the dump will be elucidating. |
It has been sent. Thank you. |
Thanks for that. It looks like it's a dump of We can't do much the
this part is #2377. However,
this part is a crash within PSES. If you're able to get a procdump of the |
After more discussion in #2377, I'm going to deduplicate this issue to that one |
Issue Description
When trying to start Windows PowerShell (x64) using the integrated terminal the whole application will freeze for about 30 seconds. I have recreated the issue across both of my PCs. I've disabled all extension except the preview extension.
Reproducing the issue
I can either have "powershell.powershellDefaultVersion": "Windows PowerShell (x64)" in my settings or try to start Windows PowerShell(x64) from my session menu. The whole application will then freeze for 30 seconds.
Then a pop up windows will appear that says: The window is no longer responding.
Then a few seconds later I get a warning in vscode: The terminal process terminated with exit code: {0}
Then maybe a minute later I get: The language service could not be started.
Attached Logs
vscode-powershell.zip
Attached log file. Added some lines that appeared in the Powershell extension logs terminal that were not in the .log for some reason.
Environment Information
Visual Studio Code
PowerShell Information
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
The text was updated successfully, but these errors were encountered: