$PSVersionTable:PS C:\Users\pklys\OneDrive - Evotec\Support\GitHub\PSWinDocumentation\Ignore> code -v
1.27.2
f46c4c469d6e6d8c46f268d1553c5dc4b475840f
x64
openssl config failed: error:02001003:system library:fopen:No such process
PS C:\Users\pklys\OneDrive - Evotec\Support\GitHub\PSWinDocumentation\Ignore> $pseditor.EditorServicesVersion
Major Minor Build Revision
----- ----- ----- --------
1 8 4 0
PS C:\Users\pklys\OneDrive - Evotec\Support\GitHub\PSWinDocumentation\Ignore> code --list-extensions --show-versions
[createInstance] extensionManagementService depends on downloadService which is NOT registered.
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
openssl config failed: error:02001003:system library:fopen:No such process
PS C:\Users\pklys\OneDrive - Evotec\Support\GitHub\PSWinDocumentation\Ignore> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.17754.1
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17754.1
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
I am experiencing a problem with... crashing command. I decided to quickly test some commands in terminal window. It was working fine. Then at some point it stopped. The moment I was trying to type command that would reach edge it would crash with
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was 3000.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.EditorServices.Console.ConsoleReadLine.InsertInput(StringBuilder inputLine, Int32 promptStartCol, Int32 promptStartRow, String insertedInput, Int32 cursorIndex, Int32 insertIndex, Int32 replaceLength, Int32 finalCursorIndex)
at Microsoft.PowerShell.EditorServices.Console.ConsoleReadLine.<ReadLine>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerShell.EditorServices.EditorServicesPSHostUserInterface.<StartReplLoop>d__95.MoveNext()
Here's a brief movie but it may not show you everything.

This looks like a PSRL issue maybe -- @SeeminglyScience might have a better diagnosis
I believe there's an open issue somewhere already, but yeah it will be solved with PSRL.
If I remember correctly this is due to the current implementation relying on the window position related Console API's for going to the next line. But it didn't account for window position staying the same after hitting the buffer size. So that error will pop up after ~3k lines have been written.
As a work around, Clear-Host will fix it. Even though the text isn't really cleared, it still resets the buffer size from the console's perspective.
Going to close this as a dupe of https://github.com/PowerShell/vscode-powershell/issues/702
I'm having this issue as well. Just started occurring around 11/24/2019. Haven't been able to isolate it for repro yet.
Most helpful comment
I'm having this issue as well. Just started occurring around 11/24/2019. Haven't been able to isolate it for repro yet.