Skip to content

Extension crashes on Ctrl+Hover #274

Closed
@Glober777

Description

@Glober777

Hi,

I'm getting the following errors when I hover over the mouse cursor over a cmdlet (implemented within the same module) holding a Ctrl button:
Error: Error from the extension host: channel closed
Error: Extension host terminated unexpectedly. Please reload the window to recover._

Here's the output from the Debugging Tools:
Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: 41008 for rest-client.request
Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: 40998 for rest-client.history
Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: 40993 for extension.convertSelection
Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: 40995 for PowerShell.ExpandAlias
[Extension Host] Congratulations, your extension "pomodoro-code" is now active!
[Extension Host] Windows_NT
[Extension Host] powershell.exe started, pid: 14280, exe: C:\WINDOWS\Sysnative\WindowsPowerShell\v1.0\powershell.exe
[Extension Host] Socket connected!
[Extension Host] powershell.exe - ERROR: C:\Users\seriavio.vscode\extensions\ms-vscode.PowerShell-0.7.1\scripts\Start-EditorServices.ps1 :

[Extension Host] powershell.exe - ERROR: Caught error while waiting for EditorServicesHost to complete:
One or more errors occurred.
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol.ProtocolEndpoint.WaitForExit()
at CallSite.Target(Closure , CallSite , Object )
One or more errors occurred.
The given path's format is not supported.
at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
at System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean
checkForDuplicates, Boolean needFullPath)
at Microsoft.PowerShell.EditorServices.Workspace.RecursivelyFindReferences(ScriptFile scriptFile, Dictionary`2 refer
encedScriptFiles)
at Microsoft.PowerShell.EditorServices.Workspace.ExpandScriptReferences(ScriptFile scriptFile)
at Microsoft.PowerShell.EditorServices.LanguageService.d__16.MoveNext()

[Extension Host] powershell.exe - ERROR: --- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerShell.EditorServices.Protocol.Server.LanguageServer.d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol.MessageDispatcher.d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol.MessageDispatcher.d__33.MoveNext(
)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerShell.EditorServices.Utility.AsyncContext.Start(Func`1 asyncMainFunc)
at System.Threading.Tasks.Task.Execute()
At line:1 char:1

  • & "C:\Users\seriavio.vscode\extensions\ms-vscode.PowerShell-0.7.1\sc ...
  • - CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    - FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Start-EditorServices.ps1
    
    

[Extension Host] Uncaught Exception: Error: read ECONNRESET
[Extension Host] Error: read ECONNRESET
at exports._errnoException (util.js:890:11)
at TCP.onread (net.js:552:26)
Extension host terminated unexpectedly. Please reload the window to recover.
Extension host terminated unexpectedly. Code: 7 Signal: null
Error from the extension host: channel closed

Here's what I'm having:
Version 1.4.0
Commit 6276dcb0ae497766056b4c09ea75be1d76a8b679
Date 2016-08-04T16:45:31.680Z
Shell 0.37.6
Renderer 49.0.2623.75
Node 5.10.0
PowerShell Extension: 0.7.1
OS: Windows 10 Anniversary Edition

I've started noticing this just today.

Thanks,
Glober777

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions