Skip to content

PowerShell crashes when selecting file from Explorer Pane #1843

Closed
@mpearon

Description

@mpearon

System Details

System Details Output

### VSCode version: 1.32.3 a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4 x64

### VSCode extensions:
aaron-bond.better-comments@2.0.3
alexcvzz.vscode-sqlite@0.6.0
Compulim.vscode-clock@0.0.1
DotJoshJohnson.xml@2.4.0
eamodio.gitlens@9.5.1
earshinov.sort-lines-by-selection@0.0.3
fabiospampinato.vscode-github-notifications-bell@2.1.5
formulahendry.vscode-mysql@0.4.0
GrapeCity.gc-excelviewer@2.1.29
hoovercj.vscode-power-mode@2.2.0
idleberg.applescript@0.14.2
johnstoncode.svn-scm@1.47.12
Kelvin.vscode-sshfs@1.14.6
le0zh.vscode-regexp-preivew@0.0.3
mkloubert.vscode-remote-workspace@0.42.0
ms-mssql.mssql@1.5.0
ms-vscode.powershell-preview@2.0.1
ms-vsliveshare.vsliveshare@1.0.18
ms-vsliveshare.vsliveshare-audio@0.1.48
nonoroazoro.syncing@2.1.5
rafaelmaiolla.remote-vscode@1.1.0
shyykoserhiy.git-autoconfig@0.0.1
softwaredotcom.swdc-vscode@0.14.2
Tyriar.sort-lines@1.8.0
WakaTime.vscode-wakatime@1.2.13
yzhang.markdown-all-in-one@2.2.0

### PSES version: 2.0.0.0

### PowerShell version:

Name                           Value                                                                                                             
----                           -----                                                                                                             
PSVersion                      5.1.17763.316                                                                                                     
PSEdition                      Desktop                                                                                                           
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                           
BuildVersion                   10.0.17763.316                                                                                                    
CLRVersion                     4.0.30319.42000                                                                                                   
WSManStackVersion              3.0                                                                                                               
PSRemotingProtocolVersion      2.3                                                                                                               
SerializationVersion           1.1.0.1                                                                                                           

Issue Description

PowerShell Session Reliability

Expected Behaviour

PowerShell Session should remain active during file operations

Actual Behaviour

When selecting files from the Explorer Pane, the PowerShell session crashes.

Other Info

  • If I create a new file, the PowerShell session remains functional.
  • If I restart the session after opening from the Explorer Pane, it crashes again.
  • To rule out compatibility issues I've taken the following steps:
    • Disabled all extensions other than PowerShell
    • Removed PowerShell Preview and reverted to PowerShell

Attached Logs

vsCode-ESLogs.zip
vCode-PSCrash

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions