github / github/copilot-cli

CLI seems to drop out in powershell session

Open
#1,364 1 comment 0 reactions 0 assignees View on GitHub
area:platform-windows area:sessions
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### 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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.