Skip to content

Crash when editing remote file using psedit #1091

Closed
@mbsj

Description

@mbsj

System Details

  • Operating system name and version: Windows 10 Pro
  • VS Code version: 1.17.2
  • PowerShell extension version: 1.5.0
  • Output from $PSVersionTable:
Name                           Value
----                           -----
PSVersion                      5.1.14393.1770
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.1770
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
Copy / paste the following commands into the PowerShell Integrated Console, and paste the output here:

code -v
1.17.2
b813d12980308015bcd2b3a2f6efa5c810c33ba5

$pseditor.EditorServicesVersion
Major  Minor  Build  Revision
-----  -----  -----  --------
1      5      0      0

code --list-extensions --show-versions
codezombiech.gitignore@0.5.0
DavidAnson.vscode-markdownlint@0.11.0
donjayamanne.githistory@0.2.3
DotJoshJohnson.xml@1.9.2
eamodio.gitlens@5.7.1
humao.rest-client@0.16.0
mitchdenny.ecdc@0.10.3
ms-mssql.mssql@1.2.0
ms-vscode.csharp@1.12.1
ms-vscode.PowerShell@1.5.0
ms-vscode.Theme-MarkdownKit@0.1.4
ms-vsts.team@1.122.0
nonoroazoro.syncing@1.4.9
PKief.material-icon-theme@2.2.4
streetsidesoftware.code-spell-checker@1.4.12
Tyriar.sort-lines@1.3.0
waderyan.gitblame@2.2.0
wayou.vscode-todo-highlight@0.5.11
ziyasal.vscode-open-in-github@1.2.9

$PSVersionTable
Name                           Value
----                           -----
PSVersion                      5.1.14393.1770
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.1770
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Issue Description

Every time i try to edit a file in a remote session the integrated console crashes.
I simple create and enter a new session (Enter-PSSession) then i use psedit to edit the file. After a few seconds, maybe as much as a minute or two, the process crashes.
I have disabled all extensions and the issue persists.

Attached Logs

1509974465-82c81cab-97f9-4af7-a119-16c6ff0a97661509974457601.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions