Skip to content
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

The terminal process terminated with exit code: 4294967295 #93016

Closed
moollaza opened this issue Mar 19, 2020 · 5 comments
Closed

The terminal process terminated with exit code: 4294967295 #93016

moollaza opened this issue Mar 19, 2020 · 5 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@moollaza
Copy link

moollaza commented Mar 19, 2020

Issue Type: Bug

Unclear how I ended up in this state (VSCode had been open for a day or two), but closing exiting and re-opening VSCode hasn't resolved the issue: Each time I try to open a new terminal it quickly closes. It flashes a message stating "An install, uninstall, or upgrade is in progress for this distribution."

I noticed there was an update available which I installed, but nothing has changed.

In the dev tools, the console displays a different error message:

  ERR Cannot resize a pty that has already exited: Error: Cannot resize a pty that has already exited
    at WindowsPtyAgent.resize (c:\Program Files\Microsoft VS Code\resources\app\node_modules.asar\node-pty\lib\windowsPtyAgent.js:132:23)
    at WindowsTerminal.<anonymous> (c:\Program Files\Microsoft VS Code\resources\app\node_modules.asar\node-pty\lib\windowsTerminal.js:130:26)
    at WindowsTerminal._defer (c:\Program Files\Microsoft VS Code\resources\app\node_modules.asar\node-pty\lib\windowsTerminal.js:155:24)
    at WindowsTerminal.resize (c:\Program Files\Microsoft VS Code\resources\app\node_modules.asar\node-pty\lib\windowsTerminal.js:129:14)
    at S.resize (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:3110:500)
    at E.setDimensions (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:3984:437)
    at e._resize (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:4012:108)

VS Code version: Code 1.43.1 (fe22a96, 2020-03-18T07:01:20.184Z)
OS version: Windows_NT x64 10.0.18363

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz (8 x 3600)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.92GB (7.71GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (11)
Extension Author (truncated) Version
vscode-eslint dba 2.1.1
prettier-vscode esb 3.20.0
vscode-svelte-snippets fiv 0.3.0
svelte-vscode Jam 0.9.3
vscode-edit-csv jan 0.2.6
rainbow-csv mec 1.6.0
remote-wsl ms- 0.42.4
vetur oct 0.24.0
code-settings-sync Sha 3.4.3
prettier-vscode Sim 1.1.22
vscode-icons vsc 10.0.0
@vscodebot
Copy link

vscodebot bot commented Mar 19, 2020

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@moollaza moollaza changed the title The terminal process terminated with exit code: 4294967295 #91136 The terminal process terminated with exit code: 4294967295 Mar 19, 2020
@Tyriar
Copy link
Member

Tyriar commented Mar 20, 2020

Please try these:

  • Disable legacy console mode in cmd.exe/conhost's properties, or
  • Try tweaking the terminal.integrated.windowsEnableConpty setting

@Tyriar Tyriar added the info-needed Issue requires more information from poster label Mar 20, 2020
@moollaza
Copy link
Author

Thanks @Tyriar its looks like this isn't actually a bug related to VSCode but WSL, which I have as my terminal.

Switching the terminal cmd to cmd.exe has the terminal working correctly.

@erickkendall
Copy link

@prathameshlohokare
Copy link

The terminal process terminated with exit code: 4294967295 :please suggest something to solve this error.

@github-actions github-actions bot locked and limited conversation to collaborators May 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

4 participants