Skip to content

CLI seems to drop out in powershell session #1364

@demyte

Description

@demyte

Describe the bug

I run the cli in Powershell (in windows terminal) with multiple tabs open, sometimes the cli seems to drop out and print odd chars on the prompt, but the tab still thinks it is going (progress spinner on the tab title)

Image

I don't know if it is still running or not.

Update
One of the copilot cli crashed to this:

Image
#
# Fatal error in , line 0
# Check failed: backing_store->ByteLength() != 0 implies backing_store->Data() != nullptr.
#
#
#
#FailureMessage Object: 000000D0277F7770
----- Native stack trace -----

 1: 00007FF7D04CD52D node::MultiIsolatePlatform::DisposeIsolate+5341
 2: 00007FF7D191C79F V8_Fatal+287
 3: 00007FF7D11E543D v8::ArrayBuffer::New+301
 4: 00007FF7D063C72E node::SetCppgcReference+106718
 5: 00000288BB04F77E

Affected version

GitHub Copilot CLI 0.0.406.

Steps to reproduce the behavior

I can not reproduce every time, but it is generally when I have more than one cli executing at the same time.

Expected behavior

It stays in session.

Additional context

Windows Terminal
Version: 1.23.20211.0
$PSVersionTable                                                                                                                                                                                                                                in pwsh at 13:14:36

Name                           Value
----                           -----
PSVersion                      7.6.0-preview.6
PSEdition                      Core
GitCommitId                    7.6.0-preview.6
OS                             Microsoft Windows 10.0.26200
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.4
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions