Skip to content

Powershell extension crashing randomly #1704

Closed
@wrsbrewerton

Description

@wrsbrewerton

Issue Type: Performance Issue

Hello

Apolgies, I cannot really say how to reproduce, but while working in VSCode using the PoweShell extension, the integrated terminal will show and error saying PowerShell has terminated and do I wish to restart it

Sometimes it seems to happen even without my changing or running anything, simply highlighting content in an unsaved file can sometimes trigger it

I did turn diagnostic level logging on to try and capture useful information

I can see the error at the end of the 'EditorServices.log' but I cannot comprehend thae cause behind it

My setup is

Windows 10 Enterprise 1803
VSCode 1.30.2 (user setup)
PowerShell extension version 1.10.2

If I can provide anything further please let me know

Many thanks

Extension version: 1.10.2
VS Code version: Code 1.30.2 (61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8, 2019-01-07T22:54:13.295Z)
OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 15.85GB (4.84GB free)
Process Argv
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    0	    80	 13972	code main
    0	    69	 10080	   shared-process
    0	   307	 11348	   window (Repos - Visual Studio Code)
    0	    13	  3352	     electron-crash-reporter
    0	   170	 12220	     searchService
    0	    68	 12628	     extensionHost
    0	    14	 17692	     watcherService 
    0	    10	 16900	       console-window-host (Windows internal process)
    0	     6	 19948	     winpty-process
    0	    67	 10400	       C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
    0	     9	 17384	       console-window-host (Windows internal process)
    0	    69	 17824	   window (Issue Reporter)
    0	   174	 18872	   gpu-process
Workspace Info
|  Window (Repos - Visual Studio Code)
|    Folder (Repos): 16895 files
|      File types: json(3349) dll(2302) py(1903) xml(929) md(880) ps1(776)
|                  js(723) png(585) pyc(511) sh(480)
|      Conf files: csproj(23) package.json(20) sln(19) grunt.js(5)
|                  settings.json(4) tsconfig.json(2) tslint.json(2)
|                  makefile(1) gulp.js(1);

VScode-ps-logs.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions