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
bugIssue identified by VS Code Team member as probable bugcandidateIssue identified as probable candidate for fixing in the next releasefreeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issuesterminalGeneral terminal issues that don't fall under another labelverifiedVerification succeeded
When there is no terminal opened, quickly press ctrl+` twice
Window pop up(maybe at the back of the vs code window). Whatever which button I choose, vs code window would tell me there was a crash and need to restart window
Does this issue occur when all extensions are disabled?: Yes
Reacted by Akos Pasztor, Nathanael Bracy, Shawn Melton and Alexander
Daniel Imms (@Tyriar) Yes It crashes every time on my computer. Maybe you didn't press keyboard quick enough? XD
I looks like terminal cannot initialize if the intergrated terminal is not visible.
I think I can send a screen record later
Daniel Imms (@Tyriar) I can confirm this is with user setup version only on my machine. I installed the system installer and removed the user setup. I cannot duplicate this issue anymore.
Shawn Melton (@wsmelton) could you enable trace logging (F1 > "log level" > "trace"), then repro the issue again and check the logs if there is a IPty.resize entry at the end? These will be located in your user data directory, something like this: %APPDATA%\Code - Insiders\logs\<latestdatetime>\renderer1.log
You might also be able to see the log if you open dev tools (via help menu) and open the console there, which would be easier if it gets there before the crash happens.
bugIssue identified by VS Code Team member as probable bugcandidateIssue identified as probable candidate for fixing in the next releasefreeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issuesterminalGeneral terminal issues that don't fall under another labelverifiedVerification succeeded
Activity
Tyriar commentedon May 23, 2019
Does this happen consistently for you? I can't reproduce it.
This check is meant to prevent this exception from occurring:
https://github.com/microsoft/node-pty/blob/5924d76d6765ac4da3996f49e1282eaafd591452/src/windowsTerminal.ts#L140-L142
Unless the process crashes or something? 😕
ColinTree commentedon May 23, 2019
Daniel Imms (@Tyriar) Yes It crashes every time on my computer. Maybe you didn't press keyboard quick enough? XD
I looks like terminal cannot initialize if the intergrated terminal is not visible.
I think I can send a screen record later
ColinTree commentedon May 24, 2019
I had failed to record a meaningful capture.... Just simply press the keyboard as quick as possible
wsmelton commentedon May 30, 2019
Video of making it crash with extensions enabled or disabled: VSCODE_Crash.zip
Logs from these sessions: logs.zip
wsmelton commentedon May 30, 2019
Daniel Imms (@Tyriar) I can confirm this is with user setup version only on my machine. I installed the system installer and removed the user setup. I cannot duplicate this issue anymore.
Tyriar commentedon May 31, 2019
Shawn Melton (@wsmelton) thanks for the video 👍
Tyriar commentedon May 31, 2019
Shawn Melton (@wsmelton) could you enable trace logging (F1 > "log level" > "trace"), then repro the issue again and check the logs if there is a IPty.resize entry at the end? These will be located in your user data directory, something like this:
%APPDATA%\Code - Insiders\logs\<latestdatetime>\renderer1.logYou might also be able to see the log if you open dev tools (via help menu) and open the console there, which would be easier if it gets there before the crash happens.
Tyriar commentedon May 31, 2019
Related #71789
wsmelton commentedon May 31, 2019
Did the trace and find this entry and the end of the render1.log:
20190531T064046.zip
Tyriar commentedon May 31, 2019
Shawn Melton (@wsmelton) perfect! You found the bug 😃
Fix possible crash in winpty
Tyriar commentedon May 31, 2019
Can add an extra defensive check in microsoft/node-pty#316 too
alexr00 commentedon Jun 3, 2019
I can't reproduce the original issue using 1.34 user install so I'm not sure how to verify. Any repro/verification steps?
Tyriar commentedon Jun 3, 2019
Verify via code review, I could not reproduce the issue either.