You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Closing integrated terminal causes window to crash with C++ assertion error #71789
*duplicateIssue identified as a duplicate of another issue(s)freeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issuesinfo-neededIssue requires more information from posterterminalGeneral terminal issues that don't fall under another labelwindowsVS Code on Windows issues
Can confirm this is now quite frequent. It may be associated with using the keybind to close the integrated terminal. I think it has happens when you go to close it after it has first launched up with the terminal already open.
The line terminal.integrated.windowsEnableConpty": false, was added after the crashes appeared from a thread on a similar issue but has not affected the random crashes. This has only happened recently (~last 3 weeks)
Having the same issue, but only when my VScode workspace contains .ps1 sources. It is annoying, cause as long as the sources are part of the workspace the error is thrown when starting up VSCode. After removong the sources form the workspace VSCode can startup normally.
Once VSCode opened normally the sources can be placed again in the workspace.
This looks like an issue with our old terminal backend "winpty", going forward we are focusing our efforts on the new backend "conpty" which is build by the Console team at Microsoft and should fix many issues with the terminal under Windows. You can read more about getting ConPTY here.
*duplicateIssue identified as a duplicate of another issue(s)freeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issuesinfo-neededIssue requires more information from posterterminalGeneral terminal issues that don't fall under another labelwindowsVS Code on Windows issues
Activity
vscodebot commentedon Apr 5, 2019
(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
Tyriar commentedon Apr 12, 2019
Does this crash for you reliably? I haven't been able to reproduce at all personally.
kaleidawave commentedon Apr 14, 2019
Can confirm this is now quite frequent. It may be associated with using the keybind to close the integrated terminal. I think it has happens when you go to close it after it has first launched up with the terminal already open.
Tyriar commentedon Apr 14, 2019
What's the build number of Windows 10? Is your repro just open and close the terminal?
Could you also share your settings.json file?
kaleidawave commentedon Apr 14, 2019
Windows 10 Home: 17134.706
So yeah it seems to crash if you close the terminal from when it first launched up.
The line
terminal.integrated.windowsEnableConpty": false,was added after the crashes appeared from a thread on a similar issue but has not affected the random crashes. This has only happened recently (~last 3 weeks)lvanvugt commentedon Apr 15, 2019
Having the same issue, but only when my VScode workspace contains .ps1 sources. It is annoying, cause as long as the sources are part of the workspace the error is thrown when starting up VSCode. After removong the sources form the workspace VSCode can startup normally.
Once VSCode opened normally the sources can be placed again in the workspace.
VSCode version 1.33.1
JulianTillmann commentedon May 29, 2019
I have the same issue as Luc van Vugt (@lvanvugt)
I see that him and me are both NAV (Dynamics 365 Business Central) Partners, so I'm guessing he's using the same extensions as me
the PowerShell guys already sent me here
JulianTillmann commentedon May 29, 2019
By the way, the insiders version has the same issue

lvanvugt commentedon May 29, 2019
Now on VSCode 1.34.0 it's not bothering me anymore, even though the issue occured once.
JulianTillmann commentedon May 29, 2019
I'm also on VCode 1.30.0, but I've had the Problem 5 times today.
Tyriar commentedon Oct 9, 2019
This looks like an issue with our old terminal backend "winpty", going forward we are focusing our efforts on the new backend "conpty" which is build by the Console team at Microsoft and should fix many issues with the terminal under Windows. You can read more about getting ConPTY here.
/duplicate #45693